Remove trailing newline from date_fmt in Serbian locales [BZ #19581]
[glibc.git] / ChangeLog
blobbc7c5d374bfa6185bdf62ae14cdd0acf92098e8b
1 2016-02-19  Florian Weimer  <fweimer@redhat.com>
3         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
4         (do_test): Limit the number of arenas, so that we can use fewer
5         outer threads.  Limit timeout to 3 seconds, in preparation for a
6         larger TIMEOUT value.
8 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
10         [BZ #19674]
11         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
12         sign in overflowing and underflowing results when overflow or
13         underflow is detected early.  Include sign in result before rather
14         than after scaling.
16         [BZ #19603]
17         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
18         (__ieee754_remainderl): Adjust sign of integer version of low part
19         when taking absolute value of high part.
20         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
21         * math/libm-test.inc (remainder_test_data): Add another test.
22         (remquo_test_data): Likewise.
24 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
26         [BZ #19602]
27         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
28         equal high parts and both low parts zero specially.
29         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
30         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
31         Add test-fmodl-ldbl-128ibm.
33         [BZ #19595]
34         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
35         common logic for all cases of shifting subnormal results.  Do not
36         insert sign bit in shifted mantissa.  Always pass -1023 as biased
37         exponent to ldbl_insert_mantissa in subnormal case.
39         [BZ #19594]
40         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
41         on high and low parts then adjust result and use
42         ldbl_canonicalize_int if needed.
44         [BZ #19593]
45         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
46         on high part and __floor or __ceil on low part then use
47         ldbl_canonicalize_int if needed.
49         [BZ #19592]
50         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
51         high and low parts then use ldbl_canonicalize_int if needed.
53         [BZ #17899]
54         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
55         New function.
56         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
57         on high and low parts then use ldbl_canonicalize_int if needed.
59 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
61         * configure: Regenerated.
63         * po/libc.pot: Regenerated.
65         * po/be.po: Updated translation.
66         * po/bg.po: Likewise.
67         * po/ca.po: Likewise.
68         * po/cs.po: Likewise.
69         * po/da.po: Likewise.
70         * po/el.po: Likewise.
71         * po/eo.po: Likewise.
72         * po/es.po: Likewise.
73         * po/fi.po: Likewise.
74         * po/fr.po: Likewise.
75         * po/gl.po: Likewise.
76         * po/hr.po: Likewise.
77         * po/hu.po: Likewise.
78         * po/ia.po: Likewise.
79         * po/id.po: Likewise.
80         * po/it.po: Likewise.
81         * po/ja.po: Likewise.
82         * po/lt.po: Likewise.
83         * po/nb.po: Likewise.
84         * po/nl.po: Likewise.
85         * po/pt_BR.po: Likewise.
86         * po/rw.po: Likewise.
87         * po/sk.po: Likewise.
88         * po/sl.po: Likewise.
89         * po/sv.po: Likewise.
90         * po/tr.po: Likewise.
91         * po/zh_CN.po: Likewise.
92         * po/zh_TW.po: Likewise.
94         * version.h (RELEAES): Set to "development".
95         (VERSION): Set to 2.23.90.
97         * version.h (RELEASE): Set to "stable".
98         (VERSION): Set to 2.23.
99         * include/feature.h (__GLIBC_MINOR__): Set to 23.
101         * NEWS: Updated fixed bugs.
103 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
104             Wilco Dijkstra  <wdijkstr@arm.com>
106         [BZ #19462]
107         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
108         (_STRING_INLINE_unaligned): This.
109         * include/string.h: Include <string_private.h>.
110         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
111         _STRING_INLINE_unaligned.
112         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
113         (_STRING_INLINE_unaligned): New.
114         * sysdeps/aarch64/string_private.h: New file.
115         * sysdeps/generic/string_private.h: Likewise.
116         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
117         * sysdeps/s390/string_private.h: Likewise.
118         * sysdeps/x86/string_private.h: Likewise.
119         * sysdeps/m68k/m680x0/m68020/bits/string.h
120         (_STRING_ARCH_unaligned): Renamed to ...
121         (_STRING_INLINE_unaligned): This.
122         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
123         to ...
124         (_STRING_INLINE_unaligned): This.
125         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
126         to ...
127         (_STRING_INLINE_unaligned): This.
128         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
129         to ...
130         (_STRING_INLINE_unaligned): This.
132 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
133             H.J. Lu  <hongjiu.lu@intel.com>
135         [BZ #19590]
136         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
137         relocation.
139 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
141         [BZ #18665]
142         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
143         *herrno_p.
144         (gaih_getanswer): Document functional behviour. Return tryagain
145         if any result is tryagain.
146         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
147         when freed.
148         * resolv/res_send.c: Add copyright text.
149         (__libc_res_nsend): Document that MAXPACKET is expected.
150         (send_vc): Document. Remove buffer reuse.
151         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
152         size of the buffer. Add Dprint for truncated UDP buffer.
154 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
156         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
157         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
158         * INSTALL: Regenerate.
160 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
161             Jonathan Wakely  <jwakely@redhat.com>
162             Carlos O'Donell  <carlos@redhat.com>
164         [BZ 19439]
165         * math/Makefile (tests): Add test-math-isinff.
166         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
167         * math/bits/mathcalls.h [__USE_MISC]: Use
168         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
169         functions not in C++11 and which don't conflict e.g. isinff,
170         isinfl etc.
171         * math/test-math-isinff.cc: New file.
173 2016-02-12  Florian Weimer  <fweimer@redhat.com>
175         * misc/bug18240.c (do_test): Set RLIMIT_AS.
177 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
179         [BZ #19529]
180         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
182 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
184         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
186 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
188         [BZ #19550]
189         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
190         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
191         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
192         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
193         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
194         New syscall entry.
195         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
196         New syscall entry.
197         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
198         syscall entry.
200 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
202         [BZ #18240]
203         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
204         unsigned int wraparound.
206 2016-01-27  Florian Weimer  <fweimer@redhat.com>
208         [BZ #18240]
209         * misc/bug18240.c: New test.
210         * misc/Makefile (tests): Add it.
212 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
213             Joseph Myers  <joseph@codesourcery.com>
215         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
216         load in branch delay slot when less than a word of input left.
218 2016-01-27  Andreas Schwab  <schwab@suse.de>
220         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
221         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
222         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
223         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
225 2016-01-26  David S. Miller  <davem@davemloft.net>
227         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
229 2016-01-25  David S. Miller  <davem@davemloft.net>
231         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
232         __sqrtl_finite.
233         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
234         instead using versioned_symbol.
235         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
236         of entries.
238         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
239         __sqrtl_finite to GLIBC_2.23
241 2016-01-25  Ricchard Henderson  <rth@redhat.com>
243         * sysdeps/alpha/fpu/libm-test-ulps: Update.
245 2016-01-25  Andreas Schwab  <schwab@suse.de>
247         [BZ #17514]
248         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
249         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
250         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
251         * nptl/tst-mutex-errorcheck.c: New file.
253 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
255         [BZ #18560]
256         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
257         (IPCOP_semop): Likewise.
258         (IPCOP_semget): Likewise.
259         (IPCOP_semctl): Likewise.
260         (IPCOP_msgsnd): Likewise.
261         (IPCOP_msgrcv): Likewise.
262         (IPCOP_msgget): Likewise.
263         (IPCOP_msgctl): Likewise.
264         (IPCOP_shmat): Likewise.
265         (IPCOP_shmdt): Likewise.
266         (IPCOP_shmget): Likewise.
267         (IPCOP_shmctl): Likewise.
269 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
271         * string/tst-endian.c: Include <libc-internal.h>.
272         (do_test): Ignore tautological-compare warnings around
273         "htobeXX (beXXtoh (i)) != i" and
274         "htoleXX (leXXtoh (i)) != i" if-statements.
276 2016-01-24  David S. Miller  <davem@davemloft.net>
278         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
279         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
280         alias.
281         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
282         __sqrtl_finite.
284         * sysdeps/sparc/fpu/libm-test-ulps: Update.
286 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
288         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
289         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
290         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
292 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
294         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
295         (thread_func): Use new function to simplify barrier check.
296         (do_test): Use new function to simplify checking barrier exit
297         code, and actually join the child thread.
299 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
301         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
302         semicolon.
303         (__libc_tend): Likewise.
304         (__libc_tabort): Likewise.
306 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
308         * sysdeps/nios2/libm-test-ulps: Update.
309         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
310         (__gtsf2): Likewise.
311         (__unorddf2): Likewise.
312         (__unordsf2): Likewise.
313         (__ledf2): Likewise.
315 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
317         * nis/nis_table.c (__follow_path): Disable diagnostic for
318         uninitialized variable that is a false positive for gcc 4.7.
319         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
321 2016-01-20  Roland McGrath  <roland@hack.frob.com>
323         * sysdeps/nacl/lowlevellock-futex.h
324         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
325         Always evaluate PRIVATE argument.
327 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
329         [BZ #19490]
330         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
331         (pthread_cond_broadcast): Use ENTRY/END
332         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
333         (pthread_cond_signal): Likewise
334         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
335         Likewise
336         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
337         Likewise
338         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
339         Likewise
341 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
343         * sysdeps/ieee754/dbl-64/s_finite.c
344         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
345         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
346         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
347         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
348         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
350         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
351         (__gtsf2): Add as optional for libc.so.
352         (__unordsf2): Likewise.
353         (__signbit): Remove for libc.so.
354         (__signbitl): Likewise.
356 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
358         * iconvdata/bug-iconv11.c (test_ibm93x):
359         Use %zu printf format specifier for size_t argument.
361 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
363         * math/gen-libm-test.pl (parse_ulps): Do not reduce
364         already-recorded ulps.
365         * sysdeps/arm/libm-test-ulps: Regenerated.
366         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
367         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
368         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
370 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
371             Paul Pluzhnikov  <ppluzhnikov@google.com>
373         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
374         assembler not supporting AVX-512.
376 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
378         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
380 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
382         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
383         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
385         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
387         * sysdeps/arm/libm-test-ulps: Regenerated.
389 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
391         [BZ #19451]
392         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
394 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
396         [BZ #19486]
397         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
398         * sysdeps/generic/fix-fp-int-convert-overflow.h
399         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
400         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
401         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
402         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
403         Likewise.
404         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
405         Avoid conversions to long int where inexact exceptions
406         could be raised.
407         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
408         Likewise.
409         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
410         Avoid conversions to long long int where inexact exceptions
411         could be raised.
412         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
413         Likewise.
415 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
417         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
418         * configure: Regenerated.
420 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
422         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
424 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
426         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
427         outside of comment.
429 2016-01-15  Torvald Riegel  <triegel@redhat.com>
431         * nptl/tst-barrier1.c: Add description on first line.
432         * nptl/tst-barrier2.c: Likewise.
433         * nptl/tst-barrier3.c: Likewise.
434         * nptl/tst-barrier4.c: Likewise.
435         * nptl/tst-barrier5.c: Likewise.
437 2016-01-15  Torvald Riegel  <triegel@redhat.com>
439         [BZ #18868]
440         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
442 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
444         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
445         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
446         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
447         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
448         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
449         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
450         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
451         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
452         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
453         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
454         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
456 2016-01-15  Torvald Riegel  <triegel@redhat.com>
458         [BZ #13065]
459         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
460         new implementation.
461         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
462         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
463         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
464         (BARRIER_IN_THRESHOLD): New macro.
465         * nptl/pthread_barrierattr_setpshared.c
466         (pthread_barrierattr_setpshared): Clean up.
467         * nptl/tst-barrier4.c: Correct comment.
468         * nptl/tst-barrier5.c: New file.
469         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
470         (gen-as-const-headers): Remove lowlevelbarrier.sym.
471         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
472         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
473         * nptl/lowlevelbarrier.sym: Remove.
474         * nptl/DESIGN-barrier.txt: Remove.
475         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
476         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
477         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
478         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
479         error.
480         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
481         implementation.
483 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
485         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
486         (do_child): Mask SIGRTMIN while thr is running.
488 2016-01-15  Martin Sebor  <msebor@redhat.com>
490         [BZ #19432]
491         * iconvdata/Makefile: Add bug-iconv11.
492         * iconvdata/bug-iconv11.c: New test.
493         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
494         * iconvdata/ibm933.c: Same.
495         * iconvdata/ibm935.c: Same.
496         * iconvdata/ibm937.c: Same.
497         * iconvdata/ibm939.c: Same.
499 2016-01-15  Martin Sebor  <msebor@redhat.com>
501         [BZ #19443]
502         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
503         [DEBUG] (_ufc_set_bits): Declare used.
504         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
505         [DEBUG] (print_all): Declare used.
506         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
507         operands of the ternary ?: expression to target type.
508         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
509         calling the undeclared abort.
510         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
512 2016-01-15  Martin Sebor  <msebor@redhat.com>
514         [BZ #18755]
515         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
516         warnings.
517         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
518         (__gai_create_helper_thread): Same.
519         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
520         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
521         to suppress -Wmaybe-uninitialized warnings.
523 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
525         [BZ #19465]
526         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
527         inside if.
528         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
529         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
530         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
532 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
534         [BZ #19466]
535         * time/tst-mktime2.c (time_t_max): Removed.
536         (time_t_min): Likewise.
537         (TYPE_SIGNED): New.
538         (TYPE_MINIMUM): Likewise.
539         (TYPE_MAXIMUM): Likewise.
540         (TIME_T_MIN): Likewise.
541         (TIME_T_MAX): Likewise.
542         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
543         and TIME_T_MIN.
544         (do_test): Likewise.
546 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
548         [BZ #19467]
549         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
550         index_Fast_Unaligned_Load flag for Excavator family CPUs.
552 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
554         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
556 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
558         * benchtests/Makefile (PYTHON): Define.
559         (bench-func): Use $(PYTHON) to run python scripts.
560         ($(objpfx)bench-%.c): Likewise.
562 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
564         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
565         leading slash when `file_name' is "/".
567 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
569         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
570         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
571         Likewise.
572         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
573         Likewise.
574         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
575         Likewise.
576         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
577         enum constant and macro.
578         (PTRACE_SETSIGMASK): Likewise.
579         (PTRACE_SECCOMP_GET_FILTER): Likewise.
580         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
581         (PTRACE_GETSIGMASK): Likewise.
582         (PTRACE_SETSIGMASK): Likewise.
583         (PTRACE_SECCOMP_GET_FILTER): Likewise.
584         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
585         Likewise.
586         (PTRACE_SETSIGMASK): Likewise.
587         (PTRACE_SECCOMP_GET_FILTER): Likewise.
588         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
589         (PTRACE_GETSIGMASK): Likewise.
590         (PTRACE_SETSIGMASK): Likewise.
591         (PTRACE_SECCOMP_GET_FILTER): Likewise.
592         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
593         Likewise.
594         (PTRACE_SETSIGMASK): Likewise.
595         (PTRACE_SECCOMP_GET_FILTER): Likewise.
596         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
597         Likewise.
598         (PTRACE_SETSIGMASK): Likewise.
599         (PTRACE_SECCOMP_GET_FILTER): Likewise.
600         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
601         Likewise.
602         (PTRACE_SETSIGMASK): Likewise.
603         (PTRACE_SECCOMP_GET_FILTER): Likewise.
605 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
606             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
608         [BZ #19439]
609         * math/bits/mathcalls.h
610         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
611         prototype.
612         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
614 2016-01-11  Andreas Schwab  <schwab@suse.de>
616         [BZ #19253]
617         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
618         cache when TZDEFRULES was used.
619         * time/tst-tzname.c: New file.
620         * time/Makefile (test): Add tst-tzname.
621         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
622         * timezone/Makefile (test-zones): Add $(posixrules-file).
623         ($(testdata)/$(posixrules-file)): New rule.
625 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
627         Fix doc quoting problems with Texinfo 5
628         Without this change, in the info file output, Texinfo 5 quotes code
629         in text with undirected single quotes 'like this' and generates
630         code examples that with many PDF readers cannot be cut out of PDFs
631         and pasted into code.
632         * manual/libc.texinfo: Configure the libc manual like the GNU
633         Emacs manual, by using @documentencoding and setting
634         txicodequoteundirected and txicodequotebacktick.  This way,
635         Texinfo 5 quotes code in text with directed single quotes ‘like
636         this’ and produces examples that can be cut out of PDFs.  This
637         change causes Texinfo 5 to generate info files that contain UTF-8
638         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
639         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
641 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
643         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
644         __libc_tabort, __libc_tend): New wrappers that enforce compiler
645         barriers to their respective compiler built-ins.
646         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
647         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
648         * sysdeps/powerpc/sysdep.h: Likewise.
649         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
650         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
651         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
653 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
655         * scripts/config.guess: Revert previous shebang change.
656         * scripts/config.sub: Likewise.
657         * scripts/mkinstalldirs: Likewise.
659 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
661         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
662         PPC_FEATURE2_HAS_IEEE128.
663         * sysdeps/powerpc/dl-procinfo.c:
664         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
666 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
668         [BZ #19415]
669         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
670         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
671         (_dl_lookup_address): Rewrite using function resolver trampoline.
672         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
673         two bits in address.
675 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
677         * longlong.h: Change !__SHMEDIA__ to
678         (!defined (__SHMEDIA__) || !__SHMEDIA__).
679         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
681 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
682             Joseph Myers  <joseph@codesourcery.com>
683             Mark Shinwell  <shinwell@codesourcery.com>
684             Andrew Stubbs  <ams@codesourcery.com>
685             Rich Felker <dalias@libc.org>
687         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
689 2016-01-07  Richard Henderson  <rth@redhat.com>
691         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
693 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
695         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
696         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
697         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
698         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
699         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
701 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
702             Joseph Myers  <joseph@codesourcery.com>
704         * timezone/private.h: Update from tzcode 2015g.
705         * timezone/tzfile.h: Likewise.
706         * timezone/tzselect.ksh: Likewise.
707         * timezone/zdump.c: Likewise.
708         * timezone/zic.c: Likewise.
709         * timezone/ialloc.c: Remove file.
710         * timezone/scheck.c: Likewise.
711         * timezone/Makefile (extra-objs): Remove variable.
712         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
713         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
714         -Wno-maybe-uninitialized.
715         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
716         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
717         (CFLAGS-ialloc.c): Remove variable.
718         (CFLAGS-scheck.c): Likewise.
719         * timezone/README: Update list of files from tzcode.
721 2016-01-07  Khem Raj  <raj.khem@gmail.com>
723         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
724         instead of __fxprintf when _LIBC is undefined.
726 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
728         * catgets/test-gencat.sh: Remove space after shebang.
729         * conform/GlibcConform.pm: Likewise.
730         * conform/check-header-lists.sh: Likewise.
731         * conform/conformtest.pl: Likewise.
732         * conform/linknamespace.pl: Likewise.
733         * conform/list-header-symbols.pl: Likewise.
734         * debug/catchsegv.sh: Likewise.
735         * elf/genrtldtbl.awk: Likewise.
736         * elf/tst-pathopt.sh: Likewise.
737         * elf/tst-rtld-load-self.sh: Likewise.
738         * grp/tst_fgetgrent.sh: Likewise.
739         * iconvdata/gen-8bit-gap-1.sh: Likewise.
740         * iconvdata/gen-8bit-gap.sh: Likewise.
741         * iconvdata/gen-8bit.sh: Likewise.
742         * iconvdata/run-iconv-test.sh: Likewise.
743         * intl/tst-gettext.sh: Likewise.
744         * intl/tst-gettext2.sh: Likewise.
745         * intl/tst-gettext4.sh: Likewise.
746         * intl/tst-gettext6.sh: Likewise.
747         * intl/tst-translit.sh: Likewise.
748         * io/ftwtest-sh: Likewise.
749         * libio/test-freopen.sh: Likewise.
750         * locale/gen-translit.pl: Likewise.
751         * malloc/tst-mtrace.sh: Likewise.
752         * manual/check-safety.sh: Likewise.
753         * manual/libc-texinfo.sh: Likewise.
754         * manual/tsort.awk: Likewise.
755         * manual/xtract-typefun.awk: Likewise.
756         * nptl/tst-cancel-wrappers.sh: Likewise.
757         * nptl/tst-tls6.sh: Likewise.
758         * posix/globtest.sh: Likewise.
759         * posix/tst-getconf.sh: Likewise.
760         * posix/wordexp-tst.sh: Likewise.
761         * scripts/check-c++-types.sh: Likewise.
762         * scripts/check-local-headers.sh: Likewise.
763         * scripts/config.guess: Likewise.
764         * scripts/config.sub: Likewise.
765         * scripts/cpp: Likewise.
766         * scripts/cross-test-ssh.sh: Likewise.
767         * scripts/documented.sh: Likewise.
768         * scripts/evaluate-test.sh: Likewise.
769         * scripts/gen-libc-abis: Likewise.
770         * scripts/gen-sorted.awk: Likewise.
771         * scripts/list-fixed-bugs.py: Likewise.
772         * scripts/merge-test-results.sh: Likewise.
773         * scripts/mkinstalldirs: Likewise.
774         * scripts/rellns-sh: Likewise.
775         * scripts/test-installation.pl: Likewise.
776         * scripts/update-copyrights: Likewise.
777         * stdio-common/tst-printf.sh: Likewise.
778         * stdio-common/tst-unbputc.sh: Likewise.
779         * stdlib/tst-fmtmsg.sh: Likewise.
780         * stdlib/tst-setcontext3.sh: Likewise.
781         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
782         * sysdeps/unix/make-syscalls.sh: Likewise.
784 2016-01-06  John David Anglin  <dave.anglin@bell.net>
786         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
787         asm stw with atomic_exchange_rel.  Add explanatory comment.
788         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
789         Likewise.
791 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
793         [BZ #19122]
794         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
795         * sysdeps/generic/dl-unistd.h: New file.
796         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
798 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
800          [BZ #19122]
801          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
802          * sysdeps/generic/dl-mman.h: New file.
803          * sysdeps/mach/hurd/dl-mman.h: Likewise.
805 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
807         * manual/texinfo.tex: Update to version 2016-01-04.21 with
808         trailing whitespace removed.
809         * scripts/config.guess: Update to version 2016-01-01.
810         * scripts/config.sub: Update to version 2016-01-01.
811         * scripts/move-if-change: Update from gnulib.
813 2016-01-04  Anton Blanchard  <anton@samba.org>
815         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
816         for array indices.
817         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
819 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
821         * NEWS: Update copyright dates.
822         * catgets/gencat.c (print_version): Likewise.
823         * csu/version.c (banner): Likewise.
824         * debug/catchsegv.sh: Likewise.
825         * debug/pcprofiledump.c (print_version): Likewise.
826         * debug/xtrace.sh (do_version): Likewise.
827         * elf/ldconfig.c (print_version): Likewise.
828         * elf/ldd.bash.in: Likewise.
829         * elf/pldd.c (print_version): Likewise.
830         * elf/sotruss.sh: Likewise.
831         * elf/sprof.c (print_version): Likewise.
832         * iconv/iconv_prog.c (print_version): Likewise.
833         * iconv/iconvconfig.c (print_version): Likewise.
834         * locale/programs/locale.c (print_version): Likewise.
835         * locale/programs/localedef.c (print_version): Likewise.
836         * login/programs/pt_chown.c (print_version): Likewise.
837         * malloc/memusage.sh (do_version): Likewise.
838         * malloc/memusagestat.c (print_version): Likewise.
839         * malloc/mtrace.pl: Likewise.
840         * manual/libc.texinfo: Likewise.
841         * nptl/version.c (banner): Likewise.
842         * nscd/nscd.c (print_version): Likewise.
843         * nss/getent.c (print_version): Likewise.
844         * nss/makedb.c (print_version): Likewise.
845         * posix/getconf.c (main): Likewise.
846         * scripts/test-installation.pl: Likewise.
847         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
849         * All files with FSF copyright notices: Update copyright dates
850         using scripts/update-copyrights.
851         * intl/plural.c: Regenerated.
852         * locale/programs/charmap-kw.h: Likewise.
853         * locale/programs/locfile-kw.h: Likewise.
855 2016-01-02  Helge Deller  <deller@gmx.de>
857         [BZ #19285]
858         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
859         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
860         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
861         (MADV_xxK_PAGES): Remove.
863 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
865         [BZ #15421]
866         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
867         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
868         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
869         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
871 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
873         [BZ #19408]
874         * sysdeps/unix/sysv/linux/personality.c: New file.
875         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
876         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
877         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
878         (sysdep_routines): Add personality.
879         (tests): Add tst-personality.
880         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
881         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
882         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
883         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
884         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
885         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
886         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
887         Likewise.
888         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
889         Likewise.
890         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
891         Likewise.
892         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
893         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
894         Likewise.
896 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
898         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
899         (PATH_ARM_SYSTYPE): Remove.
900         (PATH_CPUINFO): Likewise.
901         (IO_BASE_FOOTBRIDGE): Likewise.
902         (IO_SHIFT_FOOTBRIDGE): Likewise.
903         (struct platform): Likewise.
904         (init_iosys): Remove compatibility code for 2.4 kernels.
905         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
907 2015-12-29  Florian Weimer  <fweimer@redhat.com>
909         * malloc/tst-malloc-thread-fail.c: New file.
910         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
911         (tst-malloc-thread-fail): Link against libpthread.
913 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
915         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
916         (get_parser): New function.
917         (main): New function.
919 2015-12-29  Rob Wu  <rob@robwu.nl>
921         [BZ #19369]
922         * resolv/res_init.c (__res_vinit): Reset defdname before use.
924 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
926         [BZ #19270]
927         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
929 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
931         [BZ #15421]
932         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
934 2015-12-23  Torvald Riegel  <triegel@redhat.com>
936         [BZ #13690]
937         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
938         after releasing it.
939         (__lll_robust_unlock): Likewise.
940         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
941         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
942         (lll_robust_unlock): Likewise.
943         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
944         Prevent warnings in callers.
946 2015-12-23  Florian Weimer  <fweimer@redhat.com>
948         * malloc/arena.c (list_lock): Update comment.
950 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
952         * sysdeps/powerpc/hwcapinfo.c: Export symbol
953         __parse_hwcap_and_convert_at_platform to libc.a.
955 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
957         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
958         platform and feature support for POWER9.
959         * sysdeps/powerpc/dl-procinfo.h: Likewise.
960         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
961         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
962         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
963         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
964         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
965         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
966         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
968 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
970         Harmonize generic stdio-lock support with nptl
972         This fixes build when _IO_funlockfile is a macro, fixes build where
973         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
974         stack unwind.
976         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
977         _IO_release_lock ): Use cleanup attribute on new
978         _IO_acquire_lock_file variable instead of assuming that
979         _IO_release_lock will be called.
980         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
981         _IO_acquire_lock_needs_exceptions_enabled.
982         (_IO_acquire_lock_clear_flags2): New macro.
984 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
986         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
988 2015-12-21  Florian Weimer  <fweimer@redhat.com>
990         [BZ #19182]
991         * malloc/arena.c (list_lock): Document lock ordering requirements.
992         (free_list_lock): New lock.
993         (ptmalloc_lock_all): Comment on free_list_lock.
994         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
995         (detach_arena): Update comment.  free_list_lock is now needed.
996         (_int_new_arena): Use free_list_lock around detach_arena call.
997         Acquire arena lock after list_lock.  Add comment, including FIXME
998         about incorrect synchronization.
999         (get_free_list): Switch to free_list_lock.
1000         (reused_arena): Acquire free_list_lock around detach_arena call
1001         and attached threads counter update.  Add two FIXMEs about
1002         incorrect synchronization.
1003         (arena_thread_freeres): Switch to free_list_lock.
1004         * malloc/malloc.c (struct malloc_state): Update comments to
1005         mention free_list_lock.
1007 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
1009         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
1010         Remove functions.
1011         (sloww, sloww1): Accept argument to offset quadrant.
1012         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
1013         quadrant.
1014         (__sin, __cos): Consolidate common code into new functions.
1015         (reduce_sincos_1, do_sincos_1): New functions.
1016         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
1018         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
1019         code to new functions.
1020         (reduce_sincos_2, do_sincos_2): New functions.
1021         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
1023         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
1024         common code for sincos.
1025         (__cos) [!IN_SINCOS]: Likewise.
1026         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
1027         New function.
1028         (__sincos): Use it.
1030 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
1032         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
1033         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
1034         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
1036 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
1038         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
1039         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
1040         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
1041         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
1042         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1043         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
1044         index_Prefer_No_VZEROUPPER): New feature.
1045         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
1046         Prefer_No_VZEROUPPER for Knights Landing.
1048 015-12-18  Torvald Riegel  <triegel@redhat.com>
1050         * math/atest-exp2.c (mp_exp_m1): Remove.
1052 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1054         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
1055         syscalls.
1056         (__SYSCALL0): New macro.
1057         (__SYSCALL1): Likewise.
1058         (__SYSCALL2): Likewise.
1059         (__SYSCALL3): Likewise.
1060         (__SYSCALL4): Likewise.
1061         (__SYSCALL5): Likewise.
1062         (__SYSCALL6): Likewise.
1063         (__SYSCALL_CONCAT_X): Likewise.
1064         (__SYSCALL_CONCAT): Likewise.
1065         (__SYSCALL_DIST): Likewise.
1066         (__SYSCALL_CALL): Likewise.
1068 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
1070         [BZ #19363]
1071         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
1073 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1075         [BZ #19375]
1076         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
1077         negative subnormals.
1079 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
1081         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
1082         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
1083         (INTERNAL_SYSCALL_NCS): Use it.
1084         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
1086 2015-12-16  Florian Weimer  <fweimer@redhat.com>
1088         [BZ #19243]
1089         * malloc/arena.c (get_free_list): Remove assert and adjust
1090         reference count handling.  Add comment about reused_arena
1091         interaction.
1092         (reused_arena): Add comments abount get_free_list interaction.
1093         * malloc/tst-malloc-thread-exit.c: New file.
1094         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
1095         (tst-malloc-thread-exit): Link against libpthread.
1097 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
1099         [BZ #19367]
1100         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
1101         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
1102         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
1103         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
1104         (index_Prefer_MAP_32BIT_EXEC): Likewise.
1106 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
1108         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
1109         Silvermont optimizations for Knights Landing.
1111 2015-12-15  Andreas Schwab  <schwab@suse.de>
1113         [BZ #17197]
1114         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
1115         immediately after emitting SI.
1116         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
1117         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
1118         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
1119         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
1120         * iconvdata/bug-iconv10.c: New file.
1121         * iconvdata/Makefile (tests): Add bug-iconv10.
1122         ($(objpfx)bug-iconv10.out): New rule.
1124 2015-12-15  Florian Weimer  <fweimer@redhat.com>
1126         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
1127         aliasing violation.
1129 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
1131         [BZ #18472]
1132         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
1133         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
1134         conditionals for them.
1135         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
1136         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
1137         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
1138         sys/kdaemon.h.
1139         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
1140         compat-only syscall, obsoleted in glibc 2.23.
1141         (create_module): Likewise.
1142         (get_kernel_syms): Likewise.
1143         (query_module): Likewise.
1144         (uselib): Likewise.
1145         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
1147 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
1149         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
1150         <linux/version.h>.
1151         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
1152         conditional code.
1153         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
1154         and ioshift_name initialization.
1156 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
1158         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
1159         Fix indentation.
1161 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
1163         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
1165 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
1167         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
1169 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
1170             Jakub Wilk  <jwilk@debian.org>
1172         [BZ #19347]
1173         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
1174         to change the group of the device to the tty group.
1176 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
1178         Split large string section; add truncation advice
1179         * manual/examples/strncat.c: Remove.
1180         This example was misleading, as the code would have undefined
1181         behavior if "hello" was longer than SIZE.  Anyway, the manual
1182         shouldn't encourage strncpy+strncat for this sort of thing.
1183         * manual/string.texi (Copying Strings and Arrays): Split into
1184         three sections Copying Strings and Arrays, Concatenating Strings,
1185         and Truncating Strings, as this section was way too long.  All
1186         cross-referenced changed.  Add advice about string-truncation
1187         functions.  Remove misleading strncat example.
1189 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
1191         * manual/nss.texi (NSS Modules Interface): Document
1192         NSS_STATUS_NOTFOUND and SUCCESS.
1194 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
1196         [BZ 18568]
1197         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
1198         201505L, for Unicode 8.
1200 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
1202         * locale/C-translit.h: Regenerate.
1204 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
1206         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
1207         and U+0153.
1209 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
1211         [BZ #19351]
1212         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
1213         expanding log(1+z), compare z rather than its square with epsilon
1214         to determine when to avoid evaluating the expansion.
1216         [BZ #19350]
1217         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
1218         Increase overflow threshold.
1220         [BZ #19349]
1221         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
1222         when small.
1224         * sysdeps/unix/sysv/linux/i386/kernel-features.h
1225         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
1226         New macro.
1227         [__LINUX_KERNEL_VERSION >= 0x040300]
1228         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
1229         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
1230         Likewise.
1231         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
1232         Likewise.
1233         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
1234         Likewise.
1235         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
1236         Likewise.
1237         [__LINUX_KERNEL_VERSION >= 0x040300]
1238         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
1239         [__LINUX_KERNEL_VERSION >= 0x040300]
1240         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
1241         [__LINUX_KERNEL_VERSION >= 0x040300]
1242         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
1243         [__LINUX_KERNEL_VERSION >= 0x040300]
1244         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
1245         [__LINUX_KERNEL_VERSION >= 0x040300]
1246         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
1247         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
1248         Likewise.
1249         [__LINUX_KERNEL_VERSION >= 0x040300]
1250         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
1251         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
1252         Likewise.
1253         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
1254         Likewise.
1255         [__LINUX_KERNEL_VERSION >= 0x040300]
1256         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
1257         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
1258         Likewise.
1259         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
1260         Likewise.
1261         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1262         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
1263         Likewise.
1264         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
1265         Likewise.
1266         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
1267         Likewise.
1268         [__LINUX_KERNEL_VERSION >= 0x040300]
1269         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
1270         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
1271         Likewise.
1272         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
1273         Likewise.
1274         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
1275         Likewise.
1276         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
1277         Likewise.
1278         [__LINUX_KERNEL_VERSION >= 0x040300]
1279         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
1280         [__LINUX_KERNEL_VERSION >= 0x040300]
1281         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
1282         [__LINUX_KERNEL_VERSION >= 0x040300]
1283         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
1284         [__LINUX_KERNEL_VERSION >= 0x040300]
1285         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
1286         [__LINUX_KERNEL_VERSION >= 0x040300]
1287         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
1288         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
1289         Likewise.
1290         [__LINUX_KERNEL_VERSION >= 0x040300]
1291         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
1292         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
1293         Likewise.
1294         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
1295         Likewise.
1296         [__LINUX_KERNEL_VERSION >= 0x040300]
1297         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
1298         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
1299         Likewise.
1300         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
1301         Likewise.
1302         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1303         (__ASSUME_SOCKET_SYSCALL): Likewise.
1304         (__ASSUME_BIND_SYSCALL): Likewise.
1305         (__ASSUME_CONNECT_SYSCALL): Likewise.
1306         (__ASSUME_LISTEN_SYSCALL): Likewise.
1307         (__ASSUME_ACCEPT_SYSCALL): Likewise.
1308         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
1309         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
1310         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
1311         (__ASSUME_SEND_SYSCALL): Likewise.
1312         (__ASSUME_SENDTO_SYSCALL): Likewise.
1313         (__ASSUME_RECV_SYSCALL): Likewise.
1314         (__ASSUME_RECVFROM_SYSCALL): Likewise.
1315         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
1316         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
1317         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
1318         (__ASSUME_SENDMSG_SYSCALL): Likewise.
1319         (__ASSUME_RECVMSG_SYSCALL): Likewise.
1320         * sysdeps/unix/sysv/linux/sh/kernel-features.h
1321         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
1322         Likewise.
1323         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
1324         Likewise.
1325         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
1326         Likewise.
1327         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
1328         Likewise.
1329         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
1330         Likewise.
1331         [__LINUX_KERNEL_VERSION >= 0x020625]
1332         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
1333         [__LINUX_KERNEL_VERSION >= 0x020625]
1334         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
1335         [__LINUX_KERNEL_VERSION >= 0x020625]
1336         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
1337         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
1338         Likewise.
1339         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
1340         Likewise.
1341         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
1342         Likewise.
1343         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
1344         Likewise.
1345         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
1346         Likewise.
1347         [__LINUX_KERNEL_VERSION >= 0x020625]
1348         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
1349         [__LINUX_KERNEL_VERSION >= 0x020625]
1350         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
1351         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
1352         Likewise.
1353         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
1354         Likewise.
1356 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
1358         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
1359         record the current if the current ABI and CPU support the FP64
1360         extension.
1361         (has-modd-spreg): Define to record the current if the current ABI and
1362         CPU support 32-bit floating point values in odd FPU registers.
1363         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
1364         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
1365         $(has-modd-spreg) equals yes.
1366         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
1367         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
1368         $(has-modd-spreg) equal yes.
1370 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
1372         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
1373         basename.
1375 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
1377         * benchtests/Makefile (bench-math): Move ffs and ffsll...
1378         (bench-string): ... here.
1379         (bench): Add bench-string.
1380         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
1381         to *-benchset to reflect what they are.
1382         (benchset): Adjust.
1384         * benchtests/sincos-inputs: Add inputs from sin-inputs and
1385         cos-inputs.
1387 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
1389         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
1390         __attribute__ ((__simd__)) for vector math function declarations.
1392 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
1394         Fix typo in strncat, wcsncat manual entries
1395         * manual/string.texi (Copying and Concatenation): Fix typos in
1396         sample implementations of strncat and wcsncat, by having them use
1397         the old value of the destination length, not the new one.
1399 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
1401         [BZ #16961]
1402         [BZ #16962]
1403         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
1404         string on the stack for strtod.
1405         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
1406         a string on the stack for strtof.
1407         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
1408         constructing a string on the stack for strtold.
1409         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
1410         __strtold_nan to GLIBC_PRIVATE.
1411         * math/test-nan-overflow.c: New file.
1412         * math/test-nan-payload.c: Likewise.
1413         * math/Makefile (tests): Add test-nan-overflow and
1414         test-nan-payload.
1416 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
1418         Consistency about byte vs character in string.texi
1419         * manual/string.texi (String and Array Utilities):
1420         Distinguish more carefully among bytes, multibyte characters,
1421         and wide characters.  Use "byte" when talking about C 'char',
1422         to distinguish it more clearly from multibyte characters.
1423         Say "wide character" or "multibyte character" instead of
1424         "character", when a wide or multibyte character is intended.
1425         Similarly for "multibyte string" versus "string".
1426         Define these terms more carefully.
1428 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
1430         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
1431         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
1432         Likewise.
1433         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
1434         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
1435         * sysdeps/sh/math_private.h: New file.
1436         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
1437         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
1438         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
1439         long double function name.
1440         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
1441         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
1442         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
1443         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
1444         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
1445         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
1446         Remove __finitel, __isinfl, and __isnanl.
1447         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
1448         Likewise.
1449         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
1450         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1451         Remove __finitel.
1452         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1453         Likewise.
1454         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1456 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
1458         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
1459         installed libmvec_nonshared.a.
1461 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
1463         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
1464         (sysdep_routines): Likewise.
1465         (sysdep-rtld-routines): Likewise.
1466         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
1467         [$(subdir) = nptl](tests-static): test-get_hwcap-static
1468         * sysdeps/powerpc/Versions: Added new
1469         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
1470         * sysdeps/powerpc/hwcapinfo.c: New file.
1471         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
1472         and parse hwcap, hwcap2 and platform number information.
1473         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
1474         to store HWCAP+HWCAP2 and platform number.
1475         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
1476         for HWCAP+HWCAP2 and platform number in the TCB.
1477         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
1478         the HWCAP, HWCAP2 and platform number in the TCB.
1479         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
1480         (TLS_INIT_TP): Included calls to add the hwcap and
1481         at_platform values in the TCB in TP initialization.
1482         (TLS_DEFINE_INIT_TP): Likewise.
1483         (THREAD_GET_HWCAP): New macro.
1484         (THREAD_SET_HWCAP): Likewise.
1485         (THREAD_GET_AT_PLATFORM): Likewise.
1486         (THREAD_SET_AT_PLATFORM): Likewise.
1487         * sysdeps/powerpc/powerpc32/dl-machine.h:
1488         (dl_platform_init): New function that calls
1489         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
1490         powerpc32.
1491         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
1492         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
1493         this functionality, static linking case.
1494         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
1495         linking case.
1496         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
1497         __parse_hwcap_and_convert_at_platform for the static linking case.
1498         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
1499         Included the new __parse_hwcap_and_convert_at_platform symbol in the
1500         ABI list for GLIBC 2.23.
1501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
1502         Likewise.
1503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
1504         Likewise.
1506 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
1508         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
1509         * configure: Regenerate.
1510         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
1511         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
1513 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
1515         * iconvdata/ibm930.c: Add comment explaining encoding uses.
1516         * iconvdata/ibm933.c: Likewise.
1517         * iconvdata/ibm935.c: Likewise.
1518         * iconvdata/ibm937.c: Likewise.
1519         * iconvdata/ibm939.c: Likewise.
1521 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1523         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
1524         pthread_join.
1525         * nptl/tst-cancel21.c (tf): Likewise.
1527 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
1529         [BZ #19313]
1530         * bits/typesizes.h (__CPU_MASK_TYPE): New.
1531         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
1532         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
1533         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
1534         Likewise.
1535         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
1536         Likewise.
1537         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
1538         Likewise.
1539         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
1540         Likewise.
1541         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
1542         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
1543         unsigned long int with __CPU_MASK_TYPE.
1545 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1547         * sysdeps/aarch64/libm-test-ulps: Regenerated.
1549 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
1551         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
1552         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
1553         t512.x.
1554         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
1556 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
1558         [BZ #19214]
1559         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
1560         argument to return extended model.  Update family and model
1561         with extended family and model when family == 0x0f.
1562         (init_cpu_features): Updated.
1564 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1566         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
1567         signed off_t, so 32bit bigger than 2GiB values are fine actually.
1569         * sysdeps/mach/hurd/mmap64.c: New file.
1571 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
1573         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
1574         rights for its main user thread in NEWTASK.
1576 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
1578         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
1579         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
1581 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
1583         [BZ #14259]
1584         * Makeconfig: Rename localedir to complocaledir.
1585         Rename inst_localedir to inst_complocaledir.
1586         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
1587         * config.make.in: Use complocaledir and libc_cv_complocaledir.
1588         * configure.ac: Use libc_cv_complocaledir.
1589         * configure: Regenerate.
1590         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
1591         -DCOMPLOCALEDIR.
1592         * locale/findlocale.c: Use COMPLOCALEDIR.
1593         * locale/loadarchive.c: Likewise.
1594         * locale/programs/locale.c: Likewise.
1595         * locale/programs/localedef.c: Likewise.
1596         * locale/programs/locarchive.c: Likewise.
1597         * localedata/Makefile: Use inst_complocaledir.
1598         * sysdeps/gnu/configure: Regenerate.
1599         * sysdeps/hppa/configure: Regenerate.
1600         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
1601         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
1602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
1603         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
1604         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
1605         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
1606         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
1608 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
1610         [BZ #19058]
1611         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
1612         AS_NEEDED.
1613         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
1614         workaround.
1615         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
1616         libmvec-static-only-routines): Added new file.
1617         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
1619 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1621         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
1622         of interrupted RPC instead of restoring it.
1624         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
1625         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
1626         libc_hidden_def.
1627         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
1628         into initialized data instead of common. Define rtld_hidden_data_def.
1629         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
1630         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
1631         libc_hidden_def.
1632         (if_freenameindex): Add libc_hidden_weak.
1633         (if_nameindex): Add libc_hidden_weak.
1634         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
1635         __open64.
1636         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
1637         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
1638         * sysdeps/mach/nanosleep.c: Include <time.h>
1639         (__nanosleep): Rename to __libc_nanosleep.
1640         (__nanosleep): Add weak_alias.
1641         (nanosleep): Update alias.
1643 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
1645         * stdlib/strtod_nan.c: New file.
1646         * stdlib/strtod_nan_double.h: Likewise.
1647         * stdlib/strtod_nan_float.h: Likewise.
1648         * stdlib/strtod_nan_main.c: Likewise.
1649         * stdlib/strtod_nan_narrow.h: Likewise.
1650         * stdlib/strtod_nan_wide.h: Likewise.
1651         * stdlib/strtof_nan.c: Likewise.
1652         * stdlib/strtold_nan.c: Likewise.
1653         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
1654         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
1655         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
1656         * wcsmbs/wcstod_nan.c: Likewise.
1657         * wcsmbs/wcstof_nan.c: Likewise.
1658         * wcsmbs/wcstold_nan.c: Likewise.
1659         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
1660         strtold_nan.
1661         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
1662         wcstof_nan.
1663         * include/stdlib.h (__strtof_nan): Declare and use
1664         libc_hidden_proto.
1665         (__strtod_nan): Likewise.
1666         (__strtold_nan): Likewise.
1667         (__wcstof_nan): Likewise.
1668         (__wcstod_nan): Likewise.
1669         (__wcstold_nan): Likewise.
1670         * include/wchar.h (____wcstoull_l_internal): Declare.
1671         * stdlib/strtod_l.c: Do not include <ieee754.h>.
1672         (____strtoull_l_internal): Remove declaration.
1673         (STRTOF_NAN): Define macro.
1674         (SET_MANTISSA): Remove macro.
1675         (STRTOULL): Likewise.
1676         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
1677         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
1678         (STRTOF_NAN): Define macro.
1679         (SET_MANTISSA): Remove macro.
1680         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
1681         (SET_MANTISSA): Remove macro.
1682         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
1683         macro.
1684         (SET_MANTISSA): Remove macro.
1685         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
1686         macro.
1687         (SET_MANTISSA): Remove macro.
1688         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
1689         (SET_MANTISSA): Remove macro.
1690         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
1691         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
1692         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
1694         [BZ #19266]
1695         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
1696         upper case and lower case letters inside NAN(), not using TOLOWER.
1697         * stdlib/tst-strtod-nan-locale-main.c: New file.
1698         * stdlib/tst-strtod-nan-locale.c: Likewise.
1699         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
1700         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
1701         Depend on $(gen-locales).
1702         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
1703         * wcsmbs/tst-wcstod-nan-locale.c: New file.
1704         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
1705         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
1706         Depend on $(gen-locales).
1707         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
1709 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
1711         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
1713         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
1714         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
1715         __finitel, __isinfl, and __isnanl.
1716         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
1717         Likewise.
1718         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
1719         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
1720         __finitel.
1721         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1722         Likewise.
1723         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1725 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
1727         * malloc/memusage.c (me): Remove redundant getenv call.
1729 2015-10-24  Florian Weimer  <fweimer@redhat.com>
1731         [BZ #19143]
1732         [BZ #19164]
1733         * nptl/check-cpuset.h: Remove.
1734         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
1735         Remove CPU set size check.
1736         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
1737         Likewise.
1738         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
1739         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
1740         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
1741         (__pthread_setaffinity_new): Remove CPU set size check.
1742         * sysdeps/unix/sysv/linux/sched_setaffinity.c
1743         (__kernel_cpumask_size): Remove.
1744         (__sched_setaffinity_new): Remove CPU set size check.
1745         * manual/threads.texi (Default Thread Attributes): Remove stale
1746         reference to check_cpuset_attr, determine_cpumask_size in comment.
1747         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
1748         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
1749         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
1750         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
1751         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
1752         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
1753         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
1754         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
1755         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
1756         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
1757         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
1758         skeleton test file.
1759         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
1760         tst-affinity-pid.
1762 2015-11-24  Florian Weimer  <fweimer@redhat.com>
1764         * scripts/update-abilist.sh: New file.
1765         * Makefile (+subdir_targets): Add subdir_update-all-abi.
1766         * Makerules (update-all-abi-%, update-all-abi)
1767         (subdir_update-all-abi): New targets.
1768         * elf/Makefile (update-all-abi): New target.
1770 2015-11-24  Florian Weimer  <fweimer@redhat.com>
1772         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
1773         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
1774         (__libc_lock_define_initialized): Use it.
1775         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
1776         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
1777         * malloc/malloc.c (main_arena): Likewise.
1778         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
1779         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
1781 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
1783         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
1784         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
1785         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
1786         (PTRACE_O_MASK): Update value.
1787         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
1788         New value in enum __ptrace_setoptions.
1789         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
1790         (PTRACE_O_MASK): Update value.
1791         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
1792         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
1793         (PTRACE_O_MASK): Update value.
1794         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
1795         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
1796         (PTRACE_O_MASK): Update value.
1797         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
1798         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
1799         (PTRACE_O_MASK): Update value.
1800         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
1801         New value in enum __ptrace_setoptions.
1802         (PTRACE_O_MASK): Update value.
1803         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
1804         New value in enum __ptrace_setoptions.
1805         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
1806         (PTRACE_O_MASK): Update value.
1808         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
1809         New macro.
1810         (PACKET_AUXDATA): Likewise.
1811         (PACKET_ORIGDEV): Likewise.
1812         (PACKET_VERSION): Likewise.
1813         (PACKET_HDRLEN): Likewise.
1814         (PACKET_RESERVE): Likewise.
1815         (PACKET_TX_RING): Likewise.
1816         (PACKET_LOSS): Likewise.
1817         (PACKET_VNET_HDR): Likewise.
1818         (PACKET_TX_TIMESTAMP): Likewise.
1819         (PACKET_TIMESTAMP): Likewise.
1820         (PACKET_FANOUT): Likewise.
1821         (PACKET_TX_HAS_OFF): Likewise.
1822         (PACKET_QDISC_BYPASS): Likewise.
1823         (PACKET_ROLLOVER_STATS): Likewise.
1824         (PACKET_FANOUT_DATA): Likewise.
1825         (PACKET_MR_UNICAST): Likewise.
1827         [BZ #19242]
1828         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
1829         (TOUPPER): Likewise.
1830         * stdlib/tst-strtol-locale-main.c: New file.
1831         * stdlib/tst-strtol-locale.c: Likewise.
1832         * stdlib/Makefile (tests): Add tst-strtol-locale.
1833         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
1834         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
1835         Depend on $(gen-locales).
1836         * wcsmbs/tst-wcstol-locale.c: New file.
1837         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
1838         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
1839         tr_TR.ISO-8859-9.
1840         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
1841         Depend on $(gen-locales).
1843 2015-11-20  Roland McGrath  <roland@hack.frob.com>
1845         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
1846         __glibc_likely instead of __builtin_expect.  After falling back to
1847         dyncode_create in a non-ET_DYN case, use the allocate_code_data
1848         system interface to register the code pages as occupied.
1850 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
1852         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
1853         [!ARM_MATH_PRIVATE_H].
1854         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
1855         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
1856         [!HPPA_MATH_PRIVATE_H].
1857         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
1858         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
1859         to [!I386_MATH_PRIVATE_H].
1860         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
1861         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
1862         Change guard to [!M68K_MATH_PRIVATE_H].
1863         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
1864         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
1865         guard to [!MICROBLAZE_MATH_PRIVATE_H].
1866         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
1867         macro.
1868         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
1869         [!MIPS_MATH_PRIVATE_H].
1870         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
1871         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
1872         [!NIO2_MATH_PRIVATE_H].
1873         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
1874         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
1875         [!TILE_MATH_PRIVATE_H].
1876         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
1878         [BZ #15421]
1879         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
1880         initialize with 0 and define as weak alias of __signgam.
1881         * include/math.h [!_ISOMAC] (__signgam): Declare.
1882         * math/Makefile (libm-calls): Add w_lgamma_compat.
1883         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
1884         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
1885         test-signgam-ullong-init.
1886         (tests-static): Add test-signgam-uchar-static,
1887         test-signgam-uchar-init-static, test-signgam-uint-static,
1888         test-signgam-uint-init-static, test-signgam-ullong-static and
1889         test-signgam-ullong-init-static.
1890         (CFLAGS-test-signgam-uchar.c): New variable.
1891         (CFLAGS-test-signgam-uchar-init.c): Likewise.
1892         (CFLAGS-test-signgam-uchar-static.c): Likewise.
1893         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
1894         (CFLAGS-test-signgam-uint.c): Likewise.
1895         (CFLAGS-test-signgam-uint-init.c): Likewise.
1896         (CFLAGS-test-signgam-uint-static.c): Likewise.
1897         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
1898         (CFLAGS-test-signgam-ullong.c): Likewise.
1899         (CFLAGS-test-signgam-ullong-init.c): Likewise.
1900         (CFLAGS-test-signgam-ullong-static.c): Likewise.
1901         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
1902         * math/Versions (libm): Add GLIBC_2.23.
1903         * math/lgamma-compat.h: New file.
1904         * math/test-signgam-main.c: Likewise.
1905         * math/test-signgam-uchar-init-static.c: Likewise.
1906         * math/test-signgam-uchar-init.c: Likewise.
1907         * math/test-signgam-uchar-static.c: Likewise.
1908         * math/test-signgam-uchar.c: Likewise.
1909         * math/test-signgam-uint-init-static.c: Likewise.
1910         * math/test-signgam-uint-init.c: Likewise.
1911         * math/test-signgam-uint-static.c: Likewise.
1912         * math/test-signgam-uint.c: Likewise.
1913         * math/test-signgam-ullong-init-static.c: Likewise.
1914         * math/test-signgam-ullong-init.c: Likewise.
1915         * math/test-signgam-ullong-static.c: Likewise.
1916         * math/test-signgam-ullong.c: Likewise.
1917         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
1918         wrapper of w_lgamma_main.c.
1919         * math/w_lgamma_compat.c: New file.
1920         * math/w_lgamma_compatf.c: Likewise.
1921         * math/w_lgamma_compatl.c: Likewise.
1922         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
1923         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
1924         defining compatibility symbols.
1925         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
1926         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
1927         wrapper of w_lgammaf_main.c.
1928         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
1929         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
1930         defining compatibility symbols.
1931         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
1932         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
1933         wrapper of w_lgammal_main.c.
1934         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
1935         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
1936         defining compatibility symbols.
1937         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
1938         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
1939         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
1940         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
1941         <lgamma-compat.h>.
1942         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
1943         (__ieee754_gamma): Define as alias.
1944         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
1945         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
1946         <lgamma-compat.h>.
1947         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
1948         (__ieee754_gammaf): Define as alias.
1949         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
1950         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
1951         <lgamma-compat.h>.
1952         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
1953         (__ieee754_gammal): Define as alias.
1954         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
1955         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
1956         <math/w_lgamma_compat.c>.
1957         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
1958         Define as alias of __lgamma_compat and use in defining lgammal.
1959         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
1960         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
1961         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
1962         (USE_AS_COMPAT): New macro.
1963         (LGAMMA_OLD_VER): Undefine and redefine.
1964         (lgammal): Do not define here.
1965         (gammal): Only define here if [GAMMA_ALIAS].
1966         * conform/linknamespace.pl (@whitelist): Remove signgam.
1967         * sysdeps/nacl/libm.abilist: Update.
1968         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1969         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1970         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1971         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1972         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1973         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1974         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1975         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1976         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1977         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1978         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1979         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1980         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1981         Likewise.
1982         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1983         Likewise.
1984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1985         Likewise.
1986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1987         Likewise.
1988         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1989         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1990         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1991         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1992         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1993         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1994         Likewise.
1995         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1996         Likewise.
1997         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1998         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1999         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2001 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2003         [BZ #16364]
2004         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
2005         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
2007 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
2009         * sysdeps/s390/fpu/bits/mathinline.h:
2010         Use __asm__ [__volatile__] instead of asm [volatile].
2011         * sysdeps/s390/abort-instr.h: Likewise.
2012         * sysdeps/s390/atomic-machine.h: Likewise.
2013         * sysdeps/s390/bits/string.h: Likewise.
2014         * sysdeps/s390/dl-tls.h: Likewise.
2015         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
2016         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
2017         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
2018         * sysdeps/s390/fpu/fesetround.c: Likewise.
2019         * sysdeps/s390/fpu/fpu_control.h: Likewise.
2020         * sysdeps/s390/fpu/s_fma.c: Likewise.
2021         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
2022         * sysdeps/s390/memusage.h: Likewise.
2023         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
2024         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
2025         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
2026         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
2027         * sysdeps/s390/nptl/tls.h: Likewise.
2028         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
2029         * sysdeps/s390/s390-32/backtrace.c: Likewise.
2030         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
2031         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
2032         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
2033         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
2034         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
2035         * sysdeps/s390/s390-64/backtrace.c: Likewise.
2036         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
2037         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
2038         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
2039         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
2040         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
2041         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
2042         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
2043         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
2044         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
2045         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
2046         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
2047         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2048         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
2049         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2050         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
2052 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2053             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2055         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
2056         Add lwarx hint, and use macro for acquire instruction.
2057         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
2058         Likewise.
2059         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
2060         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
2061         update to use new atomic macros.
2063 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2065         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
2066         (__lll_trylock_elision): Fix setting of adapt_count.
2067         * sysdeps/unix/sysv/linux/powerpc/htm.h
2068         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
2069         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
2070         (_ABORT_SYSCALL): Renumber, and clarify definition.
2071         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
2073 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2075         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
2076         after system headers to prevent MIN/MAX redefinition.  Define
2077         HAVE_ALLOCA to preserve builtin alloca usage.
2079 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
2081         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
2082         static and don't set or restore rounding.
2083         (__cos)[IN_SINCOS]: Likewise.
2084         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
2085         (__sincos): Set and restore rounding mode.  Remove check for infinite
2086         or NaN input.
2088         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
2090         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
2091         as used.
2093 2015-11-16  Florian Weimer  <fweimer@redhat.com>
2095         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
2097 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
2099         * config.make.in (have-glob-dat-reloc): New.
2100         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
2101         target supports GLOB_DAT relocaton. AC_SUBST.
2102         * configure: Regenerated.
2103         * elf/Makefile (tests): Add tst-prelink.
2104         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
2105         (tst-prelink-ENV): New.
2106         ($(objpfx)tst-prelink-conflict.out): Likewise.
2107         ($(objpfx)tst-prelink-cmp.out): Likewise.
2108         * sysdeps/x86/tst-prelink.c: Moved to ...
2109         * elf/tst-prelink.c: Here.
2110         * sysdeps/x86/tst-prelink.exp: Moved to ...
2111         * elf/tst-prelink.exp: Here.
2112         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
2113         (tst-prelink-ENV): Removed.
2114         ($(objpfx)tst-prelink-conflict.out): Likewise.
2115         ($(objpfx)tst-prelink-cmp.out): Likewise.
2116         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
2118 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
2120         [BZ #14551]
2121         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
2122         (__mpn_construct_long_double): If high part overflows to infinity,
2123         set errno and recompute overflowed result of the correct sign.
2124         * sysdeps/ieee754/ldbl-128ibm/Makefile
2125         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
2126         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
2127         $(libm).
2128         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
2130 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
2132         [BZ #15479]
2133         [BZ #19238]
2134         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
2135         floating-point state after first operation on input.  Restore full
2136         state rather than just rounding mode.
2137         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
2138         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
2139         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
2141         [BZ #19235]
2142         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
2143         add 0.5 to integer arguments.
2144         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
2145         Likewise.
2146         (.LC2): New object.
2148 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
2150         * scripts/pylintrc (reports): Set to no.
2152 2015-11-10  Roland McGrath  <roland@hack.frob.com>
2154         * elf/dl-load.c (open_verify): Take new argument FD.
2155         Skip __open call if passed FD is not -1.
2156         (_dl_map_object, open_path): Update callers.
2157         * elf/dl-sysdep-open.h: New file.
2158         * elf/dl-load.c: Include it.
2159         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
2160         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
2161         * sysdeps/nacl/dl-sysdep-open.h: New file.
2162         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
2163         from libc to rtld.
2165 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
2167         [BZ #19228]
2168         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
2169         and restore full floating-point state.
2170         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
2171         Likewise.
2172         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
2173         Likewise.
2174         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
2175         Likewise.
2176         * math/test-nearbyint-except-2.c: New file.
2177         * math/Makefile (tests): Add test-nearbyint-except-2.
2179 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
2181         [BZ #19178]
2182         * sysdeps/x86/Makefile (tests): Add tst-prelink.
2183         (tst-prelink-ENV): New.
2184         ($(objpfx)tst-prelink-conflict.out): Likewise.
2185         ($(objpfx)tst-prelink-cmp.out): Likewise.
2186         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
2187         * sysdeps/x86/tst-prelink.c: New file.
2188         * sysdeps/x86/tst-prelink.exp: Likewise.
2190 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
2192         * math/auto-libm-test-in: Add another test of pow.
2193         * math/auto-libm-test-out: Regenerated.
2194         * math/libm-test.inc (pow_test_data): Add another test.
2196 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2198         [BZ #19219]
2199         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
2200         weak_alias to nearbyintl.
2202 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
2204         * sysdeps/aarch64/bits/string.h: New file.
2205         (_STRING_ARCH_unaligned): Define.
2207 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
2209         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
2210         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
2211         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
2212         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
2213         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
2215 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
2217         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
2218         for original name of the DSO.  Add it to the name list of the DSO
2219         if it is actually given.
2220         (_dl_map_object): Keep track of whether an audit module rewrote
2221         the file name.  If yes, pass the original name to
2222         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
2223         debugging is enabled, log the change of the file name.
2224         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
2225         _dl_map_object_from_fd.
2226         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
2227         * elf/tst-audit11.c: New file
2228         * elf/tst-auditmod11.c: New file.
2229         * elf/tst-audit11mod1.c: New file.
2230         * elf/tst-audit11mod2.c: New file.
2231         * elf/tst-audit11mod2.map: New file.
2232         * elf/tst-audit12.c: New file
2233         * elf/tst-auditmod12.c: New file.
2234         * elf/tst-audit12mod1.c: New file.
2235         * elf/tst-audit12mod2.c: New file.
2236         * elf/tst-audit12mod2.map: New file.
2237         * elf/tst-audit12mod3.c: New file.
2239 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
2241         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
2242         Don't create weak aliases,
2243         because versioned symbols are created later.
2244         * sysdeps/s390/s390-32/setjmp.S
2245         (setjmp, _setjmp): Remove weak and rename to an unique name
2246         in SHARED case due to existing versioned symbols.
2247         * sysdeps/s390/s390-64/setjmp.S: Likewise.
2248         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
2249         (getcontext): Create weak alias only in non SHARED case.
2250         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
2252 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
2254         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
2255         (__ASSUME_*_SYSCALL) Define new macros.
2256         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
2257         Remove socketcall syscalls.
2258         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
2259         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
2260         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
2261         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
2262         * sysdeps/unix/sysv/linux/send.c (__libc_send):
2263         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
2265 2015-11-09  Florian Weimer  <fweimer@redhat.com>
2267         [BZ #12926]
2268         Terminate process on invalid netlink response.
2269         * sysdeps/unix/sysv/linux/netlinkaccess.h
2270         (__netlink_assert_response): Declare.
2271         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
2272         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
2273         (sysdep_routines): Add netlink_assert_response.
2274         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
2275         __netlink_assert_response.
2276         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
2277         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
2278         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
2279         __netlink_assert_response.
2281 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
2283         [BZ #19178]
2284         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
2285         (RTYPE_CLASS_PLT): Likewise.
2286         (RTYPE_CLASS_COPY): Likewise.
2287         (RTYPE_CLASS_TLS): Likewise.
2288         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
2289         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
2290         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
2291         DL_DEBUG_PRELINK.
2293 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
2295         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
2296         calls with argument -0.5.
2297         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
2299         * configure.ac (libc_cv_z_nodelete): Remove configure test.
2300         (libc_cv_z_nodlopen): Likewise.
2301         (libc_cv_z_initfirst): Likewise.
2302         * configure: Regenerated.
2304 2015-11-06  Florian Weimer  <fweimer@redhat.com>
2306         Simplify abilist format to be line-based.
2307         * scripts/abilist.awk: Collect descriptors in the descs variable.
2308         (emit): Write descs variable and sort it
2309         externally, with sort.
2310         * sysdeps/**/*.abilist: Convert to new format.
2312 2015-11-06  Mark Wielaard  <mjw@redhat.com>
2314         [BZ #11460]
2315         * io/Makefile (routines): Add fts64.
2316         (tests): Add tst-fts and tst-fts-lfs.
2317         (CFLAGS-fts64.c): New.
2318         * io/Versions (GLIBC_2.23): New.
2319         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
2320         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
2321         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
2322         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
2323         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
2324         (FTSENT64): Likewise.
2325         (fts64_children): Likewise.
2326         (fts64_close): Likewise.
2327         (fts64_open): Likewise.
2328         (fts64_read): Likewise.
2329         (fts64_set): Likewise.
2330         * io/fts64.c: New file.
2331         * io/tst-fts.c: New test.
2332         * io/tst-fts-lfs.c: Likewise.
2333         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
2334         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
2335         fts64_set.
2336         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2337         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
2338         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
2339         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
2340         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2341         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
2342         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
2343         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
2344         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
2345         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
2346         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
2347         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2348         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
2349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2350         Likewise.
2351         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2352         Likewise.
2353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
2354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
2355         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2356         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2357         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
2358         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2359         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2360         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
2361         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
2362         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
2363         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2364         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
2365         * sysdeps/wordsize-64/fts.c: New file.
2366         * sysdeps/wordsize-64/fts64.c: Likewise.
2367         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
2368         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
2369         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
2370         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
2372 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
2374         * math/libm-test.inc (NON_FINITE): New macro.
2375         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
2376         * math/gen-libm-test.pl (show_exceptions): Add argument
2377         $non_finite.
2378         (parse_args): Update call to show_exceptions.
2379         * math/test-math-finite.h: New file.
2380         * math/test-math-no-finite.h: Likewise.
2381         * math/test-double-finite.c: Likewise.
2382         * math/test-float-finite.c: Likewise.
2383         * math/test-ldouble-finite.c: Likewise.
2384         * math/test-double.c: Include "test-math-no-finite.h".
2385         * math/test-float.c: Include "test-math-no-finite.h".
2386         * math/test-ldouble.c: Include "test-math-no-finite.h".
2387         * math/test-math-inline.h (TEST_FINITE): New macro.
2388         * math/test-math-vector.h (TEST_FINITE): Likewise.
2389         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
2390         (libm-tests): Add test-float-finite and test-double-finite.
2391         ($(objpfx)test-float-finite.o): New dependency on
2392         $(objpfx)libm-test.stmp.
2393         ($(objpfx)test-double-finite.o): Likewise.
2394         ($(objpfx)test-ldouble-finite.o): Likewise.
2395         (libm-test-no-inline-cflags): New variable.
2396         (libm-test-finite-cflags): Likewise.
2397         (CFLAGS-test-float-finite.c): Likewise.
2398         (CFLAGS-test-double-finite.c): Likewise.
2399         (CFLAGS-test-ldouble-finite.c): Likewise.
2400         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
2401         (CFLAGS-test-double.c): Likewise.
2402         (CFLAGS-test-ldouble.c): Likewise.
2404 2015-11-05  Roland McGrath  <roland@hack.frob.com>
2406         * io/fcntl.c (__fcntl): Add ... to prototype.
2407         * misc/ioctl.c (__ioctl): Likewise.
2408         * misc/syscall.c (syscall): Likewise.
2410 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
2412         * scripts/list-fixed-bugs.py: New file.
2414         [BZ #19213]
2415         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
2416         returned for argument 1.
2417         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
2418         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
2419         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
2420         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
2421         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
2422         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
2424         [BZ #19211]
2425         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
2426         __USE_XOPEN], not if [!__USE_ISOC99].
2427         (lgammaf): Likewise.
2428         (lgammal): Likewise.
2429         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
2430         (gammaf): Likewise.
2431         (gammal): Likewise.
2432         * math/test-signgam-finite-c11.c: New file.
2433         * math/test-signgam-finite-c99.c: Likewise.
2434         * math/test-signgam-finite.c: Likewise.
2435         * math/Makefile (tests): Add test-signgam-finite,
2436         test-signgam-finite-c99 and test-signgam-finite-c11.
2437         (CFLAGS-test-signgam-finite.c): New variable.
2438         (CFLAGS-test-signgam-finite-c99.c): Likewise.
2439         (CFLAGS-test-signgam-finite-c11.c): Likewise.
2441         [BZ #19212]
2442         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
2443         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
2444         500].
2445         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
2446         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
2447         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
2448         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
2449         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
2450         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
2451         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
2452         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
2453         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
2454         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
2456         [BZ #19209]
2457         * math/bits/math-finite.h (ldexp): Remove declaration.
2458         (ldexpf): Likewise.
2459         (ldexpl): Likewise.
2461         [BZ #19205]
2462         * math/bits/math-finite.h (acosf): Condition declaration on
2463         [__USE_ISOC99].
2464         (acosl): Likewise.
2465         (acoshf): Likewise.
2466         (acoshl): Likewise.
2467         (asinf): Likewise.
2468         (asinl): Likewise.
2469         (atan2f): Likewise.
2470         (atan2l): Likewise.
2471         (atanhf): Likewise.
2472         (atanhl): Likewise.
2473         (coshf): Likewise.
2474         (coshl): Likewise.
2475         (expf): Likewise.
2476         (expl): Likewise.
2477         (fmodf): Likewise.
2478         (fmodl): Likewise.
2479         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
2480         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
2481         (j0l): Likewise.
2482         (y0f): Likewise.
2483         (y0l): Likewise.
2484         (j1f): Likewise.
2485         (j1l): Likewise.
2486         (y1f): Likewise.
2487         (y1l): Likewise.
2488         (jnf): Likewise.
2489         (jnl): Likewise.
2490         (ynf): Likewise.
2491         (ynl): Likewise.
2492         (lgammaf_r): Condition declaration on [__USE_ISOC99].
2493         (lgammal_r): Likewise.
2494         (__lgamma_r_finite): New declaration.
2495         (__lgammaf_r_finite): Likewise.
2496         (__lgammal_r_finite): Likewise.
2497         (lgamma): Use __lgamma_r_finite.
2498         (lgammaf): Condition definition on [__USE_ISOC99].  Use
2499         __lgammaf_r_finite.
2500         (lgammal): Condition definition on [__USE_ISOC99].  Use
2501         __lgammal_r_finite.
2502         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
2503         __lgamma_r_finite.
2504         (gammaf): Condition definition on [__USE_ISOC99].  Use
2505         __lgammaf_r_finite.
2506         (gammal): Condition definition on [__USE_ISOC99].  Use
2507         __lgammal_r_finite.
2508         (logf): Condition declaration on [__USE_ISOC99].
2509         (logl): Likewise.
2510         (log10f): Likewise.
2511         (log10l): Likewise.
2512         (ldexpf): Likewise.
2513         (ldexpl): Likewise.
2514         (powf): Likewise.
2515         (powl): Likewise.
2516         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
2517         __USE_ISOC99].
2518         (remainderf): Condition declaration on [__USE_ISOC99].
2519         (remainderl): Likewise.
2520         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
2521         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
2522         (scalbl): Likewise.
2523         (sinhf): Condition declaration on [__USE_ISOC99].
2524         (sinhl): Likewise.
2525         (sqrtf): Likewise.
2526         (sqrtl): Likewise.
2528 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
2530         * sysdeps/arm/atomic-machine.h
2531         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
2532         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
2533         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
2534         Remove conditional code.
2535         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
2536         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
2537         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
2538         Change conditional to [__ASSEMBLER__].
2539         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
2540         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
2541         [!__ASSEMBLER__].
2542         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
2543         code.
2544         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
2545         conditional macro definitions.
2546         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
2547         (__arch_compare_and_exchange_val_16_acq): Likewise.
2548         (__arch_compare_and_exchange_val_32_acq): Likewise.
2549         (atomic_exchange_and_add): Likewise.
2550         (atomic_add): Likewise.
2551         (atomic_add_negative): Likewise.
2552         (atomic_add_zero): Likewise.
2553         (atomic_bit_set): Likewise.
2554         (atomic_bit_test_set): Likewise.
2555         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
2556         code unconditional.
2557         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
2559         * math/test-math-errno.h: New file.
2560         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
2561         empty.
2562         (TEST_ERRNO): New macro.
2563         (TEST_EXCEPTIONS): Likewise.
2564         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
2565         (TEST_EXCEPTIONS): Likewise.
2566         * math/test-math-vector.h (TEST_ERRNO): Likewise.
2567         * math/test-double.c: Include "test-math-errno.h".
2568         * math/test-float.c: Likewise.
2569         * math/test-ldouble.c: Likewise.
2570         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
2571         code unconditional.
2572         (test_exceptions): Only run code if TEST_EXCEPTIONS.
2573         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
2574         unconditional.
2575         (test_errno): Only run code if TEST_ERRNO.
2576         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
2578 2015-11-04  Florian Weimer  <fweimer@redhat.com>
2580         * nptl/tst-once5.cc: Remove attribution.
2582 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
2584         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
2585         sqrt, tan, tanh, y0, y1 and yn.
2586         * math/auto-libm-test-out: Regenerated.
2587         * math/libm-test.inc (scalb_test_data): Add more tests.
2588         (scalbn_test_data): Likewise.
2589         (scalbln_test_data): Likewise.
2590         (signbit_test_data): Likewise.
2591         (sin_test_data): Likewise.
2592         (sincos_test_data): Likewise.
2593         (sinh_test_data): Likewise.
2594         (sqrt_test_data): Likewise.
2595         (tan_test_data): Likewise.
2596         (tanh_test_data): Likewise.
2597         (tgamma_test_data): Likewise.
2598         (y0_test_data): Likewise.
2599         (y1_test_data): Likewise.
2600         (yn_test_data): Likewise.
2601         (significand_test_data): Likewise.
2602         * sysdeps/i386/fpu/libm-test-ulps: Update.
2604 2015-11-03  David Kastrup  <dak@gnu.org>
2606         [BZ #18604]
2607         * assert/assert.h (assert): Don't macro-expand failed assertion
2608         expression in error message.
2609         * malloc/malloc.c (assert): Likewise.
2611 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
2613         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
2614         test.
2615         * configure: Regenerated.
2617 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
2619         * math/libm-test.inc (modf_test_data): Add more tests.
2620         (nearbyint_test_data): Likewise.
2621         (nextafter_test_data): Likewise.
2622         (nexttoward_test_data): Likewise.
2623         (pow_test_data): Likewise.
2624         (remainder_test_data): Likewise.
2625         (remquo_test_data): Likewise.
2626         (rint_test_data): Likewise.
2628         [BZ #19201]
2629         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
2630         Check for zero remainder in case of large exponents and ensure
2631         correct sign of result in that case.
2632         * math/libm-test.inc (remainder_test_data): Add more tests.
2634         [BZ #6799]
2635         * math/s_nextafter.c: Include <errno.h>.
2636         (__nextafter): Set errno on overflow and underflow.
2637         * math/s_nexttowardf.c: Include <errno.h>.
2638         (__nexttowardf): Set errno on overflow and underflow.
2639         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
2640         (__nextafterl): Set errno on overflow and underflow.
2641         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
2642         (__nexttoward): Set errno on overflow and underflow.
2643         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
2644         (__nexttowardf): Set errno on overflow and underflow.
2645         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
2646         (__nextafterf): Set errno on overflow and underflow.
2647         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
2648         (__nextafterl): Set errno on overflow and underflow.
2649         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
2650         (__nexttoward): Set errno on overflow and underflow.
2651         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
2652         (__nexttowardf): Set errno on overflow and underflow.
2653         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
2654         (__nextafterl): Set errno on overflow and underflow.
2655         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
2656         (__nexttoward): Set errno on overflow and underflow.
2657         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
2658         (__nexttowardf): Set errno on overflow and underflow.
2659         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
2660         (__nexttoward): Set errno on overflow and underflow.
2661         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
2662         (__nexttowardf): Set errno on overflow and underflow.
2663         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
2664         (__nldbl_nexttowardf): Set errno on overflow and underflow.
2665         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
2666         (__nextafterl): Set errno on overflow and underflow.
2667         * math/libm-test.inc (nextafter_test_data): Do not allow errno
2668         setting to be missing on overflow.  Add more tests.
2669         (nexttoward_test_data): Likewise.
2671         * configure.ac (libc_cv_initfini_array): Remove configure test.
2672         * configure: Regenerated.
2674 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
2676         [BZ #19189]
2677         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
2678         non-finite argument handle arguments with negative sign.
2680         * math/libm-test.inc (j0_test_data): Do not test sign of zero
2681         result from infinite argument.
2682         (j1_test_data): Likewise.
2683         (jn_test_data): Likewise.
2684         (y0_test_data): Likewise.
2685         (y1_test_data): Likewise.
2686         (yn_test_data): Likewise.
2688         [BZ #16171]
2689         * math/w_remainder.c (drem): Define as weak alias of __remainder.
2690         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
2691         * math/w_remainderf.c (dremf): Define as weak alias of
2692         __remainderf.
2693         * math/w_remainderl.c (dreml): Define as weak alias of
2694         __remainderl.
2695         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
2696         __remainder.
2697         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
2698         __remainderf.
2699         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
2700         __remainderl.
2701         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
2702         weak alias of remainderl.
2703         * sysdeps/ieee754/ldbl-opt/w_remainder.c
2704         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
2705         alias of __remainder.
2706         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
2707         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
2708         strong alias of __remainderl.
2709         (dreml): Use long_double_symbol.
2710         * math/Makefile (libm-calls): Remove w_drem.
2711         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
2712         (CFLAGS-nldbl-drem.c): Remove variable.
2713         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
2714         * math/w_drem.c: Remove file.
2715         * math/w_dremf.c: Likewise.
2716         * math/w_dreml.c: Likewise.
2717         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
2718         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
2719         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
2721         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
2722         * sysdeps/i386/configure: Regenerated.
2723         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
2724         * sysdeps/x86_64/configure: Regenerated.
2726         * configure.ac (libc_cv_asm_protected_directive): Remove configure
2727         test.
2728         (libc_cv_visibility_attribute): Likewise.
2729         (libc_cv_protected_data): Test unconditionally.
2730         (libc_cv_broken_visibility_attribute): Remove configure test.
2731         (libc_cv_have_sdata_section): Test unconditionally.
2732         * configure: Regenerated.
2734         * include/libc-internal.h (libc_max_align_t): Remove typedef.
2735         * include/scratch_buffer.h: Include <stddef.h> instead of
2736         <libc-internal.h>.
2737         (struct scratch_buffer): Use max_align_t instead of
2738         libc_max_align_t.
2740 2015-10-29  Florian Weimer  <fweimer@redhat.com>
2742         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
2743         instead of extend_alloca.  Change control flow to avoid a goto.
2744         Remove assert which is trivially always true.
2746 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
2748         [BZ #16068]
2749         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
2750         (FE_ALL_EXCEPT_X86): New macro.
2751         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
2752         FE_ALL_EXCEPT.  Ensure precision control is included in
2753         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
2754         handle "denormal operand exception" and clear FZ and DAZ bits.
2755         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
2756         (FE_ALL_EXCEPT_X86): New macro.
2757         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
2758         FE_ALL_EXCEPT.  Ensure precision control is included in
2759         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
2760         handle "denormal operand exception" and clear FZ and DAZ bits.
2761         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
2762         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
2763         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
2764         test-fenv-x87 and test-fenv-sse-2.
2765         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
2767         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
2768         * math/test-double.h (BUILD_COMPLEX): New macro.
2769         * math/test-float.h (BUILD_COMPLEX): Likewise.
2770         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
2772         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
2773         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
2774         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
2775         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
2776         instead of DBL_DENORM_MIN in comment.
2777         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
2778         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
2779         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
2780         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
2781         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
2782         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
2784 2015-10-28  Florian Weimer  <fweimer@redhat.com>
2786         [BZ# 19048]
2787         * malloc/malloc.c (struct malloc_state): Update comment.  Add
2788         attached_threads member.
2789         (main_arena): Initialize attached_threads.
2790         * malloc/arena.c (list_lock): Update comment.
2791         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
2792         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
2793         (deattach_arena): New function.
2794         (_int_new_arena): Initialize arena reference count and deattach
2795         replaced arena.
2796         (get_free_list, reused_arena): Update reference count and deattach
2797         replaced arena.
2798         (arena_thread_freeres): Update arena reference count and only put
2799         unreferenced arenas on the free list.
2801 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
2803         [BZ #19181]
2804         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
2805         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
2806         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
2807         * math/test-fenv-clear-main.c: New file.
2808         * math/test-fenv-clear.c: Likewise.
2809         * math/Makefile (tests): Add test-fenv-clear.
2810         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
2811         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
2812         test-fenv-clear-sse.
2813         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
2815         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
2816         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
2817         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
2819 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
2821         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
2822         static libc.
2824 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
2826         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
2827         test.
2828         * sysdeps/i386/configure: Regenerated.
2829         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
2830         test.
2831         * sysdeps/x86_64/configure: Regenerated.
2832         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
2833         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2834         memset-avx2 unconditionally instead of conditionally on
2835         [$(config-cflags-avx2) = yes].
2836         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2837         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
2838         unconditional.
2839         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
2840         * sysdeps/x86_64/multiarch/memset_chk.S
2841         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
2842         to [IS_IN (libc) && SHARED].
2844 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
2846         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
2847         configure test.
2848         * sysdeps/arm/configure: Regenerated.
2849         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
2850         Define variable if not already defined.
2852         [BZ #17404]
2853         * sysdeps/mips/atomic-machine.h
2854         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
2855         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
2856         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
2858         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
2859         unconditional.
2860         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
2861         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
2862         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
2863         unconditional.
2864         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
2865         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
2866         unconditional.
2867         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
2868         * stdlib/setenv.c
2869         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
2870         code unconditional.
2871         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
2872         Remove conditional code.
2873         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
2874         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
2875         unconditional.
2876         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
2877         code.
2878         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
2879         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
2880         unconditional.
2881         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
2882         code.
2883         * sysdeps/ieee754/ldbl-128/k_tanl.c
2884         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
2885         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
2886         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
2887         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
2888         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
2889         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
2890         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
2891         unconditional.
2892         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
2893         code.
2894         * sysdeps/ieee754/ldbl-96/k_tanl.c
2895         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
2896         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
2898         * nptl/tst-initializers1-c11.c: New file.
2899         * nptl/tst-initializers1-gnu11.c: Likewise.
2900         * nptl/Makefile (tests): Add these new tests.
2901         (CFLAGS-tst-initializers1-c11.c): New variable.
2902         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
2904         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
2905         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
2906         instead of -std=gnu99.
2907         * configure.ac (systemtap): Test with -std=gnu11 instead of
2908         -std=gnu99.
2909         * configure: Regenerated.
2910         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
2911         in compilation command in comment.
2913         * sysdeps/nptl/configure.ac: Remove file.
2914         * sysdeps/nptl/configure: Remove generated file.
2915         * configure.ac (libc_cv_forced_unwind): Do not substitute.
2916         * configure: Regenerated.
2917         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
2918         * config.make.in (have-forced-unwind): Remove variable.
2919         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
2920         unconditional.
2921         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
2922         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
2923         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
2924         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
2925         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
2926         unconditional.
2928 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2930         [BZ #19174]
2931         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
2932         .skip_lock_out_of_tbegin_retries.
2933         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
2934         (__lll_lock_elision): Likewise, and respect a value of
2935         try_tbegin <= 0.
2937 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
2939         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
2940         statement.
2942 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
2944         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
2945         variable.
2946         (test-xfail-ISO11/stdalign.h/conform): Likewise.
2947         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
2949         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
2950         of -std=c1x -D_ISOC11_SOURCE.
2952         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
2953         * configure: Regenerated.
2954         * manual/install.texi (Tools for Compilation): Document
2955         requirement for GCC 4.7 or later.
2956         * INSTALL: Regenerated.
2958 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
2960         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
2961         on CNT to a conditional jump to 'puntdata'.
2963 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
2965         * configure.ac (libc_cv_gcc___thread): Remove configure test.
2966         (libc_cv_gcc_tls_model_attr): Likewise.
2967         * configure: Regenerated.
2969         * configure.ac (libc_cv_need_minus_P): Remove configure test.
2970         * configure: Regenerated.
2971         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
2973 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
2975         * configure.ac (old_glibc_headers): Remove configure test.
2976         * configure: Regenerated.
2977         * config.make.in (old-glibc-headers): Remove variable.
2978         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
2979         (install): Remove dependency on remove-old-headers.
2980         (headers2_0): Remove variable.
2981         (remove-old-headers): Remove rule.
2983         * configure.ac (libc_cv_dot_text): Remove configure test.
2984         (libc_cv_asm_set_directive): Use .text instead of
2985         ${libc_cv_dot_text} in configure test.
2986         * configure: Regenerated.
2988 2015-10-26  Florian Weimer  <fweimer@redhat.com>
2990         [BZ #19168]
2991         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2993 2015-10-26  Florian Weimer  <fweimer@redhat.com>
2995         * configure.ac (CXX): Clear the variable if the C++ toolchain does
2996         not support static linking.
2997         * configure: Regenerate.
2999 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
3001         * math/libm-test.inc (check_float_internal): Do not special-case
3002         errors up to 0.5 ulp.
3004         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
3005         log2.
3006         * math/auto-libm-test-out: Regenerated.
3007         * math/libm-test.inc (MAX_EXP): New macro.
3008         (ilogb_test_data): Add more tests.
3009         (isfinite_test_data): Likewise.
3010         (isgreater_test_data): Likewise.
3011         (isgreaterequal_test_data): Likewise.
3012         (isinf_test_data): Likewise.
3013         (isless_test_data): Likewise.
3014         (islessequal_test_data): Likewise.
3015         (islessgreater_test_data): Likewise.
3016         (isnan_test_data): Likewise.
3017         (isnormal_test_data): Likewise.
3018         (issignaling_test_data): Likewise.
3019         (isunordered_test_data): Likewise.
3020         (j0_test_data): Likewise.
3021         (j1_test_data): Likewise.
3022         (jn_test_data): Likewise.
3023         (lgamma_test_data): Likewise.
3024         (log_test_data): Likewise.
3025         (log10_test_data): Likewise.
3026         (log1p_test_data): Likewise.
3027         (log2_test_data): Likewise.
3028         (logb_test_data): Likewise.
3029         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3031         [BZ #18611]
3032         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
3033         avoid excess range and precision on underflow.
3034         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
3035         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
3036         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
3037         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
3038         underflow.
3039         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
3040         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
3041         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
3042         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
3043         * math/auto-libm-test-in: Do not allow missing errno setting for
3044         tests of j1 and jn.
3045         * math/auto-libm-test-out: Regenerated.
3047 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
3049         [BZ #15491]
3050         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
3051         floating-point environment instead of clearing all exceptions.
3052         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
3053         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
3054         merging in "invalid" exceptions from frndint.
3055         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
3056         * math/test-nearbyint-except.c: New file.
3057         * math/Makefile (tests): Add test-nearbyint-except.
3059 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
3061         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
3063         * sysdeps/tile/libm-test-ulps: Regenerated.
3065 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
3068         (__NR_sync_file_range2): Assume it is always defined.
3069         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
3070         (__NR_sync_file_range): Assume it is always defined.
3072 2015-10-22  Andreas Schwab  <schwab@suse.de>
3074         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
3075         INTERNAL_SYSCALL_ERRNO.
3076         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
3077         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
3078         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
3079         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
3080         Likewise.
3081         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
3083 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
3085         * io/tst-fcntl.c (fd): New static variable.
3086         (do_prepare): Open temporary file here....
3087         (do_test): ...not here.
3089         * io/ftwtest-sh: Also trap on exit to remove temporary files.
3091 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
3093         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
3094         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
3095         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
3096         Moved before "#ifdef __ASSEMBLER__".
3098 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
3100         [BZ #19156]
3101         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
3102         arguments very close to 0.
3104 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
3106         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
3107         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
3109 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
3111         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
3112         New.  Defined for GCC 5 and above when not compiling for
3113         profiling.
3114         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
3116         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
3117         Renamed to ...
3118         (CFLAGS-epoll_pwait.o): This.
3119         (CFLAGS-mmap.c): Renamed to ...
3120         (CFLAGS-mmap.o): This.
3121         (CFLAGS-mmap64.c): Renamed to ...
3122         (CFLAGS-mmap64.o): This.
3123         (CFLAGS-epoll_pwait.os): New.
3124         (CFLAGS-mmap.os): Likewise.
3125         (CFLAGS-mmap64.os): Likewise.
3126         (CFLAGS-semtimedop.os): Likewise.
3127         (CFLAGS-semtimedop.c): Renamed to ...
3128         (CFLAGS-semtimedop.o): This.
3130 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3132         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
3133         warning message.
3135 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
3137         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
3138         * Makefile ($(objpfx)c++-types-check.out): Filter out
3139         $(+gccwarn-c) instead of -Wstrict-prototypes.
3141         * io/fts.c (fts_open): Convert to prototype-style function
3142         definition.
3143         * malloc/mcheck.c (mcheck): Likewise.
3144         (mcheck_pedantic): Likewise.
3145         * posix/regexec.c (re_search_2_stub): Likewise.  Use
3146         internal_function.
3147         (re_search_internal): Likewise.
3148         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
3149         prototype-style function definition.
3150         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
3151         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
3152         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
3153         (xdr_utmpptr): Likewise.
3154         (xdr_utmparr): Likewise.
3155         (xdr_utmpidle): Likewise.
3156         (xdr_utmpidleptr): Likewise.
3157         (xdr_utmpidlearr): Likewise.
3159         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
3160         log, log10 and log2.
3161         * math/auto-libm-test-out: Regenerated.
3162         * math/libm-test.inc (fmod_test_data): Add more tests.
3163         (fpclassify_test_data): Likewise.
3164         (frexp_test_data): Likewise.
3165         (hypot_test_data): Likewise.
3166         (ilogb_test_data): Likewise.
3168 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
3170         * debug/fortify_fail.c (__fortify_fail): Convert to
3171         prototype-style function definition.  Use internal_function.
3172         * libio/genops.c (save_for_backup): Convert to prototype-style
3173         function definition.
3174         * libio/wgenops.c (save_for_wbackup): Likewise.
3175         * login/grantpt.c (grantpt): Likewise.
3176         * login/ptsname.c (ptsname): Likewise.
3177         (__ptsname_r): Likewise.
3178         * login/unlockpt.c (unlockpt): Likewise.
3179         * mach/msgserver.c (__mach_msg_server): Likewise.
3180         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
3181         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
3182         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
3183         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
3184         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
3185         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
3186         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
3187         Likewise.
3188         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
3189         internal_function.
3190         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
3191         prototype-style function definition.
3192         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
3193         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
3194         (__pthread_create_2_0): Likewise.
3195         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
3196         * nptl/register-atfork.c (__register_atfork): Likewise.
3197         * posix/glob.c (glob): Likewise.
3198         * posix/regcomp.c (re_comp): Likewise.
3199         * posix/regexec.c (re_exec): Likewise.
3200         * stdlib/add_n.c [__STDC__]: Make code unconditional.
3201         [!__STDC__]: Remove conditional code.
3202         * stdlib/cmp.c [__STDC__]: Make code unconditional.
3203         [!__STDC__]: Remove conditional code.
3204         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
3205         [!__STDC__]: Remove conditional code.
3206         * stdlib/divrem.c [__STDC__]: Make code unconditional.
3207         [!__STDC__]: Remove conditional code.
3208         * stdlib/lshift.c [__STDC__]: Make code unconditional.
3209         [!__STDC__]: Remove conditional code.
3210         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
3211         [!__STDC__]: Remove conditional code.
3212         * stdlib/mul.c [__STDC__]: Make code unconditional.
3213         [!__STDC__]: Remove conditional code.
3214         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
3215         [!__STDC__]: Remove conditional code.
3216         * stdlib/rshift.c [__STDC__]: Make code unconditional.
3217         [!__STDC__]: Remove conditional code.
3218         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
3219         function definition.
3220         (STRTOF): Likewise.
3221         * stdlib/strtod_l.c (__STRTOF): Likewise.
3222         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
3223         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
3224         (__strtol_l): Likewise.
3225         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
3226         [!__STDC__]: Remove conditional code.
3227         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
3228         definition.
3229         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
3230         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
3231         type.
3232         (__strcasecmp): Convert to prototype-style function definition.
3233         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
3234         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
3235         type.
3236         (__strncasecmp): Convert to prototype-style function definition.
3237         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
3238         * sunrpc/xdr.c (xdr_union): Likewise.
3239         * sunrpc/xdr_array.c (xdr_array): Likewise.
3240         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
3241         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
3242         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
3243         Likewise.
3244         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
3245         Likewise.
3246         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
3247         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
3248         Likewise.
3249         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
3250         (LOCALE_PARAM_PROTO): Likewise.
3251         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
3252         argument type.
3253         (ut_argument_spec): Remove macro.
3254         (ut_argument_spec_iso): Rename to ut_argument_spec.
3255         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
3256         prototype-style function definition.
3257         (memcpy_uppcase): Likewise.
3258         (__strftime_internal): Likewise.
3259         (my_strftime): Likewise.
3260         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
3261         (LOCALE_PARAM_DECL): Likewise.
3262         [_LIBC] (LOCALE_PARAM): Include argument type.
3263         (__strptime_internal): Convert to prototype-style function
3264         definition.
3265         (strptime): Likewise.
3266         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
3267         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
3268         type.
3269         (__wcscasecmp): Convert to prototype-style function definition.
3270         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
3271         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
3272         type.
3273         (__wcsncasecmp): Convert to prototype-style function definition.
3275         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
3276         function definition.
3277         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
3278         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
3279         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
3280         * elf/dl-minimal.c (_itoa): Likewise.
3281         * hurd/hurdmalloc.c (malloc): Likewise.
3282         (free): Likewise.
3283         (realloc): Likewise.
3284         * inet/inet6_option.c (inet6_option_space): Likewise.
3285         (inet6_option_init): Likewise.
3286         (inet6_option_append): Likewise.
3287         (inet6_option_alloc): Likewise.
3288         (inet6_option_next): Likewise.
3289         (inet6_option_find): Likewise.
3290         * io/ftw.c (FTW_NAME): Likewise.
3291         (NFTW_NAME): Likewise.
3292         (NFTW_NEW_NAME): Likewise.
3293         (NFTW_OLD_NAME): Likewise.
3294         * libio/iofwide.c (_IO_fwide): Likewise.
3295         * libio/strops.c (_IO_str_init_static_internal): Likewise.
3296         (_IO_str_init_static): Likewise.
3297         (_IO_str_init_readonly): Likewise.
3298         (_IO_str_overflow): Likewise.
3299         (_IO_str_underflow): Likewise.
3300         (_IO_str_count): Likewise.
3301         (_IO_str_seekoff): Likewise.
3302         (_IO_str_pbackfail): Likewise.
3303         (_IO_str_finish): Likewise.
3304         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
3305         (_IO_wstr_overflow): Likewise.
3306         (_IO_wstr_underflow): Likewise.
3307         (_IO_wstr_count): Likewise.
3308         (_IO_wstr_seekoff): Likewise.
3309         (_IO_wstr_pbackfail): Likewise.
3310         (_IO_wstr_finish): Likewise.
3311         * locale/programs/localedef.c (normalize_codeset): Likewise.
3312         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
3313         (add_locales_to_archive): Likewise.
3314         (delete_locales_from_archive): Likewise.
3315         * malloc/malloc.c (__libc_mallinfo): Likewise.
3316         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
3317         * misc/tsearch.c (__tfind): Likewise.
3318         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
3319         * nptl/pthread_attr_getdetachstate.c
3320         (__pthread_attr_getdetachstate): Likewise.
3321         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
3322         Likewise.
3323         * nptl/pthread_attr_getinheritsched.c
3324         (__pthread_attr_getinheritsched): Likewise.
3325         * nptl/pthread_attr_getschedparam.c
3326         (__pthread_attr_getschedparam): Likewise.
3327         * nptl/pthread_attr_getschedpolicy.c
3328         (__pthread_attr_getschedpolicy): Likewise.
3329         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
3330         Likewise.
3331         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
3332         Likewise.
3333         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
3334         Likewise.
3335         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
3336         Likewise.
3337         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
3338         (__pthread_attr_init_2_0): Likewise.
3339         * nptl/pthread_attr_setdetachstate.c
3340         (__pthread_attr_setdetachstate): Likewise.
3341         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
3342         Likewise.
3343         * nptl/pthread_attr_setinheritsched.c
3344         (__pthread_attr_setinheritsched): Likewise.
3345         * nptl/pthread_attr_setschedparam.c
3346         (__pthread_attr_setschedparam): Likewise.
3347         * nptl/pthread_attr_setschedpolicy.c
3348         (__pthread_attr_setschedpolicy): Likewise.
3349         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
3350         Likewise.
3351         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
3352         Likewise.
3353         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
3354         Likewise.
3355         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
3356         Likewise.
3357         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
3358         Likewise.
3359         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
3360         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
3361         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
3362         use internal_function.
3363         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
3364         prototype-style function definition.
3365         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
3366         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
3367         internal_function.
3368         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
3369         Convert to prototype-style function definition.
3370         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
3371         Likewise.
3372         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
3373         Likewise.
3374         (__pthread_mutex_unlock): Likewise.
3375         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
3376         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
3377         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
3378         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
3379         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
3380         * nss/makedb.c (process_input): Likewise.
3381         * posix/fnmatch.c (__strchrnul): Likewise.
3382         (__wcschrnul): Likewise.
3383         (fnmatch): Likewise.
3384         * posix/fnmatch_loop.c (FCT): Likewise.
3385         * posix/glob.c (globfree): Likewise.
3386         (__glob_pattern_type): Likewise.
3387         (__glob_pattern_p): Likewise.
3388         * posix/regcomp.c (re_compile_pattern): Likewise.
3389         (re_set_syntax): Likewise.
3390         (re_compile_fastmap): Likewise.
3391         (regcomp): Likewise.
3392         (regerror): Likewise.
3393         (regfree): Likewise.
3394         * posix/regexec.c (regexec): Likewise.
3395         (re_match): Likewise.
3396         (re_search): Likewise.
3397         (re_match_2): Likewise.
3398         (re_search_2): Likewise.
3399         (re_search_stub): Likewise.  Use internal_function
3400         (re_copy_regs): Likewise.
3401         (re_set_registers): Convert to prototype-style function
3402         definition.
3403         (prune_impossible_nodes): Likewise.  Use internal_function.
3404         * resolv/inet_net_pton.c (inet_net_pton): Convert to
3405         prototype-style function definition.
3406         (inet_net_pton_ipv4): Likewise.
3407         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
3408         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
3409         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
3410         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
3411         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
3412         Make variadic.
3413         * time/strptime_l.c (localtime_r): Convert to prototype-style
3414         function definition.
3415         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
3416         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
3417         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
3418         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
3420         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
3421         definition.
3422         (_ufc_doit_r): Likewise.
3423         * crypt/crypt_util.c (_ufc_copymem): Likewise.
3424         (_ufc_output_conversion_r): Likewise.
3425         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
3426         * inet/rcmd.c (rcmd_af): Likewise.
3427         (rcmd): Likewise.
3428         (ruserok_af): Likewise.
3429         (ruserok): Likewise.
3430         (ruserok2_sa): Likewise.
3431         (ruserok_sa): Likewise.
3432         (iruserok_af): Likewise.
3433         (iruserok): Likewise.
3434         (__ivaliduser): Likewise.
3435         (__validuser2_sa): Likewise.
3436         * inet/rexec.c (rexec_af): Likewise.
3437         (rexec): Likewise.
3438         * inet/ruserpass.c (ruserpass): Likewise.
3439         * locale/programs/xmalloc.c (xcalloc): Likewise.
3440         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
3441         * math/w_drem.c (__drem): Likewise.
3442         * math/w_dremf.c (__dremf): Likewise.
3443         * math/w_dreml.c (__dreml): Likewise.
3444         * misc/daemon.c (daemon): Likewise.
3445         * resolv/res_debug.c (p_fqnname): Likewise.
3446         * stdlib/div.c (div): Likewise.
3447         * string/memcmp.c (memcmp_bytes): Likewise.
3448         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
3449         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
3451         * crypt/cert.c (main): Convert to prototype-style function
3452         definition.
3453         * io/pipe.c (__pipe): Likewise.
3454         * io/pipe2.c (__pipe2): Likewise.
3455         * misc/futimesat.c (futimesat): Likewise.
3456         * misc/utimes.c (__utimes): Likewise.
3457         * posix/execve.c (__execve): Likewise.
3458         * posix/execvp.c (execvp): Likewise.
3459         * posix/execvpe.c (__execvpe): Likewise.
3460         * posix/fexecve.c (fexecve): Likewise.
3461         * socket/socketpair.c (socketpair): Likewise.
3462         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
3463         * stdlib/erand48.c (erand48): Likewise.
3464         * stdlib/erand48_r.c (__erand48_r): Likewise.
3465         * stdlib/jrand48.c (jrand48): Likewise.
3466         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
3467         * stdlib/lcong48.c (lcong48): Likewise.
3468         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
3469         * stdlib/nrand48.c (nrand48): Likewise.
3470         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
3471         * stdlib/seed48.c (seed48): Likewise.
3472         * stdlib/seed48_r.c (__seed48_r): Likewise.
3473         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
3474         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
3475         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
3477 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
3479         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
3480         * configure: Regenerated.
3481         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
3482         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
3483         unconditional.
3484         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
3485         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
3486         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
3487         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
3488         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
3489         unconditional.
3490         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
3492         * posix/Makefile (CFLAGS-regex.c): Remove variable.
3493         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
3495         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
3496         function definition.
3497         * crypt/crypt_util.c (__encrypt_r): Likewise.
3498         * libio/genops.c (_IO_no_init): Likewise.
3499         * libio/iofopncook.c (_IO_fopencookie): Likewise.
3500         (_IO_old_fopencookie): Likewise.
3501         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
3502         * libio/iogetline.c (_IO_getline): Likewise.
3503         (_IO_getline_info): Likewise.
3504         * libio/iogetwline.c (_IO_getwline): Likewise.
3505         (_IO_getwline_info): Likewise.
3506         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
3507         * libio/vswprintf.c (_IO_vswprintf): Likewise.
3508         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
3509         (find_entry): Likewise.
3510         (iterate_table): Likewise.
3511         (lookup): Likewise.
3512         * login/forkpty.c (forkpty): Likewise.
3513         * misc/hsearch_r.c (__hsearch_r): Likewise.
3514         * misc/select.c (__select): Likewise.
3515         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
3516         Likewise.
3517         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
3518         Likewise.
3519         * nptl/old_pthread_cond_timedwait.c
3520         (__pthread_cond_timedwait_2_0): Likewise.
3521         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
3522         * nptl/pthread_barrierattr_getpshared.c
3523         (pthread_barrierattr_getpshared): Likewise.
3524         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
3525         Likewise.
3526         * nptl/pthread_mutex_setprioceiling.c
3527         (pthread_mutex_setprioceiling): Likewise.
3528         * nptl/pthread_mutexattr_getprioceiling.c
3529         (pthread_mutexattr_getprioceiling): Likewise.
3530         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
3531         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
3532         Likewise.
3533         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
3534         Likewise.
3535         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
3536         Likewise.
3537         * socket/recvfrom.c (__recvfrom): Likewise.
3538         * socket/sendto.c (__sendto): Likewise.
3539         * socket/setsockopt.c (__setsockopt): Likewise.
3540         * stdio-common/_itoa.c (_itoa): Likewise.
3541         * stdio-common/_itowa.c (_itowa): Likewise.
3542         * stdio-common/reg-printf.c (__register_printf_specifier):
3543         Likewise.
3544         (__register_printf_function): Likewise.
3545         * stdio-common/tempname.c (__path_search): Likewise.
3546         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
3547         * stdlib/mul_1.c (mpn_mul_1): Likewise.
3548         * stdlib/random_r.c (__initstate_r): Likewise.
3549         * stdlib/setenv.c (__add_to_environ): Likewise.
3550         * stdlib/submul_1.c (mpn_submul_1): Likewise.
3551         * streams/getpmsg.c (getpmsg): Likewise.
3552         * streams/putmsg.c (putmsg): Likewise.
3553         * streams/putpmsg.c (putpmsg): Likewise.
3554         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
3555         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
3556         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
3557         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
3558         * sunrpc/pm_getport.c (pmap_getport): Likewise.
3559         * sunrpc/svc_udp.c (cache_get): Likewise.
3560         * sunrpc/xdr_array.c (xdr_vector): Likewise.
3561         * sysdeps/mach/hurd/getcwd.c
3562         (__canonicalize_directory_name_internal): Likewise.
3563         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
3564         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
3565         * sysdeps/mach/hurd/select.c (__select): Likewise.
3566         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
3567         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
3568         * sysdeps/sparc/nptl/pthread_barrier_init.c
3569         (__pthread_barrier_init): Likewise.
3570         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
3571         (__pthread_cond_timedwait): Likewise.
3572         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
3573         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
3574         Likewise.
3575         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
3576         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
3577         Likewise.
3578         * sysvipc/semtimedop.c (semtimedop): Likewise.
3579         * time/setitimer.c (__setitimer): Likewise.
3580         * time/strftime_l.c (emacs_strftime): Likewise.
3582 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
3584         * config.make.in (have-ssp): Delete.
3585         (stack-protector): New variable.
3586         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
3587         cache test for -fstack-protector-strong.  Export stack_protector to
3588         the best ssp flag.
3589         * configure: Regenerated.
3590         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
3591         * nscd/Makefile (CFLAGS-nscd): Likewise.
3592         * resolv/Makefile (CFLAGS-libresolv): Likewise.
3594 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
3596         [BZ #19122]
3597         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
3598         attribute_hidden.
3600 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3602         [BZ #18743]
3603         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
3604         code to...
3605         (ELIDE_LOCK): ...here.
3606         (__get_new_count): New function with part of the code from
3607         __elide_lock that updates the value of adapt_count after a
3608         transaction abort.
3609         (__elided_trylock): Moved this code to...
3610         (ELIDE_TRYLOCK): ...here.
3612 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
3614         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
3615         * configure: Regenerate.
3616         * INSTALL: Regenerate.
3617         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
3618         and tweak grammar.
3620 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
3622         * login/programs/pt_chown.c: Include signal.h
3623         (main): Clear any signal mask from the parent process.
3625 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
3627         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
3628         * configure: Regenerated.
3629         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
3630         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
3631         $(gnu89-inline-CFLAGS).
3633         * configure.ac (libc_cv_asm_weak_directive): Remove configure
3634         test.
3635         (libc_cv_asm_weakext_directive): Likewise.
3636         * configure: Regenerated.
3637         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
3638         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
3639         * include/libc-symbols.h
3640         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
3641         #error.
3642         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
3643         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
3645         * sysdeps/arm/backtrace.c (__backtrace): Convert to
3646         prototype-style function definition.
3647         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
3648         * sysdeps/i386/ffs.c (__ffs): Likewise.
3649         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
3650         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
3651         Likewise.
3652         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
3653         Likewise.
3654         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
3655         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
3656         Likewise.
3657         * sysdeps/m68k/ffs.c (__ffs): Likewise.
3658         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
3659         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
3660         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
3661         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
3662         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
3663         * sysdeps/mach/hurd/access.c (__access): Likewise.
3664         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
3665         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
3666         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
3667         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
3668         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
3669         (cthread_getspecific): Likewise.
3670         (cthread_setspecific): Likewise.
3671         (__libc_getspecific): Likewise.
3672         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
3673         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
3674         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
3675         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
3676         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
3677         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
3678         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
3679         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
3680         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
3681         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
3682         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
3683         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
3684         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
3685         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
3686         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
3687         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
3688         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
3689         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
3690         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
3691         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
3692         * sysdeps/mach/hurd/link.c (__link): Likewise.
3693         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
3694         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
3695         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
3696         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
3697         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
3698         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
3699         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
3700         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
3701         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
3702         * sysdeps/mach/hurd/rename.c (rename): Likewise.
3703         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
3704         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
3705         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
3706         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
3707         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
3708         * sysdeps/mach/hurd/send.c (__send): Likewise.
3709         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
3710         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
3711         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
3712         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
3713         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
3714         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
3715         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
3716         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
3717         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
3718         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
3719         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
3720         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
3721         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
3722         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
3723         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
3724         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
3725         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
3726         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
3727         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
3728         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
3729         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
3730         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
3731         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
3732         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
3733         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
3734         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
3735         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
3736         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
3737         * sysdeps/posix/alarm.c (alarm): Likewise.
3738         * sysdeps/posix/cuserid.c (cuserid): Likewise.
3739         * sysdeps/posix/dirfd.c (dirfd): Likewise.
3740         * sysdeps/posix/dup.c (__dup): Likewise.
3741         * sysdeps/posix/dup2.c (__dup2): Likewise.
3742         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
3743         (main): Likewise.
3744         * sysdeps/posix/flock.c (__flock): Likewise.
3745         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
3746         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
3747         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
3748         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
3749         * sysdeps/posix/isatty.c (__isatty): Likewise.
3750         * sysdeps/posix/killpg.c (killpg): Likewise.
3751         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
3752         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
3753         * sysdeps/posix/raise.c (raise): Likewise.
3754         * sysdeps/posix/remove.c (remove): Likewise.
3755         * sysdeps/posix/rename.c (rename): Likewise.
3756         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
3757         * sysdeps/posix/seekdir.c (seekdir): Likewise.
3758         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
3759         * sysdeps/posix/sigignore.c (sigignore): Likewise.
3760         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
3761         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
3762         * sysdeps/posix/sigset.c (sigset): Likewise.
3763         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
3764         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
3765         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
3766         * sysdeps/posix/time.c (time): Likewise.
3767         * sysdeps/posix/ttyname.c (getttyname): Likewise.
3768         (ttyname): Likewise.
3769         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
3770         * sysdeps/posix/utime.c (utime): Likewise.
3771         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
3772         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
3773         Likewise.
3774         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
3775         (pthread_spin_trylock): Likewise.
3776         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
3777         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
3778         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
3779         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
3780         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
3781         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
3782         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
3783         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
3784         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
3785         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
3786         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
3787         * sysdeps/s390/ffs.c (__ffs): Likewise.
3788         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
3789         Likewise.
3790         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
3791         Likewise.
3792         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
3793         Likewise.
3794         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
3795         (pthread_barrier_destroy): Likewise.
3796         * sysdeps/sparc/nptl/pthread_barrier_wait.c
3797         (__pthread_barrier_wait): Likewise.
3798         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
3799         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
3800         (__pthread_barrier_wait): Likewise.
3801         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
3802         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
3803         (memcmp_not_common_alignment): Likewise.
3804         (MEMCMP): Likewise.
3805         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
3806         (_wordcopy_fwd_dest_aligned): Likewise.
3807         (_wordcopy_bwd_aligned): Likewise.
3808         (_wordcopy_bwd_dest_aligned): Likewise.
3809         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
3810         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
3811         * sysdeps/unix/bsd/stty.c (stty): Likewise.
3812         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
3813         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
3814         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
3815         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
3816         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
3817         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
3818         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
3819         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
3820         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
3821         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
3822         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
3823         * sysdeps/unix/stime.c (stime): Likewise.
3824         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
3825         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
3826         Likewise.  Use internal_function.
3827         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
3828         Convert to prototype-style function definition.
3829         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
3830         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
3831         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
3832         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
3833         Likewise.  Use internal_function.
3834         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
3835         prototype-style function definition
3836         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
3837         Likewise.
3838         (__getlogin_r): Likewise.
3839         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
3840         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
3841         (__pthread_cond_broadcast): Likewise.
3842         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
3843         (__pthread_cond_destroy): Likewise.
3844         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
3845         (__pthread_cond_init): Likewise.
3846         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
3847         (__pthread_cond_signal): Likewise.
3848         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
3849         (__pthread_cond_wait): Likewise.
3850         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
3851         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
3852         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
3853         Likewise.
3854         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
3855         Likewise.
3856         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
3857         Likewise.
3858         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
3859         Likewise.
3860         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
3861         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
3862         (__ftruncate64): Likewise.
3863         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
3864         (truncate64): Likewise.
3865         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
3866         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
3867         (pthread_getcpuclockid): Likewise.
3868         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
3869         Likewise.
3870         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
3871         Likewise.
3872         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
3873         Likewise.
3874         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
3875         Likewise.
3876         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
3877         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
3878         (__libc_sigaction): Likewise.
3879         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
3880         Likewise.
3881         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
3882         (__sigprocmask): Likewise.
3883         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
3884         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
3885         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
3886         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
3887         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
3888         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
3889         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
3890         Likewise.
3891         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
3892         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
3893         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
3894         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
3895         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
3896         Likewise.
3897         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
3898         (__sigprocmask): Likewise.
3899         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
3900         (cfgetispeed): Likewise.
3901         (cfsetospeed): Likewise.
3902         (cfsetispeed): Likewise.
3903         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
3904         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
3905         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
3906         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
3907         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
3908         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
3909         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
3910         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
3911         Likewise.
3912         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
3913         Likewise.
3914         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
3915         Likewise.
3916         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
3917         Likewise.
3918         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
3920 2015-10-17  Florian Weimer  <fweimer@redhat.com>
3922         sunrpc: Rewrite with explicit TLS access using __thread.
3923         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
3924         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
3925         directly.
3926         (__rpc_thread_variables): Access thread_rpc_vars directly.
3927         Eliminate redundant assignment of the tvp variable.
3929 2015-10-17  Florian Weimer  <fweimer@redhat.com>
3931         malloc: Rewrite with explicit TLS access using __thread.
3932         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
3933         (tsd_setspecific, tsd_getspecific): Remove.
3934         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
3935         (tsd_setspecific, tsd_getspecific): Likewise.
3936         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
3937         (tsd_setspecific, tsd_getspecific): Likewise.
3938         * malloc/arena.c (thread_arena): New TLS variable.
3939         (arena_key): Remove variable.
3940         (arena_get): Use thread_arena.
3941         (arena_lookup): Remove macro.
3942         (malloc_atfork, free_atfork, ptmalloc_lock_all)
3943         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
3944         (_int_new_arena, get_free_list, reused_arena)
3945         (arena_thread_freeres): Use thread_arena.
3946         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
3947         tsd_getspecific, tsd_setspecific from safety annotations.
3948         (Allocating Cleared Space): Remove arena_lookup from safety
3949         annotations.
3951 2015-10-17  Florian Weimer  <fweimer@redhat.com>
3953         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
3954         struct scratch_buffer instead of extend_alloca.
3956 2015-10-17  Florian Weimer  <fweimer@redhat.com>
3958         * sysdeps/unix/sysv/linux/kernel-features.h
3959         (__ASSUME_SOCK_CLOEXEC): Remove.
3960         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
3961         (__have_paccept): Remove unused macro.
3962         * include/unistd.h (__have_sock_cloexec): Remove declaration.
3963         * misc/syslog.c (openlog_internal): Remove fallback code for
3964         !__ASSUME_SOCK_CLOEXEC.
3965         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
3966         missing SOCK_CLOEXEC.
3967         * nscd/connections.c (have_sock_cloexec): Remove definition.
3968         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
3969         * nscd/nscd_helper.c (open_socket): Remove fallback code for
3970         !__ASSUME_SOCK_CLOEXEC.
3971         * resolv/res_send.c (__have_o_nonblock): Remove definition.
3972         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
3973         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
3974         definition.
3975         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
3976         code for !__ASSUME_SOCK_CLOEXEC.
3978 2015-10-17  Florian Weimer  <fweimer@redhat.com>
3980         [BZ #18982]
3981         * manual/stdio.texi (Variable Arguments Output): Add portability
3982         note, explaining that vfprintf clobbers the va_list pointer.
3984 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
3986         * math/libm-test.inc (fabs_test_data): Add more tests.
3987         (fdim_test_data): Likewise.
3988         (fma_test_data): Likewise.
3989         (fmax_test_data): Likewise.
3990         (fmin_test_data): Likewise.
3991         (fmod_test_data): Likewise.
3993 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
3995         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
3996         data.
3998 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
4000         * math/libm-test.inc (ceil_test_data): Add more tests and more
4001         expectations for "inexact".
4002         (floor_test_data): Add more tests.
4003         (round_test_data): Likewise.
4004         (trunc_test_data): Likewise.
4006         * crypt/cert.c (good_bye): Convert to prototype-style function
4007         definition.
4008         (get8): Likewise.
4009         (put8): Likewise.
4010         * crypt/crypt-entry.c (crypt): Likewise.
4011         (__fcrypt): Likewise.
4012         * crypt/crypt_util.c (_ufc_prbits): Likewise.
4013         (_ufc_set_bits): Likewise.
4014         (_ufc_clearmem): Likewise.
4015         (__init_des_r): Likewise.
4016         (shuffle_sb): Likewise.
4017         (shuffle_sb): Likewise.
4018         (_ufc_setup_salt_r): Likewise.
4019         (_ufc_mk_keytab_r): Likewise.
4020         (_ufc_dofinalperm_r): Likewise.
4021         (encrypt): Likewise.
4022         (__setkey_r): Likewise.
4023         (setkey): Likewise.
4024         * crypt/md5.c (md5_init_ctx): Likewise.
4025         (md5_read_ctx): Likewise.
4026         (md5_finish_ctx): Likewise.
4027         (md5_stream): Likewise.
4028         (md5_buffer): Likewise.
4029         (md5_process_bytes): Likewise.
4030         * crypt/sha256.c (__sha256_init_ctx): Likewise.
4031         (__sha256_finish_ctx): Likewise.
4032         (__sha256_process_bytes): Likewise.
4033         * crypt/sha512.c (__sha512_init_ctx): Likewise.
4034         (__sha512_finish_ctx): Likewise.
4035         (__sha512_process_bytes): Likewise.
4036         * ctype/isctype.c (__isctype): Likewise.
4037         * debug/backtrace.c (__backtrace): Likewise.
4038         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
4039         * debug/fgets_chk.c (__fgets_chk): Likewise.
4040         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
4041         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
4042         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
4043         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
4044         * debug/memset_chk.c (__memset_chk): Likewise.
4045         * debug/strcat_chk.c (__strcat_chk): Likewise.
4046         * debug/strncat_chk.c (__strncat_chk): Likewise.
4047         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
4048         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
4049         * dirent/dirfd.c (dirfd): Likewise.
4050         * dirent/getdents.c (__getdirentries): Likewise.
4051         * dirent/getdents64.c (getdirentries64): Likewise.
4052         * dirent/rewinddir.c (__rewinddir): Likewise.
4053         * dirent/seekdir.c (seekdir): Likewise.
4054         * dirent/telldir.c (telldir): Likewise.
4055         * elf/sln.c (makesymlinks): Likewise.
4056         (makesymlink): Likewise.
4057         * gmon/gmon.c (__moncontrol): Likewise.
4058         (__monstartup): Likewise.
4059         (write_hist): Likewise.
4060         (write_call_graph): Likewise.
4061         (write_bb_counts): Likewise.
4062         * grp/setgroups.c (setgroups): Likewise.
4063         * inet/inet_lnaof.c (inet_lnaof): Likewise.
4064         * inet/inet_net.c (inet_network): Likewise.
4065         * inet/inet_netof.c (inet_netof): Likewise.
4066         * inet/rcmd.c (rresvport_af): Likewise.
4067         (rresvport): Likewise.
4068         * io/access.c (__access): Likewise.
4069         * io/chdir.c (__chdir): Likewise.
4070         * io/chmod.c (__chmod): Likewise.
4071         * io/chown.c (__chown): Likewise.
4072         * io/close.c (__close): Likewise.
4073         * io/creat.c (creat): Likewise.
4074         * io/creat64.c (creat64): Likewise.
4075         * io/dup.c (__dup): Likewise.
4076         * io/dup2.c (__dup2): Likewise.
4077         * io/dup3.c (__dup3): Likewise.
4078         * io/euidaccess.c (__euidaccess): Likewise.
4079         * io/faccessat.c (faccessat): Likewise.
4080         * io/fchmod.c (__fchmod): Likewise.
4081         * io/fchmodat.c (fchmodat): Likewise.
4082         * io/fchown.c (__fchown): Likewise.
4083         * io/fchownat.c (fchownat): Likewise.
4084         * io/fcntl.c (__fcntl): Likewise.
4085         * io/flock.c (__flock): Likewise.
4086         * io/fts.c (fts_load): Likewise.
4087         (fts_close): Likewise.
4088         (fts_read): Likewise.
4089         (fts_set): Likewise.
4090         (fts_children): Likewise.
4091         (fts_build): Likewise.
4092         (fts_stat): Likewise.
4093         (fts_sort): Likewise.
4094         (fts_alloc): Likewise.
4095         (fts_lfree): Likewise.
4096         (fts_palloc): Likewise.
4097         (fts_padjust): Likewise.
4098         (fts_maxarglen): Likewise.
4099         (fts_safe_changedir): Likewise.
4100         * io/getwd.c (getwd): Likewise.
4101         * io/isatty.c (__isatty): Likewise.
4102         * io/lchown.c (__lchown): Likewise.
4103         * io/link.c (__link): Likewise.
4104         * io/linkat.c (linkat): Likewise.
4105         * io/lseek.c (__libc_lseek): Likewise.
4106         * io/mkdir.c (__mkdir): Likewise.
4107         * io/mkdirat.c (mkdirat): Likewise.
4108         * io/mkfifo.c (mkfifo): Likewise.
4109         * io/mkfifoat.c (mkfifoat): Likewise.
4110         * io/open.c (__libc_open): Likewise.
4111         * io/open64.c (__libc_open64): Likewise.
4112         * io/readlink.c (__readlink): Likewise.
4113         * io/readlinkat.c (readlinkat): Likewise.
4114         * io/rmdir.c (__rmdir): Likewise.
4115         * io/symlink.c (__symlink): Likewise.
4116         * io/symlinkat.c (symlinkat): Likewise.
4117         * io/ttyname.c (ttyname): Likewise.
4118         * io/ttyname_r.c (__ttyname_r): Likewise.
4119         * io/umask.c (__umask): Likewise.
4120         * io/unlink.c (__unlink): Likewise.
4121         * io/unlinkat.c (unlinkat): Likewise.
4122         * io/utime.c (utime): Likewise.
4123         * libio/clearerr.c (clearerr): Likewise.
4124         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
4125         * libio/feof.c (_IO_feof): Likewise.
4126         * libio/feof_u.c (feof_unlocked): Likewise.
4127         * libio/ferror.c (_IO_ferror): Likewise.
4128         * libio/ferror_u.c (ferror_unlocked): Likewise.
4129         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
4130         * libio/fileno.c (__fileno): Likewise.
4131         * libio/fputc.c (fputc): Likewise.
4132         * libio/fputc_u.c (fputc_unlocked): Likewise.
4133         * libio/fputwc.c (fputwc): Likewise.
4134         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
4135         * libio/freopen.c (freopen): Likewise.
4136         * libio/freopen64.c (freopen64): Likewise.
4137         * libio/fseek.c (fseek): Likewise.
4138         * libio/fseeko.c (fseeko): Likewise.
4139         * libio/fseeko64.c (fseeko64): Likewise.
4140         * libio/ftello.c (__ftello): Likewise.
4141         * libio/ftello64.c (ftello64): Likewise.
4142         * libio/fwide.c (fwide): Likewise.
4143         * libio/genops.c (_IO_un_link): Likewise.
4144         (_IO_link_in): Likewise.
4145         (_IO_least_marker): Likewise.
4146         (_IO_switch_to_main_get_area): Likewise.
4147         (_IO_switch_to_backup_area): Likewise.
4148         (_IO_switch_to_get_mode): Likewise.
4149         (_IO_free_backup_area): Likewise.
4150         (_IO_switch_to_put_mode): Likewise.
4151         (__overflow): Likewise.
4152         (__underflow): Likewise.
4153         (__uflow): Likewise.
4154         (_IO_setb): Likewise.
4155         (_IO_doallocbuf): Likewise.
4156         (_IO_default_underflow): Likewise.
4157         (_IO_default_uflow): Likewise.
4158         (_IO_default_xsputn): Likewise.
4159         (_IO_sgetn): Likewise.
4160         (_IO_default_xsgetn): Likewise.
4161         (_IO_sync): Likewise.
4162         (_IO_default_setbuf): Likewise.
4163         (_IO_default_seekpos): Likewise.
4164         (_IO_default_doallocate): Likewise.
4165         (_IO_init): Likewise.
4166         (_IO_old_init): Likewise.
4167         (_IO_default_sync): Likewise.
4168         (_IO_default_finish): Likewise.
4169         (_IO_default_seekoff): Likewise.
4170         (_IO_sputbackc): Likewise.
4171         (_IO_sungetc): Likewise.
4172         (_IO_set_column): Likewise.
4173         (_IO_set_column): Likewise.
4174         (_IO_adjust_column): Likewise.
4175         (_IO_get_column): Likewise.
4176         (_IO_init_marker): Likewise.
4177         (_IO_remove_marker): Likewise.
4178         (_IO_marker_difference): Likewise.
4179         (_IO_marker_delta): Likewise.
4180         (_IO_seekmark): Likewise.
4181         (_IO_unsave_markers): Likewise.
4182         (_IO_nobackup_pbackfail): Likewise.
4183         (_IO_default_pbackfail): Likewise.
4184         (_IO_default_seek): Likewise.
4185         (_IO_default_stat): Likewise.
4186         (_IO_default_read): Likewise.
4187         (_IO_default_write): Likewise.
4188         (_IO_default_showmanyc): Likewise.
4189         (_IO_default_imbue): Likewise.
4190         (_IO_iter_next): Likewise.
4191         (_IO_iter_file): Likewise.
4192         * libio/getc.c (_IO_getc): Likewise.
4193         * libio/getwc.c (_IO_getwc): Likewise.
4194         * libio/iofclose.c (_IO_new_fclose): Likewise.
4195         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
4196         * libio/iofflush.c (_IO_fflush): Likewise.
4197         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
4198         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
4199         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
4200         * libio/iofgets.c (_IO_fgets): Likewise.
4201         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
4202         * libio/iofgetws.c (fgetws): Likewise.
4203         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
4204         * libio/iofopen64.c (_IO_fopen64): Likewise.
4205         * libio/iofopncook.c (_IO_cookie_read): Likewise.
4206         (_IO_cookie_write): Likewise.
4207         (_IO_cookie_seek): Likewise.
4208         (_IO_cookie_close): Likewise.
4209         (_IO_cookie_seekoff): Likewise.
4210         (_IO_old_cookie_seek): Likewise.
4211         * libio/iofputs.c (_IO_fputs): Likewise.
4212         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
4213         * libio/iofputws.c (fputws): Likewise.
4214         * libio/iofputws_u.c (fputws_unlocked): Likewise.
4215         * libio/iofread.c (_IO_fread): Likewise.
4216         * libio/iofread_u.c (__fread_unlocked): Likewise.
4217         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
4218         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
4219         * libio/ioftell.c (_IO_ftell): Likewise.
4220         * libio/iofwrite.c (_IO_fwrite): Likewise.
4221         * libio/iogetdelim.c (_IO_getdelim): Likewise.
4222         * libio/iogets.c (_IO_gets): Likewise.
4223         * libio/iopadn.c (_IO_padn): Likewise.
4224         * libio/iopopen.c (_IO_new_proc_open): Likewise.
4225         (_IO_new_popen): Likewise.
4226         (_IO_new_proc_close): Likewise.
4227         * libio/ioputs.c (_IO_puts): Likewise.
4228         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
4229         (_IO_seekoff): Likewise.
4230         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
4231         (_IO_seekpos): Likewise.
4232         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
4233         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
4234         * libio/ioungetc.c (_IO_ungetc): Likewise.
4235         * libio/ioungetwc.c (ungetwc): Likewise.
4236         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
4237         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
4238         * libio/iowpadn.c (_IO_wpadn): Likewise.
4239         * libio/libc_fatal.c (__libc_fatal): Likewise.
4240         * libio/memstream.c (__open_memstream): Likewise.
4241         (_IO_mem_sync): Likewise.
4242         (_IO_mem_finish): Likewise.
4243         * libio/oldfileops.c (_IO_old_file_init): Likewise.
4244         (_IO_old_file_close_it): Likewise.
4245         (_IO_old_file_finish): Likewise.
4246         (_IO_old_file_fopen): Likewise.
4247         (_IO_old_file_attach): Likewise.
4248         (_IO_old_file_setbuf): Likewise.
4249         (_IO_old_do_write): Likewise.
4250         (old_do_write): Likewise.
4251         (_IO_old_file_underflow): Likewise.
4252         (_IO_old_file_overflow): Likewise.
4253         (_IO_old_file_sync): Likewise.
4254         (_IO_old_file_seekoff): Likewise.
4255         (_IO_old_file_write): Likewise.
4256         (_IO_old_file_xsputn): Likewise.
4257         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
4258         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
4259         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
4260         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
4261         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
4262         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
4263         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
4264         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
4265         (_IO_old_popen): Likewise.
4266         (_IO_old_proc_close): Likewise.
4267         * libio/oldpclose.c (__old_pclose): Likewise.
4268         * libio/pclose.c (__new_pclose): Likewise.
4269         * libio/peekc.c (_IO_peekc_locked): Likewise.
4270         * libio/putc.c (_IO_putc): Likewise.
4271         * libio/putc_u.c (putc_unlocked): Likewise.
4272         * libio/putchar.c (putchar): Likewise.
4273         * libio/putchar_u.c (putchar_unlocked): Likewise.
4274         * libio/putwc.c (putwc): Likewise.
4275         * libio/putwc_u.c (putwc_unlocked): Likewise.
4276         * libio/putwchar.c (putwchar): Likewise.
4277         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
4278         * libio/rewind.c (rewind): Likewise.
4279         * libio/setbuf.c (setbuf): Likewise.
4280         * libio/setlinebuf.c (setlinebuf): Likewise.
4281         * libio/vasprintf.c (_IO_vasprintf): Likewise.
4282         * libio/vscanf.c (_IO_vscanf): Likewise.
4283         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
4284         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
4285         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
4286         * libio/wgenops.c (_IO_least_wmarker): Likewise.
4287         (_IO_switch_to_main_wget_area): Likewise.
4288         (_IO_switch_to_wbackup_area): Likewise.
4289         (_IO_wsetb): Likewise.
4290         (_IO_wdefault_pbackfail): Likewise.
4291         (_IO_wdefault_finish): Likewise.
4292         (_IO_wdefault_uflow): Likewise.
4293         (__woverflow): Likewise.
4294         (__wuflow): Likewise.
4295         (__wunderflow): Likewise.
4296         (_IO_wdefault_xsputn): Likewise.
4297         (_IO_wdefault_xsgetn): Likewise.
4298         (_IO_wdoallocbuf): Likewise.
4299         (_IO_wdefault_doallocate): Likewise.
4300         (_IO_switch_to_wget_mode): Likewise.
4301         (_IO_free_wbackup_area): Likewise.
4302         (_IO_switch_to_wput_mode): Likewise.
4303         (_IO_sputbackwc): Likewise.
4304         (_IO_sungetwc): Likewise.
4305         (_IO_adjust_wcolumn): Likewise.
4306         (_IO_init_wmarker): Likewise.
4307         (_IO_wmarker_delta): Likewise.
4308         (_IO_seekwmark): Likewise.
4309         (_IO_unsave_wmarkers): Likewise.
4310         * libio/wmemstream.c (open_wmemstream): Likewise.
4311         (_IO_wmem_sync): Likewise.
4312         (_IO_wmem_finish): Likewise.
4313         * locale/nl_langinfo.c (nl_langinfo): Likewise.
4314         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
4315         * locale/programs/simple-hash.c (init_hash): Likewise.
4316         (delete_hash): Likewise.
4317         (insert_entry): Likewise.
4318         (set_entry): Likewise.
4319         (next_prime): Likewise.
4320         (is_prime): Likewise.
4321         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
4322         (xmalloc): Likewise.
4323         (xrealloc): Likewise.
4324         * locale/programs/xstrdup.c (xstrdup): Likewise.
4325         * localedata/collate-test.c (xstrcoll): Likewise.
4326         * localedata/xfrm-test.c (xstrcmp): Likewise.
4327         * login/getlogin_r.c (__getlogin_r): Likewise.
4328         * login/getpt.c (__posix_openpt): Likewise.
4329         * login/login_tty.c (login_tty): Likewise.
4330         * login/setlogin.c (setlogin): Likewise.
4331         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
4332         (mach_msg_destroy_port): Likewise.
4333         (mach_msg_destroy_memory): Likewise.
4334         * malloc/mcheck.c (flood): Likewise.
4335         * misc/acct.c (acct): Likewise.
4336         * misc/brk.c (__brk): Likewise.
4337         * misc/chflags.c (chflags): Likewise.
4338         * misc/chroot.c (chroot): Likewise.
4339         * misc/fchflags.c (fchflags): Likewise.
4340         * misc/fstab.c (getfsspec): Likewise.
4341         (getfsfile): Likewise.
4342         * misc/fsync.c (fsync): Likewise.
4343         * misc/ftruncate.c (__ftruncate): Likewise.
4344         * misc/ftruncate64.c (__ftruncate64): Likewise.
4345         * misc/getdomain.c (getdomainname): Likewise.
4346         (getdomainname): Likewise.
4347         * misc/gethostname.c (__gethostname): Likewise.
4348         * misc/getpass.c (getpass): Likewise.
4349         * misc/getttyent.c (skip): Likewise.
4350         (value): Likewise.
4351         * misc/gtty.c (gtty): Likewise.
4352         * misc/hsearch.c (hsearch): Likewise.
4353         (hcreate): Likewise.
4354         * misc/hsearch_r.c (__hcreate_r): Likewise.
4355         (__hdestroy_r): Likewise.
4356         * misc/ioctl.c (__ioctl): Likewise.
4357         * misc/mkdtemp.c (mkdtemp): Likewise.
4358         * misc/mkostemp.c (mkostemp): Likewise.
4359         * misc/mkostemp64.c (mkostemp64): Likewise.
4360         * misc/mkostemps.c (mkostemps): Likewise.
4361         * misc/mkostemps64.c (mkostemps64): Likewise.
4362         * misc/mkstemp.c (mkstemp): Likewise.
4363         * misc/mkstemp64.c (mkstemp64): Likewise.
4364         * misc/mkstemps.c (mkstemps): Likewise.
4365         * misc/mkstemps64.c (mkstemps64): Likewise.
4366         * misc/mktemp.c (__mktemp): Likewise.
4367         * misc/preadv.c (preadv): Likewise.
4368         * misc/preadv64.c (preadv64): Likewise.
4369         * misc/pwritev.c (pwritev): Likewise.
4370         * misc/pwritev64.c (pwritev64): Likewise.
4371         * misc/readv.c (__readv): Likewise.
4372         * misc/revoke.c (revoke): Likewise.
4373         * misc/setdomain.c (setdomainname): Likewise.
4374         * misc/setegid.c (setegid): Likewise.
4375         * misc/seteuid.c (seteuid): Likewise.
4376         * misc/sethostid.c (sethostid): Likewise.
4377         * misc/sethostname.c (sethostname): Likewise.
4378         * misc/setregid.c (__setregid): Likewise.
4379         * misc/setreuid.c (__setreuid): Likewise.
4380         * misc/sstk.c (sstk): Likewise.
4381         * misc/stty.c (stty): Likewise.
4382         * misc/syscall.c (syscall): Likewise.
4383         * misc/syslog.c (setlogmask): Likewise.
4384         * misc/truncate.c (__truncate): Likewise.
4385         * misc/truncate64.c (truncate64): Likewise.
4386         * misc/ualarm.c (ualarm): Likewise.
4387         * misc/usleep.c (usleep): Likewise.
4388         * misc/ustat.c (ustat): Likewise.
4389         * misc/writev.c (__writev): Likewise.
4390         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
4391         * nptl/old_pthread_cond_broadcast.c
4392         (__pthread_cond_broadcast_2_0): Likewise.
4393         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
4394         Likewise.
4395         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
4396         Likewise.
4397         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
4398         Likewise.
4399         * nptl/pt-raise.c (raise): Likewise.
4400         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
4401         Likewise.
4402         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
4403         * nptl/pthread_barrierattr_destroy.c
4404         (pthread_barrierattr_destroy): Likewise.
4405         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
4406         Likewise.
4407         * nptl/pthread_barrierattr_setpshared.c
4408         (pthread_barrierattr_setpshared): Likewise.
4409         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
4410         Likewise.
4411         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
4412         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
4413         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
4414         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
4415         Likewise.
4416         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
4417         Likewise.
4418         * nptl/pthread_condattr_getpshared.c
4419         (pthread_condattr_getpshared): Likewise.
4420         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
4421         Likewise.
4422         * nptl/pthread_condattr_setpshared.c
4423         (pthread_condattr_setpshared): Likewise.
4424         * nptl/pthread_detach.c (pthread_detach): Likewise.
4425         * nptl/pthread_equal.c (__pthread_equal): Likewise.
4426         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
4427         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
4428         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
4429         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
4430         Likewise.
4431         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
4432         Likewise.
4433         * nptl/pthread_mutex_getprioceiling.c
4434         (pthread_mutex_getprioceiling): Likewise.
4435         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
4436         Likewise.
4437         * nptl/pthread_mutexattr_getprotocol.c
4438         (pthread_mutexattr_getprotocol): Likewise.
4439         * nptl/pthread_mutexattr_getpshared.c
4440         (pthread_mutexattr_getpshared): Likewise.
4441         * nptl/pthread_mutexattr_getrobust.c
4442         (pthread_mutexattr_getrobust): Likewise.
4443         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
4444         Likewise.
4445         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
4446         Likewise.
4447         * nptl/pthread_mutexattr_setprioceiling.c
4448         (pthread_mutexattr_setprioceiling): Likewise.
4449         * nptl/pthread_mutexattr_setprotocol.c
4450         (pthread_mutexattr_setprotocol): Likewise.
4451         * nptl/pthread_mutexattr_setpshared.c
4452         (pthread_mutexattr_setpshared): Likewise.
4453         * nptl/pthread_mutexattr_setrobust.c
4454         (pthread_mutexattr_setrobust): Likewise.
4455         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
4456         Likewise.
4457         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
4458         Likewise.
4459         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
4460         Likewise.
4461         * nptl/pthread_rwlockattr_getkind_np.c
4462         (pthread_rwlockattr_getkind_np): Likewise.
4463         * nptl/pthread_rwlockattr_getpshared.c
4464         (pthread_rwlockattr_getpshared): Likewise.
4465         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
4466         Likewise.
4467         * nptl/pthread_rwlockattr_setkind_np.c
4468         (pthread_rwlockattr_setkind_np): Likewise.
4469         * nptl/pthread_rwlockattr_setpshared.c
4470         (pthread_rwlockattr_setpshared): Likewise.
4471         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
4472         Likewise.
4473         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
4474         Likewise.
4475         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
4476         Likewise.
4477         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
4478         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
4479         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
4480         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
4481         * nptl/sem_close.c (sem_close): Likewise.
4482         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
4483         * nptl/sem_init.c (__old_sem_init): Likewise.
4484         * nptl/sigaction.c (__sigaction): Likewise.
4485         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
4486         * posix/_exit.c (_exit): Likewise.
4487         * posix/alarm.c (alarm): Likewise.
4488         * posix/confstr.c (confstr): Likewise.
4489         * posix/fpathconf.c (__fpathconf): Likewise.
4490         * posix/getgroups.c (__getgroups): Likewise.
4491         * posix/getpgid.c (__getpgid): Likewise.
4492         * posix/group_member.c (__group_member): Likewise.
4493         * posix/pathconf.c (__pathconf): Likewise.
4494         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
4495         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
4496         * posix/setgid.c (__setgid): Likewise.
4497         * posix/setpgid.c (__setpgid): Likewise.
4498         * posix/setuid.c (__setuid): Likewise.
4499         * posix/sleep.c (__sleep): Likewise.
4500         * posix/sysconf.c (__sysconf): Likewise.
4501         * posix/times.c (__times): Likewise.
4502         * posix/uname.c (__uname): Likewise.
4503         * posix/waitid.c (__waitid): Likewise.
4504         * pwd/getpw.c (__getpw): Likewise.
4505         * resolv/base64.c (b64_pton): Likewise.
4506         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
4507         * resolv/gethnamaddr.c (Dprintf): Likewise.
4508         (gethostbyname): Likewise.
4509         (gethostbyname2): Likewise.
4510         (gethostbyaddr): Likewise.
4511         (_sethtent): Likewise.
4512         (_gethtbyname): Likewise.
4513         (_gethtbyname2): Likewise.
4514         (_gethtbyaddr): Likewise.
4515         (map_v4v6_address): Likewise.
4516         (map_v4v6_hostent): Likewise.
4517         (addrsort): Likewise.
4518         (ht_sethostent): Likewise.
4519         (ht_gethostbyname): Likewise.
4520         (ht_gethostbyaddr): Likewise.
4521         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
4522         (inet_net_ntop_ipv4): Likewise.
4523         * resolv/inet_neta.c (inet_neta): Likewise.
4524         * resolv/inet_ntop.c (inet_ntop): Likewise.
4525         (inet_ntop4): Likewise.
4526         (inet_ntop6): Likewise.
4527         * resolv/inet_pton.c (__inet_pton): Likewise.
4528         (inet_pton4): Likewise.
4529         (inet_pton6): Likewise.
4530         * resolv/res_debug.c (loc_aton): Likewise.
4531         (loc_ntoa): Likewise.
4532         * resource/getpriority.c (__getpriority): Likewise.
4533         * resource/getrusage.c (__getrusage): Likewise.
4534         * resource/nice.c (nice): Likewise.
4535         * resource/setpriority.c (__setpriority): Likewise.
4536         * resource/setrlimit64.c (setrlimit64): Likewise.
4537         * resource/vlimit.c (vlimit): Likewise.
4538         * resource/vtimes.c (vtimes): Likewise.
4539         * rt/aio_error.c (aio_error): Likewise.
4540         * rt/aio_return.c (aio_return): Likewise.
4541         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
4542         * signal/kill.c (__kill): Likewise.
4543         * signal/killpg.c (killpg): Likewise.
4544         * signal/raise.c (raise): Likewise.
4545         * signal/sigaction.c (__sigaction): Likewise.
4546         * signal/sigaddset.c (sigaddset): Likewise.
4547         * signal/sigaltstack.c (sigaltstack): Likewise.
4548         * signal/sigandset.c (sigandset): Likewise.
4549         * signal/sigblock.c (__sigblock): Likewise.
4550         * signal/sigdelset.c (sigdelset): Likewise.
4551         * signal/sigempty.c (sigemptyset): Likewise.
4552         * signal/sigfillset.c (sigfillset): Likewise.
4553         * signal/sighold.c (sighold): Likewise.
4554         * signal/sigignore.c (sigignore): Likewise.
4555         * signal/sigintr.c (siginterrupt): Likewise.
4556         * signal/sigisempty.c (sigisemptyset): Likewise.
4557         * signal/sigismem.c (sigismember): Likewise.
4558         * signal/signal.c (signal): Likewise.
4559         * signal/sigorset.c (sigorset): Likewise.
4560         * signal/sigpause.c (__sigpause): Likewise.
4561         * signal/sigpending.c (sigpending): Likewise.
4562         * signal/sigprocmask.c (__sigprocmask): Likewise.
4563         * signal/sigrelse.c (sigrelse): Likewise.
4564         * signal/sigreturn.c (__sigreturn): Likewise.
4565         * signal/sigset.c (sigset): Likewise.
4566         * signal/sigsetmask.c (__sigsetmask): Likewise.
4567         * signal/sigstack.c (sigstack): Likewise.
4568         * signal/sigsuspend.c (__sigsuspend): Likewise.
4569         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
4570         * signal/sysv_signal.c (__sysv_signal): Likewise.
4571         * socket/accept.c (accept): Likewise.
4572         * socket/accept4.c (__libc_accept4): Likewise.
4573         * socket/bind.c (__bind): Likewise.
4574         * socket/connect.c (__connect): Likewise.
4575         * socket/getpeername.c (getpeername): Likewise.
4576         * socket/getsockname.c (__getsockname): Likewise.
4577         * socket/getsockopt.c (getsockopt): Likewise.
4578         * socket/listen.c (__listen): Likewise.
4579         * socket/recv.c (__recv): Likewise.
4580         * socket/recvmsg.c (__recvmsg): Likewise.
4581         * socket/send.c (__send): Likewise.
4582         * socket/sendmsg.c (__sendmsg): Likewise.
4583         * socket/shutdown.c (shutdown): Likewise.
4584         * socket/sockatmark.c (sockatmark): Likewise.
4585         * socket/socket.c (__socket): Likewise.
4586         * stdio-common/ctermid.c (ctermid): Likewise.
4587         * stdio-common/cuserid.c (cuserid): Likewise.
4588         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
4589         * stdio-common/remove.c (remove): Likewise.
4590         * stdio-common/rename.c (rename): Likewise.
4591         * stdio-common/renameat.c (renameat): Likewise.
4592         * stdio-common/tempname.c (__gen_tempname): Likewise.
4593         * stdio-common/xbug.c (InitBuffer): Likewise.
4594         (AppendToBuffer): Likewise.
4595         (ReadFile): Likewise.
4596         * stdlib/a64l.c (a64l): Likewise.
4597         * stdlib/drand48_r.c (drand48_r): Likewise.
4598         * stdlib/getcontext.c (getcontext): Likewise.
4599         * stdlib/getenv.c (getenv): Likewise.
4600         * stdlib/l64a.c (l64a): Likewise.
4601         * stdlib/llabs.c (llabs): Likewise.
4602         * stdlib/lldiv.c (lldiv): Likewise.
4603         * stdlib/lrand48_r.c (lrand48_r): Likewise.
4604         * stdlib/mrand48_r.c (mrand48_r): Likewise.
4605         * stdlib/putenv.c (putenv): Likewise.
4606         * stdlib/random.c (__srandom): Likewise.
4607         (__initstate): Likewise.
4608         (__setstate): Likewise.
4609         * stdlib/random_r.c (__srandom_r): Likewise.
4610         (__setstate_r): Likewise.
4611         (__random_r): Likewise.
4612         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
4613         * stdlib/setcontext.c (setcontext): Likewise.
4614         * stdlib/setenv.c (setenv): Likewise.
4615         (unsetenv): Likewise.
4616         * stdlib/srand48.c (srand48): Likewise.
4617         * stdlib/srand48_r.c (__srand48_r): Likewise.
4618         * stdlib/swapcontext.c (swapcontext): Likewise.
4619         * stdlib/system.c (__libc_system): Likewise.
4620         * stdlib/tst-strtod.c (expand): Likewise.
4621         * stdlib/tst-strtol.c (expand): Likewise.
4622         * stdlib/tst-strtoll.c (expand): Likewise.
4623         * streams/fattach.c (fattach): Likewise.
4624         * streams/fdetach.c (fdetach): Likewise.
4625         * streams/getmsg.c (getmsg): Likewise.
4626         * streams/isastream.c (isastream): Likewise.
4627         * string/ffs.c (__ffs): Likewise.
4628         * string/ffsll.c (ffsll): Likewise.
4629         * string/memcmp.c (memcmp_common_alignment): Likewise.
4630         (memcmp_not_common_alignment): Likewise.
4631         (MEMCMP): Likewise.
4632         * string/memcpy.c (memcpy): Likewise.
4633         * string/memmove.c (MEMMOVE): Likewise.
4634         * string/memset.c (memset): Likewise.
4635         * string/rawmemchr.c (RAWMEMCHR): Likewise.
4636         * string/strchrnul.c (STRCHRNUL): Likewise.
4637         * string/strerror.c (strerror): Likewise.
4638         * string/strndup.c (__strndup): Likewise.
4639         * string/strverscmp.c (__strverscmp): Likewise.
4640         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
4641         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
4642         (clnttcp_freeres): Likewise.
4643         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
4644         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
4645         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
4646         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
4647         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
4648         (xdr_callhdr): Likewise.
4649         * sunrpc/rpcinfo.c (udpping): Likewise.
4650         (tcpping): Likewise.
4651         (pstatus): Likewise.
4652         (pmapdump): Likewise.
4653         (brdcst): Likewise.
4654         (deletereg): Likewise.
4655         (getprognum): Likewise.
4656         (getvers): Likewise.
4657         (get_inet_address): Likewise.
4658         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
4659         * sunrpc/svc_udp.c (svcudp_create): Likewise.
4660         (svcudp_stat): Likewise.
4661         (svcudp_recv): Likewise.
4662         (svcudp_reply): Likewise.
4663         (svcudp_getargs): Likewise.
4664         (svcudp_freeargs): Likewise.
4665         (svcudp_destroy): Likewise.
4666         * sunrpc/xdr.c (xdr_bytes): Likewise.
4667         (xdr_netobj): Likewise.
4668         (xdr_string): Likewise.
4669         (xdr_wrapstring): Likewise.
4670         * sunrpc/xdr_float.c (xdr_float): Likewise.
4671         (xdr_double): Likewise.
4672         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
4673         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
4674         * sysvipc/ftok.c (ftok): Likewise.
4675         * sysvipc/msgctl.c (msgctl): Likewise.
4676         * sysvipc/msgget.c (msgget): Likewise.
4677         * sysvipc/msgrcv.c (msgrcv): Likewise.
4678         * sysvipc/msgsnd.c (msgsnd): Likewise.
4679         * sysvipc/semget.c (semget): Likewise.
4680         * sysvipc/semop.c (semop): Likewise.
4681         * sysvipc/shmat.c (shmat): Likewise.
4682         * sysvipc/shmctl.c (shmctl): Likewise.
4683         * sysvipc/shmdt.c (shmdt): Likewise.
4684         * sysvipc/shmget.c (shmget): Likewise.
4685         * termios/cfmakeraw.c (cfmakeraw): Likewise.
4686         * termios/speed.c (cfgetospeed): Likewise.
4687         (cfgetispeed): Likewise.
4688         (cfsetospeed): Likewise.
4689         (cfsetispeed): Likewise.
4690         * termios/tcflow.c (tcflow): Likewise.
4691         * termios/tcflush.c (tcflush): Likewise.
4692         * termios/tcgetattr.c (__tcgetattr): Likewise.
4693         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
4694         * termios/tcgetsid.c (tcgetsid): Likewise.
4695         * termios/tcsendbrk.c (tcsendbreak): Likewise.
4696         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
4697         * time/adjtime.c (__adjtime): Likewise.
4698         * time/dysize.c (dysize): Likewise.
4699         * time/ftime.c (ftime): Likewise.
4700         * time/getitimer.c (__getitimer): Likewise.
4701         * time/gettimeofday.c (__gettimeofday): Likewise.
4702         * time/gmtime.c (__gmtime_r): Likewise.
4703         (gmtime): Likewise.
4704         * time/localtime.c (__localtime_r): Likewise.
4705         (localtime): Likewise.
4706         * time/offtime.c (__offtime): Likewise.
4707         * time/settimeofday.c (__settimeofday): Likewise.
4708         * time/stime.c (stime): Likewise.
4709         * time/strftime_l.c (tm_diff): Likewise.
4710         (iso_week_days): Likewise.
4711         * time/strptime.c (strptime): Likewise.
4712         * time/time.c (time): Likewise.
4713         * time/timespec_get.c (timespec_get): Likewise.
4714         * time/tzset.c (tzset_internal): Likewise.
4715         (compute_change): Likewise.
4716         (__tz_compute): Likewise.
4717         * wcsmbs/btowc.c (__btowc): Likewise.
4718         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
4719         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
4720         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
4721         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
4722         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
4723         * wcsmbs/wcscat.c (__wcscat): Likewise.
4724         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
4725         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
4726         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
4727         * wcsmbs/wcscspn.c (wcscspn): Likewise.
4728         * wcsmbs/wcsdup.c (wcsdup): Likewise.
4729         * wcsmbs/wcslen.c (__wcslen): Likewise.
4730         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
4731         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
4732         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
4733         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
4734         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
4735         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
4736         * wcsmbs/wcsspn.c (wcsspn): Likewise.
4737         * wcsmbs/wcsstr.c (wcsstr): Likewise.
4738         * wcsmbs/wcstok.c (wcstok): Likewise.
4739         * wcsmbs/wctob.c (wctob): Likewise.
4740         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
4741         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
4742         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
4743         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
4744         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
4745         * wcsmbs/wmemset.c (__wmemset): Likewise.
4746         * wctype/wcfuncs.c (__towlower): Likewise.
4747         (__towupper): Likewise.
4749         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
4750         (lll_unlock_elision): Add adapt_count parameter.
4752 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
4754         * sysdeps/nptl/configure.ac: Do not give errors based on the
4755         results of top-level configure tests.
4756         * sysdeps/nptl/configure: Regenerated.
4758         * configure.ac (libc_cv_Bgroup): Remove configure test.
4759         * configure: Regenerated.
4760         * config.make.in (have-Bgroup): Remove variable.
4762         * configure.ac (sizeof_long_double): Remove configure test.
4763         * configure: Regenerated.
4764         * config.make.in (sizeof-long-double): Remove variable.
4766         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
4767         * configure: Regenerated.
4768         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
4769         variable.
4770         (exceptions): Likewise.
4771         * sysdeps/arm/configure: Regenerated.
4772         * config.make.in (exceptions): Remove variable.
4773         * Makeconfig (uses-callbacks): Use -fexceptions instead of
4774         $(exceptions).
4775         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
4776         (CFLAGS-vdprintf_chk.c): Likewise.
4777         (CFLAGS-printf_chk.c): Likewise.
4778         (CFLAGS-fprintf_chk.c): Likewise.
4779         (CFLAGS-vprintf_chk.c): Likewise.
4780         (CFLAGS-vfprintf_chk.c): Likewise.
4781         (CFLAGS-gets_chk.c): Likewise.
4782         (CFLAGS-fgets_chk.c): Likewise.
4783         (CFLAGS-fgets_u_chk.c): Likewise.
4784         (CFLAGS-fread_chk.c): Likewise.
4785         (CFLAGS-fread_u_chk.c): Likewise.
4786         (CFLAGS-wprintf_chk.c): Likewise.
4787         (CFLAGS-fwprintf_chk.c): Likewise.
4788         (CFLAGS-vwprintf_chk.c): Likewise.
4789         (CFLAGS-vfwprintf_chk.c): Likewise.
4790         (CFLAGS-fgetws_chk.c): Likewise.
4791         (CFLAGS-fgetws_u_chk.c): Likewise.
4792         * libio/Makefile (CFLAGS-fileops.c): Likewise.
4793         (CFLAGS-fputc.c): Likewise.
4794         (CFLAGS-fputwc.c): Likewise.
4795         (CFLAGS-freopen64.c): Likewise.
4796         (CFLAGS-freopen.c): Likewise.
4797         (CFLAGS-fseek.c): Likewise.
4798         (CFLAGS-fseeko64.c): Likewise.
4799         (CFLAGS-fseeko.c): Likewise.
4800         (CFLAGS-ftello64.c): Likewise.
4801         (CFLAGS-ftello.c): Likewise.
4802         (CFLAGS-fwide.c): Likewise.
4803         (CFLAGS-genops.c): Likewise.
4804         (CFLAGS-getc.c): Likewise.
4805         (CFLAGS-getchar.c): Likewise.
4806         (CFLAGS-getwc.c): Likewise.
4807         (CFLAGS-getwchar.c): Likewise.
4808         (CFLAGS-iofclose.c): Likewise.
4809         (CFLAGS-iofflush.c): Likewise.
4810         (CFLAGS-iofgetpos64.c): Likewise.
4811         (CFLAGS-iofgetpos.c): Likewise.
4812         (CFLAGS-iofgets.c): Likewise.
4813         (CFLAGS-iofgetws.c): Likewise.
4814         (CFLAGS-iofputs.c): Likewise.
4815         (CFLAGS-iofputws.c): Likewise.
4816         (CFLAGS-iofread.c): Likewise.
4817         (CFLAGS-iofsetpos64.c): Likewise.
4818         (CFLAGS-iofsetpos.c): Likewise.
4819         (CFLAGS-ioftell.c): Likewise.
4820         (CFLAGS-iofwrite.c): Likewise.
4821         (CFLAGS-iogetdelim.c): Likewise.
4822         (CFLAGS-iogetline.c): Likewise.
4823         (CFLAGS-iogets.c): Likewise.
4824         (CFLAGS-iogetwline.c): Likewise.
4825         (CFLAGS-ioputs.c): Likewise.
4826         (CFLAGS-ioseekoff.c): Likewise.
4827         (CFLAGS-ioseekpos.c): Likewise.
4828         (CFLAGS-iosetbuffer.c): Likewise.
4829         (CFLAGS-iosetvbuf.c): Likewise.
4830         (CFLAGS-ioungetc.c): Likewise.
4831         (CFLAGS-ioungetwc.c): Likewise.
4832         (CFLAGS-oldfileops.c): Likewise.
4833         (CFLAGS-oldiofclose.c): Likewise.
4834         (CFLAGS-oldiofgetpos64.c): Likewise.
4835         (CFLAGS-oldiofgetpos.c): Likewise.
4836         (CFLAGS-oldiofsetpos64.c): Likewise.
4837         (CFLAGS-oldiofsetpos.c): Likewise.
4838         (CFLAGS-peekc.c): Likewise.
4839         (CFLAGS-putc.c): Likewise.
4840         (CFLAGS-putchar.c): Likewise.
4841         (CFLAGS-putwc.c): Likewise.
4842         (CFLAGS-putwchar.c): Likewise.
4843         (CFLAGS-rewind.c): Likewise.
4844         (CFLAGS-wfileops.c): Likewise.
4845         (CFLAGS-wgenops.c): Likewise.
4846         (CFLAGS-oldiofopen.c): Likewise.
4847         (CFLAGS-iofopen.c): Likewise.
4848         (CFLAGS-iofopen64.c): Likewise.
4849         (CFLAGS-oldtmpfile.c): Likewise.
4850         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
4851         (CFLAGS-fprintf.c): Likewise.
4852         (CFLAGS-printf.c): Likewise.
4853         (CFLAGS-vfwprintf.c): Likewise.
4854         (CFLAGS-vfscanf.c): Likewise.
4855         (CFLAGS-vfwscanf.c): Likewise.
4856         (CFLAGS-fscanf.c): Likewise.
4857         (CFLAGS-scanf.c): Likewise.
4858         (CFLAGS-isoc99_vfscanf.c): Likewise.
4859         (CFLAGS-isoc99_vscanf.c): Likewise.
4860         (CFLAGS-isoc99_fscanf.c): Likewise.
4861         (CFLAGS-isoc99_scanf.c): Likewise.
4862         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
4863         (CFLAGS-isoc99_fwscanf.c): Likewise.
4864         (CFLAGS-isoc99_vwscanf.c): Likewise.
4865         (CFLAGS-isoc99_vfwscanf.c): Likewise.
4867         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
4868         after mkstemp64.
4869         * login/tst-utmp.c (do_prepare): Likewise.
4870         * rt/tst-aio.c (do_prepare): Likewise.
4871         * rt/tst-aio64.c (do_prepare): Likewise.
4873 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4875         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
4876         (__lll_lock_elision): Remove adapt_count decrement...
4877         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
4878         (__lll_trylock_elision): Likewise.
4879         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
4880         (__lll_unlock_elision): ... to here. And utilize
4881         new adapt_count parameter.
4882         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
4883         (__lll_unlock_elision): Update to include adapt_count
4884         parameter.
4885         (lll_unlock_elision): Pass pointer to adapt_count
4886         variable.
4888 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4890         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
4891         Add elision adapt_count parameter to list of arguments.
4892         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
4893         (lll_unlock_elision): Update with new parameter list
4894         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
4895         (lll_unlock_elision): Likewise
4896         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
4897         (lll_unlock_elision): Likewise
4899 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
4901         [BZ #19122]
4902         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
4903         attribute_hidden.
4905         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
4906         attribute_hidden.
4907         [IS_IN (rtld)] (__strdup): Likewise.
4908         [IS_IN (rtld)] (__strerror_r): Likewise.
4909         [IS_IN (rtld)] (__strsep_g): Likewise.
4910         [IS_IN (rtld)] (memchr): Likewise.
4911         [IS_IN (rtld)] (memcmp): Likewise.
4912         [IS_IN (rtld)] (memcpy): Likewise.
4913         [IS_IN (rtld)] (memmove): Likewise.
4914         [IS_IN (rtld)] (memset): Likewise.
4915         [IS_IN (rtld)] (rawmemchr): Likewise.
4916         [IS_IN (rtld)] (stpcpy): Likewise.
4917         [IS_IN (rtld)] (strchr): Likewise.
4918         [IS_IN (rtld)] (strcmp): Likewise.
4919         [IS_IN (rtld)] (strlen): Likewise.
4920         [IS_IN (rtld)] (strnlen): Likewise.
4921         [IS_IN (rtld)] (strsep): Likewise.
4923         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
4924         attribute_hidden.
4925         [IS_IN (rtld)] (__strtoul_internal): Likewise.
4927         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
4928         attribute_hidden.
4929         [IS_IN (rtld)] (__libc_sigaction): Likewise.
4931         * include/setjmp.h (__longjmp): Add attribute_hidden.
4932         [IS_IN (rtld)] (__sigsetjmp): Likewise.
4934         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
4935         Add attribute_hidden.
4937         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
4938         [IS_IN (rtld)] (__open): Likewise.
4939         [IS_IN (rtld)] (__fcntl): Likewise.
4941         * include/dirent.h (__opendirat): Add attribute_hidden.
4942         (__getdents): Likewise.
4943         (__getdents64): Likewise.
4944         (__alloc_dir): Likewise.
4945         [IS_IN (rtld)] (__closedir): Likewise.
4946         [IS_IN (rtld)] (__fdopendir): Likewise.
4947         [IS_IN (rtld)] (__readdir): Likewise.
4948         [IS_IN (rtld)] (__readdir64): Likewise.
4949         [IS_IN (rtld)] (__rewinddir): Likewise.
4951         * include/dlfcn.h (_dl_catch_error): Moved to ...
4952         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
4953         attribute_hidden.
4955         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
4956         (_itoa_word): Likewise.
4958         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
4959         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
4960         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
4961         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
4962         (_dl_higher_prime_number): Likewise.
4963         (_dl_debug_printf_c): Likewise.
4964         (_dl_signal_cerror): Likewise.
4965         (_dl_receive_error): Likewise.
4966         (_dl_reloc_bad_type): Likewise.
4967         (_dl_resolve_conflicts): Likewise.
4968         (_dl_check_all_versions): Likewise.
4969         (_dl_check_map_versions): Likewise.
4970         (_dl_sort_fini): Likewise.
4971         (_dl_debug_initialize): Likewise.
4972         (_dl_init_paths): Likewise.
4973         (_dl_show_auxv): Likewise.
4974         (_dl_next_ld_env_entry): Likewise.
4975         (_dl_important_hwcaps): Likewise.
4976         (_dl_load_cache_lookup): Likewise.
4977         (_dl_update_slotinfo): Likewise.
4978         (_dl_show_scope): Likewise.
4980         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
4981         attribute_hidden.
4982         (_wordcopy_fwd_dest_aligned): Likewise.
4983         (_wordcopy_bwd_aligned): Likewise.
4984         (_wordcopy_bwd_dest_aligned): Likewise.
4986         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
4987         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
4988         Likewise.
4989         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
4990         Likewise.
4991         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
4993 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
4995         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
4996         GCC 5 requirement.
4998 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
5000         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
5001         test.
5002         * sysdeps/i386/configure: Regenerated.
5003         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
5004         code unconditional.
5006         * configure.ac (libc_cv_asm_previous_directive): Remove configure
5007         test.
5008         (libc_cv_asm_popsection_directive): Likewise.
5009         * configure: Regenerated.
5010         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
5011         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
5012         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
5013         (__make_section_unallocated): Make definition unconditional.
5014         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
5015         Remove conditional definition.
5016         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
5017         (__make_section_unallocated): Likewise.
5019         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
5020         * configure: Regenerated.
5021         * config.make.in (static-libgcc): Remove variable.
5022         * Makerules (build-shlib-helper): Use -static-libgcc instead of
5023         $(static-libgcc).
5024         (build-module-helper): Likewise.
5026         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
5027         * configure: Regenerated.
5029 2015-10-15  Florian Weimer  <fweimer@redhat.com>
5031         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
5032         (struct char_buffer): New type.
5033         (char_buffer_start, char_buffer_size, char_buffer_error)
5034         (char_buffer_rewind, char_buffer_add): New functions.
5035         (ADDW): Remove macro, replaced by the char_buffer_add function.
5036         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
5037         of extend_alloca.  Make control flow more explicit.
5039 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
5041         [BZ #19137]
5042         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
5043         Add -fomit-frame-pointer.
5044         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
5046 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
5048         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
5049         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
5050         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
5051         only if !__GNUC_PREREQ (5,0).
5052         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
5053         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
5054         (INTERNAL_SYSCALL_NCS): Likewise.
5055         (LOADREGS_0): New macro for GCC 5.
5056         (ASMARGS_0): Likewise.
5057         (LOADREGS_1): Likewise.
5058         (ASMARGS_1): Likewise.
5059         (LOADREGS_2): Likewise.
5060         (ASMARGS_2): Likewise.
5061         (LOADREGS_3): Likewise.
5062         (ASMARGS_3): Likewise.
5063         (LOADREGS_4): Likewise.
5064         (ASMARGS_4): Likewise.
5065         (LOADREGS_5): Likewise.
5066         (ASMARGS_5): Likewise.
5067         (LOADREGS_6): Likewise.
5068         (ASMARGS_6): Likewise.
5070 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
5072         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
5073         -fomit-frame-pointer.
5074         (CFLAGS-mmap64.c): Likewise.
5075         (CFLAGS-semtimedop.c): Likewise.
5076         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
5077         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
5078         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
5079         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
5081 2015-10-15  Florian Weimer  <fweimer@redhat.com>
5083         [BZ #18928]
5084         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
5085         _dl_pointer_guard member.
5086         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
5087         initializer.
5088         (security_init): Always set up pointer guard.
5089         (process_envvars): Do not process LD_POINTER_GUARD.
5091 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
5093         [BZ #19134]
5094         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
5095         (.LC2): Likewise.
5096         (.LC3): Likewise.
5097         (__lround): Do not add 0.5 to integer or out-of-range arguments.
5099 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5101         [BZ #19129]
5102         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
5103         r0 and r1.
5105 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
5107         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
5109 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
5111         * include/stap-probe.h: Fix macro definition formatting.
5113 2015-10-14  Florian Weimer  <fweimer@redhat.com>
5115         [BZ #19074]
5116         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
5117         load and store num_ifs.
5119 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
5121         [BZ #18822]
5122         * sysdeps/unix/sysv/linux/sched_getaffinity.c
5123         (__sched_getaffinity_new): Add libc_hidden_proto and
5124         libc_hidden_def.
5126 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
5128         [BZ #19007]
5129         * scripts/localplt.awk: Also allow GOT references.
5130         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
5131         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
5132         with "+ REL R_386_GLOB_DAT".
5133         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
5134         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
5136 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
5138         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
5139         INLINE_SYSCALL_ERROR_RETURN_VALUE.
5140         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
5141         Likewise.
5142         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
5143         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
5144         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
5145         INTERNAL_SYSCALLINTERNAL_SYSCALL and
5146         INLINE_SYSCALL_ERROR_RETURN_VALUE.
5147         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
5148         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
5149         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
5150         Likewise.
5151         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
5153 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
5155         [BZ #19125]
5156         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
5157         <math_private.h> and <stdint.h>.
5158         (__llround): Avoid conversions to and from long long int, and
5159         subtractions, where those might raise spurious exceptions.
5160         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
5161         <math_private.h> and <stdint.h>.
5162         (__llroundf): Avoid conversions to and from long long int, and
5163         subtractions, where those might raise spurious exceptions.
5165 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
5167         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
5168         INLINE_SYSCALL_ERROR_RETURN_VALUE.
5169         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
5170         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
5171         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
5172         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
5173         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
5174         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
5175         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
5176         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
5177         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
5178         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
5179         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
5180         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
5181         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
5182         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
5183         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
5184         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
5185         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
5186         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
5187         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
5188         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
5189         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
5190         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
5191         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
5192         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
5193         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
5194         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
5195         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
5196         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
5197         (__xstat64_conv): Likewise.
5198         (__xstat32_conv): Likewise.
5200 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
5202         * sysdeps/unix/sysv/linux/sysdep.h: New file.
5203         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
5204         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
5205         <sysdeps/unix/sysv/linux/sysdep.h>.
5206         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
5207         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
5208         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
5209         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5210         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
5211         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
5212         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
5213         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
5214         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
5215         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
5216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5217         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5218         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5219         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
5220         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
5221         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5222         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
5223         (sysdep-dl-routines): Add sysdep.
5224         [$(subdir) == nptl] (libpthread-routines): Likewise.
5225         [$(subdir) == rt] (librt-routines): Likewise.
5226         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
5227         PIC when branching to SYSCALL_ERROR_LABEL.
5228         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
5229         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
5230         <sysdeps/unix/sysv/linux/sysdep.h>.
5231         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
5232         (SYSCALL_ERROR_ERRNO): Removed.
5233         (SYSCALL_ERROR_HANDLER): Changed to empty.
5234         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
5235         (__syscall_error): New prototype.
5236         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
5237         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
5239 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
5241         [BZ #19124]
5242         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
5243         (_dl_runtime_resolve_avx512): Make it a hidden alias of
5244         _dl_runtime_resolve_avx.
5245         (_dl_runtime_profile_avx512): Make it a hidden alias of
5246         _dl_runtime_profile_avx.
5248 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
5250         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
5251         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
5252         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
5253         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
5255         [BZ #16422]
5256         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
5257         New configure test.
5258         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
5259         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
5260         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
5261         <math_private.h> and <stdint.h>.
5262         (__llrint): Avoid conversions to long long int where those might
5263         raise spurious exceptions.
5264         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
5265         <math_private.h> and <stdint.h>.
5266         (__llrintf): Avoid conversions to long long int where those might
5267         raise spurious exceptions.
5269 2015-10-12  Andreas Schwab  <schwab@suse.de>
5271         [BZ #18969]
5272         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
5273         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
5274         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
5275         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
5276         $(gen-locales).
5277         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
5278         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
5279         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
5280         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
5281         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
5282         $(gen-locales).
5283         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
5284         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
5285         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
5286         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
5287         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
5288         ($(objpfx)tst-ftell-active-handler.out)
5289         ($(objpfx)tst-ftell-append.out)
5290         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
5291         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
5292         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
5293         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
5294         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
5295         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
5296         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
5297         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
5298         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
5299         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
5300         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
5301         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
5302         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
5303         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
5304         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
5305         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
5306         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
5307         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
5308         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
5309         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
5310         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
5311         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
5312         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
5313         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
5314         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
5315         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
5316         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
5317         $(gen-locales).
5318         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
5319         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
5320         $(gen-locales).
5321         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
5322         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
5323         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
5324         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
5325         $(gen-locales).
5326         * libio/tst_wprintf2.c (main): Use explicit locale.
5327         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
5329 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5331         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
5332         __msg_sig_post.
5333         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
5335 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
5337         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
5338         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5340         * sysdeps/arm/libm-test-ulps: Regenerated.
5342         [BZ #15470]
5343         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
5345         [BZ #16399]
5346         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
5347         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
5348         and <fix-fp-int-convert-overflow.h>.
5349         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
5350         FIX_DBL_LLONG_CONVERT_OVERFLOW.
5351         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
5352         and <fix-fp-int-convert-overflow.h>.
5353         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
5354         FIX_DBL_LLONG_CONVERT_OVERFLOW.
5355         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
5356         <fix-fp-int-convert-overflow.h>.
5357         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
5358         FIX_DBL_LLONG_CONVERT_OVERFLOW.
5359         * sysdeps/ieee754/dbl-64/s_lround.c: Include
5360         <fix-fp-int-convert-overflow.h>.
5361         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
5362         FIX_DBL_LLONG_CONVERT_OVERFLOW.
5363         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
5364         and <fix-fp-int-convert-overflow.h>.
5365         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
5366         FIX_DBL_LLONG_CONVERT_OVERFLOW.
5367         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
5368         <limits.h> and <fix-fp-int-convert-overflow.h>.
5369         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
5370         FIX_DBL_LLONG_CONVERT_OVERFLOW.
5371         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
5372         and <fix-fp-int-convert-overflow.h>.
5373         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
5374         FIX_DBL_LLONG_CONVERT_OVERFLOW.
5375         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
5376         and <fix-fp-int-convert-overflow.h>.
5377         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
5378         FIX_DBL_LLONG_CONVERT_OVERFLOW.
5379         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
5381 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
5383         [BZ #18589]
5384         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
5385         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
5386         $(gen-locales).
5388 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5389             Phil Blundell <pb@pbcl.net>
5391         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
5392         * nptl/tst-cancel26.c: New file.
5393         * nptl/tst-cancel27.c: Likewise.
5395 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
5397         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
5398         __ILP32__ isn't defined.
5399         (lrint): Likewise.
5400         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
5401         (lrintf): Likewise.
5402         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
5403         (lrintl): Likewise.
5404         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
5405         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
5406         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
5408 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5410         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
5411         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
5413         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
5414         file.
5415         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
5416         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
5418 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
5420         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
5421         configure test.
5422         * sysdeps/i386/configure: Regenerated.
5423         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
5424         configure test.
5425         * sysdeps/x86_64/configure: Regenerated.
5426         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
5427         Make code unconditional.
5429         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
5430         test.
5431         * sysdeps/i386/configure: Regenerated.
5432         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
5433         test.
5434         * sysdeps/x86_64/configure: Regenerated.
5435         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
5436         Make code unconditional.
5437         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
5438         Likewise.
5439         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
5440         Likewise.
5441         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
5442         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
5443         code unconditional.
5444         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
5445         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
5446         code unconditional.
5447         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
5448         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
5449         code unconditional.
5450         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
5451         code unconditional.
5452         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
5453         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
5454         code unconditional.
5455         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
5456         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
5457         code unconditional.
5458         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
5459         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
5460         code unconditional.
5461         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
5462         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
5463         code unconditional.
5464         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
5465         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
5467         [BZ #19095]
5468         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
5469         mantissa to long int before shifting left.
5471 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
5473         [BZ #19094]
5474         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
5475         <limits.h>.
5476         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
5477         when result overflows but exception would not result from cast.
5478         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
5479         <limits.h>.
5480         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
5481         when result overflows but exception would not result from cast.
5482         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
5483         <limits.h>.
5484         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
5485         when result overflows but exception would not result from cast.
5486         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
5487         <limits.h>.
5488         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
5489         when result overflows but exception would not result from cast.
5490         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
5491         <limits.h>.
5492         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
5493         when result overflows but exception would not result from cast.
5494         * math/libm-test.inc (lrint_test_data): Add more tests.
5495         (llrint_test_data): Likewise.
5497 2015-10-08  Roland McGrath  <roland@hack.frob.com>
5499         [BZ #18872]
5500         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
5501         Move out from under [$(run-built-tests) = yes] conditional.
5502         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
5503         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
5505 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
5507         [BZ #18589]
5508         * string/Makefile (tests): Add bug-strcoll2.
5509         (LOCALES): Add cs_CZ.UTF-8.
5510         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
5512         [BZ #18589]
5513         * string/bug-strcoll2.c: New file.
5514         * locale/categories.def: Revert commit
5515         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
5516         * locale/langinfo.h: Likewise.
5517         * locale/localeinfo.h: Likewise.
5518         * locale/C-collate.c: Likewise.
5519         * locale/programs/ld-collate.c (collate_output): Likewise.
5520         * string/strcoll_l.c (STRDIFF): Likewise.
5521         (STRCOLL): Likewise.
5522         * wcsmbs/wcscoll_l.c: Likewise.
5524 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
5526         * math/libm-test.inc (lround_test_data): Do not expect the absence
5527         of "inexact" for some tests with non-integer arguments.
5528         (llround_test_data): Likewise.
5530         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
5531         test.
5532         (libc_cv_cc_sse2avx): Likewise.
5533         * sysdeps/i386/configure: Regenerated.
5534         * sysdeps/i386/i686/multiarch/Makefile
5535         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
5536         [$(subdir) = math].
5537         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
5538         code unconditional.
5539         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
5540         Likewise.
5541         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
5542         Likewise.
5543         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
5544         Likewise.
5545         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
5546         test.
5547         (libc_cv_cc_sse2avx): Likewise.
5548         * sysdeps/x86_64/configure: Regenerated.
5549         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
5550         unconditional.
5551         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
5552         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
5553         unconditional.
5554         (_dl_runtime_profile)
5555         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
5556         conditional code.
5557         * sysdeps/x86_64/fpu/multiarch/Makefile
5558         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
5559         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
5560         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
5561         * sysdeps/x86_64/fpu/multiarch/e_exp.c
5562         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
5563         * sysdeps/x86_64/fpu/multiarch/e_log.c
5564         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
5565         * sysdeps/x86_64/fpu/multiarch/s_atan.c
5566         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
5567         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
5568         Likewise.
5569         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
5570         Likewise.
5571         * sysdeps/x86_64/fpu/multiarch/s_sin.c
5572         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
5573         * sysdeps/x86_64/fpu/multiarch/s_tan.c
5574         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
5575         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
5576         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
5577         (HAVE_SSE2AVX_SUPPORT): Likewise.
5579 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
5581         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
5582         instead of #pragma optimize.
5584 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
5586         [BZ #17195]
5587         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
5588         as is similarly done in systrim and _int_free already.
5590 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5592         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
5594 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
5596         [BZ #19088]
5597         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
5598         <limits.h>.
5599         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
5600         overflows but exception would not result from cast.
5601         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
5602         and <limits.h>.
5603         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
5604         overflows but exception would not result from cast.
5605         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
5606         <limits.h>.
5607         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
5608         overflows but exception would not result from cast.
5609         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
5610         <limits.h>.
5611         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
5612         overflows but exception would not result from cast.
5613         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
5614         <limits.h>.
5615         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
5616         overflows but exception would not result from cast.
5617         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
5618         <limits.h>.
5619         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
5620         overflows but exception would not result from cast.
5621         * math/libm-test.inc (lround_test_data): Add more tests.
5622         (llround_test_data): Likewise.
5624 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
5626         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
5627         (CFLAGS-ialloc.c): Ditto.
5628         (CFLAGS-scheck.c): Ditto.
5630 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
5632         [BZ #19086]
5633         * manual/filesys.texi (Storage Allocation): Fix argument order for
5634         posix_fallocate64.
5636 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
5638         [BZ #19085]
5639         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
5640         exponent below 48 inside case for non-overflowing exponent.
5641         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
5643 2015-10-07  Florian Weimer  <fweimer@redhat.com>
5645         * iconvdata/cp737.h (from_idx): Add const.
5646         * iconvdata/cp775.h (from_idx): Likewise.
5648 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
5650         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
5651         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
5652         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
5654         [BZ #19079]
5655         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
5656         file, conditioned on [!_LP64].
5657         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
5658         [!_LP64] (__lround): Do not define as function or alias.
5659         [!_LP64] (lround): Likewise.
5660         [!_LP64] (__lroundl): Likewise.
5661         [!_LP64] (lroundl): Likewise.
5662         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
5663         macro.
5664         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
5665         Likewise.
5667 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
5669         * math/libm-test.inc (lrint_test_data): Add more tests.
5670         (llrint_test_data): Likewise.
5671         (lround_test_data): Likewise.
5672         (llround_test_data): Likewise.
5674         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
5675         (llrint_test_data): Add tests used for lrint.
5677         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
5678         test.
5679         * sysdeps/i386/configure: Regenerated.
5680         * sysdeps/i386/i686/multiarch/Makefile
5681         [$(config-cflags-sse4) = yes]: Make code unconditional.
5682         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
5683         Likewise.
5684         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
5685         Likewise.
5686         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
5687         test.
5688         * sysdeps/x86_64/configure: Regenerated.
5689         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
5690         Make code unconditional.
5691         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
5692         Likewise.
5693         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
5694         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
5696         * scripts/rpm2dynsym.sh: Remove file.
5698 2015-10-06  Florian Weimer  <fweimer@redhat.com>
5700         * configure.ac (libc_cv_cxx_thread_local): Define.
5701         * configure: Regenerate.
5702         * config.make.in (have-cxx-thread_local): Define.
5703         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
5704         (LDLIBS-tst-thread_local1): Define.
5705         (tests): Add tst-thread_local1.
5706         [have-cxx-thread_local != yes] (tests-unsupported): Add
5707         tst-thread_local1.
5708         * nptl/tst-thread_local1.cc: New file.
5710 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
5712         [BZ #19078]
5713         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
5714         (u_thres): Likewise.
5715         (__expl): Determine whether to call __kernel_standard_l based on
5716         value of result, not argument.
5718         * math/libm-test.inc (scalb_test_data): Add more expectations for
5719         the "inexact" exception.
5721         [BZ #19077]
5722         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
5723         0.0L for argument 1.0L.
5725         [BZ #19076]
5726         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
5727         constant 0.0L when computing infinite result.
5729 2015-10-06  Florian Weimer  <fweimer@redhat.com>
5731         [BZ #10432]
5732         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
5733         malloc_usable_size.
5735 2015-10-06  Florian Weimer  <fweimer@redhat.com>
5737         [BZ #19018]
5738         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
5739         Mangle function pointer before storing it.
5740         (__call_tls_dtors): Demangle function pointer before calling it.
5742 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
5744         [BZ #19012]
5745         * iconv/gconv_db.c (gen_steps): Check for additional errors.
5746         Clean up on failure.
5748 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
5750         [BZ #19071]
5751         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
5752         long int variable to store possibly incremented high part of
5753         mantissa.
5754         * math/libm-test.inc (lround_test_data): Add tests used for
5755         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
5756         for tests requiring 64-bit long.  Do not condition tests on
5757         [TEST_FLOAT] unnecessarily.
5758         (llround_test_data): Add tests used for lround.  Add another
5759         expectation for the "inexact" exception.  Do not condition tests
5760         on [TEST_FLOAT] unnecessarily.
5762         [BZ #887]
5763         [BZ #19049]
5764         [BZ #19050]
5765         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
5766         * sysdeps/ieee754/dbl-64/e_log10.c: Include
5767         <fix-int-fp-convert-zero.h>.
5768         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
5769         * sysdeps/ieee754/dbl-64/e_log2.c: Include
5770         <fix-int-fp-convert-zero.h>.
5771         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
5772         * sysdeps/ieee754/dbl-64/s_erf.c: Include
5773         <fix-int-fp-convert-zero.h>.
5774         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
5775         * sysdeps/ieee754/dbl-64/s_logb.c: Include
5776         <fix-int-fp-convert-zero.h>.
5777         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
5778         * sysdeps/ieee754/flt-32/e_log10f.c: Include
5779         <fix-int-fp-convert-zero.h>.
5780         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
5781         * sysdeps/ieee754/flt-32/e_log2f.c: Include
5782         <fix-int-fp-convert-zero.h>.
5783         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
5784         * sysdeps/ieee754/flt-32/s_erff.c: Include
5785         <fix-int-fp-convert-zero.h>.
5786         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
5787         * sysdeps/ieee754/flt-32/s_logbf.c: Include
5788         <fix-int-fp-convert-zero.h>.
5789         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
5790         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
5791         <fix-int-fp-convert-zero.h>.
5792         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
5793         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
5794         <fix-int-fp-convert-zero.h>.
5795         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
5796         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
5797         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
5798         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
5799         file.
5800         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
5802 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
5804         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5806 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
5808         [BZ #19059]
5809         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
5810         overflowing computation.
5811         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
5812         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
5813         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
5814         Likewise.
5815         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
5816         Likewise.
5817         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
5818         Likewise.
5819         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
5820         Likewise.
5821         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
5822         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
5823         Likewise.
5824         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
5825         Likewise.
5826         * math/libm-test.inc (nexttoward_test_data): Add more tests.
5828         * nss/rewrite_field.c (__nss_rewrite_field): Use
5829         internal_function.
5830         * nss/valid_field.c (__nss_valid_field): Likewise.
5831         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
5833 2015-10-02  Florian Weimer  <fweimer@redhat.com>
5835         [BZ #18724]
5836         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
5837         (__nss_invalid_field_characters, __nss_valid_field)
5838         (__nss_valid_list_field, __nss_rewrite_field): Declare.
5839         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
5840         tst-field.c: New file.
5841         * nss/Makefile (routines): Add valid_field, rewrite_field.
5842         (tests-static): Define unconditionally.
5843         (tests): Include tests-static.
5844         [build-static-nss] (tests-static): Use append.
5845         [build-static-nss] (tests): Remove modification.
5846         * nss/getent.c (print_group): Call putgrent.  Report error.
5847         (print_gshadow): Call putsgent.  Report error.
5848         (print_passwd): Call putpwent.  Report error.
5849         (print_shadow): Call putspent.  Report error.
5850         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
5851         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
5852         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
5853         name, password, directory, shell fields for valid syntax.  Rewrite
5854         GECOS field to match syntax.
5855         * pwd/Makefile (tests): Add tst-putpwent.
5856         * pwd/tst-putpwent.c: New file.
5857         * grp/putgrent.c (putgrent): Convert to ISO function definition.
5858         Check grName, grpasswd, gr_mem fields for valid syntax.
5859         Change loop variable i to size_t.
5860         * grp/Makefile (tests): Add tst-putgrent.
5861         * grp/tst-putgrent.c: New file.
5862         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
5863         valid syntax.
5864         * shadow/Makefile (tests): Add tst-putspent.
5865         * shadow/tst-putspent.c: New file.
5866         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
5867         sg_mem fields for valid syntax.
5868         * gshadow/Makefile (tests): Add tst-putsgent.
5869         * gshadow/tst-putsgent.c: New file.
5871 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5873         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
5874         assembly instructions.
5876 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5878         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
5879         prefix from operands.
5881 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
5883         [BZ #16347]
5884         [BZ #19046]
5885         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
5886         <libc-internal.h>.
5887         (MAXLGM): Do not use diagnostic control macros.
5888         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
5889         threshold for ldbl-128ibm.
5890         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
5891         instead of multiplying by log then subtracting.
5892         * math/auto-libm-test-in: Add more tests of lgamma.
5893         * math/auto-libm-test-out: Regenerated.
5895         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
5896         (TYPE_HEX_DIG): Likewise.
5897         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
5898         precisions when printing floating-point numbers.
5899         (check_float_internal): Likewise.
5901 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
5903         [BZ #16620]
5904         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
5905         of log (10) rounded downward to 48 bits.
5906         (log10_low): Use corresponding low part of log (10).
5908         [BZ #19032]
5909         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
5910         compute result as (x - x) / (x - x) not as 0 / 0.
5911         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
5912         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
5914         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
5915         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
5916         and expm1.
5917         * math/auto-libm-test-out: Regenerated.
5918         * math/libm-test.inc (acos_test_data): Add more tests.
5919         (asin_test_data): Likewise.
5920         (asinh_test_data): Likewise.
5921         (atan_test_data): Likewise.
5922         (atanh_test_data): Likewise.
5923         (atan2_test_data): Likewise.
5924         (cbrt_test_data): Likewise.
5925         (ceil_test_data): Likewise.
5926         (copysign_test_data): Likewise.
5927         (cos_test_data): Likewise.
5928         (cosh_test_data): Likewise.
5929         (erf_test_data): Likewise.
5930         (erfc_test_data): Likewise.
5931         (exp_test_data): Likewise.
5932         (exp10_test_data): Likewise.
5933         (exp2_test_data): Likewise.
5934         (expm1_test_data): Likewise.
5935         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5937 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
5939         [BZ #19006]
5940         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
5941         to ...
5942         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
5943         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
5944         to ...
5945         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
5946         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
5947         to ...
5948         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
5949         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
5950         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
5951         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
5952         to ...
5953         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
5954         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
5955         Moved to ...
5956         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
5957         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
5958         Moved to ...
5959         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
5960         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
5961         to ...
5962         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
5963         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
5964         Moved to ...
5965         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
5966         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
5967         to ...
5968         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
5969         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
5970         Removed.
5971         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
5972         Likewise.
5973         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
5974         Likewise.
5975         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
5976         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
5977         Likewise.
5978         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
5979         Likewise.
5980         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
5981         Likewise.
5982         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
5983         Likewise.
5984         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
5985         Likewise.
5986         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
5987         Likewise.
5988         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
5989         Likewise.
5990         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
5991         Likewise.
5992         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
5993         Likewise.
5994         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
5995         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
5996         Likewise.
5997         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
5998         Likewise.
5999         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
6000         Likewise.
6001         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
6002         Likewise.
6003         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
6004         Likewise.
6005         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
6006         Replace ../i486/pthread_cond_timedwait.S with
6007         ../pthread_cond_timedwait.S.
6009 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
6011         * math/libm-test.inc (acos_test_data): Refine expectations for
6012         errno and "inexact" exceptions.
6013         (acosh_test_data): Likewise.
6014         (asin_test_data): Likewise.
6015         (asinh_test_data): Likewise.
6016         (atan_test_data): Likewise.
6017         (atanh_test_data): Likewise.
6018         (atan2_test_data): Likewise.
6019         (cbrt_test_data): Likewise.
6020         (ceil_test_data): Likewise.
6021         (copysign_test_data): Likewise.
6022         (cosh_test_data): Likewise.
6023         (erf_test_data): Likewise.
6024         (erfc_test_data): Likewise.
6025         (exp_test_data): Likewise.
6026         (exp10_test_data): Likewise.
6027         (exp2_test_data): Likewise.
6028         (expm1_test_data): Likewise.
6029         (fabs_test_data): Likewise.
6030         (floor_test_data): Likewise.
6031         (fma_test_data): Likewise.
6032         (fmax_test_data): Likewise.
6033         (fmin_test_data): Likewise.
6034         (fmod_test_data): Likewise.
6035         (fpclassify_test_data): Likewise.
6036         (frexp_test_data): Likewise.
6037         (hypot_test_data): Likewise.
6038         (ilogb_test_data): Likewise.
6039         (isgreater_test_data): Likewise.
6040         (isgreaterequal_test_data): Likewise.
6041         (isinf_test_data): Likewise.
6042         (isless_test_data): Likewise.
6043         (islessequal_test_data): Likewise.
6044         (islessgreater_test_data): Likewise.
6045         (isnan_test_data): Likewise.
6046         (isnormal_test_data): Likewise.
6047         (issignaling_test_data): Likewise.
6048         (isunordered_test_data): Likewise.
6049         (j0_test_data): Likewise.
6050         (j1_test_data): Likewise.
6051         (jn_test_data): Likewise.
6052         (lgamma_test_data): Likewise.
6053         (lrint_test_data): Likewise.
6054         (llrint_test_data): Likewise.
6055         (log_test_data): Likewise.
6056         (log10_test_data): Likewise.
6057         (log1p_test_data): Likewise.
6058         (log2_test_data): Likewise.
6059         (logb_test_data): Likewise.
6060         (lround_test_data): Likewise.
6061         (llround_test_data): Likewise.
6062         (modf_test_data): Likewise.
6063         (nearbyint_test_data): Likewise.
6064         (nextafter_test_data): Likewise.
6065         (nexttoward_test_data): Likewise.
6066         (pow_test_data): Likewise.
6067         (remainder_test_data): Likewise.
6068         (remquo_test_data): Likewise.
6069         (rint_test_data): Likewise.
6070         (round_test_data): Likewise.
6071         (signbit_test_data): Likewise.
6072         (sinh_test_data): Likewise.
6073         (sqrt_test_data): Likewise.
6074         (tanh_test_data): Likewise.
6075         (tgamma_test_data): Likewise.
6076         (trunc_test_data): Likewise.
6077         (y0_test_data): Likewise.
6078         (y1_test_data): Likewise.
6079         (yn_test_data): Likewise.
6080         (significand_test_data): Likewise.
6082 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
6084         * manual/filesys.texi (Storage Allocation): Document that
6085         posix_fallocate emulation fails when fd is open with O_WRONLY.
6087 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
6089         [BZ #19016]
6090         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
6091         allow more cases with X^2 + Y^2 >= 0.5.
6092         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
6093         normal element in sum instead of special-casing based on values of
6094         arguments.
6095         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
6096         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
6097         -1 as normal element in sum instead of special-casing based on
6098         values of arguments.
6099         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
6100         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
6101         (__x2y2m1): Update comment.
6102         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
6103         as normal element in sum instead of special-casing based on values
6104         of arguments.
6105         * math/s_clog.c (__clog): Handle more cases using log1p without
6106         hypot.
6107         * math/s_clog10.c (__clog10): Likewise.
6108         * math/s_clog10f.c (__clog10f): Likewise.
6109         * math/s_clog10l.c (__clog10l): Likewise.
6110         * math/s_clogf.c (__clogf): Likewise.
6111         * math/s_clogl.c (__clogl): Likewise.
6112         * math/auto-libm-test-in: Add more tests of clog and clog10.
6113         * math/auto-libm-test-out: Regenerated.
6114         * sysdeps/i386/fpu/libm-test-ulps: Update.
6115         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6117 2015-09-28  Martin Sebor  <msebor@redhat.com>
6119         [BZ #18969]
6120         * string/Makefile (LOCALES): Define.
6121         (gen-locales.mk): Include.
6122         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
6123         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
6124         * string/tst-strxfrm2.c (do_test): Print the name of the locale
6125         on setlocale failure.
6127 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
6129         [BZ #18985]
6130         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
6131         (__strftime_internal): Likewise.
6132         * time/tst-strftime.c (do_bz18985): New test.
6133         (do_test): Call it.
6135 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
6137         [BZ #18956]
6138         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
6139         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
6140         extracting high part.
6141         * math/auto-libm-test-in: Add another test of pow.
6142         * math/auto-libm-test-out: Regenerated.
6143         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6145 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
6147         [BZ #18825]
6148         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
6149         New macro.
6150         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
6151         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
6152         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
6153         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
6154         DBL_NARROW_EVAL, reloading the PIC register as needed.
6155         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
6156         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
6157         FLT_NARROW_EVAL.  Use separate return path for case when first
6158         argument is NaN.
6159         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
6160         DEFINE_LDBL_MIN.
6161         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
6162         PIC register.
6163         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
6164         math_check_force_underflow_nonneg.
6165         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
6166         underflow for subnormal result.
6167         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
6168         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
6169         math_check_force_underflow_nonneg.
6170         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
6171         math_check_force_underflow.
6172         * sysdeps/x86_64/fpu/x86_64-math-asm.h
6173         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
6174         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
6175         DEFINE_LDBL_MIN.
6176         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
6177         * math/auto-libm-test-in: Add more tests of pow.
6178         * math/auto-libm-test-out: Regenerated.
6180 2015-09-25  Florian Weimer  <fweimer@redhat.com>
6182         * nss/bug17079.c (init_test_items): Add diagnostic for
6183         inconsistent entries.
6184         (test_buffer_size): Skip inconsistent entries.
6186 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
6188         [BZ #13304]
6189         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
6190         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
6191         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
6193         [BZ #13304]
6194         * sysdeps/microblaze/s_fma.c: New file.
6195         * sysdeps/microblaze/s_fmaf.c: Likewise.
6196         * sysdeps/microblaze/sfp-machine.h: Likewise.
6198 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
6200         [BZ #17250]
6201         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
6202         member.
6204 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
6206         [BZ #18803]
6207         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
6208         (MO): New macro.
6209         (__ieee754_hypot) [PIC]: Load PIC register.
6210         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
6211         DBL_NARROW_EVAL.
6212         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
6213         math_check_force_underflow_nonneg in case where result might be
6214         tiny.
6215         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
6216         Likewise.
6217         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
6218         Likewise.
6219         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
6220         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
6221         * math/auto-libm-test-in: Add more tests of hypot.
6222         * math/auto-libm-test-out: Regenerated.
6224 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
6226         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
6228 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
6230         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
6231         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
6232         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
6233         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
6234         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
6235         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
6236         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
6238         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
6239         LOAD_PIC_REG.
6241         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
6242         (FLT_CHECK_FORCE_UFLOW): Likewise.
6243         (DBL_CHECK_FORCE_UFLOW): Likewise.
6244         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
6245         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
6246         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
6247         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
6248         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
6249         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
6250         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
6251         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
6252         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
6253         (dbl_min): Replace with use of DEFINE_DBL_MIN.
6254         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
6255         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
6256         (flt_min): Replace with use of DEFINE_FLT_MIN.
6257         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
6258         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
6259         (dbl_min): Replace with use of DEFINE_DBL_MIN.
6260         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
6261         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
6262         (flt_min): Replace with use of DEFINE_FLT_MIN.
6263         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
6264         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
6265         (dbl_min): Replace with use of DEFINE_DBL_MIN.
6266         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
6267         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
6268         (flt_min): Replace with use of DEFINE_FLT_MIN.
6269         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
6270         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
6271         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
6272         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
6273         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
6274         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
6275         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
6276         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
6277         (dbl_min): Replace with use of DEFINE_DBL_MIN.
6278         (__atan): Use DBL_CHECK_FORCE_UFLOW.
6279         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
6280         (flt_min): Replace with use of DEFINE_FLT_MIN.
6281         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
6282         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
6283         (dbl_min): Replace with use of DEFINE_DBL_MIN.
6284         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
6285         main computation.
6286         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
6287         (flt_min): Replace with use of DEFINE_FLT_MIN.
6288         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
6289         main computation.
6290         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
6291         (dbl_min): Replace with use of DEFINE_DBL_MIN.
6292         (MO): New macro.
6293         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
6294         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
6295         (flt_min): Replace with use of DEFINE_FLT_MIN.
6296         (MO): New macro.
6297         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
6298         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
6299         (__log1pl): Use MO.
6301         [BZ #19003]
6302         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
6303         $(config-cflags-nofma).
6305 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6307         * sysdeps/aarch64/libm-test-ulps: Regenerated.
6309 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
6311         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
6312         (TWO127): Likewise.
6314         * sysdeps/generic/math_private.h (fabs_tg): New macro.
6315         (min_of_type): Likewise.
6316         (math_check_force_underflow): Likewise.
6317         (math_check_force_underflow_nonneg): Likewise.
6318         (math_check_force_underflow_complex): Likewise.
6319         * math/e_exp2l.c (__ieee754_exp2l): Use
6320         math_check_force_underflow_nonneg.
6321         * math/k_casinh.c (__kernel_casinh): Likewise.
6322         * math/k_casinhf.c (__kernel_casinhf): Likewise.
6323         * math/k_casinhl.c (__kernel_casinhl): Likewise.
6324         * math/s_catan.c (__catan): Use
6325         math_check_force_underflow_complex.
6326         * math/s_catanf.c (__catanf): Likewise.
6327         * math/s_catanh.c (__catanh): Likewise.
6328         * math/s_catanhf.c (__catanhf): Likewise.
6329         * math/s_catanhl.c (__catanhl): Likewise.
6330         * math/s_catanl.c (__catanl): Likewise.
6331         * math/s_ccosh.c (__ccosh): Likewise.
6332         * math/s_ccoshf.c (__ccoshf): Likewise.
6333         * math/s_ccoshl.c (__ccoshl): Likewise.
6334         * math/s_cexp.c (__cexp): Likewise.
6335         * math/s_cexpf.c (__cexpf): Likewise.
6336         * math/s_cexpl.c (__cexpl): Likewise.
6337         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
6338         * math/s_clog10.c (__clog10): Likewise.
6339         * math/s_clog10f.c (__clog10f): Likewise.
6340         * math/s_clog10l.c (__clog10l): Likewise.
6341         * math/s_clogf.c (__clogf): Likewise.
6342         * math/s_clogl.c (__clogl): Likewise.
6343         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
6344         * math/s_csinf.c (__csinf): Likewise.
6345         * math/s_csinh.c (__csinh): Likewise.
6346         * math/s_csinhf.c (__csinhf): Likewise.
6347         * math/s_csinhl.c (__csinhl): Likewise.
6348         * math/s_csinl.c (__csinl): Likewise.
6349         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
6350         * math/s_csqrtf.c (__csqrtf): Likewise.
6351         * math/s_csqrtl.c (__csqrtl): Likewise.
6352         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
6353         * math/s_ctanf.c (__ctanf): Likewise.
6354         * math/s_ctanh.c (__ctanh): Likewise.
6355         * math/s_ctanhf.c (__ctanhf): Likewise.
6356         * math/s_ctanhl.c (__ctanhl): Likewise.
6357         * math/s_ctanl.c (__ctanl): Likewise.
6358         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
6359         instead of volatile.
6360         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
6361         math_check_force_underflow.
6362         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
6363         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
6364         volatile when forcing underflow.
6365         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
6366         math_check_force_underflow_nonneg.
6367         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
6368         Likewise.
6369         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
6370         math_check_force_underflow.
6371         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
6372         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
6373         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
6374         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
6375         math_check_force_underflow_nonneg.
6376         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
6377         math_check_force_underflow.
6378         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
6379         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
6380         instead of volatile.
6381         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
6382         math_check_force_underflow.
6383         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
6384         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
6385         math_check_force_underflow_nonneg.
6386         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
6387         math_check_force_underflow.
6388         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
6389         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
6390         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
6391         math_check_force_underflow_nonneg.
6392         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
6393         Likewise.
6394         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
6395         math_check_force_underflow.
6396         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
6397         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
6398         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
6399         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
6400         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
6401         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
6402         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
6403         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
6404         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
6405         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
6406         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
6407         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
6408         Likewise.
6409         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
6410         math_check_force_underflow_nonneg.
6411         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
6412         Likewise.
6413         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
6414         math_check_force_underflow.
6415         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
6416         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
6417         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
6418         Likewise.
6419         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
6420         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
6421         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
6422         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
6423         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
6424         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
6425         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
6426         instead of volatile.
6427         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
6428         math_check_force_underflow.
6429         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
6430         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
6431         math_check_force_underflow.
6432         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
6433         Likewise.
6434         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
6435         Use math_check_force_underflow_nonneg.
6436         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
6437         math_check_force_underflow.
6438         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
6439         Likewise.
6440         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
6441         Likewise.
6442         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
6443         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
6444         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
6445         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
6446         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
6447         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
6448         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
6449         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
6450         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
6451         math_check_force_underflow_nonneg.
6452         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
6453         math_check_force_underflow.
6454         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
6455         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
6456         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
6457         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
6458         math_check_force_underflow_nonneg.
6459         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
6460         math_check_force_underflow.
6461         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
6462         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
6463         instead of volatile.
6464         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
6465         math_check_force_underflow.
6467         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
6468         * stdlib/strtod_l.c: Include <math_private.h>.
6469         (overflow_value): Use math_narrow_eval.
6470         (underflow_value): Likewise.
6471         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
6472         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
6473         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
6474         (__ieee754_gamma_r): Likewise.
6475         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
6476         Likewise.
6477         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
6478         Likewise.
6479         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
6480         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
6481         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
6482         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
6483         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
6484         (__ieee754_gammaf_r): Likewise.
6485         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
6486         Likewise.
6487         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
6488         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
6489         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
6490         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
6491         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
6492         volatile.
6493         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
6494         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
6495         math_narrow_eval.
6496         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
6497         Likewise.
6498         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
6499         Likewise.
6500         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
6501         Likewise.
6502         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
6503         volatile.
6504         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
6505         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
6506         math_narrow_eval.
6507         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
6508         Likewise.
6509         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
6510         Likewise.
6512 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
6514         * nptl/Versions: Remove ignored symbols.
6516 2015-09-22  Florian Weimer  <fweimer@redhat.com>
6518         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
6519         * nss/Makefile (tests): Update.
6521 2015-09-22  Florian Weimer  <fweimer@redhat.com>
6523         * nss/bug18287.c: New file.
6524         * nss/Makefile (tests): Add bug18287.
6526 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6528         * mach/Versions (__mach_host_self_): Add symbol.
6530 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6532         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
6533         vm_page_size.
6535 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6537         Really fix sysdeps/i386/fpu/s_scalbn.S build
6539         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
6540         (libc: GLIBC_2_22): Remove unused version set.
6542 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
6544         * config.make.in (enable-timezone-tools): New variable.
6545         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
6546         (enable_timezone_tools): Export to generated files.
6547         * configure: Regenerate.
6548         * INSTALL: Regenerate.
6549         * manual/install.texi (--disable-timezone-tools): Document new flag.
6550         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
6551         ifeq ($(enable-timezone-tools),yes) check.
6553 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
6555         * timezone/Makefile: Revert previous change.
6557         [BZ #18980]
6558         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
6559         (DEFINE_DBL_MIN): Likewise.
6560         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
6561         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
6562         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
6563         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
6564         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
6565         (dbl_min): Replace with use of DEFINE_DBL_MIN.
6566         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
6567         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
6568         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
6569         (dbl_min): Replace with use of DEFINE_DBL_MIN.
6570         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
6571         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
6572         (flt_min): Replace with use of DEFINE_FLT_MIN.
6573         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
6574         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
6575         (dbl_min): Replace with use of DEFINE_DBL_MIN.
6576         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
6577         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
6578         (flt_min): Replace with use of DEFINE_FLT_MIN.
6579         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
6580         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
6581         (flt_min): Replace with use of DEFINE_FLT_MIN.
6582         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
6583         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
6584         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
6585         (__ieee754_hypot): Use DBL_NARROW_EVAL.
6586         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
6587         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
6588         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
6589         (__ieee754_pow): Use DBL_NARROW_EVAL.
6590         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
6591         (__ieee754_powf): Use FLT_NARROW_EVAL.
6592         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
6593         (__ieee754_expf_sse2): Convert double-precision result to single
6594         precision.
6595         * sysdeps/i386/fpu/libm-test-ulps: Update.
6597 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
6599         * timezone/Makefile: Ignore unused variable errors due to private.h
6600         (time_t_min) and (time_t_max).
6601         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
6602         Likewise.
6604 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
6606         [BZ #18981]
6607         * sysdeps/i386/fpu/i386-math-asm.h: New file.
6608         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
6609         (__ieee754_scalb): Use DBL_NARROW_EVAL.
6610         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
6611         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
6612         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
6613         (__scalbn): Use DBL_NARROW_EVAL.
6614         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
6615         (__scalbnf): Use FLT_NARROW_EVAL.
6617 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
6619         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
6620         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
6621         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
6622         * stdio-common/printf_fp.c (___printf_fp):
6623         Use signbit to get the sign. Use isinf macro to allow inlining.
6624         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
6625         * stdio-common/printf_size.c (__printf_size): Likewise.
6627 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
6629         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
6631 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
6633         [BZ #18980]
6634         * sysdeps/generic/math_private.h: Include <float.h>.
6635         (math_narrow_eval): New macro.
6636         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
6637         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
6638         math_narrow_eval on overflowing return value.
6639         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
6640         Likewise.
6641         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
6642         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
6643         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
6644         Likewise.
6645         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
6647 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
6649         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
6650         * math/Makefile: Remove isinf_ns.c.
6651         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
6652         * math/multc3.c (__multc3): Likewise.
6653         * math/s_casin.c (__casin): Likewise.
6654         * math/s_casinf.c (__casinf): Likewise.
6655         * math/s_casinl.c (__casinl): Likewise.
6656         * math/s_cproj.c (__cproj): Likewise.
6657         * math/s_cprojf.c (__cprojf): Likewise.
6658         * math/s_cprojl.c (__cprofl): Likewise.
6659         * math/s_ctan.c (__ctan): Likewise.
6660         * math/s_ctanf.c (__ctanf): Likewise.
6661         * math/s_ctanh.c (__ctanh): Likewise.
6662         * math/s_ctanhf.c (__ctanhf): Likewise.
6663         * math/s_ctanhl.c (__ctanhl): Likewise.
6664         * math/s_ctanl.c (__ctanl): Likewise.
6665         * math/w_fmod.c (__fmod): Likewise.
6666         * math/w_fmodf.c (__fmodf): Likewise.
6667         * math/w_fmodl.c (_fmodl): Likewise.
6668         * math/w_remainder.c (__remainder): Likewise.
6669         * math/w_remainderf.c (__remainderf): Likewise.
6670         * math/w_remainderl.c (__remainderl): Likewise.
6671         * math/w_scalb.c (__scalb): Likewise.
6672         * math/w_scalbf.c (__scalbf): Likewise.
6673         * math/w_scalbl.c (__scalbl): Likewise.
6674         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
6675         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
6676         with isinf.
6677         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
6678         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
6679         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
6680         __isinf_nsf with isinf.
6681         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
6682         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
6683         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
6684         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
6685         with isinf.
6686         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
6687         __isinf_nsl with isinf.
6688         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
6689         with isinf.
6690         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
6691         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
6692         __isinf_nsl with isinf.
6693         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
6694         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
6695         with isinf.
6697 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
6699         * resolv/base64.c (rcsid): Remove unused static.
6700         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
6701         static.  (tqpi1): Likewise.
6702         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
6703         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
6704         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
6705         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
6706         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
6707         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
6708         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
6709         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
6710         Likewise.
6712 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
6714         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
6715         <nptl/pthreadP.h>.
6716         (_longjmp_unwind): Use __libc_ptf_call.
6717         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
6719 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
6721         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
6722         * sysdeps/arm/__longjmp.S: Likewise
6724 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
6726         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
6727         Use __builtin_signbit.
6728         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
6729         Use __builtin_signbitf.
6730         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
6731         Use __builtin_signbitl.
6732         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
6733         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
6735 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
6737         [BZ #15367]
6738         [BZ #17441]
6740         * math/Makefile: Build test-snan.c with -fsignaling-nans.
6741         * math/math.h (fpclassify): Use __builtin_fpclassify when
6742         available.  (signbit): Use __builtin_signbit(f/l).
6743         (isfinite): Use__builtin_isfinite.  (isnormal): Use
6744         __builtin_isnormal.  (isnan): Use __builtin_isnan.
6745         (isinf): Use __builtin_isinf_sign.
6747 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
6749         * benchtests/Makefile: Add bench-math-inlines, link with libm.
6750         * benchtests/bench-math-inlines.c: New benchmark.
6751         * benchtests/bench-util.h: New file.
6752         * benchtests/bench-util.c: New file.
6753         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
6755 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
6757         * elf/tst-dlmopen1.c: Define TEST_SO.
6758         (do_test): Use TEST_SO.
6760         * elf/dl-load.c: Include libc-internal.h.
6761         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
6763 2015-09-18  Vincent Bernat  <vincent@bernat.im>
6765         [BZ #17887]
6766         * time/strptime_l.c (__strptime_internal): Make %z accept
6767         [+-]HH:MM time zones.
6769 2015-09-18  Vincent Bernat  <vincent@bernat.im>
6771         [BZ #17886]
6772         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
6773         valid time zone.
6775 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
6777         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
6778         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
6779         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6780         (__ASSUME_FDATASYNC): Delete.
6782 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
6784         * conform/linknamespace.pl: Require weak undefined symbols to be
6785         in the standard namespace.
6786         (%strong_syms): Rename to %seen_syms.
6787         (%strong_seen): Rename to %seen_where.
6789 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
6791         [BZ #18970]
6792         * misc/error.c (error): Replace pthread_setcancelstate with
6793         __pthread_setcancelstate.
6794         (error_at_line): Likewise.
6795         * posix/wordexp.c (parse_comm): Likewise.
6796         * stdlib/fmtmsg.c (fmtmsg): Likewise.
6797         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
6798         (__pthread_setcancelstate): This.
6799         (pthread_setcancelstate): Add an alias.
6800         * nptl/nptl-init.c (pthread_functions): Replace
6801         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
6802         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
6803         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
6804         hidden_proto.
6805         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
6806         it with hidden_def.
6807         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
6808         (pthread_setcancelstate): Renamed to ...
6809         (__pthread_setcancelstate): This.
6810         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
6811         __libc_ptf_call with __pthread_setcancelstate.
6813 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
6814             Andreas Schwab  <schwab@suse.de>
6816         [BZ #17118]
6817         * math/s_ctan.c (__ctan): Determine sign of zero real part of
6818         result when imaginary part of argument is infinite using sine and
6819         cosine.
6820         * math/s_ctanf.c (__ctanf): Likewise.
6821         * math/s_ctanl.c (__ctanl): Likewise.
6822         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
6823         of result when real part of argument is infinite using sine and
6824         cosine.
6825         * math/s_ctanhf.c (__ctanhf): Likewise.
6826         * math/s_ctanhl.c (__ctanhl): Likewise.
6827         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
6828         (ctanh_test_data): Add more tests of ctanh.
6830 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
6832         [BZ #15384]
6833         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
6834         bit-mask as in subtraction.
6835         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
6836         Likewise.
6837         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
6838         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
6839         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
6841         [BZ #18951]
6842         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
6843         underflow exception for small results.
6844         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
6845         Likewise.
6846         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
6847         Likewise.
6848         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
6849         Likewise.
6850         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
6851         Likewise.
6852         * math/auto-libm-test-in: Add more tests of tgamma.
6853         * math/auto-libm-test-out: Regenerated.
6855 2015-09-17  Andreas Schwab  <schwab@suse.de>
6857         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
6859 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
6861         [BZ #18977]
6862         * math/bits/mathcalls.h
6863         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
6864         not declare.
6865         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
6866         Likewise.
6867         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
6868         Likewise.
6869         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
6870         Likewise.
6871         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
6872         Likewise.
6873         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
6874         Likewise.
6875         * conform/data/math.h-data
6876         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
6877         function.
6878         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
6879         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
6880         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
6881         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
6882         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
6883         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
6884         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
6885         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
6886         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
6887         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
6888         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
6890         [BZ #6803]
6891         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
6892         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
6893         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
6894         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
6895         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
6896         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
6897         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
6898         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
6899         [NO_LONG_DOUBLE] (scalbnl): Likewise.
6900         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
6901         Likewise.
6902         [NO_LONG_DOUBLE] (scalbnl): Likewise.
6903         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
6904         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
6905         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
6906         long_double_symbol calls.
6907         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
6908         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
6909         strong alias of __ldexpl.
6910         (scalbnl): Define using long_double_symbol.
6911         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
6912         Remove alias.
6913         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
6914         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
6915         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
6916         (scalbln_test_data): Add more errno expectations.
6918 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
6920         Cache the host port like we cache the task port.  This way we do not
6921         need to call the kernel just to get the port.  Furthermore, we no
6922         longer increase the reference count on every invocation of
6923         `mach_host_self'.
6925         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
6926         Protect declarations against the macro expansion.
6927         * mach/mach_init.c (__mach_host_self_): New variable.
6928         (mach_init): Initialize `__mach_host_self_'.
6929         * mach/mach_init.h (__mach_host_self_): New declaration.
6930         (__mach_host_self, mach_host_self): New macros.
6931         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
6932         Release reference.
6934 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
6936         [BZ #4404]
6937         * po/de.po: Update from Translation Project.
6939         [BZ #16415]
6940         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
6941         (__expm1l): Remove code to handle positive infinity and overflow.
6942         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
6943         variable.
6944         (__expm1l): Remove code to handle positive infinity and overflow.
6946 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
6947             Paul Pluzhnikov  <ppluzhnikov@google.com>
6949         [BZ #18872]
6950         * stdio-common/Makefile (tst-printf-bz18872): New test.
6951         (tst-printf-bz18872-mem.out): Likewise.
6952         * stdio-common/tst-printf-bz18872.sh: Generate new test.
6953         * stdio-common/vfprintf.c: Fix memory leaks.
6955 2015-09-16  Andreas Schwab  <schwab@suse.de>
6957         [BZ #17244]
6958         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
6959         Remove extra va_start/va_end calls.
6961         [BZ #17243]
6962         * posix/execl.c (execl): Add missing va_end.
6963         * posix/execle.c (execle): Likewise.
6964         * posix/execlp.c (execlp): Likewise.
6966 2015-09-15  Roland McGrath  <roland@hack.frob.com>
6968         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
6969         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
6971 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
6973         [BZ #18967]
6974         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
6975         undefine around includes of <bits/mathcalls.h>.
6976         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
6977         not declare function.
6978         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
6979         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
6980         (scalb): Likewise.
6981         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
6982         not define macro.
6983         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
6984         variable.
6985         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
6986         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
6987         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
6989         [BZ #18857]
6990         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
6991         return non-finite argument without doing ordered comparisons on
6992         it.
6994         [BZ #16296]
6995         * math/fenv.h (fegetround): Use __attribute_pure__.
6996         * include/fenv.h (__fegetround): Likewise.
6998         [BZ #18595]
6999         * math/s_ctan.c (__ctan): Force underflow exception for results
7000         whose real or imaginary part has small absolute value.
7001         * math/s_ctanf.c (__ctanf): Likewise.
7002         * math/s_ctanh.c (__ctanh): Likewise.
7003         * math/s_ctanhf.c (__ctanhf): Likewise.
7004         * math/s_ctanhl.c (__ctanhl): Likewise.
7005         * math/s_ctanl.c (__ctanl): Likewise.
7006         * math/auto-libm-test-in: Do not allow missing underflow for ctan
7007         and ctanh.  Add more tests of ctan and ctanh.
7009         [BZ #15918]
7010         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
7011         handling of cases where one argument is an infinity.
7013         [BZ #18875]
7014         [BZ #18966]
7015         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
7016         (MO): New macro.
7017         (__ieee754_exp10): For small results, force underflow exception
7018         and remove excess range and precision from return value.
7019         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
7020         (MO): New macro.
7021         (__ieee754_exp10f): For small results, force underflow exception
7022         and remove excess range and precision from return value.
7023         * math/auto-libm-test-in: Add more tests of exp10.
7024         * math/auto-libm-test-out: Regenerated.
7026 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
7028         [BZ #18875]
7029         [BZ #18961]
7030         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
7031         (MO): New macro.
7032         (__ieee754_exp): For small results, force underflow exception and
7033         remove excess range and precision from return value.
7034         (__exp_finite): Likewise.
7035         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
7036         (MO): New macro.
7037         (__ieee754_expf): For small results, force underflow exception and
7038         remove excess range and precision from return value.
7039         (__expf_finite): Likewise.
7040         * math/auto-libm-test-in: Add more tests of exp.
7041         * math/auto-libm-test-out: Regenerated.
7043         [BZ #16521]
7044         [BZ #18875]
7045         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
7046         small results.
7047         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
7048         (MO): New macro.
7049         (__ieee754_exp2): For small results, force underflow exception and
7050         remove excess range and precision from return value.
7051         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
7052         (MO): New macro.
7053         (__ieee754_exp2f): For small results, force underflow exception
7054         and remove excess range and precision from return value.
7055         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
7056         (MO): New macro.
7057         (__ieee754_exp2l): Force underflow exception for small results.
7058         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
7059         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
7060         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
7061         (MO): New macro.
7062         (__ieee754_exp2l): Force underflow exception for small results.
7063         * math/auto-libm-test-in: Add more tests or exp2.
7064         * math/auto-libm-test-out: Regenerated.
7066 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
7068         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
7070         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
7071         /dev/null.
7073 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7075         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
7076         io fs process)): Drop spurious backslash.
7078 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
7080         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
7081         Use sysinfo system call instead of parsing /proc/meminfo.
7082         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
7083         Likewise.
7085 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
7087         [BZ #16985]
7088         * programs/localedef.c (main): Display argv[remaining] when
7089         output_path is NULL.
7091 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
7093         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
7094         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
7095         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
7096         tanh.
7097         * math/auto-libm-test-out: Regenerated.
7098         * sysdeps/i386/fpu/libm-test-ulps: Update.
7099         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
7100         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7101         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7103 2015-09-11  Roland McGrath  <roland@hack.frob.com>
7105         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
7106         Use 'override' keyword to freeze the value here, preventing
7107         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
7109 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
7111         [BZ #14912]
7112         * sysdeps/aarch64/bits/atomic.h: Move to ...
7113         * sysdeps/aarch64/atomic-machine.h: ...here.
7114         (_AARCH64_BITS_ATOMIC_H): Rename macro to
7115         _AARCH64_ATOMIC_MACHINE_H.
7116         * sysdeps/alpha/bits/atomic.h: Move to ...
7117         * sysdeps/alpha/atomic-machine.h: ...here.
7118         * sysdeps/arm/bits/atomic.h: Move to ...
7119         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
7120         * bits/atomic.h: Move to ...
7121         * sysdeps/generic/atomic-machine.h: ...here.
7122         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
7123         * sysdeps/i386/bits/atomic.h: Move to ...
7124         * sysdeps/i386/atomic-machine.h: ...here.
7125         * sysdeps/ia64/bits/atomic.h: Move to ...
7126         * sysdeps/ia64/atomic-machine.h: ...here.
7127         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
7128         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
7129         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
7130         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
7131         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
7132         * sysdeps/microblaze/bits/atomic.h: Move to ...
7133         * sysdeps/microblaze/atomic-machine.h: ...here.
7134         * sysdeps/mips/bits/atomic.h: Move to ...
7135         * sysdeps/mips/atomic-machine.h: ...here.
7136         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
7137         * sysdeps/powerpc/bits/atomic.h: Move to ...
7138         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
7139         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
7140         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
7141         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
7142         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
7143         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
7144         <atomic-machine.h> instead of <bits/atomic.h>.
7145         * sysdeps/s390/bits/atomic.h: Move to ...
7146         * sysdeps/s390/atomic-machine.h: ...here.
7147         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
7148         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
7149         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
7150         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
7151         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
7152         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
7153         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
7154         * sysdeps/tile/bits/atomic.h: Move to ...
7155         * sysdeps/tile/atomic-machine.h: ...here.
7156         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
7157         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
7158         <sysdeps/tile/atomic-machine.h> instead of
7159         <sysdeps/tile/bits/atomic.h>.
7160         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
7161         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
7162         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
7163         <sysdeps/tile/atomic-machine.h> instead of
7164         <sysdeps/tile/bits/atomic.h>.
7165         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
7166         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
7167         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
7168         <sysdeps/arm/atomic-machine.h> instead of
7169         <sysdeps/arm/bits/atomic.h>.
7170         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
7171         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
7172         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
7173         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
7174         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
7175         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
7176         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
7177         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
7178         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
7179         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
7180         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
7181         * sysdeps/x86_64/bits/atomic.h: Move to ...
7182         * sysdeps/x86_64/atomic-machine.h: ...here.
7183         * include/atomic.h: Include <atomic-machine.h> instead of
7184         <bits/atomic.h>.
7186         * sysdeps/mips/mips32/libm-test-ulps: Update.
7187         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7189         [BZ #18952]
7190         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
7191         not convert non-integer negative arguments to int to determine the
7192         value of signgam.
7193         * math/auto-libm-test-in: Add more tests of lgamma.
7194         * math/auto-libm-test-out: Regenerated.
7196         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
7197         cosh, csqrt, erfc, expm1 and lgamma.
7198         * math/auto-libm-test-out: Regenerated.
7199         * sysdeps/i386/fpu/libm-test-ulps: Update.
7200         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7202 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
7204         [BZ #2542]
7205         [BZ #2543]
7206         [BZ #2558]
7207         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
7208         __lgamma_neg for arguments from -28.0 to -2.0.
7209         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
7210         __lgamma_negf for arguments from -15.0 to -2.0.
7211         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
7212         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
7213         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
7214         Call __lgamma_negl for arguments from -33.0 to -2.0.
7215         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
7216         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
7217         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
7218         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
7219         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
7220         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
7221         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
7222         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
7223         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
7224         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
7225         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
7226         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
7227         (__lgamma_neg): Likewise.
7228         (__lgamma_negl): Likewise.
7229         (__lgamma_product): Likewise.
7230         (__lgamma_productl): Likewise.
7231         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
7232         * math/auto-libm-test-in: Add more tests of lgamma.
7233         * math/auto-libm-test-out: Regenerated.
7234         * sysdeps/i386/fpu/libm-test-ulps: Update.
7235         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7237 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
7239         [BZ #18675]
7240         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
7242 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
7244         [BZ #14912]
7245         * bits/libc-lock.h: Move to ...
7246         * sysdeps/generic/libc-lock.h: ...here.
7247         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
7248         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
7249         * sysdeps/mach/hurd/libc-lock.h: ...here.
7250         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
7251         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
7252         * sysdeps/mach/bits/libc-lock.h: Move to ...
7253         * sysdeps/mach/libc-lock.h: ...here.
7254         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
7255         * sysdeps/nptl/bits/libc-lock.h: Move to ...
7256         * sysdeps/nptl/libc-lock.h: ...here.
7257         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
7258         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
7259         * sysdeps/nptl/libc-lockP.h: ...here.
7260         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
7261         * crypt/crypt_util.c: Include <libc-lock.h> instead of
7262         <bits/libc-lock.h>.
7263         * dirent/scandir-tail.c: Likewise.
7264         * dlfcn/dlerror.c: Likewise.
7265         * elf/dl-close.c: Likewise.
7266         * elf/dl-iteratephdr.c: Likewise.
7267         * elf/dl-lookup.c: Likewise.
7268         * elf/dl-open.c: Likewise.
7269         * elf/dl-support.c: Likewise.
7270         * elf/dl-writev.h: Likewise.
7271         * elf/rtld.c: Likewise.
7272         * grp/fgetgrent.c: Likewise.
7273         * gshadow/fgetsgent.c: Likewise.
7274         * gshadow/sgetsgent.c: Likewise.
7275         * iconv/gconv_conf.c: Likewise.
7276         * iconv/gconv_db.c: Likewise.
7277         * iconv/gconv_dl.c: Likewise.
7278         * iconv/gconv_int.h: Likewise.
7279         * iconv/gconv_trans.c: Likewise.
7280         * include/link.h: Likewise.
7281         * inet/getnameinfo.c: Likewise.
7282         * inet/getnetgrent.c: Likewise.
7283         * inet/getnetgrent_r.c: Likewise.
7284         * intl/bindtextdom.c: Likewise.
7285         * intl/dcigettext.c: Likewise.
7286         * intl/finddomain.c: Likewise.
7287         * intl/gettextP.h: Likewise.
7288         * intl/loadmsgcat.c: Likewise.
7289         * intl/localealias.c: Likewise.
7290         * intl/textdomain.c: Likewise.
7291         * libidn/idn-stub.c: Likewise.
7292         * libio/libioP.h: Likewise.
7293         * locale/duplocale.c: Likewise.
7294         * locale/freelocale.c: Likewise.
7295         * locale/newlocale.c: Likewise.
7296         * locale/setlocale.c: Likewise.
7297         * login/getutent_r.c: Likewise.
7298         * login/getutid_r.c: Likewise.
7299         * login/getutline_r.c: Likewise.
7300         * login/utmp-private.h: Likewise.
7301         * login/utmpname.c: Likewise.
7302         * malloc/mtrace.c: Likewise.
7303         * misc/efgcvt.c: Likewise.
7304         * misc/error.c: Likewise.
7305         * misc/fstab.c: Likewise.
7306         * misc/getpass.c: Likewise.
7307         * misc/mntent.c: Likewise.
7308         * misc/syslog.c: Likewise.
7309         * nis/nis_call.c: Likewise.
7310         * nis/nis_callback.c: Likewise.
7311         * nis/nss-default.c: Likewise.
7312         * nis/nss_compat/compat-grp.c: Likewise.
7313         * nis/nss_compat/compat-initgroups.c: Likewise.
7314         * nis/nss_compat/compat-pwd.c: Likewise.
7315         * nis/nss_compat/compat-spwd.c: Likewise.
7316         * nis/nss_nis/nis-alias.c: Likewise.
7317         * nis/nss_nis/nis-ethers.c: Likewise.
7318         * nis/nss_nis/nis-grp.c: Likewise.
7319         * nis/nss_nis/nis-hosts.c: Likewise.
7320         * nis/nss_nis/nis-network.c: Likewise.
7321         * nis/nss_nis/nis-proto.c: Likewise.
7322         * nis/nss_nis/nis-pwd.c: Likewise.
7323         * nis/nss_nis/nis-rpc.c: Likewise.
7324         * nis/nss_nis/nis-service.c: Likewise.
7325         * nis/nss_nis/nis-spwd.c: Likewise.
7326         * nis/nss_nisplus/nisplus-alias.c: Likewise.
7327         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
7328         * nis/nss_nisplus/nisplus-grp.c: Likewise.
7329         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
7330         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
7331         * nis/nss_nisplus/nisplus-network.c: Likewise.
7332         * nis/nss_nisplus/nisplus-proto.c: Likewise.
7333         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
7334         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
7335         * nis/nss_nisplus/nisplus-service.c: Likewise.
7336         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
7337         * nis/ypclnt.c: Likewise.
7338         * nptl/libc_pthread_init.c: Likewise.
7339         * nss/getXXbyYY.c: Likewise.
7340         * nss/getXXent.c: Likewise.
7341         * nss/getXXent_r.c: Likewise.
7342         * nss/nss_db/db-XXX.c: Likewise.
7343         * nss/nss_db/db-netgrp.c: Likewise.
7344         * nss/nss_db/nss_db.h: Likewise.
7345         * nss/nss_files/files-XXX.c: Likewise.
7346         * nss/nss_files/files-alias.c: Likewise.
7347         * nss/nsswitch.c: Likewise.
7348         * posix/regex_internal.h: Likewise.
7349         * posix/wordexp.c: Likewise.
7350         * pwd/fgetpwent.c: Likewise.
7351         * resolv/res_hconf.c: Likewise.
7352         * resolv/res_libc.c: Likewise.
7353         * shadow/fgetspent.c: Likewise.
7354         * shadow/lckpwdf.c: Likewise.
7355         * shadow/sgetspent.c: Likewise.
7356         * socket/opensock.c: Likewise.
7357         * stdio-common/reg-modifier.c: Likewise.
7358         * stdio-common/reg-printf.c: Likewise.
7359         * stdio-common/reg-type.c: Likewise.
7360         * stdio-common/vfprintf.c: Likewise.
7361         * stdio-common/vfscanf.c: Likewise.
7362         * stdlib/abort.c: Likewise.
7363         * stdlib/cxa_atexit.c: Likewise.
7364         * stdlib/fmtmsg.c: Likewise.
7365         * stdlib/random.c: Likewise.
7366         * stdlib/setenv.c: Likewise.
7367         * string/strsignal.c: Likewise.
7368         * sunrpc/auth_none.c: Likewise.
7369         * sunrpc/bindrsvprt.c: Likewise.
7370         * sunrpc/create_xid.c: Likewise.
7371         * sunrpc/key_call.c: Likewise.
7372         * sunrpc/rpc_thread.c: Likewise.
7373         * sysdeps/arm/backtrace.c: Likewise.
7374         * sysdeps/generic/ldsodefs.h: Likewise.
7375         * sysdeps/generic/stdio-lock.h: Likewise.
7376         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
7377         * sysdeps/i386/backtrace.c: Likewise.
7378         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
7379         * sysdeps/m68k/backtrace.c: Likewise.
7380         * sysdeps/mach/hurd/cthreads.c: Likewise.
7381         * sysdeps/mach/hurd/dirstream.h: Likewise.
7382         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
7383         * sysdeps/nptl/malloc-machine.h: Likewise.
7384         * sysdeps/nptl/stdio-lock.h: Likewise.
7385         * sysdeps/posix/dirstream.h: Likewise.
7386         * sysdeps/posix/getaddrinfo.c: Likewise.
7387         * sysdeps/posix/system.c: Likewise.
7388         * sysdeps/pthread/aio_suspend.c: Likewise.
7389         * sysdeps/s390/s390-32/backtrace.c: Likewise.
7390         * sysdeps/s390/s390-64/backtrace.c: Likewise.
7391         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
7392         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
7393         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
7394         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
7395         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
7396         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
7397         * sysdeps/unix/sysv/linux/system.c: Likewise.
7398         * sysdeps/x86_64/backtrace.c: Likewise.
7399         * time/alt_digit.c: Likewise.
7400         * time/era.c: Likewise.
7401         * time/tzset.c: Likewise.
7402         * wcsmbs/wcsmbsload.c: Likewise.
7403         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
7404         instead of <bits/libc-lock.h> in comment.
7406 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
7408         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
7409         Only use .set mips2 if the current ISA is below mips2.
7410         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
7411         Likewise.
7412         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
7413         mips32r2 if the current ISA is below mips32r2.
7414         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
7415         (TLS_IE): Updated to use the TLD_RDHWR macro.
7416         (TLS_LE): Likewise.
7417         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
7418         __ASSEMBLER__ condition.
7420 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7422         Fix parallel build of before-compile targets.
7424         * sysdeps/mach/Makefile ($(patsubst
7425         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
7426         mach-before-compile target.
7427         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
7428         io fs process)): Move rule to dedicated hurd-before-compile target.
7430 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7432         Fix rules generating headers in hurd/ and mach/ when initial make call
7433         has subdir= explicitly set.
7435         * sysdeps/mach/Makefile ($(patsubst
7436         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
7437         calling $(MAKE).
7438         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
7439         io fs process)): Force subdir to hurd when calling $(MAKE).
7440         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
7441         subdir to mach when calling $(MAKE).
7443 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
7445         Check sysheaders when looking for Mach and Hurd headers
7447         * sysdeps/mach/configure.ac: Add sysheaders check.
7448         * sysdeps/mach/configure: Regenerate.
7449         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
7450         * sysdeps/mach/hurd/configure: Regenerate.
7452 2015-09-04  Roland McGrath  <roland@hack.frob.com>
7454         [BZ #18921]
7455         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
7456         Fix inverted sense of test of 'o_directory_works' value.
7457         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
7458         Bernhard Voelker <mail@bernhard-voelker.de>.
7460 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
7462         [BZ #14912]
7463         * bits/linkmap.h: Move to ...
7464         * sysdeps/generic/linkmap.h: ...here.
7465         * sysdeps/aarch64/bits/linkmap.h: Move to ...
7466         * sysdeps/aarch64/linkmap.h: ...here.
7467         * sysdeps/arm/bits/linkmap.h: Move to ...
7468         * sysdeps/arm/linkmap.h: ...here.
7469         * sysdeps/hppa/bits/linkmap.h: Move to ...
7470         * sysdeps/hppa/linkmap.h: ...here.
7471         * sysdeps/ia64/bits/linkmap.h: Move to ...
7472         * sysdeps/ia64/linkmap.h: ...here.
7473         * sysdeps/mips/bits/linkmap.h: Move to ...
7474         * sysdeps/mips/linkmap.h: ...here.
7475         * sysdeps/s390/bits/linkmap.h: Move to ...
7476         * sysdeps/s390/linkmap.h: ...here.
7477         * sysdeps/sh/bits/linkmap.h: Move to ...
7478         * sysdeps/sh/linkmap.h: ...here.
7479         * sysdeps/x86/bits/linkmap.h: Move to ...
7480         * sysdeps/x86/linkmap.h: ...here.
7481         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
7483 2015-09-04  Andreas Schwab  <schwab@suse.de>
7485         [BZ #18635]
7486         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
7487         (__makecontext): Terminate FDE before return label.
7488         (__novec_makecontext): Likewise.
7490 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7492         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
7493         first member of struct sv in syscall macro.
7495 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
7497         [BZ #14912]
7498         * bits/stdio-lock.h: Move to ...
7499         * sysdeps/generic/stdio-lock.h: ...here.
7500         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
7501         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
7502         * sysdeps/nptl/stdio-lock.h: ...here.
7503         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
7504         * include/libio.h: Include <stdio-lock.h> instead of
7505         <bits/stdio-lock.h>.
7506         * sysdeps/nptl/fork.c: Likewise.
7507         * sysdeps/pthread/flockfile.c: Likewise.
7508         * sysdeps/pthread/ftrylockfile.c: Likewise.
7509         * sysdeps/pthread/funlockfile.c: Likewise.
7511         [BZ #14912]
7512         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
7513         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
7514         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
7515         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
7516         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
7517         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
7518         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
7520 2015-09-03  Roland McGrath  <roland@hack.frob.com>
7522         * elf/Makefile (test-xfail-tst-protected1a): New variable.
7523         (test-xfail-tst-protected1b): New variable.
7525 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
7527         [BZ #14912]
7528         * bits/libc-tsd.h: Move to ...
7529         * sysdeps/generic/libc-tsd.h: ...here.
7530         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
7531         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
7532         * sysdeps/mach/hurd/libc-tsd.h: ...here.
7533         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
7534         * include/ctype.h: Include <libc-tsd.h> instead of
7535         <bits/libc-tsd.h>.
7536         * include/rpc/rpc.h: Likewise.
7537         * locale/localeinfo.h: Likewise.
7538         * sunrpc/rpc_thread.c: Likewise.
7539         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
7540         * sysdeps/nptl/malloc-machine.h: Likewise.
7542         * Makefile (headers): Remove bits/libc-lock.h.
7543         * libio/Makefile (headers): Remove bits/stdio-lock.h.
7545         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
7546         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
7547         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
7548         <bits/stdio-lock.h>.
7549         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
7550         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
7552 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
7554         [BZ #18757]
7555         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
7556         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
7557         BZ #18757.
7559 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
7561         * malloc/mtrace.pl: Filter out NULL entries.
7563 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
7565         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
7566         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
7567         macro.
7569         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
7570         (TCP_CC_INFO): Likewise.
7571         (TCP_SAVE_SYN): Likewise.
7572         (TCP_SAVED_SYN): Likewise.
7574 2015-08-31  Brett Neumeier <brett@neumeier.us>
7576         [BZ #18870]
7577         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
7579 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
7581         [BZ #18873]
7582         Fix broken overflow check in posix_fallocate
7583         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
7584         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
7585         Fix parenthesization typo.
7587 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
7589         [BZ #18887]
7590         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
7591         tst-mntent-blank-passno.
7592         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
7593         * misc/tst-mntent-blank-corrupt.c: New test.
7594         * misc/tst-mntent-blank-passno.c: New test ripped from ...
7595         * misc/tst-mntent.c (do_test): ... here.
7597 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
7599         [BZ #4404]
7600         * po/de.po: Fix SIGALRM typo.
7602 2015-08-28  James Perkins  <james@loowit.net>
7604         * time/tst-strptime2.c (tests): Replace short list of test
7605         strings for strptime %z specifier with code which exhaustively
7606         tests every combination of sign and 0 to 5 digits. Tests for
7607         rejection of invalid strings.
7609 2015-08-28  James Perkins  <james@loowit.net>
7611         [BZ #16141]
7612         * time/strptime_l.c (__strptime_internal): Fix %z minutes
7613         calculation, removing incorrect decimal time rounding, so that
7614         all minute values result in a valid seconds value.
7615         * time/strptime_l.c (__strptime_internal): Extend %z time zone
7616         offset range limits to UTC-99:59 through UTC+99:59 to parse
7617         current and historical use cases.
7618         * time/tst-strptime2.c (tests): Modify and add tests for the
7619         strptime %z input field descriptor, specifically conversion of
7620         minutes to seconds and validating an offset range of -9959 to
7621         +9959.
7623 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7624             Dmitry V. Levin  <ldv@altlinux.org>
7626         [BZ #18877]
7627         * posix/Makefile (tests): Add tst-mmap-offset.
7628         * posix/tst-mmap.c: New file.
7629         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
7630         offset calculation for negative values.
7632 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
7634         * sysdeps/i386/init-arch.h: New file.
7635         * sysdeps/i386/i586/init-arch.h: Likewise.
7636         * sysdeps/i386/i686/init-arch.h: Likewise.
7637         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
7638         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
7639         * sysdeps/x86/cpu-features.h (bit_I586): New.
7640         (bit_I686): Likewise.
7641         (bit_CX8): Likewise.
7642         (bit_CMOV): Likewise.
7643         (index_CX8): Likewise.
7644         (index_CMOV): Likewise.
7645         (index_I586): Likewise.
7646         (index_I686): Likewise.
7647         (reg_CX8): Likewise.
7648         (reg_CMOV): Likewise.
7649         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
7650         available at compile-time.
7651         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
7652         available at compile-time.
7653         * sysdeps/x86/init-arch.h (USE_I586): New macro.
7654         (USE_I686): Likewise.
7656 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
7658         * sysdeps/i386/bcopy.S: New file.
7659         * sysdeps/i386/bzero.S: Likewise.
7660         * sysdeps/i386/memcpy.S: Likewise.
7661         * sysdeps/i386/memmove.S: Likewise.
7662         * sysdeps/i386/mempcpy.S: Likewise.
7663         * sysdeps/i386/memset.S: Likewise.
7664         * sysdeps/i386/bzero.c: Removed.
7665         * sysdeps/i386/memset.c: Likewise.
7666         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
7667         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
7668         * sysdeps/i386/i586/memset_chk.S: Likewise.
7669         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
7670         * sysdeps/i386/memcpy_chk.S: Here.
7671         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
7672         * sysdeps/i386/memmove_chk.S: Here.
7673         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
7674         * sysdeps/i386/mempcpy_chk.S: Likewise.
7675         * sysdeps/i386/i686/memset_chk.S: Moved to ...
7676         * sysdeps/i386/memset_chk.S: Likewise.
7678 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
7680         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
7681         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
7682         file, move DIAG_POP_NEEDS_COMMENT to end of file.
7683         * soft-fp/fmadf4.c: Ditto.
7684         * soft-fp/fmatf4.c: Ditto.
7686 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
7688         * sysdeps/i386/i586/Implies: Removed.
7689         * sysdeps/i386/i686/Implies: Likewise.
7691 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
7693         * sysdeps/i386/i486/strlen.S: Moved to ...
7694         * sysdeps/i386/strlen.S: Here.
7696 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
7698         * sysdeps/i386/i486/strcat.S: Moved to ...
7699         * sysdeps/i386/strcat.S: Here.
7701 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
7703         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
7704         * sysdeps/i386/pthread_spin_trylock.S: Here.
7705         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
7706         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
7708 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
7710         * sysdeps/i386/i486/string-inlines.c: Moved to ...
7711         * sysdeps/i386/string-inlines.c: Here.
7713 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
7715         * sysdeps/i386/i486/htonl.S: Moved ...
7716         * sysdeps/i386/htonl.S: here.
7718 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
7720         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
7721         * sysdeps/i386/bits/atomic.h: Here.
7723 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
7725         * sysdeps/i386/i486/Versions: Removed.
7727 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
7729         [BZ #2898]
7730         * misc/mktemp.c: Add mkdtemp to the link_warning message.
7731         Based on patch by Aurelien Jarno.
7733 2015-08-26  Stan Shebs  <stanshebs@google.com>
7735         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
7736         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
7738 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7740         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
7741         * sysdeps/powerpc/dl-procinfo.c:
7742         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
7743         feature so it shows when LD_SHOW_AUXV=1.
7745 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7747         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
7748         (__arch_compare_and_exchange_val_32_acq): Remove and use common
7749         definition.  ISA 2.07B no longer requires full sync.
7751 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
7753         [BZ #18863]
7754         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
7755         (si_call_addr): Define.
7756         (si_syscall): Define.
7757         (si_arch): Define.
7759 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
7761         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
7762         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
7763         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
7764         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
7765         (__memset_zero_constant_len_parameter): New.
7766         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
7767         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
7768         (__memset_zero_constant_len_parameter): Don't define if
7769         __memset_chk or USE_AS_BZERO are defined.
7771         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
7772         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
7773         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
7775         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
7776         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
7777         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
7778         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
7779         comments.
7780         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
7781         -mno-mmx for $(all-rtld-routines).
7782         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
7783         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
7784         i386.
7786 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
7788         * sysdeps/generic/unwind.h
7789         (_Unwind_Word): Use __mode__(__unwind_word__)
7790         instead of __mode__(__word__).
7791         (_Unwind_Sword): Likewise.
7793         * sysdeps/s390/s390-64/utf8-utf16-z9.c
7794         (MAX_NEEDED_INPUT): New define.
7795         (MAX_NEEDED_OUTPUT): New define.
7797         * NEWS: New item for IBM z13 string optimizations.
7799         * sysdeps/s390/multiarch/memrchr-c.c: New File.
7800         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
7801         * sysdeps/s390/multiarch/memrchr.c: Likewise.
7802         * sysdeps/s390/multiarch/Makefile
7803         (sysdep_routines): Add memrchr functions.
7804         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
7805         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
7807         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
7808         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
7809         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
7810         * sysdeps/s390/multiarch/Makefile
7811         (sysdep_routines): Add wmemcmp functions.
7812         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
7813         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
7814         * benchtests/bench-wmemcmp.c: New File.
7815         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
7817         * sysdeps/s390/multiarch/wmemset-c.c: New File.
7818         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
7819         * sysdeps/s390/multiarch/wmemset.c: Likewise.
7820         * sysdeps/s390/multiarch/Makefile
7821         (sysdep_routines): Add wmemset functions.
7822         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
7823         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
7824         * wcsmbs/wmemset.c: Use WMEMSET if defined.
7825         * string/test-memset.c: Add wmemset support.
7826         * wcsmbs/test-wmemset.c: New File.
7827         * wcsmbs/Makefile (strop-tests): Add wmemset.
7828         * benchtests/bench-memset.c: Add wmemset support.
7829         * benchtests/bench-wmemset.c: New File.
7830         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
7832         * sysdeps/s390/multiarch/memccpy-c.c: New File.
7833         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
7834         * sysdeps/s390/multiarch/memccpy.c: Likewise.
7835         * sysdeps/s390/multiarch/Makefile
7836         (sysdep_routines): Add memccpy functions.
7837         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
7838         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
7839         * string/memccpy.c: Use MEMCCPY if defined.
7841         * sysdeps/s390/multiarch/memchr-vx.S: New File.
7842         * sysdeps/s390/multiarch/memchr.c: Likewise.
7843         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
7844         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
7845         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
7846         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
7847         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
7848         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
7849         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
7850         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
7851         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
7852         and rawmemchr functions.
7853         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
7854         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
7855         and wmemchr.
7856         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
7857         * string/test-memchr.c: Add wmemchr support.
7858         * wcsmbs/test-wmemchr.c: New File.
7859         * wcsmbs/Makefile (strop-tests): Add wmemchr.
7860         * benchtests/bench-memchr.c: Add wmemchr support.
7861         * benchtests/bench-wmemchr.c: New File.
7862         * benchtests/Makefile (wcsmbs-bench): wmemchr.
7864         * sysdeps/s390/multiarch/strcspn-c.c: New File.
7865         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
7866         * sysdeps/s390/multiarch/strcspn.c: Likewise.
7867         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
7868         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
7869         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
7870         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
7871         wcscspn functions.
7872         * sysdeps/s390/multiarch/ifunc-impl-list.c
7873         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
7874         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
7875         * string/test-strcspn.c: Add wcscspn support.
7876         * wcsmbs/test-wcscspn.c: New File.
7877         * wcsmbs/Makefile (strop-tests): Add wcscspn.
7878         * benchtests/bench-strcspn.c: Add wcscspn support.
7879         * benchtests/bench-wcscspn.c: New File.
7880         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
7882         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
7883         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
7884         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
7885         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
7886         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
7887         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
7888         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
7889         wcspbrk functions.
7890         * sysdeps/s390/multiarch/ifunc-impl-list.c
7891         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
7892         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
7893         * string/test-strpbrk.c: Add wcspbrk support.
7894         * wcsmbs/test-wcspbrk.c: New File.
7895         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
7896         * benchtests/bench-strpbrk.c: Add wcspbrk support.
7897         * benchtests/bench-wcspbrk.c: New File.
7898         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
7900         * sysdeps/s390/multiarch/strspn-c.c: New File.
7901         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
7902         * sysdeps/s390/multiarch/strspn.c: Likewise.
7903         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
7904         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
7905         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
7906         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
7907         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
7908         wcsspn functions.
7909         * sysdeps/s390/multiarch/ifunc-impl-list.c
7910         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
7911         * string/test-strspn.c: Add wcsspn support.
7912         * wcsmbs/test-wcsspn.c: New File.
7913         * wcsmbs/Makefile (strop-tests): Add wcsspn.
7914         * benchtests/bench-strspn.c: Add wcsspn support.
7915         * benchtests/bench-wcsspn.c: New File.
7916         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
7918         * sysdeps/s390/multiarch/strrchr-c.c: New File.
7919         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
7920         * sysdeps/s390/multiarch/strrchr.c: Likewise.
7921         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
7922         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
7923         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
7924         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
7925         wcsrchr functions.
7926         * sysdeps/s390/multiarch/ifunc-impl-list.c
7927         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
7928         * benchtests/bench-wcsrchr.c: New File.
7929         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
7931         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
7932         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
7933         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
7934         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
7935         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
7936         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
7937         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
7938         wcschrnul functions.
7939         * sysdeps/s390/multiarch/ifunc-impl-list.c
7940         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
7941         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
7942         * string/test-strchr.c: Add wcschrnul support.
7943         * wcsmbs/test-wcschrnul.c: New File.
7944         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
7945         * benchtests/bench-strchr.c: Add wcschrnul support.
7946         * benchtests/bench-wcschrnul.c: New File.
7947         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
7949         * sysdeps/s390/multiarch/strchr-c.c: New File.
7950         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
7951         * sysdeps/s390/multiarch/strchr.c: Likewise.
7952         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
7953         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
7954         * sysdeps/s390/multiarch/wcschr.c: Likewise.
7955         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
7956         wcschr functions.
7957         * sysdeps/s390/multiarch/ifunc-impl-list.c
7958         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
7959         * string/strchr.c (STRCHR): Define and use macro.
7960         * benchtests/bench-wcschr.c: New File.
7961         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
7963         * sysdeps/s390/multiarch/strncmp-c.c: New File.
7964         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
7965         * sysdeps/s390/multiarch/strncmp.c: Likewise.
7966         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
7967         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
7968         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
7969         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
7970         wcsncmp functions.
7971         * sysdeps/s390/multiarch/ifunc-impl-list.c
7972         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
7973         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
7974         * benchtests/bench-strncmp.c: Add wcsncmp support.
7975         * benchtests/bench-wcsncmp.c: New File.
7976         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
7978         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
7979         * sysdeps/s390/multiarch/strcmp.c: Likewise.
7980         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
7981         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
7982         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
7983         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
7984         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
7985         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
7986         wcscmp functions.
7987         * sysdeps/s390/multiarch/ifunc-impl-list.c
7988         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
7989         * string/strcmp.c (STRCMP): Define and use macro.
7990         * benchtests/bench-wcscmp.c: New File.
7991         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
7992         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
7993         instead of _HAVE_STRING_ARCH_memchr.
7995         * sysdeps/s390/multiarch/strncat-c.c: New File.
7996         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
7997         * sysdeps/s390/multiarch/strncat.c: Likewise.
7998         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
7999         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
8000         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
8001         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
8002         wcsncat functions.
8003         * sysdeps/s390/multiarch/ifunc-impl-list.c
8004         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
8005         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
8006         * string/test-strncat.c: Add wcsncat support.
8007         * wcsmbs/test-wcsncat.c: New File.
8008         * wcsmbs/Makefile (strop-tests): Add wcsncat.
8009         * benchtests/bench-strncat.c: Add wcsncat support.
8010         * benchtests/bench-wcsncat.c: New File.
8011         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
8013         * sysdeps/s390/multiarch/strcat-c.c: New File.
8014         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
8015         * sysdeps/s390/multiarch/strcat.c: Likewise.
8016         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
8017         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
8018         * sysdeps/s390/multiarch/wcscat.c: Likewise.
8019         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
8020         wcscat functions.
8021         * sysdeps/s390/multiarch/ifunc-impl-list.c
8022         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
8023         * string/strcat.c (STRCAT): Define and use macro.
8024         * wcsmbs/wcscat.c: Use WCSCAT if defined.
8025         * string/test-strcat.c: Add wcscat support.
8026         * wcsmbs/test-wcscat.c: New File.
8027         * wcsmbs/Makefile (strop-tests): Add wcscat.
8028         * benchtests/bench-strcat.c: Add wcscat support.
8029         * benchtests/bench-wcscat.c: New File.
8030         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
8032         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
8033         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
8034         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
8035         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
8036         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
8037         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
8038         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
8039         wcpncpy functions.
8040         * sysdeps/s390/multiarch/ifunc-impl-list.c
8041         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
8042         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
8043         * string/test-stpncpy.c: Add wcpncpy support.
8044         * wcsmbs/test-wcpncpy.c: New File.
8045         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
8046         * benchtests/bench-stpncpy.c: Add wcpncpy support.
8047         * benchtests/bench-wcpncpy.c: New File.
8048         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
8050         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
8051         * sysdeps/s390/multiarch/strncpy.c: Likewise.
8052         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
8053         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
8054         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
8055         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
8056         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
8057         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
8058         wcsncpy functions.
8059         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
8060         * sysdeps/s390/multiarch/ifunc-impl-list.c
8061         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
8062         * string/test-strncpy.c: Add wcsncpy support.
8063         * wcsmbs/test-wcsncpy.c: New File.
8064         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
8065         * benchtests/bench-strncpy.c: Add wcsncpy support.
8066         * benchtests/bench-wcsncpy.c: New File.
8067         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
8069         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
8070         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
8071         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
8072         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
8073         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
8074         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
8075         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
8076         wcpcpy functions.
8077         * string/stpcpy.c: Use STPCPY if defined.
8078         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
8079         * sysdeps/s390/multiarch/ifunc-impl-list.c
8080         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
8081         * string/test-stpcpy.c: Add wcpcpy support.
8082         * wcsmbs/test-wcpcpy.c: New File.
8083         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
8084         * benchtests/bench-stpcpy.c: Add wcpcpy support.
8085         * benchtests/bench-wcpcpy.c: New File.
8086         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
8088         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
8089         * sysdeps/s390/multiarch/strcpy.c: Likewise.
8090         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
8091         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
8092         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
8093         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
8094         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
8095         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
8096         wcscpy functions.
8097         * sysdeps/s390/multiarch/ifunc-impl-list.c
8098         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
8099         * benchtests/bench-wcscpy.c: New File.
8100         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
8102         * sysdeps/s390/multiarch/strnlen-c.c: New File.
8103         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
8104         * sysdeps/s390/multiarch/strnlen.c: Likewise.
8105         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
8106         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
8107         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
8108         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
8109         wcsnlen functions.
8110         * sysdeps/s390/multiarch/ifunc-impl-list.c
8111         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
8112         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
8113         * string/test-strnlen.c: Add wcsnlen support.
8114         * wcsmbs/test-wcsnlen.c: New File.
8115         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
8116         * benchtests/bench-strnlen.c: Add wcsnlen support.
8117         * benchtests/bench-wcsnlen.c: New File.
8118         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
8120         * sysdeps/s390/multiarch/Makefile: New File.
8121         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
8122         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
8123         * sysdeps/s390/multiarch/strlen.c: Likewise.
8124         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
8125         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
8126         * sysdeps/s390/multiarch/wcslen.c: Likewise.
8127         * string/strlen.c (STRLEN): Define and use macro.
8128         * sysdeps/s390/multiarch/ifunc-impl-list.c
8129         (IFUNC_VX_IMPL): New macro function.
8130         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
8131         * benchtests/Makefile (wcsmbs-bench): New variable.
8132         (string-bench-all): Added wcsmbs-bench.
8133         * benchtests/bench-wcslen.c: New File.
8135         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
8136         s390_vx_libc_ifunc2): New macro function.
8138         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
8139         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
8140         assembler support.
8141         * sysdeps/s390/configure: Regenerated.
8143         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
8144         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
8146         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
8147         * sysdeps/s390/dl-procinfo.h: Add vector capability.
8148         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
8150         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
8151         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
8152         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
8153         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
8154         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
8155         (memcmp, bcmp): Use __memcmp_default as alias source.
8156         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
8157         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
8158         Rename to __memcmp_default.
8159         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
8160         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
8161         (memcpy): Use __memcpy_default as alias source.
8162         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
8163         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
8164         Rename to __memcpy_default.
8165         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
8166         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
8167         (memset): Use __memset_default as alias source.
8168         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
8169         * sysdeps/s390/s390-32/memset.S (__memset_g5):
8170         Rename to __memset_default.
8171         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
8172         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
8173         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
8174         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
8175         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
8176         (memcmp, bcmp): Use __memcmp_default as alias source.
8177         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
8178         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
8179         Rename to __memcmp_default.
8180         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
8181         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
8182         (memcpy): Use __memcpy_default as alias source.
8183         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
8184         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
8185         Rename to __memcpy_default.
8186         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
8187         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
8188         (memset): Use __memset_default as alias source.
8189         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
8190         * sysdeps/s390/s390-64/memset.S (__memset_z900):
8191         Rename to __memset_default.
8192         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
8193         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
8195         [BZ #18610]
8196         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
8197         __ieee_instruction_pointer to __unused.
8198         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
8199         __ieee_instruction_pointer.
8200         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
8201         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
8202         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
8203         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
8204         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
8205         Mark dxc-field as reserved.
8207 2015-08-25  Roland McGrath  <roland@hack.frob.com>
8209         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
8210         if the weak reference is not null.
8212 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
8214         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
8216         [BZ #11214]
8217         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
8219 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8221         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
8222         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
8223         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
8224         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
8225         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
8226         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
8227         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
8228         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
8229         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
8230         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
8231         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
8232         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
8233         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
8234         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
8235         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
8236         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
8237         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
8238         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
8240 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8242         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
8243         register other than r0 for tabort, it has special meaning.
8244         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise
8245         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
8246         transaction before starting syscall.
8248 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8250         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
8252 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
8254         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
8256         * sysdeps/x86_64/rtld-memcmp.c: Removed.
8257         * sysdeps/x86_64/rtld-memset.S: Likewise.
8258         * sysdeps/x86_64/rtld-strchr.S: Likewise.
8259         * sysdeps/x86_64/rtld-strlen.S: Likewise.
8260         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
8261         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
8263         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
8265 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
8267         * debug/strcpy_chk.c: Improve performance.
8268         * debug/stpcpy_chk.c: Likewise.
8269         * sysdeps/x86_64/strcpy_chk.S: Remove.
8270         * sysdeps/x86_64/stpcpy_chk.S: Remove.
8272         [BZ #18240]
8273         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
8275 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
8277         [BZ #15128]
8278         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
8279         ifuncmain8.
8280         (modules-names): Add ifuncmod8.
8281         ($(objpfx)ifuncmain8): New rule.
8282         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
8283         <cpuid.h>.
8284         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
8285         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
8286         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
8287         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
8288         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
8289         * sysdeps/x86_64/dl-trampoline.h: Likewise.
8290         * sysdeps/x86_64/ifuncmain8.c: New file.
8291         * sysdeps/x86_64/ifuncmod8.c: Likewise.
8292         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
8293         Removed.
8294         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
8295         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
8296         Change rtld_savespace_sse to __glibc_unused2.
8297         (RTLD_CHECK_FOREIGN_CALL): Removed.
8298         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
8299         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
8300         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
8302 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
8304         * sysdeps/aarch64/bzero.S (__bzero): Remove.
8306 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
8308         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
8309         Unconditionally set __fpcr to avoid uninialized warning.
8310         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
8312 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
8314         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
8315         is corrupt.
8317         * malloc/arena.c (arena_get2): Drop unused argument.
8318         (arena_lock): Adjust.
8319         (arena_get_retry): Likewise.
8321 2015-08-24  Andreas Schwab  <schwab@suse.de>
8323         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
8324         Don't define.
8325         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
8326         (__ASSUME_IPC64): Don't undef.
8327         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
8328         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
8329         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
8330         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
8331         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
8332         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
8333         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
8334         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
8335         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
8336         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
8337         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
8338         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
8339         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
8340         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
8341         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
8342         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
8343         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
8344         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
8345         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
8346         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
8347         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
8349 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
8351         * manual/Makefile (install): Only build manual when perl is available.
8353 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8355         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
8356         '#undef memcpy' by '#undef memchr'.
8358 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8360         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
8361         memchr not point to the internal __GI_memchr implementation.
8363 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
8365         * timezone/Makefile (CFLAGS-zdump.c): Remove
8366         -Wno-strict-prototypes.
8367         (CFLAGS-zic.c): Likewise.
8368         (CFLAGS-ialloc.c): Likewise.
8369         (CFLAGS-scheck.c): Likewise.
8371         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
8372         -Wno-error=undef.
8374 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
8376         * i386/i686/multiarch/strcasestr-c.c: Removed.
8377         * x86_64/multiarch/strcasestr.c: Likewise.
8378         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8379         Remove strcasestr.
8381 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
8383         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
8385         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
8386         variables for high and low parts before possibly modifying them.
8388 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
8390         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
8391         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
8392         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
8393         of "multiarch/init-arch.h".
8394         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
8395         * sysdeps/x86/init-arch.h: This.
8397 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
8399         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
8400         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
8402 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
8404         [BZ #17787]
8405         * manual/macros.texi: Add twoexp macro.
8406         * manual/filesys.texi: Fix exponents.
8407         * manual/llio.texi: Likewise.
8408         * manual/stdio.texi: Likewise.
8410 2015-08-20  Florian Weimer  <fweimer@redhat.com>
8412         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
8413         incorrect use.
8415 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
8417         [BZ #18370]
8418         * math/s_csqrt.c (__csqrt): Force underflow exception for results
8419         whose real or imaginary part has small absolute value.
8420         * math/s_csqrtf.c (__csqrtf): Likewise.
8421         * math/s_csqrtl.c (__csqrtl): Likewise.
8422         * math/auto-libm-test-in: Add more tests of csqrt.
8423         * math/auto-libm-test-out: Regenerated.
8424         * sysdeps/i386/fpu/libm-test-ulps: Update.
8426 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8428         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
8429         __ppc_set_ppr_very_low): New functions.
8430         * manual/platform.texi: Add documentation about
8431         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
8433 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
8435         * string/stpncpy.c (stpncpy): Improve performance using
8436         __strnlen/memcpy/memset.
8438 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
8440         [BZ #18796]
8441         * scripts/test-installation.pl: Don't add -lmvec to build options if
8442         libmvec wasn't built.
8444 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
8446         [BZ #14341]
8447         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
8448         case when there is a gap between DT_REL and DT_JMPREL sections.
8449         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
8450         (LDFLAGS-tst-split-dynreloc): New.
8451         (tst-split-dynreloc-ENV): Likewise.
8452         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
8453         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
8455 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
8457         [BZ #18822]
8458         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
8459         attribute_hidden.
8460         (__xstat64_conv): Likewise.
8461         (__xstat32_conv): Likewise.
8463 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
8465         [BZ #18822]
8466         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
8467         Don't load %ebx when calling __setcontext.  Call __setcontext
8468         with HIDDEN_JUMPTARGET.
8469         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
8470         libc_hidden_def.
8472 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
8474         * sysdeps/i386/i686/Makefile
8475         [$(subdir) == string] (sysdep_routines): Moved to ...
8476         * sysdeps/i386/Makefile: Here.
8477         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
8478         * sysdeps/i386/cacheinfo.c: Here.
8479         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
8480         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
8481         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
8482         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
8484 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
8486         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
8487         __i586__ is defined.
8488         (HAS_I686): Defined to 1 if __i686__ is defined.
8490 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
8492         * elf/Makefile [$(have-z-execstack) = yes]
8493         (CPPFLAGS-tst-execstack.c): New variable.
8495         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
8496         conditional to [defined UTMPX || _HAVE_UT_TYPE].
8497         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
8498         UTMPX || _HAVE_UT_TV].
8499         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
8500         UTMPX || _HAVE_UT_TV - 0].
8502 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
8504         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
8505         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
8506         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
8508 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8510         * sysdeps/powerpc/dl-procinfo.c:
8511         (_dl_powerpc_cap_flags): Added missing strings for some
8512         hwcap features.
8513         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
8515 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
8517         Port the 0x7efe...feff pattern to GCC 6.
8518         See Steve Ellcey's bug report in:
8519         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
8520         * string/memrchr.c (MEMRCHR):
8521         * string/rawmemchr.c (RAWMEMCHR):
8522         * string/strchr.c (strchr):
8523         * string/strchrnul.c (STRCHRNUL):
8524         Rewrite code to avoid issues with signed shift overflow.
8526 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
8528         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
8529         whether cpuid is available only if HAS_CPUID is 0.
8530         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
8531         (HAS_I586): Likewise.
8532         (HAS_I686): Likewise.
8534 2015-08-18  Zack Weinberg  <zackw@panix.com>
8536         * misc/Versions (libc): Add GLIBC_2.23.
8538 2015-08-18  Alan Modra  <amodra@gmail.com>
8540         [BZ #18421]
8541         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
8542         .Lp__global.
8543         (_start): Load %dp via .Lp__global.
8544         [!SHARED]: Use .section .rodata.
8546 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
8548         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
8549         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
8551 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
8553         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
8554         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
8556 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
8558         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
8559         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
8561 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
8563         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
8564         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
8566 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
8568         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
8569         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
8571 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
8573         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
8574         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
8576 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
8578         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
8580 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
8582         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
8583         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
8584         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
8585         (__ASSUME_LWS_CAS): Delete.
8587 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
8589         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
8590         * sysdeps/hppa/configure: Regenerated.
8591         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
8592         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
8593         * sysdeps/hppa/nptl/tls.h: Likewise.
8595 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
8597         [BZ #18823]
8598         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
8599         for scaling up small arguments.
8600         * math/s_csqrtf.c (__csqrtf): Likewise.
8601         * math/s_csqrtl.c (__csqrtl): Likewise.
8602         * math/auto-libm-test-in: Add more tests of csqrt.
8603         * math/auto-libm-test-out: Regenerated.
8605 2015-08-17  Andreas Schwab  <schwab@suse.de>
8607         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
8608         version set GLIBC_2.19.
8610 2015-08-16  Zack Weinberg  <zackw@panix.com>
8612         [BZ #18681]
8613         * misc/regexp.h: This interface is no longer supported.
8614         Remove all contents, leaving only an #error directive.
8615         * misc/regexp.c (loc1, loc2, locs, step, advance):
8616         Demote to compatibility symbols.
8618 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
8620         [BZ #18084]
8621         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
8622         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
8623         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
8624         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
8625         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
8626         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
8627         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
8628         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
8629         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
8631 2015-08-15  Zack Weinberg  <zackw@panix.com>
8633         [BZ #18795]
8634         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
8635         buffer length is known to be too large, not if it's known to be
8636         small enough.
8637         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
8638         overflow at runtime, involving a length parameter, twice: once
8639         with a compile-time constant length parameter, once without.
8641 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
8643         [BZ #18824]
8644         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
8645         scaling x * y up instead of down.
8646         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8647         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8648         * math/auto-libm-test-in: Add more tests of fma.
8649         * math/auto-libm-test-out: Regenerated.
8651 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
8653         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8655 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
8657         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
8658         unnecessary movq.
8659         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
8660         Likewise.
8662 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
8664         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
8665         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
8666         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
8667         and tgamma.
8668         * math/auto-libm-test-out: Regenerated.
8669         * sysdeps/i386/fpu/libm-test-ulps: Update.
8670         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8672         [BZ #16520]
8673         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
8674         (__tanh): Force underflow exception for arguments with small
8675         absolute value.
8676         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
8677         (__tanhf): Force underflow exception for arguments with small
8678         absolute value.
8679         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
8680         (__tanhl): Force underflow exception for arguments with small
8681         absolute value.
8682         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
8683         (__tanhl): Force underflow exception for arguments with small
8684         absolute value.
8685         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
8686         (__tanhl): Force underflow exception for arguments with small
8687         absolute value.
8688         * math/auto-libm-test-in: Add more tests of tanh.
8689         * math/auto-libm-test-out: Regenerated.
8690         * sysdeps/i386/fpu/libm-test-ulps: Update.
8692 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
8694         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
8695         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
8697 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
8699         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
8700         <cpuid.h>.
8702 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
8704         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
8705         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
8707 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
8709         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
8710         Remove $(objpfx)init-arch.o.
8711         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
8712         init-arch.
8713         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
8714         (INIT_ARCH_EXT): Defined as empty.
8715         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
8716         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
8717         __init_cpu_features call.  Replace HAS_XXX with
8718         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
8719         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
8720         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
8721         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
8722         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
8723         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
8724         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
8725         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
8726         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
8727         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
8728         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
8729         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
8730         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
8731         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
8732         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
8733         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
8734         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
8735         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
8736         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
8737         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
8738         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
8739         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
8740         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
8741         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
8742         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
8743         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
8744         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
8745         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
8746         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
8747         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
8748         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
8749         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
8750         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
8751         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
8752         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
8753         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
8755 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
8757         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
8758         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
8759         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
8760         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
8761         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
8762         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
8763         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
8764         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
8765         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
8766         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
8767         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
8768         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
8769         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
8770         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8771         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8772         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8773         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8774         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8775         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8776         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8777         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8778         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8779         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8780         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8781         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8782         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8783         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8784         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8785         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8786         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8787         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8788         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8789         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8790         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8791         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8792         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8793         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8794         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8795         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8796         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8797         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8798         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8799         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8801 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
8803         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
8804         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
8805         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
8806         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8807         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8808         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
8809         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8810         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
8811         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
8812         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8813         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
8814         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
8815         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
8816         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
8817         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
8818         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
8819         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
8820         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
8821         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
8822         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
8823         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
8824         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
8825         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
8826         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
8827         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
8828         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
8829         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
8830         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
8831         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
8832         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
8833         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
8834         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
8835         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
8836         * sysdeps/x86_64/multiarch/memset.S: Likewise.
8837         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8838         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
8839         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
8840         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
8841         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
8842         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
8843         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
8844         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
8845         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
8847 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
8849         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
8850         (dl_platform_init): Call init_cpu_features.
8851         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
8852         * sysdeps/i386/i686/cacheinfo.c
8853         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
8854         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
8855         * sysdeps/i386/i686/multiarch/Versions: Removed.
8856         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
8857         Removed.
8858         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
8859         * sysdeps/unix/sysv/linux/x86/Makefile
8860         (libpthread-sysdep_routines): Remove init-arch.
8861         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
8862         <sysdeps/x86_64/dl-procinfo.c> instead of
8863         sysdeps/generic/dl-procinfo.c>.
8864         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
8865         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
8866         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
8867         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
8868         [$(subdir) == elf] (tests-static): Add
8869         tst-get-cpu-features-static.
8870         * sysdeps/x86/Versions: New file.
8871         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
8872         * sysdeps/x86/cpu-features.c: Likewise.
8873         * sysdeps/x86/cpu-features.h: Likewise.
8874         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
8875         * sysdeps/x86/libc-start.c: Likewise.
8876         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
8877         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
8878         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
8879         * sysdeps/x86_64/dl-procinfo.c: Likewise.
8880         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
8881         Assume USE_MULTIARCH is defined and don't check it.
8882         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
8883         (is_amd): Likewise.
8884         (max_cpuid): Likewise.
8885         (intel_check_word): Likewise.
8886         (__cache_sysconf): Don't call __init_cpu_features.
8887         (__x86_preferred_memory_instruction): Removed.
8888         (init_cacheinfo): Don't call __init_cpu_features. Replace
8889         __cpu_features with GLRO(dl_x86_cpu_features).
8890         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
8891         (dl_platform_init): Call init_cpu_features.
8892         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
8893         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
8894         * sysdeps/x86_64/multiarch/Versions: Removed.
8895         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
8896         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
8897         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
8898         Removed.
8899         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
8901 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
8903         [BZ #18820]
8904         * libio/Makefile (test-fmemopen-mem): New test.
8905         * libio/test-fmemopen.c (do_bz18820): New test.
8906         * libio/fmemopen.c (__fmemopen): Fix memory leak.
8907         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
8909 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
8911         [BZ #16734]
8912         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
8913         (FREE_BUF): Delete.
8914         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
8915         * libio/genops.c (_IO_setb): Use malloc and free directly.
8916         (_IO_default_doallocate, _IO_default_finish): Likewise.
8917         ( _IO_unbuffer_all): Likewise.
8918         ( libc_freeres_fn): Likewise.
8919         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
8920         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
8921         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
8922         (_IO_wdefault_doallocate): Likewise.
8924 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
8926         [BZ #18086]
8927         * sysdeps/posix/nice.c (nice): Restore old errno.
8928         * posix/tst-nice.c (do_test): Add test for BZ #18086.
8930 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
8932         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
8934 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8936         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
8937         __bcopy and add a weak_alias to bcopy.
8938         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
8939         for static build.
8941         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
8942         cleanup macro usage.
8943         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
8944         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
8945         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
8946         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
8947         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
8948         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
8949         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
8950         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
8951         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
8952         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
8953         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
8954         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
8955         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
8956         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
8957         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
8958         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
8959         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
8960         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
8961         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
8963         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
8964         libc_hidden_def.
8965         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
8967         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
8968         (sysdep_routines): Add strstr-ppc64.
8969         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
8971 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
8973         [BZ #18778]
8974         * elf/Makefile (tests): Add Add tst-nodelete2.
8975         (modules-names): Add tst-nodelete2mod.
8976         (tst-nodelete2mod.so-no-z-defs): New.
8977         ($(objpfx)tst-nodelete2): Likewise.
8978         ($(objpfx)tst-nodelete2.out): Likewise.
8979         (LDFLAGS-tst-nodelete2): Likewise.
8980         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
8981         out of loop through all loaded libraries.
8982         * elf/tst-nodelete2.c: New file.
8983         * elf/tst-nodelete2mod.c: Likewise.
8984         * elf/tst-znodelete-zlib.cc: Delete.
8986 2015-08-11  Andreas Schwab  <schwab@suse.de>
8988         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
8989         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
8990         (__openat64_nocancel): Likewise.
8992 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
8994         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
8995         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
8996         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
8997         * math/auto-libm-test-out: Regenerated.
8998         * sysdeps/i386/fpu/libm-test-ulps: Update.
8999         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9001 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
9003         [BZ #18790]
9004         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
9005         threshold for returning +/- 1.
9006         * math/auto-libm-test-in: Add more tests of tanh.
9007         * math/auto-libm-test-out: Regenerated.
9008         * sysdeps/i386/fpu/libm-test-ulps: Update.
9010 2015-08-10  Andreas Schwab  <schwab@suse.de>
9012         [BZ #18781]
9013         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
9014         MORE_OFLAGS to oflag.
9015         * io/test-lfs.c (do_test): Test openat64.
9017 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
9019         [BZ #18789]
9020         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
9021         smaller threshold for returning the argument.
9022         * math/auto-libm-test-in: Add more tests of sinh.
9023         * math/auto-libm-test-out: Regenerated.
9024         * sysdeps/i386/fpu/libm-test-ulps: Update.
9026 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
9028         [BZ #18674]
9029         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
9030         break.
9032 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
9034         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
9035         (generated): Don't add $(addprefix z.,$(tzfiles)).
9037 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
9039         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
9040         * scripts/sysd-rules.awk: Likewise.
9042 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
9044         * iconvdata/tst-tables.sh: Change echo -n to printf.
9045         * nss/db-Makefile: Likewise.
9046         * posix/tst-getconf.sh: Likewise.
9047         * stdio-common/tst-unbputc.sh: Likewise.
9049 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
9051         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
9052         MADV_*_PAGES defines behind this feature check.
9054 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
9056         [BZ #18480]
9057         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
9058         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
9059         Define.
9060         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
9061         LOAD_REGS_5, LOAD_REGS_6): Update.
9062         (INTERNAL_SYSCALL): Update using new LOAD defines.
9063         (INTERNAL_SYSCALL_NCS): Likewise.
9064         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
9066 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
9068         [BZ #16734]
9069         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
9071 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
9073         [BZ #17905]
9074         * catgets/Makefile (tst-catgets-mem): New test.
9075         * catgets/catgets.c (catopen): Don't use unbounded alloca.
9076         * catgets/open_catalog.c (__open_catalog): Likewise.
9077         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
9079 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
9081         [BZ #18787]
9082         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
9083         clobber registers.
9084         (atomic_compare_and_exchange_val_acq): Use register asms to assign
9085         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
9086         Cast return to __typeof (oldval).
9088 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
9090         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
9091         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
9092         and delete sys/syscall.h include.
9094 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
9096         [BZ #16517]
9097         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
9098         (tan): Force underflow exception for arguments with small absolute
9099         value.
9100         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
9101         (__kernel_tanf): Force underflow exception for arguments with
9102         small absolute value.
9103         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
9104         (__kernel_tanl): Force underflow exception for arguments with
9105         small absolute value.
9106         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
9107         (__kernel_tanl): Force underflow exception for arguments with
9108         small absolute value.
9109         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
9110         (__kernel_tanl): Force underflow exception for arguments with
9111         small absolute value.
9112         * math/auto-libm-test-in: Add more tests of tan.
9113         * math/auto-libm-test-out: Regenerated.
9115 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9117         Fix sysdeps/i386/fpu/s_scalbn.S build
9119         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
9121 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
9123         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
9125 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9127         Fix gcrt0.o compilation
9129         When static-start-installed-name is different from
9130         start-installed-name, we must not use the shared objects.
9132         * csu/Makefile
9133         (extra-objs): Add gmon-start.o when building shared library and
9134         $(static-start-installed-name) is different from
9135         $(start-installed-name).
9136         $(objpfx)g$(static-start-installed-name): When building shared
9137         library and $(static-start-installed-name) is different from
9138         $(static-start-installed-name), revert to non-shared rule,
9139         i.e. using $(objpfx)% and gmon-start.o.
9141 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
9143         [BZ #16519]
9144         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
9145         (__ieee754_sinh): Force underflow exception for arguments with
9146         small absolute value.
9147         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
9148         (__ieee754_sinhf): Force underflow exception for arguments with
9149         small absolute value.
9150         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
9151         (__ieee754_sinhl): Force underflow exception for arguments with
9152         small absolute value.
9153         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
9154         (__ieee754_sinhl): Force underflow exception for arguments with
9155         small absolute value.
9156         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
9157         (__ieee754_sinhl): Force underflow exception for arguments with
9158         small absolute value.
9159         * math/auto-libm-test-in: Add more tests of sinh.
9160         * math/auto-libm-test-out: Regenerated.
9161         * sysdeps/i386/fpu/libm-test-ulps: Update.
9163 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
9165         * libio/oldfileops.c: Include unistd.h.
9167 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
9169         * stdlib/isomac.c: Include ctype.h.
9171 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
9173         * dirent/tst-seekdir.c (main): Converted to ...
9174         (do_test): ... this.
9175         (TEST_FUNCTION): New macro.
9176         Include test-skeleton.c.
9177         * elf/tst-dlmodcount.c (main): Converted to ...
9178         (do_test): ... this.
9179         (TEST_FUNCTION): New macro.
9180         Include test-skeleton.c.
9181         * elf/tst-order-main.c (main): Converted to ...
9182         (do_test): ... this.
9183         (TEST_FUNCTION): New macro.
9184         Include test-skeleton.c.
9185         * elf/tst-pie2.c (main): Converted to ...
9186         (do_test): ... this.
9187         (TEST_FUNCTION): New macro.
9188         Include test-skeleton.c.
9189         * inet/tst-ether_aton.c (main): Converted to ...
9190         (do_test): ... this.
9191         (TEST_FUNCTION): New macro.
9192         Include test-skeleton.c.
9193         * misc/tst-mntent.c (main): Converted to ...
9194         (do_test): ... this.
9195         (TEST_FUNCTION): New macro.
9196         Include test-skeleton.c.
9197         * misc/tst-tsearch.c (main): Converted to ...
9198         (do_test): ... this.
9199         (TEST_FUNCTION): New macro.
9200         Include test-skeleton.c.
9201         * posix/tst-regexloc.c (main): Converted to ...
9202         (do_test): ... this.
9203         (TEST_FUNCTION): New macro.
9204         Include test-skeleton.c.
9205         * resolv/tst-aton.c (main): Converted to ...
9206         (do_test): ... this.
9207         (TEST_FUNCTION): New macro.
9208         Include test-skeleton.c.
9209         * stdio-common/test-fwrite.c (main): Converted to ...
9210         (do_test): ... this.
9211         (TEST_FUNCTION): New macro.
9212         Include test-skeleton.c.
9213         * stdio-common/tst-ferror.c (main): Converted to ...
9214         (do_test): ... this.
9215         (TEST_FUNCTION): New macro.
9216         Include test-skeleton.c.
9217         * stdio-common/tst-printf.c (main): Converted to ...
9218         (do_test): ... this.
9219         (TEST_FUNCTION): New macro.
9220         Include test-skeleton.c.
9221         * stdio-common/tst-printfsz.c (main): Converted to ...
9222         (do_test): ... this.
9223         (TEST_FUNCTION): New macro.
9224         Include test-skeleton.c.
9225         * stdlib/tst-strtod.c (main): Converted to ...
9226         (do_test): ... this.
9227         (TEST_FUNCTION): New macro.
9228         Include test-skeleton.c.
9229         * string/tst-strlen.c (main): Converted to ...
9230         (do_test): ... this.
9231         (TEST_FUNCTION): New macro.
9232         Include test-skeleton.c.
9233         * string/tst-svc.c (main): Converted to ...
9234         (do_test): ... this.
9235         (TEST_FUNCTION): New macro.
9236         Include test-skeleton.c.
9237         * time/tst-strptime.c (main): Converted to ...
9238         (do_test): ... this.
9239         (TEST_FUNCTION): New macro.
9240         Include test-skeleton.c.
9241         * timezone/tst-timezone.c (main): Converted to ...
9242         (do_test): ... this.
9243         (TEST_FUNCTION): New macro.
9244         Include test-skeleton.c.
9246 2015-08-05  Zack Weinberg  <zackw@panix.com>
9248         * misc/regexp.h: Update comments.
9250 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
9252         [BZ #18635]
9253         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
9254         before return label.
9256 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
9258         [BZ #18661]
9259         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
9260         when calling __errno_location.
9261         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
9262         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
9264 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
9266         [BZ #18661]
9267         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
9268         (__lll_timedwait_tid): Align stack to 16 bytes when calling
9269         __gettimeofday.
9271 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
9273         [BZ #18661]
9274         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
9275         (__start_context): Don't use pop to restore %rdi so that stack
9276         is aligned to 16 bytes when calling __setcontext.
9278 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
9280         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
9281         only for libc.
9282         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
9284 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
9286         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
9287         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
9288         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
9290 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
9292         * string/memccpy.c (memccpy):
9293         Improve performance by using memchr/memcpy/__mempcpy.
9295 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
9297         * string/strncpy.c (strncpy):
9298         Improve performance by using __strnlen/memcpy.
9300 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
9302         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
9303         Optimize to avoid an unnecessary FPCR read.
9305 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
9307         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
9308         Optimize to reduce FPCR/FPSR accesses.
9310 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
9312         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
9313         dead->data[category] != NULL.
9315 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
9317         [BZ #18647]
9318         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
9319         and |x| close to 1, use absolute value of x when computing log.
9320         * math/auto-libm-test-in: Add more tests of pow.
9321         * math/auto-libm-test-out: Regenerated.
9323 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9325         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
9326         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
9327         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
9329 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
9331         [BZ #18525]
9332         * locales/km_KH: Remove timezone definition.
9333         * locales/lo_LA: Likewise.
9334         * locales/my_MM: Likewise.
9335         * locales/nan_TW@latin: Likewise.
9336         * locales/th_TH: Likewise.
9337         * locales/uk_UA: Likewise.
9339 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
9341         [BZ #18265]
9342         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
9343         (wcsncat): Likewise.
9344         (wcscmp): Likewise.
9345         (wcsncmp): Likewise.
9347 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
9349         * test-skeleton.c (usage): New function.
9350         (main): Call usage when opt is '?'.
9352 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
9354         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
9355         before first use.
9357 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
9359         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
9360         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
9361         in there too.
9363 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
9365         * version.h (RELEASE): Set to "development".
9366         (VERSION): Set to "2.22.90"
9368         * version.h (RELEASE): Set to "stable".
9369         (VERSION): Set to "2.22"
9370         * include/features.h (__GLIBC_MINOR__): Set to 22.
9372 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
9374         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
9375         Restructure macro to avoid "value computed is not used" warning.
9376         (atomic_compare_and_exchange_val_acq): Likewise.
9378 2015-08-04  Andreas Schwab  <schwab@suse.de>
9380         [BZ #18635]
9381         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
9382         ret.
9383         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
9385 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
9387         * po/pl.po: Updated translation.
9388         * po/uk.po: Likewise.
9389         * po/fi.po: Likewise.
9390         * po/ko.po: Likewise.
9391         * po/ru.po: Likewise.
9392         * po/vi.po: Likewise.
9394 2015-07-31  Zack Weinberg  <zackw@panix.com>
9396         [BZ #18681]
9397         * regexp.h: Add unconditional #warning stating that this header
9398         will be removed soon.  Revise banner comment to match.
9399         (compile): Consistently use ERROR instead of RETURN to report
9400         errors (partial fix for bz#18681).
9401         * regexp.c: Don't include regexp.h. Remove some unnecessary
9402         declarations.
9404 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
9406         * po/libc.pot: Regenerated.
9408 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
9410         [BZ #18740]
9411         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
9412         float-vlen4-arch-ext-cflags): Removed.
9413         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
9414         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
9416 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
9418         [BZ #14113]
9419         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
9420         aligned to __aligned__.
9421         (pthread_cond_t, pthread_rwlock_t): Likewise.
9423 2015-07-30  Torvald Riegel  <triegel@redhat.com>
9425         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
9427 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
9429         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
9430         (struct sigaction): Change sa_flags from a long to an int, and add
9431         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
9433 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
9435         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
9436         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
9437         sysdeps/generic/sysdep.h include.
9438         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
9439         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
9440         sysdeps/hppa/sysdep.h.
9441         (ENTRY, PSEUDO): Undefine before defining.
9443 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
9445         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
9446         from scratch to use INTERNAL_SYSCALL.
9448 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
9450         [BZ #18078]
9451         * scripts/check-localplt.awk: Support alternate relocations.
9452         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
9453         sections.
9454         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
9455         malloc entries with + REL R_386_GLOB_DAT.
9456         * sysdeps/x86_64/localplt.data: New file.
9458 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
9460         [BZ #18731]
9461         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
9462         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
9463         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
9465 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
9467         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
9469 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
9471         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
9472         directly in terms of __sync_fetch_and_add and delete (int) cast.
9474 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
9476         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
9477         the -D_ASM_IA64_CURRENT_H flag.
9479 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
9481         [BZ #18641]
9482         * pwd/pwd.h (putpwent): Delete __nonnull markings.
9484 2015-07-27  Andreas Schwab  <schwab@suse.de>
9486         * conform/conformtest.pl (checknamespace): Filter out string
9487         literals while tokenizing.
9489 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
9491         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
9492         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
9493         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
9495 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
9497         * nptl/tst-join7mod.c: Add #include <string.h>.
9499 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
9501         * sysdeps/nios2/libm-test-ulps: Update.
9503 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
9505         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
9506         Fix order of arguments to the rt_sigprocmask syscall.
9507         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
9508         Likewise.
9510 2015-07-24  Roland McGrath  <roland@hack.frob.com>
9512         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
9514 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
9516         [BZ #18457]
9517         * nptl/Makefile (tests): New test case tst-join7.
9518         (modules-names): New test case module tst-join7mod.
9519         * nptl/tst-join7.c: New file.
9520         * nptl/tst-join7mod.c: New file.
9521         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
9522         all translation units in libc.so, libpthread.so and rtld.
9524 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9526         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9528 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
9530         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
9531         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
9532         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
9533         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
9534         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
9535         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
9536         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
9537         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
9538         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
9539         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
9540         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
9541         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
9542         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
9543         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
9544         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
9545         implementation.
9547 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9549         [BZ #17711]
9550         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
9551         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
9552         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
9553         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
9554         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
9555         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
9557 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
9559         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
9560         instead of just saying load lock in the comments.
9562 2015-07-23  Roland McGrath  <roland@hack.frob.com>
9564         * sysdeps/unix/Subdirs: Moved ...
9565         * sysdeps/posix/Subdirs: ... here.
9566         * login/pty.h (struct termios, struct winsize): Add forward decls.
9567         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
9568         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
9569         * sysdeps/arm/nacl/libc.abilist: Updated.
9570         * sysdeps/nacl/libutil.abilist: New file.
9572         * bits/signum.h: Update comments to mention 1003.1-2013 too.
9573         (SIGWINCH): New macro.
9575         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
9576         * sysdeps/arm/nacl/libc.abilist: Add it.
9578 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
9580         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
9582 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
9584         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
9585         Swap __glibc_reserved0 and sa_flags order.
9587 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
9589         [BZ #18657]
9590         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
9591         are pending TLS destructor calls.
9592         * include/link.h (struct link_map): Add concurrency note for
9593         L_TLS_DTOR_COUNT.
9594         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
9595         Don't touch the link map flag.  Atomically increment
9596         l_tls_dtor_count.
9597         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
9598         Avoid taking the load lock and don't touch the link map flag.
9599         * stdlib/tst-tls-atexit-nodelete.c: New test case.
9600         * stdlib/Makefile (tests): Use it.
9601         * stdlib/tst-tls-atexit.c (do_test): dlopen
9602         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
9603         to allow tst-tls-atexit-nodelete test case to use it.
9605 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
9607         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
9608         to bits/types.h.
9609         (msgqnum_t): New typedef.
9610         (msglen_t): Likewise.
9611         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
9612         and msg_qbytes type to msglen_t.
9614 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
9616         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
9617         pad0 to __glibc_reserved0.
9618         (struct stat64): Likewise.
9620 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
9622         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
9623         Change sa_flags from a long to an int and add __glibc_reserved0 before
9624         it for padding.
9626 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
9628         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
9629         anonymous by deleting "siginfo" name.
9631 2015-07-21  Roland McGrath  <roland@hack.frob.com>
9633         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
9634         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
9635         rather than __nacl_irt_filename.
9636         * sysdeps/nacl/xstat.c (__xstat): Likewise.
9638         * NEWS: New item for arm-nacl port.
9639         * sysdeps/arm/nacl/libc.abilist: New file.
9640         * sysdeps/nacl/ld.abilist: New file.
9641         * sysdeps/nacl/libBrokenLocale.abilist: New file.
9642         * sysdeps/nacl/libanl.abilist: New file.
9643         * sysdeps/nacl/libcrypt.abilist: New file.
9644         * sysdeps/nacl/libdl.abilist: New file.
9645         * sysdeps/nacl/libm.abilist: New file.
9646         * sysdeps/nacl/libpthread.abilist: New file.
9647         * sysdeps/nacl/libresolv.abilist: New file.
9648         * sysdeps/nacl/librt.abilist: New file.
9650 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
9652         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
9653         __startcontext to initialize the new context.
9654         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
9655         up CFI directive to forbid further backtracing.
9657 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
9659         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
9660         reference.
9661         * charmaps/ANSI_X3.4-1968: Likewise.
9662         * charmaps/BS_4730: Likewise.
9663         * charmaps/BS_VIEWDATA: Likewise.
9664         * charmaps/CP1250: Likewise.
9665         * charmaps/CP1251: Likewise.
9666         * charmaps/CP1252: Likewise.
9667         * charmaps/CP1253: Likewise.
9668         * charmaps/CP1254: Likewise.
9669         * charmaps/CP1255: Likewise.
9670         * charmaps/CP1256: Likewise.
9671         * charmaps/CSN_369103: Likewise.
9672         * charmaps/EBCDIC-DK-NO: Likewise.
9673         * charmaps/GB_1988-80: Likewise.
9674         * charmaps/GREEK-CCITT: Likewise.
9675         * charmaps/GREEK7: Likewise.
9676         * charmaps/INIS-8: Likewise.
9677         * charmaps/ISIRI-3342: Likewise.
9678         * charmaps/ISO_2033-1983: Likewise.
9679         * charmaps/ISO_5427-EXT: Likewise.
9680         * locales/POSIX: Likewise.
9681         * locales/ar_SA: Likewise.
9682         * locales/be_BY: Likewise.
9683         * locales/be_BY@latin: Likewise.
9684         * locales/ca_ES: Likewise.
9685         * locales/cs_CZ: Likewise.
9686         * locales/da_DK: Likewise.
9687         * locales/de_BE: Likewise.
9688         * locales/de_CH: Likewise.
9689         * locales/de_LU: Likewise.
9690         * locales/en_AU: Likewise.
9691         * locales/en_BW: Likewise.
9692         * locales/en_CA: Likewise.
9693         * locales/en_DK: Likewise.
9694         * locales/en_GB: Likewise.
9695         * locales/en_IE: Likewise.
9696         * locales/en_NZ: Likewise.
9697         * locales/en_ZA: Likewise.
9698         * locales/en_ZW: Likewise.
9699         * locales/es_AR: Likewise.
9700         * locales/es_BO: Likewise.
9701         * locales/es_CL: Likewise.
9702         * locales/es_CO: Likewise.
9703         * locales/es_DO: Likewise.
9704         * locales/es_EC: Likewise.
9705         * locales/es_ES: Likewise.
9706         * locales/es_HN: Likewise.
9707         * locales/es_MX: Likewise.
9708         * locales/es_PA: Likewise.
9709         * locales/es_PE: Likewise.
9710         * locales/es_PY: Likewise.
9711         * locales/es_SV: Likewise.
9712         * locales/es_US: Likewise.
9713         * locales/es_UY: Likewise.
9714         * locales/es_VE: Likewise.
9715         * locales/et_EE: Likewise.
9716         * locales/fa_IR: Likewise.
9717         * locales/fo_FO: Likewise.
9718         * locales/fr_CA: Likewise.
9719         * locales/fr_CH: Likewise.
9720         * locales/gv_GB: Likewise.
9721         * locales/he_IL: Likewise.
9722         * locales/hr_HR: Likewise.
9723         * locales/id_ID: Likewise.
9724         * locales/is_IS: Likewise.
9725         * locales/it_CH: Likewise.
9726         * locales/iw_IL: Likewise.
9727         * locales/kl_GL: Likewise.
9728         * locales/ko_KR: Likewise.
9729         * locales/kw_GB: Likewise.
9730         * locales/lg_UG: Likewise.
9731         * locales/lt_LT: Likewise.
9732         * locales/lv_LV: Likewise.
9733         * locales/mi_NZ: Likewise.
9734         * locales/nhn_MX: Likewise.
9735         * locales/nl_BE: Likewise.
9736         * locales/pl_PL: Likewise.
9737         * locales/sk_SK: Likewise.
9738         * locales/sl_SI: Likewise.
9739         * locales/sv_FI: Likewise.
9740         * locales/tl_PH: Likewise.
9741         * locales/tr_TR: Likewise.
9742         * locales/vi_VN: Likewise.
9744 2015-07-21  Khem Raj  <raj.khem@gmail.com>
9746         [BZ #17475]
9747         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
9748         of tu_IN and bh_IN.
9750 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
9752         [BZ #18694]
9753         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
9754         bits/wordsize.h.
9755         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
9757 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
9759         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
9760         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
9761         (spawn_thread): New function.
9762         (load): Rename to reg_dtor_and_close.  Move dlopen to...
9763         (do_test): ... here.  Use IS_LOADED to test for its
9764         availability.
9766 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
9768         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
9770 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
9772         [BZ #18696]
9773         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
9774         si_addr_bnd.
9775         (si_lower): New.
9776         (si_upper): Likewise.
9778 2015-07-16  David S. Miller  <davem@davemloft.net>
9780         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
9782 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9784         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
9785         buffer.
9786         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
9787         fail output information.
9789 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9791         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
9792         and strstr-ppc64..
9793         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
9794         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
9795         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
9796         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
9797         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
9799 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
9801         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
9802         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
9803         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
9804         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
9806 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
9808         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
9809         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
9810         rtld_hidden_proto.
9811         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
9813 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
9815         * tst-nodelete-opened.c (do_test): Add comment to clarify how
9816         the test can fail.
9818         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
9820         [BZ #18676]
9821         * elf/tst-nodelete-opened.c: New test case.
9822         * elf/tst-nodelete-opened-lib.c: New test case module.
9823         * elf/Makefile (tests, modules-names): Use them.
9824         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
9825         early.
9827 2015-07-15  David S. Miller  <davem@davemloft.net>
9829         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
9830         futex-intenal.h
9831         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
9832         * sysdeps/sparc/sparc64/Makefile: Likewise.
9833         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
9834         Remove space from macro define.
9835         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
9837 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
9839         [BZ #17475]
9840         * locale/iso-639.def: Update Bhili and Tulu language codes as
9841         per iso639-3.
9843 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
9845         * elf/tst-leaks1.c (main): Converted to ...
9846         (do_test): ... this.
9847         (TEST_FUNCTION): New macro.
9848         Include test-skeleton.c.
9849         * localedata/tst-langinfo.c (main): Converted to ...
9850         (do_test): ... this.
9851         (TEST_FUNCTION): New macro.
9852         Include test-skeleton.c.
9853         * math/test-fpucw.c (main): Converted to ...
9854         (do_test): ... this.
9855         (TEST_FUNCTION): New macro.
9856         Include test-skeleton.c.
9857         * math/test-tgmath.c (main): Converted to ...
9858         (do_test): ... this.
9859         (TEST_FUNCTION): New macro.
9860         Include test-skeleton.c.
9861         * math/test-tgmath2.c (main): Converted to ...
9862         (do_test): ... this.
9863         (TEST_FUNCTION): New macro.
9864         Include test-skeleton.c.
9865         * setjmp/tst-setjmp.c (main): Converted to ...
9866         (do_test): ... this.
9867         (TEST_FUNCTION): New macro.
9868         Include test-skeleton.c.
9869         * stdio-common/tst-sscanf.c (main): Converted to ...
9870         (do_test): ... this.
9871         (TEST_FUNCTION): New macro.
9872         Include test-skeleton.c.
9873         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
9874         (do_test): ... this.
9875         (TEST_FUNCTION): New macro.
9876         Include test-skeleton.c.
9878         * elf/tst-audit9.c (main): Converted to ...
9879         (do_test): ... this.
9880         (TEST_FUNCTION): New macro.
9881         Include test-skeleton.c.
9883 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
9885         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
9887 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
9889         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
9890         New variable.
9892 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
9894         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
9896 2015-07-14  Roland McGrath  <roland@hack.frob.com>
9898         * sysdeps/generic/dl-fileid.h: New file.
9899         * sysdeps/posix/dl-fileid.h: New file.
9900         * sysdeps/nacl/dl-fileid.h: New file.
9901         * include/link.h: Include <dl-fileid.h>.
9902         (struct link_map): Replace l_dev and l_ino with l_file_id.
9903         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
9904         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
9905         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
9907 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
9909         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
9911 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9913         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
9914         Add iff $CXX is set.
9915         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
9916         Likewise.
9917         (tst-nodelete-zmodiff): Likewise.
9918         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
9920 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
9922         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
9924 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
9926         * sysdeps/aarch64/fpu/math_private.h
9927         (define math_opt_barrier): Add AArch64 version.
9928         (math_force_eval): Likewise.
9930 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
9932         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
9934 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
9936         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
9937         %ld with %jd and cast to intmax_t.
9938         (do_test_length_zero): Likewise.
9940 2015-07-10  Roland McGrath  <roland@hack.frob.com>
9942         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
9944 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
9946         * sysdeps/tile/libm-test-ulps: Regenerated.
9948         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
9949         Comment out the whole function, not just its body.
9951 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
9953         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
9954         locks.
9956         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
9958 2015-07-10  Torvald Riegel  <triegel@redhat.com>
9960         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
9961         (sem_assume_only_signals_cause_futex_EINTR): Remove.
9963 2015-07-10  Torvald Riegel  <triegel@redhat.com>
9965         * sysdeps/nptl/futex-internal.h: New file.
9966         * sysdeps/nacl/futex-internal.h: New file.
9967         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
9968         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
9969         error checking.
9970         (setxid_unmark_thread): Likewise.
9971         (__nptl_setxid): Likewise.
9972         (__wait_lookup_done): Likewise.
9973         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
9974         * nptl/nptl-init.c (sighandler_setxid): Likewise.
9975         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
9976         * nptl/pthread_once.c (clear_once_control): Likewise.
9977         (__pthread_once_slow): Likewise.
9978         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
9979         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
9980         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
9981         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
9982         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
9983         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
9984         Likewise.
9985         (__pthread_rwlock_rdlock): Likewise.
9986         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
9987         Likewise.
9988         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
9989         Likewise.
9990         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
9991         Likewise.
9992         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
9993         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
9994         Likewise.
9995         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
9996         __ASSUME_PRIVATE_FUTEX check.
9997         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
9998         Check that shared futexes are supported.
9999         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
10000         wrappers with error checking.
10001         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
10002         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
10003         * nptl/pthread_barrierattr_setpshared.c
10004         (pthread_barrierattr_setpshared): Check that shared futexes are
10005         supported.
10006         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
10007         Likewise.
10008         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
10009         Likewise.
10010         * nptl/sem_init.c (futex_private_if_supported): Remove.
10011         (__new_sem_init): Adapt and check that shared futexes are supported.
10012         * nptl/sem_open.c (sem_open): Likewise.
10013         * nptl/sem_post.c (futex_wake): Remove.
10014         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
10015         (do_futex_wait): Use futex wrappers with error checking.
10016         * nptl/sem_wait.c: Include lowlevellock.h.
10017         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
10018         Use futex_supports_pshared.
10019         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
10020         Use futex wrappers with error checking.
10021         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
10022         Likewise.
10023         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
10024         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
10025         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
10026         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
10027         (futex_wake): Likewise.
10028         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
10029         (do_futex_wait): Use futex wrappers with error checking.
10030         (__new_sem_wait_slow): Update EINTR handling.
10031         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
10033 2015-07-09  Martin Sebor  <msebor@redhat.com>
10035         [BZ #18435]
10036         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
10037         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
10038         * nptl/Makefile (test-xfail-tst-once5): Define.
10040 2015-07-09  Roland McGrath  <roland@hack.frob.com>
10042         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
10043         * elf/dl-minimal.c: For readability, reorder some definitions and
10044         introduce more page breaks.  Include <stdio.h>.
10045         (__libc_fatal): New function.
10047         * include/unistd.h: Add rtld_hidden_proto for _exit.
10048         * posix/_exit.c: Add rtld_hidden_def.
10049         * sysdeps/mach/hurd/_exit.c: Likewise.
10050         * sysdeps/nacl/_exit.c: Likewise.
10051         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
10052         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
10054 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
10056         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
10057         bndmov encoding with zero displacement.
10059 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
10060             H.J. Lu  <hongjiu.lu@intel.com>
10062         [BZ #18134]
10063         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
10064         * sysdeps/i386/configure: Regenerated.
10065         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
10066         (_dl_runtime_profile): Save and restore Intel MPX return bound
10067         registers when calling _dl_call_pltexit.  Add
10068         PRESERVE_BND_REGS_PREFIX before return.
10069         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
10070         (LRV_BND1_OFFSET): Likewise.
10071         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
10072         lrv_bnd1.
10073         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
10074         typo in bndmov encoding.
10075         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
10076         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
10077         branch instructions to preserve bounds.
10079 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
10082         [GLIBC_2.22]: Add fmemopen.
10084 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10086         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
10087         returns an error, also try to use host port from __mach_host_self for
10088         the __vm_wire call.
10089         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
10091 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10093         [BZ #18400]
10094         [BZ #18648]
10095         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
10096         Fix pr_uid and pr_gid members.
10097         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
10098         definition to elf_greg_t.
10100 2015-07-08  Roland McGrath  <roland@hack.frob.com>
10102         [BZ #18383]
10103         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
10104         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
10105         * sysdeps/arm/configure: Regenerated.
10106         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
10107         (test-xfail-tst-tlsalign-static): Variable removed.
10109         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
10110         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
10111         rather than explicit 'ln -s'.
10113         * resolv/rpc/netdb.h: New file.
10114         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
10116 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10118         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
10119         length buffers.
10120         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
10121         test-skeleton.c.
10123         [BZ #6544]
10124         [BZ #11216]
10125         [BZ #12836]
10126         [BZ #13151]
10127         [BZ #13152]
10128         [BZ #14292]
10129         * include/stdio.h (fmemopen): Remove hidden prototype.
10130         (__fmemopen): Add new hidden prototype.
10131         * libio/Makefile: Add oldfmemopen object.
10132         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
10133         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
10134         compliance.
10135         * libio/oldfmemopen.c: New file: old fmemopen implementation for
10136         symbol compatibility.
10137         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
10138         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
10139         fmemopen.
10140         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
10141         on append and read mode.
10142         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
10143         fmemopen.
10144         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
10145         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
10146         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
10147         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
10148         Likewise.
10149         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
10150         [GLIBC_2.22]: Likewise.
10151         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
10152         Likewise.
10153         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
10154         Likewise.
10155         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
10156         [GLIBC_2.22]: Likewise.
10157         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
10158         [GLIBC_2.22]: Likewise.
10159         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
10160         [GLIBC_2.22]: Likewise.
10161         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
10162         [GLIBC_2.22]: Likewise.
10163         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
10164         [GLIBC_2.22]: Likewise.
10165         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
10166         [GLIBC_2.22]: Likewise.
10167         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
10168         [GLIBC_2.22]: Likewise.
10169         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
10170         Likewise.
10171         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
10172         Likewise.
10173         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
10174         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
10175         [GLIBC_2.22]: Likewise.
10176         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
10177         [GLIBC_2.22]: Likewise.
10178         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
10179         [GLIBC_2.22]: Likewise.
10180         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
10181         [GLIBC_2.22]: Likewise.
10182         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
10183         Likewise.
10184         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
10185         Likewise.
10186         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
10187         Likewise.
10188         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
10189         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
10191 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
10193         [BZ #18643]
10194         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
10195         IPV6_PATHMTU, and IPV6_DONTFRAG.
10197 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
10199         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
10200         and _IO_UNBUFFERED.
10201         * libio/oldfileops.c: Likewise.
10202         * libio/wfileops.c: Likewise.
10204 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
10206         * nscd/selinux.c: Delete selinux/flask.h include.
10208 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
10210         [BZ #18641]
10211         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
10212         (putpwent): Likewise.
10213         (getpwnam): Likewise.
10214         (getpwent_r): Likewise.
10215         (getpwuid_r): Likewise.
10216         (getpwnam_r): Likewise.
10217         (fgetpwent_r): Likewise.
10219 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
10221         [BZ #18557]
10222         * inet/rcmd.c (__validuser2_sa): Check user first to
10223         short-circuit host check.
10225 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
10226             Mikhail Ilin  <m.ilin@samsung.com>
10228         [BZ #17833]
10229         * elf/Makefile (tests): Add tst-nodelete.
10230         (modules-names): Add tst-nodelete-uniquemod.
10231         (tst-nodelete-uniquemod.so-no-z-defs): New.
10232         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
10233         (tst-nodelete-zmod.so-no-z-defs): Likewise.
10234         ($(objpfx)tst-nodelete): Likewise.
10235         ($(objpfx)tst-nodelete.out): Likewise.
10236         (LDFLAGS-tst-nodelete): Likewise.
10237         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
10238         * elf/dl-close.c (_dl_close_worker): Add a parameter to
10239         implement forced object deletion.
10240         (_dl_close): Pass false to _dl_close_worker.
10241         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
10242         * elf/tst-nodelete.cc: New file.
10243         * elf/tst-nodeletelib.cc: Likewise.
10244         * elf/tst-znodeletelib.cc: Likewise.
10245         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
10247 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
10249         [BZ #18508]
10250         * stdlib/Makefile ($(objpfx)tst-makecontext3):
10251         Depend on $(libdl).
10252         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
10253         is not called infinitely times.
10254         (backtrace_helper): New function.
10255         (trace_arg): New struct.
10256         (st1): Enlarge stack size.
10257         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
10258         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
10259         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
10260         Likewise.
10262 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
10264         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
10266 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
10268         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
10269         Include sys/types.h instead of bits/types.h.
10270         Remove inclusion of bits/wordsize.h.
10272 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
10274         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
10275         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
10276         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
10277         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
10278         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
10279         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
10281 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
10283         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
10284         link-defines.sym.
10285         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
10286         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
10287         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
10288         and LR_SIZE.
10289         * sysdeps/i386/link-defines.sym: New file.
10291 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
10293         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
10294         (modules-names): Add tst-auditmod3a tst-auditmod3b.
10295         ($(objpfx)tst-audit3): New rule.
10296         ($(objpfx)tst-audit3.out): Likewise.
10297         * sysdeps/i386/tst-audit3.c: New file.
10298         * sysdeps/i386/tst-audit3.h: Likewise.
10299         * sysdeps/i386/tst-auditmod3a.c: Likewise.
10300         * sysdeps/i386/tst-auditmod3b.c: Likewise.
10302 2015-07-07  Torvald Riegel  <triegel@redhat.com>
10304         [BZ #18633]
10305         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
10306         pointer in C code.
10307         (__strcat_c): Likewise.
10308         (__strcat_g): Likewise.
10310 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
10312         [BZ #18592]
10313         * misc/sbrk.c: Set errno to ENOMEM on overflow.
10315 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
10317         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
10318         New function.  (__ieee754_sqrtf): New function.
10319         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
10320         New function.
10321         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
10322         New function.
10324 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
10326         * sysdeps/ieee754/support.c: Remove unused file.
10328 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10330         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
10331         registers instead of d ones so the layout is kernel abi compatible.
10332         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
10333         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
10334         Likewise.
10336 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10338         * sysdeps/aarch64/libm-test-ulps: Regenerated.
10340 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
10342         [BZ #18619]
10343         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
10344         and return argument in case of subnormal argument.
10346 2015-07-01  Martin Sebor  <msebor@redhat.com>
10348         [BZ #18435]
10349         * nptl/Makefile: Add tst-once5.cc.
10350         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
10351         Remove macro redefinitions.
10352         * nptl/tst-once5.cc: New test.
10354 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
10356         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10358         * sysdeps/arm/libm-test-ulps: Regenerated.
10360         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
10361         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10363 2015-06-30  Torvald Riegel  <triegel@redhat.com>
10365         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
10366         lll_lock_wait_private and lll_futex_wake probes.
10368         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
10369         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
10370         Likewise.
10371         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
10372         atomic_spin_nop.
10373         * sysdeps/x86_64/bits/atomic.h: Likewise.
10374         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
10375         to atomic_spin_nop and move ...
10376         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
10377         ... here and ...
10378         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
10379         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
10380         atomic_spin_nop instead of BUSY_WAIT_NOP.
10381         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
10382         Likewise.
10383         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
10384         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
10385         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
10386         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
10387         instead of atomic_delay.
10389 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
10391         [BZ #18613]
10392         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
10393         X_ADJ not X when adjusting exponent.
10394         (__ieee754_gamma_r): Do intermediate computations in
10395         round-to-nearest then adjust overflowing and underflowing results
10396         as needed.
10397         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
10398         of X_ADJ not X when adjusting exponent.
10399         (__ieee754_gammaf_r): Do intermediate computations in
10400         round-to-nearest then adjust overflowing and underflowing results
10401         as needed.
10402         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
10403         log of X_ADJ not X when adjusting exponent.
10404         (__ieee754_gammal_r): Do intermediate computations in
10405         round-to-nearest then adjust overflowing and underflowing results
10406         as needed.  Use 1.0L not 1.0f as numerator of division.
10407         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
10408         log of X_ADJ not X when adjusting exponent.
10409         (__ieee754_gammal_r): Do intermediate computations in
10410         round-to-nearest then adjust overflowing and underflowing results
10411         as needed.  Use 1.0L not 1.0f as numerator of division.
10412         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
10413         of X_ADJ not X when adjusting exponent.
10414         (__ieee754_gammal_r): Do intermediate computations in
10415         round-to-nearest then adjust overflowing and underflowing results
10416         as needed.  Use 1.0L not 1.0f as numerator of division.
10417         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
10418         to auto-libm-test-in.
10419         (tgamma_test): Use ALL_RM_TEST.
10420         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
10421         tests of tgamma with spurious-overflow.
10422         * math/auto-libm-test-out: Regenerated.
10423         * math/gen-libm-have-vector-test.sh: Do not check for START.
10424         * sysdeps/i386/fpu/libm-test-ulps: Update.
10425         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10427         [BZ #18612]
10428         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
10429         arguments, just return 0.5 times the argument, with underflow
10430         forced as needed.
10431         * math/auto-libm-test-in: Add more tests of j1.
10432         * math/auto-libm-test-out: Regenerated.
10434         [BZ #16559]
10435         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
10436         (__ieee754_j1): Force underflow exception for small results.
10437         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
10438         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
10439         (__ieee754_j1f): Force underflow exception for small results.
10440         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
10441         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
10442         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
10443         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
10444         (__ieee754_j1l): Force underflow exception for small results.
10445         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
10446         * math/auto-libm-test-in: Add more tests of j1 and jn.
10447         * math/auto-libm-test-out: Regenerated.
10449         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
10450         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
10451         (PF_MPLS): Likewise.
10452         (AF_IB): Likewise.
10453         (AF_MPLS): Likewise.
10454         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
10455         value and macro.
10456         (MS_RMT_MASK): Include MS_LAZYTIME.
10458 2015-06-26  Mel Gorman  <mgorman@suse.de>
10460         [BZ #18502]
10461         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
10462         already minimal.
10464 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
10466         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
10467         (DT_MIPS_NUM): Update.
10468         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
10469         DT_MIPS_RLD_MAP_REL.
10471 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
10473         [BZ #16559]
10474         [BZ #18602]
10475         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
10476         round-to-nearest internally then recompute results that
10477         underflowed to zero in the original rounding mode.
10478         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
10479         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
10480         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
10481         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
10482         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
10483         * sysdeps/i386/fpu/libm-test-ulps: Update.
10484         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10486 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
10488         * NEWS: Fixed description of link with vector math library.
10490 2015-06-25  Andreas Schwab  <schwab@suse.de>
10492         [BZ #18549]
10493         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
10494         * libio/test-fmemopen.c (do_test): Add test for it.
10496 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
10498         [BZ #17841]
10499         * Makeconfig (no-pie-ldflag): New.
10500         (+link): Set to $(+link-pie) if default to PIE.
10501         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
10502         * config.make.in (build-pie-default): New.
10503         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
10504         is default.  AC_SUBST.
10505         * configure: Regenerated.
10506         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
10508 2015-06-24  Roland McGrath  <roland@hack.frob.com>
10510         * nptl/descr.h (struct pthread): Change type of field setxid_futex
10511         to 'unsigned int'.
10513         * resolv/gai_misc.h (struct waitlist): Change type of field
10514         counterp to 'volatile unsigned int *'.
10515         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
10516         FUTEXADDR and OLDVAL.
10517         * resolv/getaddrinfo_a.c (getaddrinfo_a):
10518         Give local variable TOTAL type 'volatile unsigned int'.
10519         (struct async_waitlist): Change type of field counter to 'unsigned int'.
10520         * resolv/gai_suspend.c (gai_suspend):
10521         Give local variable CNTR type 'unsigned int'.
10523         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
10524         counterp to 'volatile unsigned int *'.
10525         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
10526         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
10527         (aio_suspend): Give local variable CNTR type 'unsigned int'.
10528         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
10529         Give local variable TOTAL type 'volatile unsigned int'.
10530         (struct async_waitlist): Change type of field counter to 'unsigned int'.
10532 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
10534         [BZ #18383]
10535         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
10536         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
10537         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
10538         comment for i386/x86-64.
10539         (test-xfail-tst-tlsalign-extern-static): Removed.
10541 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
10543         * math/test-double.h: New file.
10544         * math/test-float.h: Likewise.
10545         * math/test-ldouble.h: Likewise.
10546         * math/test-math-inline.h: Likewise.
10547         * math/test-math-no-inline.h: Likewise.
10548         * math/test-math-scalar.h: Likewise.
10549         * math/test-math-vector.h: Likewise.
10550         * math/test-vec-loop.h: Remove file.  Contents moved into
10551         test-math-vector.h.
10552         * math/libm-test.inc (MATHCONST): Do not document macro.
10553         * math/test-double.c: Include test-double.h, test-math-no-inline.h
10554         and test-math-scalar.h.
10555         (FUNC): Remove macro.
10556         (FUNC_TEST): Likewise.
10557         (FLOAT): Likewise.
10558         (MATHCONST): Likewise.
10559         (PRINTF_EXPR): Likewise.
10560         (PRINTF_XEXPR): Likewise.
10561         (PRINTF_NEXPR): Likewise.
10562         (TEST_DOUBLE): Likewise.
10563         (TEST_MATHVEC): Likewise.
10564         (__NO_MATH_INLINES): Likewise.
10565         * math/test-float.c: Include test-float.h, test-math-no-inline.h
10566         and test-math-scalar.h.
10567         (FUNC): Remove macro.
10568         (FUNC_TEST): Likewise.
10569         (FLOAT): Likewise.
10570         (MATHCONST): Likewise.
10571         (PRINTF_EXPR): Likewise.
10572         (PRINTF_XEXPR): Likewise.
10573         (PRINTF_NEXPR): Likewise.
10574         (TEST_FLOAT): Likewise.
10575         (TEST_MATHVEC): Likewise.
10576         (__NO_MATH_INLINES): Likewise.
10577         * math/test-idouble.c: Include test-double.h, test-math-inline.h
10578         and test-math-scalar.h.
10579         (FUNC): Remove macro.
10580         (FUNC_TEST): Likewise.
10581         (FLOAT): Likewise.
10582         (MATHCONST): Likewise.
10583         (PRINTF_EXPR): Likewise.
10584         (PRINTF_XEXPR): Likewise.
10585         (PRINTF_NEXPR): Likewise.
10586         (TEST_DOUBLE): Likewise.
10587         (TEST_MATHVEC): Likewise.
10588         (TEST_INLINE): Likewise.
10589         (__NO_MATH_INLINES): Likewise.
10590         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
10591         test-math-scalar.h.
10592         (FUNC): Remove macro.
10593         (FUNC_TEST): Likewise.
10594         (FLOAT): Likewise.
10595         (MATHCONST): Likewise.
10596         (PRINTF_EXPR): Likewise.
10597         (PRINTF_XEXPR): Likewise.
10598         (PRINTF_NEXPR): Likewise.
10599         (TEST_FLOAT): Likewise.
10600         (TEST_MATHVEC): Likewise.
10601         (TEST_INLINE): Likewise.
10602         (__NO_MATH_INLINES): Likewise.
10603         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
10604         and test-math-scalar.h.
10605         (FUNC): Remove macro.
10606         (FUNC_TEST): Likewise.
10607         (FLOAT): Likewise.
10608         (MATHCONST): Likewise.
10609         (PRINTF_EXPR): Likewise.
10610         (PRINTF_XEXPR): Likewise.
10611         (PRINTF_NEXPR): Likewise.
10612         (TEST_LDOUBLE): Likewise.
10613         (TEST_MATHVEC): Likewise.
10614         (TEST_INLINE): Likewise.
10615         (__NO_MATH_INLINES): Likewise.
10616         * math/test-ldouble.c: Include test-ldouble.h,
10617         test-math-no-inline.h and test-math-scalar.h.
10618         (FUNC): Remove macro.
10619         (FUNC_TEST): Likewise.
10620         (FLOAT): Likewise.
10621         (MATHCONST): Likewise.
10622         (PRINTF_EXPR): Likewise.
10623         (PRINTF_XEXPR): Likewise.
10624         (PRINTF_NEXPR): Likewise.
10625         (TEST_LDOUBLE): Likewise.
10626         (TEST_MATHVEC): Likewise.
10627         (__NO_MATH_INLINES): Likewise.
10628         * math/test-double-vlen2.h: Include test-double.h,
10629         test-math-no-inline.h and test-math-vector.h.
10630         (FLOAT): Remove macro.
10631         (FUNC): Likewise.
10632         (MATHCONST): Likewise.
10633         (PRINTF_EXPR): Likewise.
10634         (PRINTF_XEXPR): Likewise.
10635         (PRINTF_NEXPR): Likewise.
10636         (TEST_DOUBLE): Likewise.
10637         (TEST_MATHVEC): Likewise.
10638         (__NO_MATH_INLINES): Likewise.
10639         (CNCT): Likewise.
10640         (CONCAT): Likewise.
10641         (WRAPPER_NAME): Likewise.
10642         (WRAPPER_DECL): Likewise.
10643         (WRAPPER_DECL_ff): Likewise.
10644         (WRAPPER_DECL_fFF): Likewise.
10645         (VECTOR_WRAPPER): Likewise.
10646         (VECTOR_WRAPPER_ff): Likewise.
10647         (VECTOR_WRAPPER_fFF): Likewise.
10648         (VEC_LEN): New macro.
10649         * math/test-double-vlen4.h: Include test-double.h,
10650         test-math-no-inline.h and test-math-vector.h.
10651         (FLOAT): Remove macro.
10652         (FUNC): Likewise.
10653         (MATHCONST): Likewise.
10654         (PRINTF_EXPR): Likewise.
10655         (PRINTF_XEXPR): Likewise.
10656         (PRINTF_NEXPR): Likewise.
10657         (TEST_DOUBLE): Likewise.
10658         (TEST_MATHVEC): Likewise.
10659         (__NO_MATH_INLINES): Likewise.
10660         (CNCT): Likewise.
10661         (CONCAT): Likewise.
10662         (WRAPPER_NAME): Likewise.
10663         (WRAPPER_DECL): Likewise.
10664         (WRAPPER_DECL_ff): Likewise.
10665         (WRAPPER_DECL_fFF): Likewise.
10666         (VECTOR_WRAPPER): Likewise.
10667         (VECTOR_WRAPPER_ff): Likewise.
10668         (VECTOR_WRAPPER_fFF): Likewise.
10669         (VEC_LEN): New macro.
10670         * math/test-double-vlen8.h: Include test-double.h,
10671         test-math-no-inline.h and test-math-vector.h.
10672         (FLOAT): Remove macro.
10673         (FUNC): Likewise.
10674         (MATHCONST): Likewise.
10675         (PRINTF_EXPR): Likewise.
10676         (PRINTF_XEXPR): Likewise.
10677         (PRINTF_NEXPR): Likewise.
10678         (TEST_DOUBLE): Likewise.
10679         (TEST_MATHVEC): Likewise.
10680         (__NO_MATH_INLINES): Likewise.
10681         (CNCT): Likewise.
10682         (CONCAT): Likewise.
10683         (WRAPPER_NAME): Likewise.
10684         (WRAPPER_DECL): Likewise.
10685         (WRAPPER_DECL_ff): Likewise.
10686         (WRAPPER_DECL_fFF): Likewise.
10687         (VECTOR_WRAPPER): Likewise.
10688         (VECTOR_WRAPPER_ff): Likewise.
10689         (VECTOR_WRAPPER_fFF): Likewise.
10690         (VEC_LEN): New macro.
10691         * math/test-float-vlen4.h: Include test-float.h,
10692         test-math-no-inline.h and test-math-vector.h.
10693         (FLOAT): Remove macro.
10694         (FUNC): Likewise.
10695         (MATHCONST): Likewise.
10696         (PRINTF_EXPR): Likewise.
10697         (PRINTF_XEXPR): Likewise.
10698         (PRINTF_NEXPR): Likewise.
10699         (TEST_FLOAT): Likewise.
10700         (TEST_MATHVEC): Likewise.
10701         (__NO_MATH_INLINES): Likewise.
10702         (CNCT): Likewise.
10703         (CONCAT): Likewise.
10704         (WRAPPER_NAME): Likewise.
10705         (WRAPPER_DECL): Likewise.
10706         (WRAPPER_DECL_ff): Likewise.
10707         (WRAPPER_DECL_fFF): Likewise.
10708         (VECTOR_WRAPPER): Likewise.
10709         (VECTOR_WRAPPER_ff): Likewise.
10710         (VECTOR_WRAPPER_fFF): Likewise.
10711         (VEC_LEN): New macro.
10712         * math/test-float-vlen8.h: Include test-float.h,
10713         test-math-no-inline.h and test-math-vector.h.
10714         (FLOAT): Remove macro.
10715         (FUNC): Likewise.
10716         (MATHCONST): Likewise.
10717         (PRINTF_EXPR): Likewise.
10718         (PRINTF_XEXPR): Likewise.
10719         (PRINTF_NEXPR): Likewise.
10720         (TEST_FLOAT): Likewise.
10721         (TEST_MATHVEC): Likewise.
10722         (__NO_MATH_INLINES): Likewise.
10723         (CNCT): Likewise.
10724         (CONCAT): Likewise.
10725         (WRAPPER_NAME): Likewise.
10726         (WRAPPER_DECL): Likewise.
10727         (WRAPPER_DECL_ff): Likewise.
10728         (WRAPPER_DECL_fFF): Likewise.
10729         (VECTOR_WRAPPER): Likewise.
10730         (VECTOR_WRAPPER_ff): Likewise.
10731         (VECTOR_WRAPPER_fFF): Likewise.
10732         (VEC_LEN): New macro.
10733         * math/test-float-vlen16.h: Include test-float.h,
10734         test-math-no-inline.h and test-math-vector.h.
10735         (FLOAT): Remove macro.
10736         (FUNC): Likewise.
10737         (MATHCONST): Likewise.
10738         (PRINTF_EXPR): Likewise.
10739         (PRINTF_XEXPR): Likewise.
10740         (PRINTF_NEXPR): Likewise.
10741         (TEST_FLOAT): Likewise.
10742         (TEST_MATHVEC): Likewise.
10743         (__NO_MATH_INLINES): Likewise.
10744         (CNCT): Likewise.
10745         (CONCAT): Likewise.
10746         (WRAPPER_NAME): Likewise.
10747         (WRAPPER_DECL): Likewise.
10748         (WRAPPER_DECL_ff): Likewise.
10749         (WRAPPER_DECL_fFF): Likewise.
10750         (VECTOR_WRAPPER): Likewise.
10751         (VECTOR_WRAPPER_ff): Likewise.
10752         (VECTOR_WRAPPER_fFF): Likewise.
10753         (VEC_LEN): New macro.
10754         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
10755         test-vec-loop.h.
10756         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
10757         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
10758         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
10759         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
10760         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
10761         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
10762         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
10764 2015-06-24  Roland McGrath  <roland@hack.frob.com>
10766         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
10767         (__getlogin_r): ... this.
10769 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
10771         [BZ #18594]
10772         * math/s_ccosh.c (__ccosh): Compare with least normal value
10773         instead of comparing class with FP_SUBNORMAL.
10774         * math/s_ccoshf.c (__ccoshf): Likewise.
10775         * math/s_ccoshl.c (__ccoshl): Likewise.
10776         * math/s_cexp.c (__cexp): Likewise.
10777         * math/s_cexpf.c (__cexpf): Likewise.
10778         * math/s_cexpl.c (__cexpl): Likewise.
10779         * math/s_csin.c (__csin): Likewise.
10780         * math/s_csinf.c (__csinf): Likewise.
10781         * math/s_csinh.c (__csinh): Likewise.
10782         * math/s_csinhf.c (__csinhf): Likewise.
10783         * math/s_csinhl.c (__csinhl): Likewise.
10784         * math/s_csinl.c (__csinl): Likewise.
10785         * math/s_ctan.c (__ctan): Likewise.
10786         * math/s_ctanf.c (__ctanf): Likewise.
10787         * math/s_ctanh.c (__ctanh): Likewise.
10788         * math/s_ctanhf.c (__ctanhf): Likewise.
10789         * math/s_ctanhl.c (__ctanhl): Likewise.
10790         * math/s_ctanl.c (__ctanl): Likewise.
10791         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
10792         csin, csinh, ctan and ctanh.
10793         * math/auto-libm-test-out: Regenerated.
10794         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
10795         * sysdeps/i386/fpu/libm-test-ulps: Update.
10796         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10798 2015-06-24  Roland McGrath  <roland@hack.frob.com>
10800         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
10801         return value is wrong, print the expected value too.
10803 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
10805         [BZ #18585]
10806         * elf/readlib.c (is_gdb_python_file): New.
10807         (process_file): Don't issue errors on filenames with -gdb.py
10808         suffix.
10810 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
10812         * math/auto-libm-test-in: Add more tests of csin and csinh.
10813         * math/auto-libm-test-out: Regenerated.
10814         * math/libm-test.inc (csin_test_data): Remove tests moved to
10815         auto-libm-test-in.
10816         (csinh_test_data): Likewise.
10818         [BZ #18593]
10819         * math/s_csin.c (__csin): Negate before rather than after possibly
10820         overflowing multiplication.
10821         * math/s_csinf.c (__csinf): Likewise.
10822         * math/s_csinh.c (__csinh): Likewise.
10823         * math/s_csinhf.c (__csinhf): Likewise.
10824         * math/s_csinhl.c (__csinhl): Likewise.
10825         * math/s_csinl.c (__csinl): Likewise.
10826         * math/auto-libm-test-in: Add some tests of csin and csinh.
10827         * math/auto-libm-test-out: Regenerated.
10828         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
10829         (csinh_test_data): Likewise.
10830         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10832         [BZ #18586]
10833         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
10834         underflow exception for small results.
10836 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
10838         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
10839         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
10840         variable and included header.
10841         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
10842         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
10843         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
10844         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
10845         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
10846         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
10847         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
10848         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
10849         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
10850         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
10851         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
10852         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
10853         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
10854         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
10855         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
10856         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
10858 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
10860         [BZ #16526]
10861         [BZ #16538]
10862         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
10863         (__sin): Force underflow exception for arguments with small
10864         absolute value.
10865         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
10866         (__kernel_sinf): Force underflow exception for arguments with
10867         small absolute value.
10868         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
10869         (__kernel_sincosl): Force underflow exception for arguments with
10870         small absolute value.
10871         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
10872         (__kernel_sinl): Force underflow exception for arguments with
10873         small absolute value.
10874         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
10875         (__kernel_sincosl): Force underflow exception for arguments with
10876         small absolute value.
10877         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
10878         (__kernel_sinl): Force underflow exception for arguments with
10879         small absolute value.
10880         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
10881         (__kernel_sinl): Force underflow exception for arguments with
10882         small absolute value.
10883         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
10884         (__kernel_sinf): Force underflow exception for arguments with
10885         small absolute value.
10886         * math/auto-libm-test-in: Add more tests of sin and sincos.
10887         * math/auto-libm-test-out: Regenerated.
10889         [BZ #18245]
10890         [BZ #18583]
10891         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
10892         (__kernel_standard_l): Use feholdexcept and fesetenv around
10893         conversion to double instead of special-casing overflow and
10894         underflow.
10895         * math/libm-test.inc (fmod_test_data): Add more tests.
10896         (remainder_test_data): Likewise.
10897         (sqrt_test_data): Likewise.
10899 2015-06-23  Torvald Riegel  <triegel@redhat.com>
10901         [BZ #17403]
10902         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
10903         atomic_read_barrier, atomic_write_barrier): Define.
10904         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
10905         atomic_read_barrier, atomic_write_barrier): Define.
10907 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
10909         * math/Makefile [$(PERL) != no]
10910         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
10911         dependency on libm-test.stmp below the inclusion of Rules.
10913 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
10915         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
10916         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
10917         and included header.
10918         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
10919         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
10920         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
10921         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
10922         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
10923         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
10924         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
10925         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
10926         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
10927         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
10928         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
10929         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
10930         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
10931         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
10932         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
10933         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
10934         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
10935         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
10936         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
10938 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
10940         [BZ #18371]
10941         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
10942         intermediate but not final result might underflow.
10943         * math/s_csqrtf.c (__csqrtf): Likewise.
10944         * math/s_csqrtl.c (__csqrtl): Likewise.
10945         * math/auto-libm-test-in: Add more tests of csqrt.
10946         * math/auto-libm-test-out: Regenerated.
10947         * sysdeps/i386/fpu/libm-test-ulps: Update.
10949         [BZ #18219]
10950         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
10951         threshold on absolute value of exponent for which scaling is used.
10952         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
10953         * math/auto-libm-test-in: Add more tests of exp2.
10954         * math/auto-libm-test-out: Regenerated.
10956 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
10958         [BZ #17977]
10959         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
10960         when initializing interface list, based on the bug analysis
10961         and the patch proposed by Eric Newton.
10962         * resolv/tst-res_hconf_reorder.c: New test.
10963         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
10964         tst-res_hconf_reorder.
10965         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
10966         and $(shared-thread-library).
10967         (tst-res_hconf_reorder-ENV): New variable.
10969         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
10970         in comment.
10972 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
10974         [BZ #16353]
10975         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
10976         (__expm1): Force underflow exception for arguments with small
10977         absolute value.
10978         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
10979         (__expm1f): Force underflow exception for arguments with small
10980         absolute value.
10981         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
10982         (__expm1): Force underflow exception for arguments with small
10983         absolute value.
10984         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
10985         (__expm1f): Force underflow exception for arguments with small
10986         absolute value.
10987         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
10988         Check for small arguments before calling __expm1.
10989         * math/auto-libm-test-in: Do not mark underflow exceptions as
10990         possibly missing for bug 16353.
10991         * math/auto-libm-test-out: Regenerated.
10993 2015-06-22  Andreas Schwab  <schwab@suse.de>
10995         [BZ #18513]
10996         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
10997         PTR queries.
10999 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
11001         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
11003         * string/strcoll_l.c: Remove unused struct element idxnow.
11005 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
11007         [BZ #18569]
11008         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
11009         underflow and return argument in case of subnormal argument.
11010         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
11011         Likewise.
11012         * math/auto-libm-test-in: Add more tests of expm1.
11013         * math/auto-libm-test-out: Regenerated.
11015         [BZ #16361]
11016         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
11017         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
11018         tiny results.
11019         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
11020         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
11021         tiny results.
11022         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
11023         mark underflow exceptions as possibly missing for bug 16361.
11024         * math/auto-libm-test-out: Regenerated.
11026 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
11028         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
11029         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
11030         Remove variable.
11031         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
11032         (test-xfail-XOPEN2K8/utmpx.h/conform).
11034         * conform/conformtest.pl ($xerrors): New variable.
11035         (note_error): New function.
11036         (compiletest): New argument $xfail.  Use not_error.
11037         (runtest): Likewise.
11038         (top level): Handle xfail- lines.  Update calls to compiletest and
11039         runtest.  Handle xfail- and optional- in headers listed with
11040         allow-header.
11041         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
11042         (O_EXEC): Likewise.
11043         (O_SEARCH): Likewise.
11044         * conform/data/stropts.h-data (ioctl): Likewise.
11045         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
11046         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
11047         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
11048         (msghdr.msg_controllen): Likewise.
11049         (cmsghdr.cmsg_len): Likewise.
11050         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
11051         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
11052         variable.
11053         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
11054         (test-xfail-XPG4/stropts.h/conform): Likewise.
11055         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
11056         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
11057         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
11058         (test-xfail-UNIX98/stropts.h/conform): Likewise.
11059         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
11060         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
11061         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
11062         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
11063         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
11064         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
11065         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
11066         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
11067         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
11068         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
11069         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
11070         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
11071         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
11072         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
11073         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
11075 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
11077         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
11078         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
11079         definitions for proper unfolding of __MATHDECL_VEC.
11081 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
11083         * benchtests/bench-strcoll.c:
11084         Include string.h.
11085         (main): Remove unused variable res.
11087 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
11089         * timezone/Makefile (%/UTC %/Universal):
11090         Generate test-result files for UTC and Universal.
11092 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
11094         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
11096 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
11098         [BZ #16350]
11099         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
11100         for arguments with small absolute value.
11101         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
11102         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
11103         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
11104         (__asinh): Force underflow exception for arguments with small
11105         absolute value.
11106         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
11107         (__asinhf): Force underflow exception for arguments with small
11108         absolute value.
11109         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
11110         (__asinhl): Force underflow exception for arguments with small
11111         absolute value.
11112         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
11113         (__asinhl): Force underflow exception for arguments with small
11114         absolute value.
11115         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
11116         (__asinhl): Force underflow exception for arguments with small
11117         absolute value.
11118         * math/auto-libm-test-in: Do not mark underflow exceptions as
11119         possibly missing for bug 16350.
11120         * math/auto-libm-test-out: Regenerated.
11122         * include/bits/ipc.h: Remove file.
11123         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
11124         variable.
11125         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
11126         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
11127         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
11128         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
11129         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
11130         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
11131         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
11132         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
11133         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
11135         * math/auto-libm-test-in: Remove spurious underflow allowance for
11136         tests of cexp.
11137         * math/auto-libm-test-out: Regenerated.
11139         [BZ #18558]
11140         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
11141         unconditional definition.
11142         (MCAST_BLOCK_SOURCE): Likewise.
11143         (MCAST_UNBLOCK_SOURCE): Likewise.
11144         (MCAST_LEAVE_GROUP): Likewise.
11145         (MCAST_JOIN_SOURCE_GROUP): Likewise.
11146         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
11147         (MCAST_MSFILTER): Likewise.
11148         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
11149         Remove variable.
11150         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
11151         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
11152         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
11153         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
11154         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
11156 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
11158         * NEWS: Mention addition of x86_64 vector sincosf.
11159         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
11160         * math/test-float-vlen4.h: Likewise.
11161         * math/test-float-vlen8.h: Likewise.
11162         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
11163         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
11164         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11165         * sysdeps/x86_64/fpu/Versions: New versions added.
11166         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11167         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
11168         Added build of SSE, AVX2 and AVX512 IFUNC versions.
11169         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
11170         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
11171         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
11172         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
11173         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
11174         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
11175         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
11176         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
11177         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
11178         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
11179         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
11180         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
11181         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
11182         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
11183         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
11184         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
11185         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
11186         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
11187         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
11188         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
11189         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
11191         * NEWS: Mention addition of x86_64 vector sincos.
11192         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
11193         * math/math.h (__MATHDECL_VEC): New macro.
11194         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
11195         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
11196         declaration under condition.
11197         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
11198         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
11199         TEST_VEC_LOOP change.
11200         * math/test-double-vlen4.h: Likewise.
11201         * math/test-double-vlen8.h: Likewise.
11202         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
11203         * math/test-float-vlen4.h: Likewise.
11204         * math/test-float-vlen8.h: Likewise.
11205         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
11206         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
11207         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11208         * sysdeps/x86_64/fpu/Versions: New versions added.
11209         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11210         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
11211         Added build of SSE, AVX2 and AVX512 IFUNC versions.
11212         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
11213         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
11214         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
11215         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
11216         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
11217         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
11218         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
11219         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
11220         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
11221         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
11222         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
11223         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
11224         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
11225         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
11226         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
11227         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
11228         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
11229         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
11230         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
11231         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
11232         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
11234         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
11235         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
11236         redirections for powf.
11237         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11238         * sysdeps/x86_64/fpu/Versions: New versions added.
11239         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11240         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
11241         Added build of SSE, AVX2 and AVX512 IFUNC versions.
11242         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
11243         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
11244         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
11245         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
11246         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
11247         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
11248         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
11249         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
11250         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
11251         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
11252         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
11253         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
11254         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
11255         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
11256         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
11257         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
11258         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
11259         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
11260         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
11261         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
11262         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
11263         * math/test-float-vlen16.h: Fixed 2 argument macro.
11264         * math/test-float-vlen4.h: Likewise.
11265         * math/test-float-vlen8.h: Likewise.
11266         * NEWS: Mention addition of x86_64 vector powf.
11268 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
11270         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
11271         and redefine.
11272         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
11273         and redefine.
11274         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
11275         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
11276         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
11278         [BZ #18553]
11279         * resource/getpriority.c (getpriority): Rename to __getpriority
11280         and define as weak alias of __getpriority.
11281         * resource/setpriority.c (setpriority): Rename to __setpriority
11282         and define as weak alias of __setpriority.
11283         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
11284         __getpriority and define as weak alias of __getpriority.
11285         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
11286         __setpriority and define as weak alias of __setpriority.
11287         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
11288         strong name.
11289         (setpriority): Use __setpriority as strong name.
11290         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
11291         __getpriority and define as weak alias of __getpriority.
11292         * include/sys/resource.h (__getpriority): Declare.  Use
11293         libc_hidden_proto.
11294         (__setpriority): Likewise.
11295         (getpriority): Don't use libc_hidden_proto.
11296         (setpriority): Likewise.
11297         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
11298         getpriority.  Call __setpriority instead of setpriority.
11299         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
11300         Remove variable.
11302         [BZ #18547]
11303         * misc/getttyent.c (getttynam): Rename to __getttynam and define
11304         as weak alias of __getttynam.  Use prototype function definition.
11305         Call __setttyent, __getttyent and __endttyent instead of
11306         setttyent, getttyent and endttyent.
11307         (getttyent): Rename to __getttyent and define as weak alias of
11308         __getttyent.  Call __setttyent instead of setttyent.  Call
11309         __fgets_unlocked instead of fgets_unlocked.
11310         (setttyent): Rename to __setttyent and define as weak alias of
11311         __setttyent.
11312         (endttyent): Rename to __endttyent and define as weak alias of
11313         __endttyent.
11314         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
11315         (__setttyent): Likewise.
11316         (__endttyent): Likewise.
11317         (getttyent): Don't use libc_hidden_proto.
11318         (setttyent): Likewise.
11319         (endttyent): Likewise.
11320         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
11321         __endttyent instead of setttyent, getttyent and endttyent.
11322         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
11323         Remove variable.
11325         [BZ #18546]
11326         * socket/recv.c (__recv): Use libc_hidden_def.
11327         * socket/socket.c (__socket): Likewise.
11328         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
11329         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
11330         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
11331         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
11332         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
11333         libc_hidden_def.
11334         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
11335         libc_hidden_weak.
11336         * include/sys/socket.h (__socket): Do not use attribute_hidden.
11337         Use libc_hidden_proto.
11338         (__recv): Likewise.
11339         * socket/Versions (libc): Export __recv and __socket at version
11340         GLIBC_PRIVATE.
11341         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
11342         instead of recv.
11343         (init_mq_netlink): Call __socket instead of socket.
11344         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
11345         Remove variable.
11347         [BZ #18545]
11348         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
11349         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
11350         hidden_weak.
11351         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
11352         define as alias of __mq_timedsend.  Use hidden_weak.
11353         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
11354         __mq_timedsend as strong name.
11355         (mq_timedreceive): Use __mq_timedreceive as strong name.
11356         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
11357         (__mq_timedreceive): Likewise.
11358         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
11359         __mq_timedreceive instead of mq_timedreceive.
11360         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
11361         instead of mq_timedsend.
11362         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
11363         Remove variable.
11365         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
11366         hidden_def and hidden_weak instead of libc_hidden_def and
11367         libc_hidden_weak.
11368         (top level): Refer to hidden_def in comment.
11369         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
11370         macro.  Use it instead of libc_hidden_def.
11371         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
11372         specify __GI_* name explicitly.
11373         (mq_timedreceive): Likewise.
11374         (mq_setattr): Likewise.
11376         [BZ #18544]
11377         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
11378         __pthread_barrier_init and define as weak alias of
11379         __pthread_barrier_init.
11380         * sysdeps/sparc/nptl/pthread_barrier_init.c
11381         (pthread_barrier_init): Likewise.
11382         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
11383         __pthread_barrier_wait and define as weak alias of
11384         __pthread_barrier_wait.
11385         * sysdeps/sparc/nptl/pthread_barrier_wait.c
11386         (pthread_barrier_wait): Likewise.
11387         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
11388         (pthread_barrier_wait): Likewise.
11389         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
11390         (pthread_barrier_wait): Likewise.
11391         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
11392         (pthread_barrier_wait): Likewise.
11393         * nptl/Versions (libpthread): Export __pthread_barrier_init and
11394         __pthread_barrier_wait at version GLIBC_PRIVATE.
11395         * include/pthread.h (__pthread_barrier_init): Declare.
11396         (__pthread_barrier_wait): Likewise.
11397         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
11398         Call __pthread_barrier_wait instead of pthread_barrier_wait.
11399         (helper_thread): Likewise.
11400         (init_mq_netlink): Call __pthread_barrier_init instead of
11401         pthread_barrier_init.
11403         [BZ #18542]
11404         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
11405         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
11406         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
11407         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
11408         vswscanf.
11409         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
11410         Remove variable.
11412         [BZ #18540]
11413         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
11414         strong alias of _IO_fflush.  Use libc_hidden_def.
11415         * libio/iofflush_u.c (fflush_unlocked): Rename to
11416         __fflush_unlocked and define as weak alias of __fflush_unlocked.
11417         Use libc_hidden_weak.
11418         * include/stdio.h (__fflush_unlocked): Declare.  Use
11419         libc_hidden_proto.
11420         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
11421         fflush_unlocked.
11422         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
11423         Remove variable.
11425         [BZ #18539]
11426         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
11427         define as weak alias of __addseverity.
11428         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
11429         Remove variable.
11430         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
11431         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
11432         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
11434         [BZ #18536]
11435         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
11436         (__tfind): Likewise.
11437         (__tdelete): Likewise.
11438         (__twalk): Likewise.
11439         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
11440         __twalk to GLIBC_PRIVATE.
11441         * include/search.h (__tsearch): Use libc_hidden_proto.
11442         (__tfind): Likewise.
11443         (__tdelete): Likewise.
11444         (__twalk): Likewise.
11445         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
11446         Call __tdelete instead of tdelete.
11447         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
11448         tfind.  Call __tsearch instead of tsearch.
11449         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
11450         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
11451         Remove variable.
11452         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
11454         [BZ #18534]
11455         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
11456         (dprintf): Define as a weak alias of __dprintf, not a strong
11457         alias.
11458         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
11459         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
11460         dprintf.
11461         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
11462         Remove variable.
11463         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
11464         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
11466         [BZ #18533]
11467         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
11468         not a strong alias.
11469         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
11470         Remove variable.
11472         [BZ #18532]
11473         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
11474         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
11475         (in6addr_loopback): Rename to __in6addr_loopback and define as
11476         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
11477         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
11478         libc_hidden_proto.
11479         (__in6addr_any): Likewise.
11480         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
11481         in6addr_any.
11482         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
11483         variable.
11484         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
11486 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
11488         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
11489         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
11490         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
11491         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
11492         redirections for pow.
11493         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11494         * sysdeps/x86_64/fpu/Versions: New versions added.
11495         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11496         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
11497         build of SSE, AVX2 and AVX512 IFUNC versions.
11498         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
11499         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
11500         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
11501         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
11502         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
11503         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
11504         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
11505         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
11506         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
11507         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
11508         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
11509         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
11510         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
11511         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
11512         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
11513         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
11514         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
11515         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
11516         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
11517         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
11518         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
11519         * NEWS: Mention addition of x86_64 vector pow.
11521         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
11522         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
11523         redirections for expf.
11524         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11525         * sysdeps/x86_64/fpu/Versions: New versions added.
11526         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11527         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
11528         build of SSE, AVX2 and AVX512 IFUNC versions.
11529         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
11530         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
11531         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
11532         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
11533         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
11534         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
11535         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
11536         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
11537         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
11538         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
11539         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
11540         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
11541         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
11542         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
11543         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
11544         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
11545         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
11546         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
11547         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
11548         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
11549         * NEWS: Mention addition of x86_64 vector expf.
11551         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
11552         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
11553         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
11554         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
11555         redirections for exp.
11556         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11557         * sysdeps/x86_64/fpu/Versions: New versions added.
11558         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11559         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
11560         build of SSE, AVX2 and AVX512 IFUNC versions.
11561         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
11562         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
11563         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
11564         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
11565         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
11566         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
11567         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
11568         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
11569         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
11570         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
11571         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
11572         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
11573         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
11574         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
11575         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
11576         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
11577         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
11578         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
11579         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
11580         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
11581         * NEWS: Mention addition of x86_64 vector exp.
11583         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
11584         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
11585         redirections for logf.
11586         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11587         * sysdeps/x86_64/fpu/Versions: New versions added.
11588         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11589         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
11590         build of SSE, AVX2 and AVX512 IFUNC versions.
11591         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
11592         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
11593         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
11594         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
11595         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
11596         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
11597         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
11598         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
11599         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
11600         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
11601         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
11602         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
11603         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
11604         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
11605         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
11606         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
11607         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
11608         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
11609         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
11610         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
11611         * NEWS: Mention addition of x86_64 vector logf.
11613         * bits/libm-simd-decl-stubs.h: Added stubs for log.
11614         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
11615         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
11616         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
11617         redirections for log.
11618         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11619         * sysdeps/x86_64/fpu/Versions: New versions added.
11620         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11621         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
11622         build of SSE, AVX2 and AVX512 IFUNC versions.
11623         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
11624         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
11625         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
11626         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
11627         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
11628         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
11629         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
11630         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
11631         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
11632         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
11633         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
11634         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
11635         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
11636         test.
11637         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
11638         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
11639         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
11640         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
11641         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
11642         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
11643         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
11644         * NEWS: Mention addition of x86_64 vector log.
11646 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11648         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
11649         cfi_adjust_cfa_offset argument.
11650         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
11651         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
11653         [BZ #18034]
11654         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
11655         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
11656         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
11657         ordering using ldar.
11658         (_dl_tlsdesc_dynamic): Likewise.
11659         (_dl_tlsdesc_return_lazy): Likewise.
11660         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
11661         relaxed atomics instead of volatile and synchronize with release store.
11662         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
11663         volatile.
11664         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
11666 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
11668         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
11669         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
11670         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11671         * sysdeps/x86_64/fpu/Versions: New versions added.
11672         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11673         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
11674         build of SSE, AVX2 and AVX512 IFUNC versions.
11675         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
11676         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
11677         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
11678         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
11679         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
11680         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
11681         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
11682         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
11683         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
11684         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
11685         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
11686         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
11687         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
11688         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
11689         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
11690         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
11691         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
11692         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
11693         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
11694         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
11695         * NEWS: Mention addition of x86_64 vector sinf.
11697 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
11699         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
11700         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
11701         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
11702         Remove variable.
11703         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
11704         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
11706 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
11708         [BZ #18530]
11709         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
11710         strong alias of _IO_fputs.  Use libc_hidden_def.
11711         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
11712         and define as weak alias of __fputs_unlocked.  Use
11713         libc_hidden_weak.
11714         * include/stdio.h (__fputs_unlocked): Declare.  Use
11715         libc_hidden_proto.
11716         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
11717         fputs_unlocked.
11719         [BZ #18529]
11720         * resolv/netdb.h [__USE_POSIX]: Change condition to
11721         [__USE_XOPEN2K].
11722         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
11723         not expect.
11724         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
11725         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
11726         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
11727         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
11728         [XPG4 || UNIX98] (AI_ALL): Likewise.
11729         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
11730         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
11731         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
11732         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
11733         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
11734         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
11735         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
11736         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
11737         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
11738         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
11739         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
11740         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
11741         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
11742         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
11743         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
11744         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
11745         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
11746         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
11747         [XPG4 || UNIX98] (gai_strerror): Likewise.
11748         [XPG4 || UNIX98] (getaddrinfo): Likewise.
11749         [XPG4 || UNIX98] (getnameinfo): Likewise.
11751         [BZ #18528]
11752         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
11753         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
11754         __USE_XOPEN2K8].
11755         (getgrent): Likewise.
11756         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
11757         expect.
11758         [XPG3 || POSIX2008] (endgrent): Likewise.
11759         [XPG3] (setgrent): Likewise.
11760         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
11761         variable.
11762         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
11764         [BZ #18527]
11765         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
11766         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
11767         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
11768         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
11769         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
11770         * include/unistd.h (__getlogin_r): Declare.  Use
11771         libc_hidden_proto.
11772         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
11773         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
11774         variable.
11775         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
11776         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
11777         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
11779 2015-06-12  Martin Sebor  <msebor@redhat.com>
11781         [BZ #18512]
11782         * Makerules (check-install-supported): New target.
11783         (install): Add check-install-supported as a dependency.
11784         * manual/install.texi (Installing the C Library): Document
11785         that overriding prefix and exec_prefix is not supported.
11786         Mention DESTDIR.
11787         * INSTALL: Regenerate from the above.
11789 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
11791         [BZ #18519]
11792         * posix/Versions (libc): Export __libc_pread at version
11793         GLIBC_PRIVATE.
11794         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
11795         instead of pread.
11796         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
11797         variable.
11799         [BZ #18522]
11800         * misc/efgcvt_r.c
11801         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
11802         (cvt_symbol): Use weak_alias instead of strong_alias.
11803         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
11804         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
11805         Remove variable.
11806         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
11807         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
11809         [BZ #18520]
11810         * inet/herrno.c (h_errno): Rename to __h_errno.
11811         (__libc_h_errno): Define as alias of __h_errno not h_errno.
11812         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
11813         to __h_errno instead of h_errno.
11814         * nptl/herrno.c (h_errno): Rename to __h_errno.
11815         (__h_errno_location): Refer to __h_errno not h_errno.
11816         * resolv/Versions (h_errno): Rename to __h_errno.
11817         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
11818         Remove variable.
11819         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
11821 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
11823         * configure.ac: More strict check for AVX512 assembler support.
11824         * configure: Regenerated.
11826         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
11827         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
11828         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
11829         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
11830         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11831         * sysdeps/x86_64/fpu/Versions: New versions added.
11832         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11833         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
11834         Added build of SSE, AVX2 and AVX512 IFUNC versions.
11835         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
11836         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
11837         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
11838         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
11839         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
11840         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
11841         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
11842         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
11843         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
11844         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
11845         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
11846         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
11847         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
11848         test.
11849         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
11850         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
11851         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
11852         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
11853         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
11854         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
11855         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
11856         * NEWS: Mention addition of x86_64 vector sin.
11858 2015-06-11  Florian Weimer  <fweimer@redhat.com>
11860         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
11861         comment.
11863 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
11865         [BZ #18479]
11866         * nptl/pt-interp.c: New file.
11867         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
11868         Add pt-interp.
11869         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
11870         $(common-objpfx)runtime-linker.h.
11872 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
11874         * Makeconfig (+interp): Remove unused variable.
11875         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
11876         only.  Depend on $(common-objpfx)runtime-linker.h instead of
11877         $(elf-objpfx)runtime-linker.h.
11878         ($(elf-objpfx)runtime-linker.h): Rename to
11879         $(common-objpfx)runtime-linker.h and move ...
11880         * Makerules [$(build-shared) = yes]: ... here.
11881         * elf/interp.c: Include <runtime-linker.h> instead of
11882         <elf/runtime-linker.h>.
11884 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11886         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
11887         (__gettimeofday_syscall): Remove vsyscall fallback.
11888         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
11889         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
11890         Add syscall fallback function.
11891         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
11892         if vDSO is not present.
11893         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
11894         fallback function.
11895         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
11896         present.
11897         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
11898         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
11900 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
11902         [BZ #18497]
11903         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
11904         of wcscmp.
11905         (wcscmp): Define as weak alias of WCSCMP.
11906         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
11907         wcscoll.
11908         (USE_HIDDEN_DEF): Define.
11909         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
11910         __wcscoll.  Don't use libc_hidden_weak.
11911         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
11912         wcscmp.
11913         * sysdeps/i386/i686/multiarch/wcscmp-c.c
11914         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
11915         __GI_wcscmp.
11916         (weak_alias): Undefine and redefine.
11917         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
11918         __wcscmp and define as weak alias of __wcscmp.
11919         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
11920         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
11921         (__wcscoll): Likewise.
11922         (wcscmp): Don't use libc_hidden_proto.
11923         (wcscoll): Likewise.
11924         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
11925         wcscoll.
11926         * posix/regexec.c (check_node_accept_bytes): Likewise.
11927         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
11928         variable.
11929         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
11930         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
11932         [BZ #18507]
11933         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
11934         __fstatvfs and define as weak alias of __fstatvfs.  Use
11935         libc_hidden_weak.
11936         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
11937         and define as weak alias of __statvfs.  Use libc_hidden_weak.
11938         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
11939         Define as alias of __fstatvfs, not fstatvfs.
11940         (fstatvfs64): Likewise.
11941         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
11942         Define as alias of __statvfs, not statvfs.
11943         (statvfs64): Likewise.
11944         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
11945         Remove variable.
11947 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11949         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
11950         (HAVE_GETCPU_VSYSCALL): Define.
11951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
11952         (HAVE_GETCPU_VSYSCALL): Likewise.
11953         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
11954         * sysdeps/unix/sysv/linux/sched_getcpu.c
11955         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
11956         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
11957         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
11958         prototype.
11959         * sysdeps/unix/sysv/linux/x86_64/init-first.c
11960         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
11961         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
11962         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
11963         Define.
11964         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
11965         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
11966         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
11967         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
11969 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
11971         * sysdeps/x86_64/fpu/Makefile: New file.
11972         * sysdeps/x86_64/fpu/Versions: New file.
11973         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
11974         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
11975         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
11976         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
11977         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
11978         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
11979         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
11980         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
11981         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
11982         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
11983         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
11984         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
11985         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
11986         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
11987         Added build of SSE, AVX2 and AVX512 IFUNC versions.
11988         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
11989         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
11990         * sysdeps/x86_64/configure.ac: Options for libmvec build.
11991         * sysdeps/x86_64/configure: Regenerated.
11992         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
11993         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
11994         * manual/install.texi (Configuring and compiling): Document
11995         --disable-mathvec.
11996         * INSTALL: Regenerated.
11997         * NEWS: Mention addition of libmvec and x86_64 vector cos.
11999         * math/Makefile: Added rules for vector tests.
12000         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
12001         declaration under condition.
12002         * math/test-double-vlen2.h: New file.
12003         * math/test-double-vlen4.h: New file.
12004         * math/test-double-vlen8.h: New file.
12005         * math/test-vec-loop.h: Added initialization macro.
12006         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
12007         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
12008         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
12009         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
12010         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
12011         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
12012         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
12013         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
12014         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
12015         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
12016         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
12018         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12019         * sysdeps/x86_64/fpu/Versions: New versions added.
12020         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
12021         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
12022         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
12023         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
12024         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
12025         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
12026         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
12027         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
12028         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
12029         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
12030         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
12031         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
12032         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
12033         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
12034         Added build of SSE, AVX2 and AVX512 IFUNC versions.
12035         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
12036         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
12037         * NEWS: Mention addition of x86_64 vector cosf.
12039         * math/Makefile: Added CFLAGS for new tests.
12040         * math/test-float-vlen16.h: New file.
12041         * math/test-float-vlen4.h: New file.
12042         * math/test-float-vlen8.h: New file.
12043         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
12044         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
12045         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12046         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
12047         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
12048         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
12049         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
12050         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
12051         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
12052         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
12053         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
12055 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
12057         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
12058         * locale/programs/ld-ctype.c: Likewise.
12060 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
12062         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
12063         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
12064         bit_ZMM16_31_state): New macro.
12065         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12066         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
12068 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
12070         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
12072 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
12074         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
12076 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
12078         [BZ #18498]
12079         * libio/memstream.c (open_memstream): Rename to __open_memstream
12080         and define as weak alias of __open_memstream.
12081         * include/stdio.h (__open_memstream): Declare.  Use
12082         libc_hidden_proto.
12083         (open_memstream): Don't use libc_hidden_proto.
12084         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
12085         open_memstream.
12086         * posix/getopt.c (_getopt_internal_r): Likewise.
12087         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
12088         variable.
12089         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
12090         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
12091         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
12093         [BZ #18496]
12094         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
12095         instead of wcrtomb.
12097         [BZ #18483]
12098         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
12099         [__USE_XOPEN2K8].  Remove redundant #endif.
12100         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
12101         Remove redundant #if.
12102         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
12103         Remove variable.
12104         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
12105         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
12107         [BZ #18495]
12108         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
12109         (__iswlower): Likewise.
12110         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
12111         (__iswlower): Likewise.
12112         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
12113         instead of towlower.
12114         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
12115         instead of iswlower.  Call __towupper instead of towupper.
12116         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
12117         instead of iswalnum.
12119 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12121         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
12122         errors to stderr.
12124 2015-06-05  Florian Weimer  <fweimer@redhat.com>
12126         [BZ #15661]
12127         [BZ #17322]
12128         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
12129         Check for overflow properly.  Check for O_APPEND.  Ignore large
12130         file system block sizes.  Add comments about problems.
12131         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
12132         * manual/filesys.texi (Storage Allocation): New node.
12134 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12136         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
12137         cancellable syscalls.
12138         (SYS_ify): Add guard to no redefine it.
12139         (INLINE_SYSCALL): Likewise.
12140         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
12141         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
12142         SYSCALL_CANCEL instead.
12143         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
12144         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
12145         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
12146         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
12147         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
12148         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
12149         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
12150         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
12151         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
12152         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
12153         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
12154         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
12155         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
12156         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
12157         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
12158         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
12159         Likewise.
12160         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
12161         (__libc_pread64): Likewise.
12162         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
12163         (__libc_preadv): Likewise.
12164         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
12165         (__libc_readv64): Likewise.
12166         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
12167         (__libc_pwrite): Likewise.
12168         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
12169         (__libc_pwrite64): Likewise.
12170         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
12171         (__libc_pwritev): Likewise.
12172         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
12173         (__libc_pwritev64): Likewise.
12174         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
12175         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
12176         (sync_file_range): Likewise.
12177         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
12178         Likewise.
12179         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
12180         Likewise.
12181         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
12182         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
12183         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
12184         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
12185         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
12186         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
12187         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
12188         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
12189         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
12190         Likewise.
12191         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
12192         (__libc_read64): Likewise.
12193         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
12194         Likewise.
12195         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
12196         Likewise.
12197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
12198         Likewise.
12199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
12200         Likewise.
12201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
12202         (__libc_pread64): Likewise.
12203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
12204         Likewise.
12205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
12206         (__libc_pwrite64): Likewise.
12207         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
12208         (sync_file_range): Likewise.
12209         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
12210         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
12211         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
12212         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
12213         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
12214         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
12215         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
12216         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
12217         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
12218         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
12219         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
12220         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
12221         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
12222         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
12223         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
12224         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
12225         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
12226         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
12227         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
12228         Likewise.
12229         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
12230         Likewise.
12231         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
12232         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
12233         Likewise.
12234         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
12235         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
12236         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
12237         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
12238         Likewise.
12239         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
12240         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
12241         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
12242         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
12243         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
12245 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
12247         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
12248         Include dl-vdso.
12249         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
12250         Use VDSO routines for gettimeofday, clock_gettime if
12251         available.
12252         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
12253         Declare VDSO symbols.
12254         * sysdeps/unix/sysv/linux/arm/sysdep.h:
12255         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
12256         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
12257         * sysdeps/unix/sysv/linux/arm/Versions: Add
12258         __vdso_clock_gettime.
12260 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12262         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
12263         be an inline implementation regardless of library is built within.
12264         (open_not_cancel_2): Likewise.
12265         (__read_nocancel): Likewise.
12266         (__write_nocancel): Likewise.
12267         (openat_not_cancel): Likewise.
12268         (openat_not_cancel_3): Likewise.
12269         (openat64_not_cancel): Likewise.
12270         (openat64_not_cancel_3): Likewise.
12271         (__close_nocancel): Likewise.
12272         (pause_not_cancel): Likewise.
12273         (nanosleep_not_cancel): Likewise.
12274         (sigsuspend_not_cancel): Likewise.
12276 2015-06-04  Torvald Riegel  <triegel@redhat.com>
12278         [BZ #14958]
12279         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
12280         wake-up.
12281         (__pthread_rwlock_rdlock_slow): Likewise.
12282         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
12283         Likewise.
12284         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
12285         Likewise.
12286         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
12287         * nptl/tst-rwlock16.c: New file.
12288         * nptl/Makefile (tests): Add new test.
12290 2015-06-04  Torvald Riegel  <triegel@redhat.com>
12292         [BZ #18324]
12293         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
12294         missing wake-up of readers.
12295         * nptl/tst-rwlock15.c: New file.
12296         * nptl/Makefile (tests): Add new test.
12298 2015-06-03  Roland McGrath  <roland@hack.frob.com>
12300         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
12301         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
12302         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
12303         and __nacl_supply_interface_rtld.
12304         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
12305         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
12306         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
12307         Add __nacl_supply_interface_rtld.
12308         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
12310 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
12312         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
12313         isfinite.
12314         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12315         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
12317 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
12319         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
12320         __signbit* with standard C99 macros.
12321         * math/e_exp10l.c: Likewise.
12322         * math/e_exp2l.c: Likewise.
12323         * math/e_scalb.c: Likewise.
12324         * math/e_scalbf.c: Likewise.
12325         * math/e_scalbl.c: Likewise.
12326         * math/s_ldexp.c: Likewise.
12327         * math/s_ldexpf.c: Likewise.
12328         * math/s_ldexpl.c: Likewise.
12329         * math/w_atan2.c: Likewise.
12330         * math/w_atan2f.c: Likewise.
12331         * math/w_atan2l.c: Likewise.
12332         * math/w_cosh.c: Likewise.
12333         * math/w_coshf.c: Likewise.
12334         * math/w_coshl.c: Likewise.
12335         * math/w_exp10.c: Likewise.
12336         * math/w_exp10f.c: Likewise.
12337         * math/w_exp10l.c: Likewise.
12338         * math/w_exp2.c: Likewise.
12339         * math/w_exp2f.c: Likewise.
12340         * math/w_exp2l.c: Likewise.
12341         * math/w_fmod.c: Likewise.
12342         * math/w_fmodf.c: Likewise.
12343         * math/w_fmodl.c: Likewise.
12344         * math/w_hypot.c: Likewise.
12345         * math/w_hypotf.c: Likewise.
12346         * math/w_hypotl.c: Likewise.
12347         * math/w_jnl.c: Likewise.
12348         * math/w_lgamma.c: Likewise.
12349         * math/w_lgamma_r.c: Likewise.
12350         * math/w_lgammaf.c: Likewise.
12351         * math/w_lgammaf_r.c: Likewise.
12352         * math/w_lgammal.c: Likewise.
12353         * math/w_lgammal_r.c: Likewise.
12354         * math/w_pow.c: Likewise.
12355         * math/w_powf.c: Likewise.
12356         * math/w_powl.c: Likewise.
12357         * math/w_remainder.c: Likewise.
12358         * math/w_remainderf.c: Likewise.
12359         * math/w_remainderl.c: Likewise.
12360         * math/w_scalb.c: Likewise.
12361         * math/w_scalbf.c: Likewise.
12362         * math/w_scalbl.c: Likewise.
12363         * math/w_scalbln.c: Likewise.
12364         * math/w_scalblnf.c: Likewise.
12365         * math/w_scalblnl.c: Likewise.
12366         * math/w_sinh.c: Likewise.
12367         * math/w_sinhf.c: Likewise.
12368         * math/w_sinhl.c: Likewise.
12369         * math/w_tgamma.c: Likewise.
12370         * math/w_tgammaf.c: Likewise.
12371         * math/w_tgammal.c: Likewise.
12372         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12373         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
12374         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12375         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12376         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12377         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12378         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
12379         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
12380         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12381         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12382         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
12383         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
12384         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12385         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
12386         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
12387         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12388         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
12389         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
12390         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
12391         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
12392         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12393         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
12394         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12395         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12396         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
12397         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
12398         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
12399         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
12400         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12401         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
12402         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
12403         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
12404         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
12405         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
12406         * stdio-common/printf_fp.c: Likewise.
12407         * stdio-common/printf_fphex.c: Likewise.
12408         * stdio-common/printf_size.c: Likewise.
12410 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
12412         [BZ #18470]
12413         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
12414         strnlen.
12415         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
12416         Remove variable.
12417         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
12418         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
12419         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
12420         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
12421         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
12422         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
12423         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
12424         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
12425         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
12426         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
12428         [BZ #18468]
12429         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
12430         weak alias of __wmemchr.  Use libc_hidden_weak.
12431         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
12432         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
12433         instead of wmemchr.
12435 2015-06-02  Roland McGrath  <roland@hack.frob.com>
12437         [BZ #18383]
12438         * elf/tst-tlsalign-extern.c: New file.
12439         * elf/tst-tlsalign-extern-static.c: New file.
12440         * elf/tst-tlsalign-vars.c: New file.
12441         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
12442         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
12443         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
12444         ($(objpfx)tst-tlsalign-extern-static): Likewise.
12445         (test-xfail-tst-tlsalign-extern-static): New variable.
12447 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
12449         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
12450         Use variable name _sc_err instead of err.
12451         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
12452         instead of ret.
12453         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
12454         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
12455         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
12456         (INLINE_SYSCALL): Likewise.
12458         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
12459         * include/string.h (__strnlen): Use libc_hidden_proto.
12460         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
12461         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
12462         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
12463         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
12464         (libc_hidden_def): Undefine and redefine.
12465         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
12466         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
12467         __GI_strnlen.
12468         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
12469         libc_hidden_def.
12470         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
12472         [BZ #18469]
12473         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
12474         weak alias of __towlower.  Use libc_hidden_weak.
12475         (towupper): Rename to __towupper and define as weak alias of
12476         __towupper.  Use libc_hidden_weak.
12477         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
12478         (__towupper): Likewise.
12479         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
12480         __towlower instead of towlower.
12482 2015-06-02  Roland McGrath  <roland@hack.frob.com>
12484         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
12485         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
12487 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12489         * sysdeps/aarch64/libm-test-ulps: Update.
12491 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12493         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
12494         Define.
12495         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
12496         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
12497         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
12498         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
12499         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
12500         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
12501         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
12503 2015-06-01  Martin Sebor  <msebor@redhat.com>
12505         [BZ #18116]
12506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
12507         (__setcontext): Use extended four-operand version of mtsf whenever
12508         possible.
12509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
12510         (__novec_swapcontext): Likewise.
12512 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
12514         * benchtests/scripts/compare_bench.py: New file.
12515         * benchtests/scripts/import_bench.py (mean): New function.
12516         (split_list): Likewise.
12517         (do_for_all_timings): Likewise.
12518         (compress_timings): Likewise.
12520         * benchtests/scripts/import_bench.py: New file.
12521         * benchtests/scripts/validate_benchout.py: Import import_bench
12522         instead of jsonschema.
12523         (validate_bench): Remove function.
12524         (main): Use import_bench.
12526 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
12528         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
12529         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
12531 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12533         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12535 2015-05-28  Roland McGrath  <roland@hack.frob.com>
12537         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
12538         set THREAD_SELF->tid to a magic value and futex-wake it.
12539         Pass its address to the thread_exit system call.
12540         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
12541         bit is clear.
12542         * sysdeps/nacl/lowlevellock.h: New file.
12543         * sysdeps/nacl/lll_timedwait_tid.c: New file.
12545         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
12546         Add TIMEOUT to current time, don't subtract it.
12548 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
12550         [BZ #2981]
12551         [BZ #18422]
12552         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
12553         ($(objpfx)tst-audit2.out): Also depend on
12554         $(objpfx)tst-auditmod9b.so.
12555         * elf/tst-audit2.c: Include <dlfcn.h>.
12556         (calloc_called): New.
12557         (calloc): Allow to be called more than once.
12558         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
12560 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
12562         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
12563         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
12565 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
12567         * stdlib/monetary.h: Fix comment.
12569 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
12571         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
12572         Avoid using variables in #defines that might cause shadowing.
12573         (INTERNAL_VSYSCALL_CALL): Likewise.
12575 2015-05-26  Roland McGrath  <roland@hack.frob.com>
12577         * sysdeps/nacl/lll_timedlock_wait.c: New file.
12579         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
12580         * nptl/lll_timedlock_wait.c: ... to this new file.
12581         * nptl/Makefile (libpthread-routines): Add it.
12582         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
12583         * nptl/lll_timedwait_tid.c: ... to this new file.
12584         * nptl/Makefile (libpthread-routines): Add it.
12585         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
12586         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
12587         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
12588         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
12589         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
12590         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
12591         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
12592         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
12593         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
12594         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
12596 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12598         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
12599         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
12600         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
12601         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
12602         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
12603         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
12604         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
12605         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
12606         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
12607         * sysdeps/unix/sysv/linux/tile/sysdep.h
12608         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
12609         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
12610         using vDSO syscall macro.
12612 2015-05-26  Andriy Rysin  <arysin@gmail.com>
12614         [BZ #17293]
12615         * uk_UA: Fix sorting order for Ukrainian locale
12617 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
12619         * stdlib/monetary.h: Fix comment.
12621 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12623         [BZ #18234]
12624         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
12625         st_mtim and st_ctim members.
12626         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
12627         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
12628         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
12629         (struct stat64): Likewise.
12630         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
12631         (struct stat64): Likewise.
12632         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
12633         (struct stat64): Likewise.
12635 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12637         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
12638         Define and include sysdep-vdso.h.
12639         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
12640         Likewise.
12641         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
12642         Likewise.
12643         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
12644         Define with VDSO_SYMBOL and use PTR_MANGLE.
12645         (__vdso_clock_gettime): Likewise.
12646         (__vdso_clock_getres): Likewise.
12647         (_libc_vdso_platform_setup): Likewise.
12648         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
12649         Likewise.
12650         (_libc_vdso_platform_setup): Likewise.
12651         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
12652         Likewise.
12653         (__vdso_clock_gettime): Likewise.
12654         (__vdso_clock_getres): Likewise.
12655         (__vdso_get_tbfreq): Likewise.
12656         (__vdso_getcpu): Likewise.
12657         (__vdso_time): Likewise.
12658         (__vdso_sigtramp_rt64): Likewise.
12659         (__vdso_signtramp32): Likewise.
12660         (__vdso_sigtramp_rt32): Likewise.
12661         (_libc_vdso_platform_setup): Likewise.
12662         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
12663         Likewise.
12664         (__vdso_clock_gettime): Likewise.
12665         (__vdso_clock_getres): Likewise.
12666         (_libc_vdso_platform_setup): Likewise.
12667         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
12668         Likewise.
12669         (__vdso_clock_gettime): Likewise.
12670         (_libc_vdso_platform_setup): Likewise.
12671         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
12672         Likewise.
12673         (__vdso_getcpu): Likewise.
12674         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
12675         Use VDSO_SYMBOL macro to define.
12676         (__vdso_clock_gettime): Likewise.
12677         (__vdso_clock_getres): Likewise.
12678         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
12679         Likewise.
12680         (__vdso_clock_gettime): Likewise.
12681         (__vdso_clock_getres): Likewise.
12682         (__vdso_get_tbfreq): Likewise.
12683         (__vdso_getcpu): Likewise.
12684         (__vdso_time): Likewise.
12685         (__vdso_sigtramp_rt64): Likewise.
12686         (__vdso_signtramp32): Likewise.
12687         (__vdso_sigtramp_rt32): Likewise.
12688         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
12689         Likewise.
12690         (__vdso_clock_gettime): Likewise.
12691         (__vdso_clock_getres): Likewise.
12692         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
12693         Likewise.
12694         (__vdso_clock_gettime): Likewise.
12695         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
12696         Likewise.
12697         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
12698         macro.
12699         (INTERNAL_VSYSCALL): Likewise.
12700         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
12701         Remove macro.
12702         (INTERNAL_VSYSCALL): Likewise.
12703         (INTERNAL_VSYSCALL_NCS): Likewise.
12704         (INTERNAL_VSYSCALL_CALL): New macro.
12705         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
12706         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
12707         Likewise.
12708         (INTERNAL_VSYSCALL): Likewise.
12709         (INTERNAL_VSYSCALL_NCS): Likewise.
12710         (INTERNAL_VSYSCALL_CALL): New macro.
12711         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
12712         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
12713         (INLINE_VSYSCALL): Remove macro.
12714         (INTERNAL_VSYSCALL): Remove macro.
12715         (INTERNAL_VSYSCALL_NCS): Remove macro.
12716         (INTERNAL_VSYSCALL_CALL): New macro.
12717         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
12718         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
12719         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
12720         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
12721         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
12722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
12723         (INLINE_VSYSCALL): Remove macro.
12724         (INTERNAL_VSYSCALL): Likewise.
12725         (INTERNAL_VSYSCALL_NCS): Likewise.
12726         (INTERNAL_VSYSCALL_CALL): New macro.
12727         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
12728         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
12729         PTR_DEMANGLE on vDSO pointer.
12730         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
12731         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
12732         macro.
12733         (INTERNAL_SYSCALL): Likewise.
12734         (INTERNAL_VSYSCALL_NCS): Remove macro.
12735         (INTERNAL_VSYSCALL_CALL): New macro.
12736         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
12737         Remove macro.
12738         (INTERNAL_VSYSCALL): Likewise.
12739         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
12740         sysdep-vdso.h instead of libc-vdso.h.
12741         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
12742         definition.
12743         (INLINE_VSYSCALL): Likewise.
12744         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
12745         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
12746         definition.
12747         (INLINE_VSYSCALL): Likewise.
12748         (INTERNAL_VSYSCALL): Likewise.
12749         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
12750         * sysdeps/unix/sysv/linux/timespec_get.c
12751         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
12752         (timespec_get): Use ANSI prototype.
12753         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
12754         and definition for Linux.
12756 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
12758         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
12759         * include/libc-symbols.h: libmvec_hidden_* macro series added.
12761 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
12763         [BZ #2981]
12764         [BZ #18410]
12765         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
12766         for missing DT_PLTRELSZ.
12768 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
12770         Remove obsolete aliases that broke 'locale -a'
12771         [BZ #18412]
12772         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
12773         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
12774         breaking some applications that use 'locale -a' output.
12775         Change the encoding of this file from Latin-1 to ASCII to avoid
12776         other potential problems with people grepping this file.
12778 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12780         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
12781         -fasynchronous-unwind-tables.
12782         (CFLAGS-sendto.c): Likewise.
12783         (CFLAGS-sendmsg.c): Likewise.
12784         (CFLAGS-connect.c): Likewise.
12785         (CFLAGS-recvmsg.c): Likewise.
12786         (CFLAGS-recvfrom.c): Likewise.
12787         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
12788         (SOCKETCALL): New macro: non-cancellable socketcall.
12789         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
12790         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
12791         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
12792         * sysdeps/unix/sysv/linux/accept.c: New file.
12793         * sysdeps/unix/sysv/linux/bind.c: Likewise.
12794         * sysdeps/unix/sysv/linux/connect.c: Likewise.
12795         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
12796         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
12797         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
12798         * sysdeps/unix/sysv/linux/listen.c: Likewise.
12799         * sysdeps/unix/sysv/linux/recv.c: Likewise.
12800         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
12801         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
12802         * sysdeps/unix/sysv/linux/send.c: Likewise.
12803         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
12804         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
12805         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
12806         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
12807         * sysdeps/unix/sysv/linux/socket.c: Likewise.
12808         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
12809         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
12810         prototype.
12811         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
12812         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
12813         instead of __internal_xxx function.
12814         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
12815         prototype.
12816         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
12817         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
12818         instead of __internal_xxx function.
12819         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
12820         prototype.
12821         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
12822         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
12823         instead of __internal_xxx function.
12824         * sysdeps/unix/sysv/linux/accept.S: Remove file.
12825         * sysdeps/unix/sysv/linux/bind.S: Likewise.
12826         * sysdeps/unix/sysv/linux/connect.S: Likewise.
12827         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
12828         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
12829         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
12830         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
12831         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
12832         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
12833         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
12834         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
12835         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
12836         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
12837         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
12838         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
12839         * sysdeps/unix/sysv/linux/listen.S: Likewise.
12840         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
12841         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
12842         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
12843         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
12844         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
12845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
12846         * sysdeps/unix/sysv/linux/recv.S: Likewise.
12847         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
12848         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
12849         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
12850         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
12851         * sysdeps/unix/sysv/linux/send.S: Likewise.
12852         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
12853         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
12854         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
12855         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
12856         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
12857         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
12858         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
12859         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
12860         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
12861         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
12862         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
12863         socketcall is implemented in GLIBC.
12865 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
12867         * soft-fp/fmadf4.c: Include <libc-internal.h>.
12868         (__fma): Ignore uninitialized warnings around packing.
12869         * soft-fp/fmasf4.c: Include <libc-internal.h>.
12870         (__fmaf): Ignore uninitialized warnings around packing.
12871         * soft-fp/fmatf4.c: Include <libc-internal.h>.
12872         (__fmal): Ignore uninitialized warnings around packing.
12874         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
12875         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
12876         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
12877         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
12879         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
12880         switch statement into default case.
12881         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
12883         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
12884         a conditional in forcing "inexact".
12885         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
12886         Likewise.
12888 2015-05-22  Roland McGrath  <roland@hack.frob.com>
12890         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
12891         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
12892         for each INTERNAL_SYSCALL use.
12894 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
12896         [BZ #438]
12897         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
12898         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
12899         variable.
12901         [BZ #18444]
12902         * string/basename.c (basename): Rename to __basename and define as
12903         weak alias of __basename.  Use libc_hidden_weak.
12904         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
12905         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
12906         __basename instead of basename.
12907         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
12908         Remove variable.
12909         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
12911 2015-05-18  Florian Weimer  <fweimer@redhat.com>
12913         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
12914         (_IO_JUMPS_FILE_plus): New.
12915         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
12916         _IO_CAST_FIELD_ACCESS.
12917         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
12918         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
12919         * libio/freopen.c (freopen): Likewise.
12920         * libio/freopen64.c (freopen64): Likewise.
12921         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
12922         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
12923         * libio/iofwide.c (_IO_fwide): Likewise.
12924         * libio/memstream.c (open_memstream): Likewise.
12925         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
12926         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
12927         * libio/oldiopopen.c (_IO_old_popen): Likewise.
12929 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
12931         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
12932         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
12933         NADJ.
12934         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
12935         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
12936         NADJ.
12937         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
12938         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
12939         NADJ.
12941         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
12942         (p == 4) case.
12944         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
12945         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
12946         Remove variable.
12947         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
12948         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
12949         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
12951 2015-05-21  Florian Weimer  <fweimer@redhat.com>
12953         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
12954         Adjust jump table label generation macros.
12956 2015-05-21  Florian Weimer  <fweimer@redhat.com>
12958         * stdio-common/vfprintf.c (vfprintf): Move local variables
12959         args_malloced, specs, specs_malloced, and the code after
12960         do_positional to the printf_positional function.
12961         (printf_positional): New function.
12963 2015-05-21  Florian Weimer  <fweimer@redhat.com>
12965         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
12966         function.
12967         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
12968         STEP4_TABLE, process_arg): Move macro definitions
12969         out of the vfprintf function.  (Cosmetic change only.)
12971 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
12973         * benchtests/Makefile (stdio-common-bench): Define.
12974         (benchset): Add stdio-common-bench.
12975         * sprintf-inputs: New file.
12976         * sprintf-source.c: New file.
12978 2015-05-21  Andreas Schwab  <schwab@suse.de>
12980         [BZ #13028]
12981         [BZ #17053]
12982         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
12983         of struct __res_state.
12984         * resolv/res_send.c (__libc_res_nsend): Likewise.
12985         (get_nsaddr): New function.
12986         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
12987         statp directly.
12989 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
12991         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
12992         -D_POSIX_C_SOURCE=199506L.
12994         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
12996         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
12997         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
12998         Do not mention otherwise.
12999         [POSIX] (_XOPEN_VERSION): Do not expect.
13000         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
13001         [POSIX] (_POSIX2_C_BIND): Likewise.
13002         [POSIX] (_POSIX2_VERSION): Likewise.
13003         [POSIX] (_XOPEN_XPG2): Likewise.
13004         [POSIX] (_XOPEN_XPG3): Likewise.
13005         [POSIX] (_XOPEN_XPG4): Likewise.
13006         [POSIX] (_XOPEN_UNIX): Likewise.
13007         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
13008         [POSIX] (_POSIX_BARRIERS): Likewise.
13009         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
13010         [POSIX] (_POSIX_CPUTIME): Likewise.
13011         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
13012         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
13013         [POSIX] (_POSIX_SHELL): Likewise.
13014         [POSIX] (_POSIX_SPAWN): Likewise.
13015         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
13016         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
13017         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
13018         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
13019         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
13020         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
13021         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
13022         [POSIX] (_XBS5_LP64_OFF64): Likewise.
13023         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
13024         [POSIX] (_POSIX_TIMEOUTS): Likewise.
13025         [POSIX] (_POSIX2_PBS): Likewise.
13026         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
13027         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
13028         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
13029         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
13030         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
13031         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
13032         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
13033         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
13034         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
13035         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
13036         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
13037         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
13038         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
13039         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
13040         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
13041         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
13042         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
13043         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
13044         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
13045         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
13046         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
13047         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
13048         [POSIX] (_SC_2_C_BIND): Likewise.
13049         [POSIX] (_SC_2_C_VERSION): Likewise.
13050         [POSIX] (_SC_2_PBS): Likewise.
13051         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
13052         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
13053         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
13054         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
13055         [POSIX] (_SC_2_PBS_TRACK): Likewise.
13056         [POSIX] (_SC_ATEXIT_MAX): Likewise.
13057         [POSIX] (_SC_BARRIERS): Likewise.
13058         [POSIX] (_SC_BASE): Likewise.
13059         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
13060         [POSIX] (_SC_DEVICE_IO): Likewise.
13061         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
13062         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
13063         [POSIX] (_SC_FD_MGMT): Likewise.
13064         [POSIX] (_SC_FIFO): Likewise.
13065         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
13066         [POSIX] (_SC_FILE_LOCKING): Likewise.
13067         [POSIX] (_SC_FILE_SYSTEM): Likewise.
13068         [POSIX] (_SC_IOV_MAX): Likewise.
13069         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
13070         [POSIX] (_SC_NETWORKING): Likewise.
13071         [POSIX] (_SC_PAGE_SIZE): Likewise.
13072         [POSIX] (_SC_PASS_MAX): Likewise.
13073         [POSIX] (_SC_PIPE): Likewise.
13074         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
13075         [POSIX] (_SC_REGEXP): Likewise.
13076         [POSIX] (_SC_SHELL): Likewise.
13077         [POSIX] (_SC_SIGNALS): Likewise.
13078         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
13079         [POSIX] (_SC_SPIN_LOCKS): Likewise.
13080         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
13081         [POSIX] (_SC_USER_GROUPS): Likewise.
13082         [POSIX] (_SC_USER_GROUPS_R): Likewise.
13083         [POSIX] (_SC_STREAMS): Likewise.
13084         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
13085         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
13086         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
13087         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
13088         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
13089         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
13090         [POSIX] (_PC_FILESIZEBITS): Likewise.
13091         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
13092         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
13093         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
13094         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
13095         [POSIX] (uid_t): Likewise.
13096         [POSIX] (gid_t): Likewise.
13097         [POSIX] (off_t): Likewise.
13098         [POSIX] (pid_t): Likewise.
13099         [POSIX] (cuserid): Allow.
13100         (_SC_2_CHAR_TERM): Require constant.
13101         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
13102         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
13103         variable.
13105 2015-05-20  Roland McGrath  <roland@hack.frob.com>
13107         * sysdeps/nacl/pthread-pids.h: New file.
13108         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
13109         (create_thread): Use __nacl_get_tid to initialize PD->tid.
13111         * nptl/pthread-pids.h: New file.
13112         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
13113         * nptl/nptl-init.c: Include <pthread-pids.h>.
13114         (__pthread_initialize_minimal_internal):
13115         Call __pthread_initialize_pids instead of set_tid_address syscall.
13117         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
13118         * sysdeps/posix/usleep.c: ... here.
13120 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13122         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
13123         call_pselect6 object.
13124         [$(subdir) = io]: Remove call_sync_file_range object.
13125         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
13126         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
13127         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
13128         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
13130 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
13132         * math/s_cproj.c: Add include "math_private.h".
13133         * math/s_cprojf.c: Likewise.
13134         * math/s_cprojl.c: Likewise.
13136 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
13138         [BZ #18244]
13139         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
13140         high mantissa bit when testing whether P is a NaN.
13141         * math/libm-test.inc (remainder_test_data): Add more tests.
13142         (remquo_test_data): Likewise.
13144         [BZ #18049]
13145         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
13146         below -32, return the argument, with underflow if subnormal.
13147         * math/auto-libm-test-in: Add more tests of atanh.
13148         * math/auto-libm-test-out: Regenerated.
13150 2015-05-19  Roland McGrath  <roland@hack.frob.com>
13152         [BZ #18434]
13153         * nptl/tst-sem15.c: New file.
13154         * nptl/Makefile (tests): Add it.
13155         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
13156         s/<</>>/ to fix typo in EOVERFLOW check.
13157         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
13159 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
13161         * manual/strings.texi (envz_remove): Fix typo in safety
13162         annotations.
13164 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
13165             Steve Ellcey  <sellcey@imgtec.com>
13167         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
13168         in order to avoid strict alias warnings.
13169         (iruserok_af): Ditto for ra.
13171 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
13173         [BZ #17581]
13174         * malloc/hooks.c
13175         (magicbyte): Convert to a function and avoid returning 0x01.
13176         (mem2mem_check): Avoid using a length byte equal to the magic byte.
13177         (mem2chunk_check): Fix unsigned comparisons to zero.
13178         Hoist defs of sz and magic.
13180 2015-05-19  Richard Henderson  <rth@redhat.com>
13182         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
13184         * sysdeps/alpha/fpu/libm-test-ulps: Update.
13186 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
13188         [BZ #16159]
13189         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
13190         * malloc/arena.c (arena_lock): Check if arena is corrupt.
13191         (reused_arena): Find a non-corrupt arena.
13192         (heap_trim): Pass arena to unlink.
13193         * malloc/hooks.c (malloc_check_get_size): Pass arena to
13194         malloc_printerr.
13195         (top_check): Likewise.
13196         (free_check): Likewise.
13197         (realloc_check): Likewise.
13198         * malloc/malloc.c (malloc_printerr): Add arena argument.
13199         (unlink): Likewise.
13200         (munmap_chunk): Adjust.
13201         (ARENA_CORRUPTION_BIT): New macro.
13202         (arena_is_corrupt): Likewise.
13203         (set_arena_corrupt): Likewise.
13204         (sysmalloc): Use mmap if there are no usable arenas.
13205         (_int_malloc): Likewise.
13206         (__libc_malloc): Don't fail if arena_get returns NULL.
13207         (_mid_memalign): Likewise.
13208         (__libc_calloc): Likewise.
13209         (__libc_realloc): Adjust for additional argument to
13210         malloc_printerr.
13211         (_int_free): Likewise.
13212         (malloc_consolidate): Likewise.
13213         (_int_realloc): Likewise.
13214         (_int_memalign): Don't touch corrupt arenas.
13215         * malloc/tst-malloc-backtrace.c: New test case.
13217         * Makefile (summarize-tests): Fix return value on success.
13219         * manual/string.texi (Envz Functions): Add envz_remove.
13221 2015-05-18  Roland McGrath  <roland@hack.frob.com>
13223         * sysdeps/posix/opendir.c: Include <stdbool.h>.
13224         (invalid_name): New function, broken out of ...
13225         (__opendirat): ... here.  Call it.
13226         (need_isdir_precheck): New function, broken out of ...
13227         (__opendirat): ... here.  Call it.
13228         Use __fxstatat64, not __xstatat64.
13229         (opendir_oflags): New function, broken out of ...
13230         (__opendirat): ... here.  Call it.
13231         (opendir_tail): New function, broken out of ...
13232         (__opendirat): ... here.  Call it.
13233         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
13234         opendir_tail, rather than punting to __opendirat.
13235         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
13237 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
13239         * .gitignore: Ignore generated *.pyc.
13241 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
13243         * include/stdio.h: Define __need_wint_t.
13244         * test-skeleton.c: Avoid `for' loop initial declaration.
13245         * nptl/tst-initializers1.c: Use test-skeleton.c.
13247 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13249         [BZ #18418]
13250         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
13252 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
13254         [BZ #16352]
13255         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
13256         (__ieee754_atanh): Force underflow exception for results with
13257         small absolute value.
13258         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
13259         (__ieee754_atanhf): Force underflow exception for results with
13260         small absolute value.
13261         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
13262         (__ieee754_atanh): Force underflow exception for results with
13263         small absolute value.
13264         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
13265         (__ieee754_atanhf): Force underflow exception for results with
13266         small absolute value.
13267         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
13268         (__ieee754_atanhl): Force underflow exception for results with
13269         small absolute value.
13270         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
13271         (__ieee754_atanhl): Force underflow exception for results with
13272         small absolute value.
13273         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
13274         (__ieee754_atanhl): Force underflow exception for results with
13275         small absolute value.
13276         * math/auto-libm-test-in: Do not allow missing underflow
13277         exceptions from atanh.
13278         * math/auto-libm-test-out: Regenerated.
13280         [BZ #18221]
13281         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
13282         2**-28 as threshold for returning x or +/- 1/x.
13283         * math/auto-libm-test-in: Add more tests of tan.
13284         * math/auto-libm-test-out: Regenerated.
13286         [BZ #18220]
13287         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
13288         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
13289         * math/auto-libm-test-in: Add another test of lgamma.
13290         * math/auto-libm-test-out: Regenerated.
13292 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
13294         * stdio-common/printf_fp.c (___printf_fp): Use abs.
13295         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
13296         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
13297         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
13298         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
13299         (ADD2A): Use fabs.  (SUB2A): Use fabs.
13300         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
13301         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
13302         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
13303         (log1): Use fabs.  (my_log2): Use fabs.
13304         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
13305         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
13306         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
13307         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
13308         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
13309         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
13310         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
13311         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
13312         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
13313         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
13314         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
13316 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
13318         [BZ #18217]
13319         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
13320         as threshold for returning 1 - x.
13321         * math/auto-libm-test-in: Add more tests of erfc.
13322         * math/auto-libm-test-out: Regenerated.
13324 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
13326         [BZ #18196]
13327         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
13328         threshold for large arguments.
13329         * math/auto-libm-test-in: Add another test of atan.
13330         * math/auto-libm-test-out: Regenerated.
13332         [BZ #16339]
13333         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
13334         (__log1p): Force underflow exception for results with small
13335         absolute value.
13336         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
13337         (__log1pf): Force underflow exception for results with small
13338         absolute value.
13339         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
13340         (__log1p): Force underflow exception for results with small
13341         absolute value.
13342         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
13343         (__log1pf): Force underflow exception for results with small
13344         absolute value.
13345         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
13346         (__log1pl): Force underflow exception for results with small
13347         absolute value.
13348         * math/auto-libm-test-in: Do not allow missing underflow
13349         exceptions from log1p.
13350         * math/auto-libm-test-out: Regenerated.
13352 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
13353             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13355         [BZ #16704]
13356         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
13358 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
13360         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
13361         (libmvec): New variable.
13362         * configure.ac: Added option for mathvec build.
13363         * configure: Regenerated.
13364         * mathvec/Depend: New file.
13365         * mathvec/Makefile: New file.
13366         * shlib-versions: Added libmvec.
13367         * math/Makefile: Added rule for libm.so installation.
13369         * bits/math-vector.h: New file.
13370         * bits/libm-simd-decl-stubs.h: New header.
13371         * math/Makefile (headers): Added new header
13372         libm-simd-decl-stubs.h.
13373         * math/math.h (__MATHCALL_VEC): New macro.
13375         * math/gen-libm-have-vector-test.sh: Script generates series of macros
13376         for conditions in testing functions.
13377         * math/Makefile: Added call of libm-have-vector-test.sh.
13378         * math/libm-test.inc (HAVE_VECTOR): New macros.
13380         * math/libm-test.inc: START refactored.
13381         * math/test-double.c (TEST_MATHVEC): Add define.
13382         * math/test-float.c: Likewise.
13383         * math/test-idouble.c: Likewise.
13384         * math/test-ifloat.c: Likewise.
13385         * math/test-ildoubl.c: Likewise.
13386         * math/test-ldouble.c: Likewise.
13387         * sysdeps/generic/math-tests-arch.h
13388         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
13389         architecture check.
13391         * math/test-double.c (FUNC_TEST): New macro.
13392         * math/test-float.c: Likewise.
13393         * math/test-idouble.c: Likewise.
13394         * math/test-ifloat.c: Likewise.
13395         * math/test-ildoubl.c: Likewise.
13396         * math/test-ldouble.c: Likewise.
13397         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
13399 2015-05-13  Roland McGrath  <roland@hack.frob.com>
13401         * sysdeps/nacl/fdopendir.c: New file.
13403         * dirent/scandir-tail.c: New file.
13404         * dirent/scandir64-tail.c: New file.
13405         * dirent/Makefile (routines): Add them.
13406         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
13407         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
13408         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
13409         [!SCANDIR] (SCANDIR_TAIL): New macro.
13410         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
13411         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
13412         (SCANDIRAT): Macro removed.
13413         (SCANDIR_TAIL): New macro.
13414         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
13415         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
13416         (SCANDIRAT): Just call __opendirat and __scandir_tail.
13417         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
13418         (READDIR): Macro removed.
13419         (SCANDIR_TAIL): New macro.
13420         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
13421         (SCANDIR_TAIL): New macro.
13423         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
13424         * dirent/scandir-cancel.c: ... to this new file.
13425         * dirent/Makefile (routines): Add it.
13426         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
13427         * sysdeps/unix/sysv/linux/i386/scandir64.c
13428         (SKIP_SCANDIR_CANCEL): Macro removed.
13429         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
13431         * dirent/tst-scandir.c: New file.
13432         * dirent/tst-scandir64.c: New file.
13433         * dirent/Makefile (tests): Add them.
13435 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
13437         [BZ #18409]
13438         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
13440 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13442         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
13443         list.
13445 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
13447         * benchtests/bench-strcoll.c: New benchmark.
13448         * benchtests/Makefile: Generate locales and run benchmark.
13449         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
13450         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
13451         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
13452         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
13453         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
13454         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
13455         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
13456         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
13457         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
13458         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
13459         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
13460         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
13461         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
13462         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
13463         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
13464         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
13465         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
13466         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
13467         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
13468         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
13469         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
13470         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
13471         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
13472         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
13474 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
13476         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
13477         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
13479 2015-05-12  Roland McGrath  <roland@hack.frob.com>
13481         * posix/uname-values.h: New file.
13482         * posix/uname.c: Include that instead of <config-name.h>.
13483         * sysdeps/nacl/uname-values.h: New file.
13484         * sysdeps/arm/nacl/uname-values.h: New file.
13486 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
13488         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
13489         splitting into fields.
13491 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
13493         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
13494         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
13495         * locale/localeinfo.h: Add enum collation_encoding_type.
13496         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
13497         * programs/ld-collate.c (collate_output): Add encoding type info.
13498         * string/strcoll_l.c (STRDIFF): New function.
13499         * (STRCOLL): Use STRDIFF to skip over equal prefix.
13500         * wcsmbs/wcscoll_l.c: Define STRDIFF.
13502 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
13504         [BZ #18397]
13505         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
13506         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
13507         <fpu_control.h> instead of <math/fpu_control.c>.
13508         * sysdeps/mips/mips32/fpu/Makefile: New file.
13510 2015-05-11  Andreas Schwab  <schwab@suse.de>
13512         [BZ #18007]
13513         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
13514         nss_endgrent.
13515         (_nss_compat_endgrent): Call nss_endgrent.
13516         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
13517         nss_endpwent.
13518         (_nss_compat_endpwent): Call nss_endpwent.
13519         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
13520         needent, call nss_setspent only if non-zero.
13521         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
13522         (internal_endspent): Don't call nss_endspent.
13523         (_nss_compat_endspent): Call nss_endspent.
13524         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
13525         Remove.  All uses removed.
13526         (internal_setent): Remove parameter stayopen, add parameter
13527         stream.  Use it instead of global variable.
13528         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
13529         (internal_endent, internal_getent): Add parameter stream.  Use it
13530         instead of global variable.
13531         (CONCAT(_nss_files_end,ENTNAME))
13532         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
13533         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
13534         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
13535         uses removed.
13536         (internal_setent, internal_endent): Add parameter stream.  Use it
13537         instead of global variable.
13538         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
13539         stream.
13540         (get_next_alias): Add parameter stream.
13541         (_nss_files_getaliasent_r): Pass global stream.
13542         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
13543         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
13544         (_nss_files_gethostbyname4_r): Pass local stream to
13545         internal_setent, internal_getent and internal_endent.  Remove
13546         locking.
13548 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
13550         * tst-strfmon1.c (tests): Update expected currency symbol.
13552 2015-05-08  Roland McGrath  <roland@hack.frob.com>
13554         * sysdeps/nacl/gethostname.c: New file.
13556 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
13558         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
13559         and sinh.
13560         * math/auto-libm-test-out: Regenerated.
13561         * sysdeps/i386/fpu/libm-test-ulps: Update.
13562         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13564 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
13566         [BZ #18125]
13567         * stdlib/tst-setcontext3.c: New file.
13568         * stdlib/tst-setcontext3.sh: New file.
13569         * stdlib/Makefile (tests): Add tst-setcontext3.
13570         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
13571         to verify test program created output file.
13572         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
13573         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
13574         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
13575         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
13577 2015-05-06  Roland McGrath  <roland@hack.frob.com>
13579         [BZ #18383]
13580         * elf/tst-tlsalign.c: New file.
13581         * elf/tst-tlsalign-static.c: New file.
13582         * elf/tst-tlsalign-lib.c: New file.
13583         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
13584         (tests-static): Add tst-tlsalign-static.
13585         (modules-names): Add tst-tlsalign-lib.
13586         (test-xfail-tst-tlsalign): New variable.
13587         (test-xfail-tst-tlsalign-static): New variable.
13589         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
13590         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
13592 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
13594         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
13595         csqrt, erfc, sin and sincos.
13596         * math/auto-libm-test-out: Regenerated.
13597         * sysdeps/i386/fpu/libm-test-ulps: Update.
13598         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13600 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13602         * sysdeps/aarch64/libm-test-ulps: Update.
13604 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
13606         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
13607         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
13608         * math/auto-libm-test-out: Regenerated.
13609         * sysdeps/i386/fpu/libm-test-ulps: Update.
13610         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13612 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
13614         [BZ #18265]
13615         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
13616         (wcsncpy): Likewise.
13618 2015-05-05  Florian Weimer  <fweimer@redhat.com>
13620         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
13621         Assume __ASSUME_FALLOCATE is always true.
13622         * sysdeps/unix/sysv/linux/posix_fallocate64.c
13623         (__posix_fallocate64_l64): Likweise.
13624         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
13625         (posix_fallocate): Likewise.
13626         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
13627         (__posix_fallocate64_l64): Likewise.
13628         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
13629         [!__ASSUME_FALLOCATE]: Add comment.
13631 2015-05-05  Florian Weimer  <fweimer@redhat.com>
13633         * sysdeps/unix/sysv/linux/i386/Makefile
13634         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
13635         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
13636         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
13637         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
13638         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
13639         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
13640         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
13642 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
13644         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
13645         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
13646         tgamma.
13647         * math/auto-libm-test-out: Regenerated.
13648         * sysdeps/i386/fpu/libm-test-ulps: Update.
13649         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13651 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
13653         * math/auto-libm-test-in: Add more tests of tgamma.
13654         * math/auto-libm-test-out: Regenerated.
13655         * sysdeps/i386/fpu/libm-test-ulps: Update.
13656         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13658         * math/auto-libm-test-in: Add more tests of tanh.
13659         * math/auto-libm-test-out: Regenerated.
13660         * sysdeps/i386/fpu/libm-test-ulps: Update.
13661         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13663         * math/auto-libm-test-in: Add more tests of tan.
13664         * math/auto-libm-test-out: Regenerated.
13665         * sysdeps/i386/fpu/libm-test-ulps: Update.
13666         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13668         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
13669         * math/auto-libm-test-out: Regenerated.
13670         * sysdeps/i386/fpu/libm-test-ulps: Update.
13671         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13673         * math/auto-libm-test-in: Add another test of pow.
13674         * math/auto-libm-test-out: Regenerated.
13675         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13677         * math/auto-libm-test-in: Add more tests of lgamma.
13678         * math/auto-libm-test-out: Regenerated.
13679         * sysdeps/i386/fpu/libm-test-ulps: Update.
13680         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13682         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
13683         log1p.
13684         * math/auto-libm-test-out: Regenerated.
13685         * sysdeps/i386/fpu/libm-test-ulps: Update.
13686         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13688 2015-05-01  Mark Wielaard  <mjw@redhat.com>
13690         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
13691         Elf64_Chdr structs and ELFCOMPRESS constants.
13693 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
13695         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
13696         expm1.
13697         * math/auto-libm-test-out: Regenerated.
13698         * sysdeps/i386/fpu/libm-test-ulps: Update.
13699         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13701         * math/auto-libm-test-in: Add more tests of erf and erfc.
13702         * math/auto-libm-test-out: Regenerated.
13703         * sysdeps/i386/fpu/libm-test-ulps: Update.
13704         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13706 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13708         * config.h.in (HAVE_AARCH64_BE): Add.
13710 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
13712         * math/auto-libm-test-in: Add more tests of csqrt.
13713         * math/auto-libm-test-out: Regenerated.
13714         * sysdeps/i386/fpu/libm-test-ulps: Update.
13715         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13717         * math/auto-libm-test-in: Add more tests of cosh and sinh.
13718         * math/auto-libm-test-out: Regenerated.
13719         * sysdeps/i386/fpu/libm-test-ulps: Update.
13720         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13722         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
13724 2015-04-29  Roland McGrath  <roland@hack.frob.com>
13726         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
13727         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
13729         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
13730         (euidaccess, eaccess): Define as weak aliases.
13732         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
13733         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
13734         but __suseconds_t is often 'long int' so some sources assume that
13735         type is being used (e.g. they use %ld to print tv_usec).
13737 2015-04-29  Florian Weimer  <fweimer@redhat.com>
13739         [BZ #18007]
13740         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
13741         (CVE-2014-8121)
13742         * nss/tst-nss-getpwent.c: New file.
13743         * nss/Makefile (tests): Add new test.
13745 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
13747         [BZ #18346]
13748         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
13749         exponents less than 48 as cases where high part of mantissa needs
13750         examining to determine whether argument is integral.
13751         * math/libm-test.inc (round_test_data): Add more tests.
13753 2015-04-28  Mark Wielaard  <mjw@redhat.com>
13755         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
13757 2015-04-27  David S. Miller  <davem@davemloft.net>
13759         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
13760         __tls_get_addr.
13761         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
13763 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
13765         [BZ#18333]
13766         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
13768 2015-04-27  Florian Weimer  <fweimer@redhat.com>
13770         [BZ#18333]
13771         * time/tzset.c (parse_tzname): Return error on memory allocation
13772         failure.
13773         * test-skeleton.c (struct temp_name_list): Change type of name
13774         member to non-const.
13775         (add_temp_file): Create a copy of the file name.
13776         (delete_temp_files): Deallocate memory.
13777         (create_temp_file): Add comment.
13779 2015-04-24  Florian Weimer  <fweimer@redhat.com>
13781         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
13782         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
13784 2015-04-24  Roland McGrath  <roland@hack.frob.com>
13786         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
13787         * sysdeps/arm/configure: Regenerated.
13789 2015-04-24  Florian Weimer  <fweimer@redhat.com>
13791         [BZ #17715]
13792         * time/tzfile.c (__tzfile_read): Check for large values of
13793         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
13794         * time/tzset.c (__tzstring_len): New function, based on the old
13795         __tzstring function.
13796         (__tzstring): Call __tzstring_len.
13797         (parse_tzname): New helper function extracted from
13798         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
13799         the input string.
13800         (parse_offset): New helper function extracted from
13801         __tzset_parse_tz.  Replace switch with fallthrough with
13802         initialization before sscanf.
13803         (parse_rule): Likewise.
13804         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
13805         new-style function definition.
13806         * timezone/Makefile (tests): Add tst-tzset.
13807         (tst-tzset.out): Dependencies on time zone files.
13808         (tst-tzset-ENV): Set TZDIR.
13809         (testdata/XT%): Copy crafted time zone files.
13810         * timezone/README: Mention crafted time zone files.
13811         * timezone/testdata/XT1, timezone/testdata/XT2,
13812         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
13813         files.
13814         * timezone/tst-tzset.c: New test.
13816 2015-04-24  Florian Weimer  <fweimer@redhat.com>
13818         * Makeconfig (+gccwarn): Remove -Winline.
13820 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
13822         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
13824 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
13826         * NEWS: Mention sysconf() cache information support for s390.
13827         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
13829 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
13831         * math/k_casinh.c (__kernel_casinh): Use __copysign.
13832         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
13833         (__nearbyint): Likewise.
13834         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
13835         (copysignl): Likewise.
13837 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
13839         [BZ #18287]
13840         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
13841         based on padding.  (CVE-2015-1781)
13843 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13845         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
13846         libc-vdso.h.
13847         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
13848         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
13849         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
13850         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
13851         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
13852         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
13853         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
13854         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
13855         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
13856         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
13857         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
13858         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
13859         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
13860         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
13861         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
13862         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
13863         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
13864         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
13865         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
13866         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
13867         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
13868         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
13869         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
13871 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
13873         * stdlib/setenv.c (__add_to_environ):
13874         Dump core quickly if setenv (..., NULL, ...) is called.
13875         This time, do it the right way, and pacify GCC with a pragma.
13877 2015-04-17  Roland McGrath  <roland@hack.frob.com>
13879         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
13880         IMAP->l_prev cannot be null, and #if out the code for the contrary
13881         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
13882         believe that NS (&_dl_ns[NSID]) could point outside the array.
13884         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
13885         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
13886         before using NSID as an index.
13888 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
13890         [BZ #17825]
13891         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
13892         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
13893         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
13895 2015-04-17  Roland McGrath  <roland@hack.frob.com>
13897         Add preliminary port to Google Native Client on ARM.
13898         * abi-tags (.*-.*-nacl.*): New entry.
13899         * sysdeps/arm/nacl: New directory.
13900         * sysdeps/nacl: New directory.
13902 2015-04-16  David S. Miller  <davem@davemloft.net>
13904         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
13905         lowlevellock-futex.h
13907 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
13909         * sysdeps/tile/configure.ac: New file.
13910         * sysdeps/tile/configure: Regenerated.
13912 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13914         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
13915         conditionals for weak_alias and libc_hidden_weak.
13916         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
13917         libc_hidden_weak and weak_alias.
13918         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
13919         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
13920         and weak_alias for static one.
13922 2015-04-15  David S. Miller  <davem@davemloft.net>
13924         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
13926 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
13928         [BZ #18206]
13929         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
13930           Use signed comparision instead of substraction to avoid
13931           overflow bug.
13932         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
13933           Take the sign of ret.
13934         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
13935           Do not expect precise return values. Only the sign matters.
13936         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
13937         * wcsmbs/test-wcsncmp.c: New File.
13938         * string/test-strncmp.c: Add wcsncmp support.
13940 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
13942         [BZ #6792]
13943         * math/w_log1p.c: New file.
13944         * math/w_log1pf.c: Likewise.
13945         * math/w_log1pl.c: Likewise.
13946         * math/Makefile (libm-calls): Add w_log1p.
13947         * math/s_log1pl.c (log1pl): Remove weak_alias.
13948         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
13949         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
13950         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
13951         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
13952         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
13953         [NO_LONG_DOUBLE] (log1pl): Likewise.
13954         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
13955         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
13956         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
13957         (log1p): Remove long_double_symbol.
13958         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
13959         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
13960         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
13961         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
13962         remove weak_alias for corresponding log1p function.
13963         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
13964         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
13965         * sysdeps/ia64/fpu/w_log1p.c: New file.
13966         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
13967         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
13968         * math/libm-test.inc (log1p_test_data): Add errno expectations.
13970 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
13972         [BZ #18247]
13973         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
13974         decimal exponent by 1.
13975         * stdlib/tst-strtod-round-data: Add more tests.
13976         * stdlib/tst-strtod-round.c (tests): Regenerated.
13978 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
13980         * math/auto-libm-test-in: Add more tests of clog and clog10.
13981         * math/auto-libm-test-out: Regenerated.
13982         * sysdeps/i386/fpu/libm-test-ulps: Update.
13983         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13985 2015-04-09  Roland McGrath  <roland@hack.frob.com>
13987         * Makeconfig (module-cppflags): Exclude all .v.i files.
13988         (skip-module-cppflags): Variable removed.
13990         * configure.ac (libc_config_ok): Initialize before reading
13991         preconfigure scripts, not after.
13992         * configure: Regenerated.
13994         * test-skeleton.c (TIMEOUT): Move #define to top level.
13995         (main): Grok environment variable TEST_DIRECT.  If set, print
13996         test expectation details into that file and then behave as if
13997         given --direct.
13999 2015-04-09  Florian Weimer  <fweimer@redhat.com>
14001         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
14002         warning on 32-bit.
14004 2015-04-08  David S. Miller  <davem@davemloft.net>
14006         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14008 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
14010         * math/auto-libm-test-in: Add more tests of atanh.
14011         * math/auto-libm-test-out: Regenerated.
14012         * sysdeps/i386/fpu/libm-test-ulps: Update.
14013         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14015         * math/auto-libm-test-in: Add more tests of atan.
14016         * math/auto-libm-test-out: Regenerated.
14017         * sysdeps/i386/fpu/libm-test-ulps: Update.
14018         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14020 2015-04-08  Florian Weimer  <fweimer@redhat.com>
14022         * elf/pldd.c (main): Rewrite to use struct
14023         scratch_buffer instead of extend_alloca.
14024         * elf/pldd-xx.c (find_maps): Likewise.
14025         * grp/initgroups.c: Include <scratch_buffer.h> instead of
14026         <alloca.h>.
14027         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
14028         scratch_buffer instead of extend_alloca.
14029         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
14030         grp/compat-initgroups.c.
14031         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
14032         Rewrite to use struct scratch_buffer instead of extend_alloca.
14033         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
14034         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
14036 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
14038         * math/auto-libm-test-in: Add more tests of cbrt.
14039         * math/auto-libm-test-out: Regenerated.
14040         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14042         * math/auto-libm-test-in: Add more tests of cabs.
14043         * math/auto-libm-test-out: Regenerated.
14044         * sysdeps/i386/fpu/libm-test-ulps: Update.
14045         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14047         [BZ #18210]
14048         [BZ #18211]
14049         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
14050         (__ieee754_atan2): Set FE_TONEAREST mode for internal
14051         computations.
14052         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
14053         clog10.
14054         * math/auto-libm-test-out: Regenerated.
14055         * sysdeps/i386/fpu/libm-test-ulps: Update.
14056         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14058         [BZ #18197]
14059         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
14060         (atan): Set FE_TONEAREST mode for internal computations.
14061         * math/auto-libm-test-in: Add more tests of atan.
14062         * math/auto-libm-test-out: Regenerated.
14064 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
14066         [BZ #17930]
14067         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
14069 2015-04-07  Florian Weimer  <fweimer@redhat.com>
14071         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
14073 2015-04-07  Florian Weimer  <fweimer@redhat.com>
14075         * include/scratch_buffer.h: New file.
14076         * malloc/scratch_buffer_grow.c: Likewise.
14077         * malloc/scratch_buffer_grow_preserve.c: Likewise.
14078         * malloc/scratch_buffer_set_array_size.c: Likewise.
14079         * malloc/tst-scratch_buffer.c: Likewise.
14080         * malloc/Makefile (routines): Add scratch_buffer_grow.
14081         (tests): Add test case.
14082         * malloc/Versions (GLIBC_PRIVATE): Export
14083         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
14084         __libc_scratch_buffer_set_array_size.
14086 2015-04-06  Richard Henderson  <rth@redhat.com>
14088         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
14089         * sysdeps/alpha/fpu/libm-test-ulps: Update.
14091         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
14092         unsigned int before printing.
14094 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14096         [BZ #17596]
14097         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
14098         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
14100 2015-04-02  Florian Weimer  <fweimer@redhat.com>
14102         * include/libc-internal.h (libc_max_align_t): Define.
14104 2015-04-02  Andreas Schwab  <schwab@suse.de>
14106         [BZ #16850]
14107         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
14109 2015-04-02  Mel Gorman  <mgorman@suse.de>
14111         [BZ #17195]
14112         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
14113         as well as the main arena.
14115 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
14117         [BZ #18185]
14118         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
14119         sharing L2 cache to 2 for Silvermont/Knights Landing.
14121 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
14123         [BZ #17711]
14124         * config.make.in (have-protected-data): New.
14125         * configure.ac: Check linker support for protected data symbol.
14126         * configure: Regenerated.
14127         * elf/Makefile (modules-names): Add tst-protected1moda and
14128         tst-protected1modb if $(have-protected-data) is yes.
14129         (tests): Add tst-protected1a and tst-protected1b if
14130         $(have-protected-data) is yes.
14131         ($(objpfx)tst-protected1a): New.
14132         ($(objpfx)tst-protected1b): Likewise.
14133         (tst-protected1modb.so-no-z-defs): Likewise.
14134         * elf/tst-protected1a.c: New file.
14135         * elf/tst-protected1b.c: Likewise.
14136         * elf/tst-protected1mod.h: Likewise.
14137         * elf/tst-protected1moda.c: Likewise.
14138         * elf/tst-protected1modb.c: Likewise.
14140 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
14142         [BZ #17711]
14143         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
14144         indicates it is called from do_lookup_x on relocation against
14145         protected data, skip the data definion in the executable from
14146         copy reloc.
14147         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
14148         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
14149         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
14150         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
14151         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
14152         otherwise to 0.
14153         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
14154         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
14155         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
14156         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
14157         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
14158         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
14160 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
14162         * sysdeps/nptl/pthread.h: Remove duplicate definition of
14163         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
14165 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
14167         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
14168         THREAD_SETMEM_NC.
14169         * sysdeps/x86_64/nptl/tls.h: Ditto.
14171 2015-03-27  Roland McGrath  <roland@hack.frob.com>
14173         * dlfcn/tststatic.c (main): Converted to ...
14174         (do_test): ... this.
14175         (TEST_FUNCTION): New macro.
14176         Include test-skeleton.c.
14178 2015-03-26  Alan Modra  <amodra@gmail.com>
14180         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
14181         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
14182         zero for undefined weak.
14183         (elf_machine_plt_conflict): Similarly.
14185 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
14187         * math/auto-libm-test-in: Add more tests of acosh, asinh and
14188         atanh.
14189         * math/auto-libm-test-out: Regenerated.
14190         * sysdeps/i386/fpu/libm-test-ulps: Update.
14191         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14193         * math/auto-libm-test-in: Add another test of asin.
14194         * math/auto-libm-test-out: Regenerated.
14195         * sysdeps/i386/fpu/libm-test-ulps: Update.
14196         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14198         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
14199         Remove macro.
14200         (LLL_EBX_REG): Likewise.
14201         (LLL_ENTER_KERNEL): Likewise.
14203         * math/auto-libm-test-in: Add more tests of asin.
14204         * math/auto-libm-test-out: Regenerated.
14205         * sysdeps/i386/fpu/libm-test-ulps: Update.
14206         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14208         [BZ #18138]
14209         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
14210         libc_do_syscall_args): New structure.
14211         (INTERNAL_SYSCALL_MAIN_0): New macro.
14212         (INTERNAL_SYSCALL_MAIN_1): Likewise.
14213         (INTERNAL_SYSCALL_MAIN_2): Likewise.
14214         (INTERNAL_SYSCALL_MAIN_3): Likewise.
14215         (INTERNAL_SYSCALL_MAIN_4): Likewise.
14216         (INTERNAL_SYSCALL_MAIN_5): Likewise.
14217         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
14218         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
14219         Replace conditional definitions by conditional definitions of ....
14220         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
14221         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
14222         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
14223         (libpthread-sysdep_routines): Add libc-do-syscall.
14224         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
14225         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
14226         to __NR_futex not 240.
14228 2015-03-25  Alan Modra  <amodra@gmail.com>
14230         * NEWS: Advertise TLS optimization.
14231         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
14232         (DT_PPC_NUM): Increment.
14233         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
14234         (CHECK_STATIC_TLS): Use here.
14235         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
14236         TLS descriptors.
14237         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14238         * sysdeps/powerpc/dl-tls.c: New file.
14239         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
14240         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
14241         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
14242         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
14243         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
14244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
14245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
14247 2015-03-25  Alan Modra  <amodra@gmail.com>
14249         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
14250         for overlapping .opd entries" to "support...".
14251         * sysdeps/powerpc/powerpc64/configure: Regenerate
14253 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
14255         * math/auto-libm-test-in: Add more tests of acos.
14256         * math/auto-libm-test-out: Regenerated.
14257         * sysdeps/i386/fpu/libm-test-ulps: Update.
14258         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14260         * math/auto-libm-test-in: Add more tests of expm1.
14261         * math/auto-libm-test-out: Regenerated.
14262         * sysdeps/i386/fpu/libm-test-ulps: Update.
14263         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14265 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
14267         * math/auto-libm-test-in: Add more tests of cosh and sinh.
14268         * math/auto-libm-test-out: Regenerated.
14269         * sysdeps/i386/fpu/libm-test-ulps: Update.
14270         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14272         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
14273         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14275         * math/auto-libm-test-in: Add more tests of log2.
14276         * math/auto-libm-test-out: Regenerated.
14277         * sysdeps/i386/fpu/libm-test-ulps: Update.
14278         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14280 2015-03-23  Roland McGrath  <roland@hack.frob.com>
14282         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
14283         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
14284         _IO_IS_APPENDING bit in READ_WRITE instead.
14286 2015-03-23  Florian Weimer  <fweimer@redhat.com>
14288         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
14289         (__determine_cpumask_size): Replace extend_alloca with a
14290         variable-length array.  Do not treat res == 0 as an error.
14292 2015-03-23  Florian Weimer  <fweimer@redhat.com>
14294         [BZ #18100]
14295         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
14296         and integer overflow.
14297         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
14298         (main): Add integer overflow tests.
14299         * manual/pattern.texi (Calling Wordexp): Document additional use
14300         for WRDE_SYNTAX.
14302 2015-03-23  Alan Modra  <amodra@gmail.com>
14304         * config.h.in: Remove HAVE_ASM_PPC_REL16.
14305         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
14306         and false branch of conditional.
14307         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
14308         Likewise.
14310 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
14312         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
14313         libc-modules.h
14314         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
14315         unused declaration of _hurd_intr_rpc_msg_in_trap.
14316         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
14317         defined instead of whether it is non-zero.
14318         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
14319         input constraint instead of both input and output constraint.  Use ecx
14320         clobber instead of %ecx.
14321         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
14322         mutex_unlock): Use a statement expression instead of an expression list.
14323         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
14324         type to vm_size_t instead of vm_address_t.
14325         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
14326         defined instead of whether it is non-zero.
14327         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
14328         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
14329         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
14330         comparisons with mapaddr.
14331         * nscd/nscd-client.h: Include <time.h>.
14332         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
14333         9th parameter to __vm_region instead of int.
14334         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
14335         * scripts/check-local-headers.sh (exclude): Add device/,
14336         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
14337         cthreads.h.
14339 2015-03-19  Roland McGrath  <roland@hack.frob.com>
14341         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
14342         to account for alignment padding.
14343         * sysdeps/arm/memmove.S: Likewise.
14345 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
14347         * sysdeps/unix/sysv/linux/generic/README: New file.
14349 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
14351         [BZ #18138]
14352         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
14353         (futex_abstimed_wait)
14354         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
14355         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
14356         of lll_futex_timed_wait.
14358 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
14360         [BZ #17542]
14361         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
14363 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
14365         [BZ #17090]
14366         [BZ #17620]
14367         [BZ #17621]
14368         [BZ #17628]
14369         * NEWS: Update.
14370         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
14371         entries with Static TLS too.  Skip entries past the end of the
14372         allocated DTV, from Alan Modra.
14373         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
14374         Static TLS DTV entry set up from...
14375         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
14376         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
14377         * nptl/allocatestack.c (init_one_static_tls): ... and here...
14378         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
14379         for Static TLS.
14380         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
14381         that the slot we find is associated with the given map before
14382         using its generation count.
14383         * nptl_db/db_info.c: Include ldsodefs.h.
14384         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
14385         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
14386         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
14387         (link_map::l_tls_offset): New struct field.
14388         (dtv_t::counter): Likewise.
14389         (rtld_global): New struct.
14390         (_rtld_global): New rtld variable.
14391         (dl_tls_dtv_slotinfo_list): New rtld global field.
14392         (dtv_slotinfo_list): New struct.
14393         (dtv_slotinfo): Likewise.
14394         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
14395         (td_lookup): Rename to...
14396         (td_mod_lookup): ... this.  Use new mod parameter instead of
14397         LIBPTHREAD_SO.
14398         * nptl_db/td_thr_tlsbase.c: Include link.h.
14399         (dtv_slotinfo_list, dtv_slotinfo): New functions.
14400         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
14401         addresses even if the DTV is out of date or missing them.
14402         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
14403         index zero-length arrays.
14404         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
14405         (td_lookup): Make it a macro implemented in terms of...
14406         (td_mod_lookup): ... this declaration.
14407         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
14408         (DB_MAIN_VARIABLE): Likewise.
14410 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
14412         [BZ #18134]
14413         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
14415 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
14417         * stdlib/setenv.c (__add_to_environ): Revert previous change.
14419 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
14421         [BZ #18128]
14422         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
14423         (atomic_add, atomic_increment_and_test)
14424         (atomic_decrement_and_test): Fix 64-bit arithmetic.
14426 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
14428         * stdlib/setenv.c (__add_to_environ):
14429         Dump core quickly if setenv (..., NULL, ...) is called.
14431 2015-03-13  Roland McGrath  <roland@hack.frob.com>
14433         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
14434         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
14435         all the necessary asm magic in one place.
14436         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
14437         using those.
14439 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
14441         [BZ #14906]
14442         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
14443         traced file mtime. Use consistent log message.
14444         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
14445         (register_traced_file): Call install_watches. Always set mtime.
14446         (invalidate_cache): Iterate over all trace files. Call install_watches.
14447         (inotify_check_files): Don't inline. Handle watching parent
14448         directories and configuration file movement in and out.
14449         (handle_inotify_events): New function.
14450         (main_loop_poll): Call handle_inotify_events.
14451         (main_loop_epoll): Likewise.
14452         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
14453         (struct traced_file): Use array of inotify fds. Add parent directory,
14454         and basename.
14455         (struct database_dyn): Remove unused file_mtime.
14456         (init_traced_file): New inline function.
14457         (define_traced_file): New macro.
14458         * nss/nss_db/db-init.c: Use define_traced_file.
14459         (_nss_db_init): Use init_traced_file.
14460         * nss/nss_files/files-init.c: Use define_traced_file.
14461         (_nss_files_init): Use init_traced_file.
14463 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
14465         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
14466         [_LIBC]: Do not include <stdlib.h>.
14467         [!_LIBC] (abort): Remove declaration.
14468         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
14469         _FP_STATIC_ASSERT instead of conditionally calling abort.
14470         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
14471         (_FP_EXTEND_CNAN): Likewise.
14472         (FP_TRUNC): Likewise.
14473         (__FP_CLZ): Likewise.
14474         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
14476 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
14478         * manual/string.texi (XPG basename): Fix prototype.
14480 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
14482         [BZ #18080]
14483         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
14484         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
14485         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
14486         (__setcontext): Likewise.
14487         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
14488         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
14489         Call rt_sigprocmask syscall one time to set new signal mask
14490         and retrieve the current signal mask instead of two calls.
14491         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
14492         (__swapcontext): Likewise.
14493         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
14494         * stdlib/tst-setcontext2.c: New file.
14496 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
14498         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14500 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
14502         [BZ #18093]
14503         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
14504         the wrong size.
14506 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
14508         [BZ #18043]
14509         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
14511 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
14513         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
14514         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
14515         Remove define.
14516         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
14517         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
14518         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
14519         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
14520         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
14521         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
14522         define.
14523         * nptl_db/td_symbol_list.c (td_lookup): Remove
14524         HAVE_ASM_GLOBAL_DOT_NAME code.
14525         * sysdeps/powerpc/powerpc64/configure.ac: Remove
14526         HAVE_ASM_GLOBAL_DOT_NAME check.
14527         * sysdeps/powerpc/powerpc64/configure: Regenerate.
14528         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
14529         (DOT_LABEL): Remove define.
14530         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
14531         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
14532         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
14533         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
14534         (__TLS_GET_ADDR): Likewise.
14535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
14536         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
14538 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
14540         [BZ #18111]
14541         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
14542         (_FPU_SETCW): Initialize cw from fpsr before storing.
14543         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
14544         (fesetexceptflag): Rewrite using fpu_control.h.
14545         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
14547 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
14549         [BZ #18110]
14550         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
14551         asms.
14552         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
14554 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
14556         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
14557         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
14558         abort.
14559         (_FP_FMA): Likewise.
14560         (_FP_DIV): Likewise.
14562 2015-03-10  Roland McGrath  <roland@hack.frob.com>
14564         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
14565         with 0 in that case.
14566         * Makefile (summarize-tests): New canned sequence, factored out of
14567         commands for targets tests and xtests.  Display summary lines that
14568         don't start with PASS: or XFAIL: rather than ones that do start with
14569         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
14570         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
14571         do start with ERROR: or FAIL:.
14572         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
14573         (except for [$(build-shared) = yes]).
14574         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
14575         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
14576         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
14577         * nptl/Makefile: Revert 2015-03-04 changes.
14578         [$(CXX) empty] (tests-unsupported): New variable.
14579         * debug/Makefile: Likewise.
14581         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
14582         gnulib file.  Replace __attribute with __attribute__ throughout.
14584 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
14586         * sysdeps/hppa/fpu/libm-test-ulps: Update.
14588 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
14590         [BZ #18104]
14591         * math/auto-libm-test-in: Add another test of pow.
14592         * math/auto-libm-test-out: Regenerated.
14594 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14596         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
14597         $(config-cflags-nofma).
14599 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
14601         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
14602         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
14603         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
14604         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
14605         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
14606         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
14607         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
14608         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
14609         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
14610         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
14611         Add comment on closing #endif.
14613 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
14615         * posix/wordexp.c (CHAR_IN_SET): New macro.
14616         (parse_param): Use it.
14618 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14620         * sysdeps/powerpc/fpu/libm-test-ulps: update.
14622 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
14624         [BZ #18043]
14625         * posix/wordexp.c (parse_param): Fix buffer overflow.
14626         * posix/wordexp-test.c (test_case): Add test case.
14628 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
14630         [BZ #18042]
14631         * posix/wordexp.c (parse_backtick): Fix off-by-one.
14632         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
14634 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
14636         [BZ #18043]
14637         * posix/wordexp-test.c (test_case): Add test for BZ #18043
14638         (do_bz18043): Delete.
14639         (at_page_end): New.
14640         (testit): Refactor to have words at the edge of unreadable page.
14642 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
14644         [BZ #16734]
14645         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
14646         Cleanup read-only streams as well.
14647         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
14649 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14651         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
14652         <bits/libc-lockP.h>
14654 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
14656         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
14657         on [__KERNEL__].
14658         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
14659         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
14660         * soft-fp/op-common.h (_FP_DECL): Likewise.
14662 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
14664         * elf/ifuncdep2.c (global): Replace
14665         __attribute__((visibility("protected"))) with
14666         asm (".protected global").
14667         * elf/ifuncmod1.c (global): Likewise.
14668         * elf/ifuncmod5.c (global): Likewise.
14670 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
14672         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
14673         <asm/sfp-machine.h> instead of <sfp-machine.h>.
14675 2015-03-06  Roland McGrath  <roland@hack.frob.com>
14677         * manual/install.texi (Configuring and compiling):
14678         Document test-wrapper-env-only.
14679         * INSTALL: Regenerated.
14681 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
14683         [BZ #18043]
14684         * posix/wordexp.c (parse_param): Fix buffer overflow.
14685         * posix/wordexp-test.c (do_bz18043): Add test case.
14687 2015-03-06  Vincent Bernat  <vincent@bernat.im>
14689         * time/tst-strptime2.c (do_test): Ensure failing tests are
14690         reported correctly.
14691         * time/tst-strptime3.c (do_test): Likewise.
14693 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
14695         Fix aio_error thread-safety.
14696         * sysdeps/pthread/aio_error.c: New file
14697         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
14698         synchronization.
14700 2015-03-06  Florian Weimer  <fweimer@redhat.com>
14702         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
14703         (group_number, vfprintf): Use it.
14704         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
14705         (JUMP, REF): Use it.
14706         (WORK_BUFFER_SIZE): New enum constant.
14707         (process_arg, vfprintf): Use it.
14709 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
14711         * manual/errno.texi (Error Messages): Complete example function
14712         by adding missing #define.
14713         (program_invocation_name): Add statement indicating GNU
14714         extension and reference which header file declares the variable.
14715         (program_invocation_short_name): Likewise.
14717 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
14719         * manual/errno.texi (Error Messages): Delete strerror ISO C89
14720         compatibility note.
14722 2015-03-05  Roland McGrath  <roland@hack.frob.com>
14724         * Makeconfig (test-wrapper-env-only): New variable.
14725         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
14726         then use that with $(test-wrapper-env-only) rather than using
14727         $(test-wrapper-env) $(run-program-env) $($*-ENV).
14729 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
14731         [BZ #18082]
14732         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
14733         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
14734         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
14735         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
14736         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
14737         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
14738         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
14739         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
14740         Likewise.
14741         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
14742         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
14743         Likewise.
14744         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
14745         Likewise.
14746         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
14747         Likewise.
14748         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
14749         Likewise.
14750         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
14751         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
14752         Likewise.
14753         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
14754         Likewise.
14755         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
14756         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
14758 2015-03-04  Roland McGrath  <roland@hack.frob.com>
14760         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
14761         (ETH_ALEN): New macro.
14762         (struct ether_addr): Use it for length of ether_addr_octet.
14764         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
14765         (setdb): Don't call __nss_configure_lookup for "rpc".
14766         (do_test): Don't call test_rpc.
14767         (output_rpcent, test_rpc): Functions moved ...
14768         * sunrpc/test-rpcent.c: ... to this new file.
14769         * sunrpc/Makefile (tests): Add it.
14771         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
14772         __xpg_sigpause.
14773         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
14774         * nptl/tst-signal6.c: Likewise.
14775         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
14776         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
14778         * configure.ac (libc_cv_cxx_link_ok): New check.
14779         Reset CXX to empty if it fails to link.
14780         * configure: Regenerated.
14781         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
14782         bug-atexit3-lib only if $(CXX) is nonempty.
14783         * nptl/Makefile (tests): Likewise for tst-cancel24.
14784         (tests, tests-static): Likewise for tst-cancel24-static.
14785         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
14786         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
14787         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
14788         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
14790 2015-03-04  Andreas Schwab  <schwab@suse.de>
14792         [BZ #17631]
14793         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
14794         for non-GCC compilers.
14795         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
14796         Likewise.
14798 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
14800         [BZ #17776]
14801         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
14802         integer before bitwise and assembly operations.
14803         (feclearexcept): Likewise.
14804         * math/test-fenvinline.c: New file.
14805         * math/Makefile: Add test-fenvinline test.
14807 2015-03-03  Alan Modra  <amodra@gmail.com>
14809         [BZ #16512]
14810         * scripts/localplt.awk: Strip off symbol version.
14811         * NEWS: Mention bug fix.
14813 2015-03-02  Roland McGrath  <roland@hack.frob.com>
14815         * sysdeps/pthread/timer_routines.c
14816         (timer_free_list, thread_free_list, thread_active_list): Make static.
14818 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
14820         [BZ #17779]
14821         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
14822         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
14823         Undefine.
14824         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14825         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
14826         Likewise.
14827         * sysdeps/unix/sysv/linux/sh/kernel-features.h
14828         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
14829         Likewise.
14831 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
14833         [BZ #18036]
14834         * posix/fnmatch_loop.c (END): Detect invalid pattern.
14835         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
14837 2015-03-02  Andreas Schwab  <schwab@suse.de>
14839         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
14840         variable name.
14842 2015-03-02  Florian Weimer  <fweimer@redhat.com>
14844         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
14845         Return error status.
14847 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
14849         [BZ #15969]
14850         * locale/findlocale.c (_nl_find_locale): Introduce const
14851         version of loc_name and drop unsafe type casts.
14853 2015-02-27  Roland McGrath  <roland@hack.frob.com>
14855         * dlfcn/tststatic2.c (main): Converted to ...
14856         (do_test): ... this.
14857         (TEST_FUNCTION): New macro.
14858         Include test-skeleton.c.
14860 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
14862         [BZ #17711]
14863         * elf/Makefile (tests): Add vismain only if PIE is enabled.
14864         (tests-pie): Add vismain.
14865         (CFLAGS-vismain.c): New.
14866         * elf/vismain.c: Add comments for PIE requirement.
14868 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
14870         [BZ #18046]
14871         [BZ #18047]
14872         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
14873         0x1p-56L as threshold for just returning the argument.
14874         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
14875         0x1p-32L as threshold for just returning the argument.
14876         * math/auto-libm-test-in: Add more tests of atanh.
14877         * math/auto-libm-test-out: Regenerated.
14878         * sysdeps/i386/fpu/libm-test-ulps: Update.
14879         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
14881 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
14883         * string/bcopy.c (bcopy): Call memmove for performance.
14885 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
14887         * string/bzero.c (__bzero): Call memset for performance.
14889 2015-02-27  John David Anglin  <dave.anglin@bell.net>
14891         [BZ #18068]
14892         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
14893         to 00100000.
14895 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
14897         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
14899 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
14901         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
14902         (__kernel_standard): Use CSTR macro when setting exc.name.
14903         * sysdeps/ieee754/Makefile [$(subdir) = math]
14904         (CFLAGS-k_standard.c): Remove variable.
14906         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
14907         setting p and q from "else if" to "else".
14908         (qzero): Likewise.
14909         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
14910         (qone): Likewise.
14911         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
14912         (qzerof): Likewise.
14913         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
14914         (qonef): Likewise.
14915         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
14916         (qzero): Likewise.
14917         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
14918         (qone): Likewise.
14920         [BZ #18038]
14921         [BZ #18039]
14922         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
14923         return pi/2 for arguments below 0x1p-113L.
14924         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
14925         return pi/2 for arguments below 0x1p-106L.
14926         * math/auto-libm-test-in: Add more tests of acos.
14927         * math/auto-libm-test-out: Regenerated.
14929         [BZ #16351]
14930         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
14931         (MO): New macro.
14932         (__ieee754_asin): Force underflow exception for results with small
14933         absolute value.
14934         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
14935         (MO): New macro.
14936         (__ieee754_asinf): Force underflow exception for results with
14937         small absolute value.
14938         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
14939         (__ieee754_asin): Force underflow exception for results with small
14940         absolute value.
14941         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
14942         (__ieee754_asinf): Force underflow exception for results with
14943         small absolute value.
14944         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
14945         (__ieee754_asinl): Force underflow exception for results with
14946         small absolute value.
14947         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
14948         (__ieee754_asinl): Force underflow exception for results with
14949         small absolute value.
14950         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
14951         (__ieee754_asinl): Force underflow exception for results with
14952         small absolute value.
14953         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
14954         Include <math.h>.
14955         * math/auto-libm-test-in: Do not mark underflow exceptions as
14956         possibly missing for bug 16351.
14957         * math/auto-libm-test-out: Regenerated.
14959         [BZ #18030]
14960         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
14961         of power of 2 down when low part has opposite sign.
14962         * math/libm-test.inc (logb_test_data): Add more tests.
14964 2015-02-26  Andreas Schwab  <schwab@suse.de>
14966         [BZ #18032]
14967         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
14968         over collating symbol inside a bracket expression.  Minor cleanup.
14969         * posix/tst-fnmatch3.c (do_test): Add test case.
14971 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
14973         [BZ #18029]
14974         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
14975         Adjust exponent of power of 2 down when low part has opposite
14976         sign.
14977         * math/libm-test.inc (ilogb_test_data): Add more tests.
14979 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
14981         [BZ #15969]
14982         * locale/findlocale.c (_nl_find_locale): Fix constness error in
14983         the previous change.
14985         [BZ #15969]
14986         * locale/findlocale.c (_nl_find_locale): Retry archive search
14987         after alias expansion.
14989 2015-02-25  Roland McGrath  <roland@hack.frob.com>
14991         * iconv/tst-iconv3.c (main): Converted to ...
14992         (do_test): ... this.
14993         (TEST_FUNCTION): New macro.
14994         Include test-skeleton.c.
14996         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
14997         (convert): Make function static.
14998         (test_unalign): Likewise.  Add const to argument pointee types.
14999         (main): Replace with static function do_test.
15000         Print "Succeeded." only if RET is zero.
15001         (TEST_FUNCTION): New macro.
15002         Include test-skeleton.c.
15004         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
15005         returns a null pointer.
15007 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15009         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
15010         to __memcpy_ppc only for static builds.
15012 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
15014         [BZ #18020]
15015         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
15016         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
15017         * math/auto-libm-test-in: Add more tests of asinh.
15018         * math/auto-libm-test-out: Regenerated.
15019         * sysdeps/i386/fpu/libm-test-ulps: Update.
15020         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15022 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
15024         [BZ #15850]
15025         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
15026         and ip6_mtuinfo definitions here.
15027         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
15028         in this define too.  Update comment.
15030 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
15032         * elf/sprof.c (load_shobj): Tweak error message to match others.
15034 2015-02-24  Kevin Easton  <kevin@guarana.org>
15036         [BZ #16145] (partial fix)
15037         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
15038         to reduce lock contention.
15040 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
15042         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
15043         (struct timex): Update time comment.
15044         (ADJ_SETOFFSET): Define.
15046 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
15048         [BZ #18019]
15049         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
15050         2**56 not 2**28 as threshold for log (2x) formula.
15051         * math/auto-libm-test-in: Add more tests of acosh.
15052         * math/auto-libm-test-out: Regenerated.
15053         * sysdeps/i386/fpu/libm-test-ulps: Update.
15054         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15056 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
15058         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
15059         parenthesis around the buf assignment.
15060         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
15062 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
15064         [BZ #16783]
15065         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
15066         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
15067         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
15068         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
15069         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
15070         * math/libm-test.inc (scalb_test_data): Add more tests.
15072 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
15074         [BZ #17916]
15075         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
15076         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
15078 2015-02-24  Eric Rannaud  <e@nanocritical.com>
15080         [BZ #17523]
15081         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
15082         * io/bits/fcntl2.h (open): Use it.
15083         (openat): Likewise.
15084         * io/open.c (__libc_open): Likewise.
15085         * io/open64.c (__libc_open64): Likewise.
15086         * io/open64_2.c (__open64_2): Likewise.
15087         * io/open_2.c (__open_2): Likewise.
15088         * io/openat.c (__openat): Likewise.
15089         * io/openat64.c (__openat64): Likewise.
15090         * io/openat64_2.c (__openat64_2): Likewise.
15091         * io/openat_2.c (__openat_2): Likewise.
15092         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
15093         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
15094         * sysdeps/posix/open64.c (__libc_open64): Likewise.
15095         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
15096         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
15097         (__open_nocancel): Likewise.
15098         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
15099         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
15100         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
15102 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
15104         [BZ #14841]
15105         * resolv/gethnamaddr.c (getanswer): Skip logging if
15106         RES_USE_DNSSEC is set.
15107         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
15109 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
15111         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
15113 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
15115         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
15116         201304L, for Unicode 7.
15118 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
15120         [BZ #17836]
15121         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
15122         shared library.  Add gmon-start.os otherwise.
15123         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
15124         $(objpfx)gmon-start.os if builing shared library.
15125         ($(objpfx)g$(static-start-installed-name)): Likewise.
15127 2015-02-23  Andreas Schwab  <schwab@suse.de>
15129         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
15131 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
15133         [BZ #17269]
15134         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
15135         (enlarge_userbuf): Likewise.
15137 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
15139         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
15140         * math/atest-exp.c (TIMEOUT): Adjust to 200.
15141         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
15142         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
15144 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
15146         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
15147         expression inside statement expression.
15149 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
15151         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
15152         <sysdeps/nptl/lowlevellock.h> and remove macros and
15153         functions that are now defined there.
15154         (SYS_futex): Remove.
15155         (lll_compare_and_swap): Remove.
15156         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
15158 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
15160         [BZ #17999]
15161         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
15162         instead of scandirat.
15163         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
15164         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
15165         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
15166         __scandirat.
15167         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
15168         (__scandirat): Declare.  Use libc_hidden_proto.
15169         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
15170         Remove variable.
15171         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
15173 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
15175         [BZ #15319]
15176         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
15177         (MO): New macro.
15178         (__ieee754_atan2): For results with small absolute value, force
15179         underflow exception and remove excess range and precision from
15180         return value.
15181         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
15182         (MO): New macro.
15183         (__ieee754_atan2f): For results with small absolute value, force
15184         underflow exception and remove excess range and precision from
15185         return value.
15186         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
15187         (MO): New macro.
15188         (__atan): For results with small absolute value, force underflow
15189         exception and remove excess range and precision from return value.
15190         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
15191         (MO): New macro.
15192         (__atanf): For results with small absolute value, force underflow
15193         exception and remove excess range and precision from return value.
15194         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
15195         <math.h>.
15196         (__ieee754_atan2): Force underflow exception for results with
15197         small absolute value.
15198         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
15199         <math_private.h>.
15200         (atan): Force underflow exception for results with small absolute
15201         value.
15202         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
15203         (__atanf): Force underflow exception for results with small
15204         absolute value.
15205         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
15206         <math.h>.
15207         (__atanl): Force underflow exception for results with small
15208         absolute value.
15209         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
15210         (__atanl): Force underflow exception for results with small
15211         absolute value.
15212         * sysdeps/x86/fpu/bits/mathinline.h
15213         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
15214         (__ieee754_atan2): Only define inline for long double.
15215         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
15216         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
15217         * math/auto-libm-test-in: Do not mark underflow exceptions as
15218         possibly missing for bug 15319.  Add more tests of atan2.
15219         * math/auto-libm-test-out: Regenerated.
15220         * math/libm-test.inc (casin_test_data): Do not mark underflow
15221         exceptions as possibly missing for bug 15319.
15222         (casinh_test_data): Likewise.
15223         * sysdeps/i386/fpu/libm-test-ulps: Update.
15225 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
15227         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
15228         * sysdeps/mips/bits/endian.h: Fix comments.
15230 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
15232         [BZ #17996]
15233         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
15234         (hdestroy_r): Likewise.
15235         (hsearch_r): Likewise.
15236         (__hcreate_r): Declare and use libc_hidden_proto.
15237         (__hdestroy_r): Likewise.
15238         (__hsearch_r): Likewise.
15239         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
15240         (hcreate): Call __hcreate_r instead of hcreate_r.
15241         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
15242         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
15243         as weak alias of __hcreate_r.
15244         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
15245         __hdestroy_r.
15246         (hsearch_r): Rename to __hsearch_r and define as weak alias of
15247         __hsearch_r.
15248         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
15249         Remove variable.
15250         (test-xfail-XPG4/search.h/linknamespace): Likewise.
15251         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
15252         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
15253         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
15255 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
15257         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
15258         arena_lock into a single arena_get.
15260 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
15262         * dl-reloc.c: Inlucde libc-internal.h.
15263         (_dl_try_allocate_static_tls): Call ALIGN_UP.
15264         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
15265         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
15266         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
15267         (grow_heap): Likewise.
15268         * malloc/malloc.c: Include libc-internal.h.
15269         (do_check_malloc): Call powerof2.
15270         (sysmalloc): Use pagesize. Call ALIGN_UP.
15271         (systrim): Use pagesize.
15272         (mremap_chunk): Use pagesize. Call ALIGN_UP.
15273         (__libc_valloc): Use pagesize.
15274         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
15276 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
15278         [BZ #17991]
15279         * include/sys/resource.h (__getrlimit64): Declare.  Use
15280         libc_hidden_proto.
15281         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
15282         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
15283         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
15284         getrlimit64.
15285         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
15286         __getrlimit64.
15287         [!getrlimit64] (getrlimit64): Define as weak alias of
15288         __getrlimit64.  Use libc_hidden_weak.
15289         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
15290         using __getrlimit64 not __new_getrlimit64.
15291         (__GI_getrlimit64): Likewise.
15292         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
15293         Likewise.
15294         (__GI_getrlimit64): Likewise.
15295         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
15296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
15297         (getrlimit): Add __getrlimit64 alias.
15298         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
15299         Likewise.
15300         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
15301         Remove variable.
15302         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
15303         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
15305 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
15307         * libio/fileops.c: Add missing sys/mman.h
15308         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
15310 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
15312         * manual/math.texi (Errors in Math Functions): Clarify goals
15313         regarding inexact and underflow exceptions.
15315 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
15317         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
15318         * sysdeps/mips/memset.S: Ditto.
15320 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
15322         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
15324 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
15326         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
15327         (__v1longjmp): Remove versioned symbol.
15328         (__v1siglongjmp): Remove alias and versioned symbol.
15329         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
15330         (__v2siglongjmp): Likewise.
15332 2015-02-16  Torvald Riegel  <triegel@redhat.com>
15334         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
15336 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
15338         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
15340 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
15342         [BZ #17987]
15343         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
15344         zero result does not depend on the sign resulting from
15345         subtraction.
15346         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
15347         Likewise.
15348         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
15349         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
15350         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
15351         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
15352         * math/libm-test.inc (remquo_test_data): Add more tests.
15354 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
15356         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
15357         Problem reported by J William Piggott.
15359 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
15361         [BZ #17978]
15362         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
15363         products 4 * y and 2 * y where those would overflow.
15364         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
15365         Likewise.
15366         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
15367         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
15368         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
15369         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
15370         * math/libm-test.inc (remquo_test_data): Add more tests.
15372         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
15374         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
15375         [defined _COMPILING_NEWLIB].
15376         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
15377         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
15379         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
15380         [!defined __mips_isa_rev || __mips_isa_rev < 6].
15382 2015-02-16  Torvald Riegel  <triegel@redhat.com>
15384         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
15385         acquired.
15387 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
15389         [BZ #17792]
15390         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
15391         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
15392         HOST_STACK_END_ADDR): Likewise.
15394 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
15396         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
15397         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
15398         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
15400 2015-02-13  Roland McGrath  <roland@hack.frob.com>
15402         * sysdeps/generic/c++-types.data: New file.
15403         * sysdeps/generic/ld.abilist: New file.
15404         * sysdeps/generic/libBrokenLocale.abilist: New file.
15405         * sysdeps/generic/libanl.abilist: New file.
15406         * sysdeps/generic/libc.abilist: New file.
15407         * sysdeps/generic/libcrypt.abilist: New file.
15408         * sysdeps/generic/libdl.abilist: New file.
15409         * sysdeps/generic/libm.abilist: New file.
15410         * sysdeps/generic/libpthread.abilist: New file.
15411         * sysdeps/generic/libresolv.abilist: New file.
15412         * sysdeps/generic/librt.abilist: New file.
15414 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
15416         [BZ #17569]
15417         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
15418         Compute absolute value of x as modified by fmod, not original
15419         value of x.
15420         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
15421         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
15422         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
15423         RUN_TEST_ffI_f1_mod8.
15424         (remquo_test_data): Add more tests.
15426 2015-02-13  Roland McGrath  <roland@hack.frob.com>
15428         * sysdeps/init_array/pt-crti.S: New file.
15430 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
15432         [BZ #17967]
15433         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
15434         __builtin_fmaf instead of relying on contraction of a * b + c.
15436 2015-02-12  J William Piggott  <elseifthen@gmx.com>
15438         [BZ #17969]
15439         * manual/time.texi: correct the zoneinfo path in the TZ Variable
15440         node.
15442 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
15444         [BZ #17964]
15445         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
15446         __builtin_fma instead of relying on contraction of a * b + c.
15448 2015-02-12  Roland McGrath  <roland@hack.frob.com>
15450         * Makeconfig (ASFLAGS): Add -Werror=undef.
15451         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
15452         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
15453         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
15455         * Makeconfig (after-link): New variable.
15456         (+link-pie, +link-pie-tests): Use it.
15457         (+link-static, +link-static-tests): Likewise.
15458         (+link, +link-tests): Likewise.
15459         * Makerules (build-module, build-module-asneeded): Likewise.
15460         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
15461         Likewise.
15462         * elf/Makefile ($(objpfx)ld.so): Likewise.
15464 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
15466         [BZ #17965]
15467         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
15468         both struct timeval and struct timespec.
15470 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
15472         [BZ #16560]
15473         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15474         and redefine.
15475         (__ieee754_exp2l): Do not multiply small fractional parts by
15476         M_LN2l.
15477         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
15478         small argument.
15479         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
15480         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
15481         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
15482         * math/auto-libm-test-in: Add more tests of exp2.
15483         * math/auto-libm-test-out: Regenerated.
15485 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15487         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
15488         unaligned path.
15490 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15492         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
15493         little endian.
15495 2015-02-12  Andreas Schwab  <schwab@suse.de>
15497         [BZ #15790]
15498         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
15499         Filter out elision flags from value returned in kind.
15500         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
15501         * nptl/tst-pthread-mutexattr.c: New file.
15503 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15505         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
15506         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
15507         into gnu-gnu, and update comment to refer to abi-tags.
15509 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
15511         [BZ #15467]
15512         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
15513         (__sincos): Set errno to EDOM for infinite argument.
15514         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
15515         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
15516         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
15517         (__sincosl): Set errno to EDOM for infinite argument.
15518         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
15519         (__sincosl): Set errno to EDOM for infinite argument.
15520         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
15521         (__sincosl): Set errno to EDOM for infinite argument.
15522         * math/libm-test.inc (sincos_test_data): Test errno setting.
15524 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
15526         * string/strxfrm_l.c: Remove #define STRCMP.
15527         * string/strcoll_l.c: Remove #define STRLEN.
15528         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
15529         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
15531 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
15533         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
15534         * sysdeps/mips/mips32/sfp-machine.h: ... here.
15535         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
15536         * sysdeps/mips/mips64/Makefile: ... here.
15537         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
15538         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
15539         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
15540         * sysdeps/mips/mips64/sfp-machine.h: ... here.
15541         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
15542         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
15543         * sysdeps/mips/mips64/n64/Implies: Likewise.
15545 2015-02-10  Roland McGrath  <roland@hack.frob.com>
15547         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
15548         <sys/time.h>, <string.h>, and <errno.h>.
15549         (dest_offset, dest_address, value, zero): Remove unused variables.
15550         (ldouble): Remove typedef.
15551         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
15552         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
15553         1).  Fix code style.
15554         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
15555         (check): Function removed.
15556         (CHECK): New macro.
15557         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
15558         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
15559         Don't call set_sigaction_FP and remove_sigaction_FP here.
15560         (ldouble_test): Just use 'long double' as macro argument, no need for
15561         the 'ldouble' typedef.
15562         (do_test): Set up SIGFPE handler at start, using plain signal rather
15563         than sigaction.  Fix code style.
15565 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
15567         [BZ #17949]
15568         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
15569         jump label.
15571 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
15573         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
15574         * sysdeps/powerpc/powerpc32/configure: Regenerated.
15576         * sysdeps/powerpc/configure.ac: Remove file.
15577         * sysdeps/powerpc/configure: Likewise.
15579         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
15580         [sysdep_routines]: Remove wordcopy-power6 object.
15581         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
15582         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
15583         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
15584         (__memmove_ppc32): Likewise.
15585         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
15586         file.
15587         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
15588         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
15589         Remove preprocessor.
15591         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
15592         [sysdep_routines]: Remove wide chars objects.
15593         [wcsmbs]: New rule for wide char objects.
15595         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
15596         Remove wordcopy-power6 obejct.
15597         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
15598         Use local call for wordcopy and memcpy symbols.
15599         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
15600         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
15601         implementation for loader.
15602         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
15604         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
15605         Remove wordcopy-power7 object.
15606         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
15607         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
15608         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
15609         (_wordcopy_fwd_dest_aligned): Likewise.
15610         (_wordcopy_bwd_aligned): Likewise.
15611         (_wordcopy_bwd_dest_aligned): Likewise.
15613         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
15614         Rewrite to call __memmove_ppc instead of include default
15615         implementation.
15617         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
15618         Remove wide chars objects.
15619         [wcsmbs]: New rule for wide char objects.
15621 2015-02-09  Andreas Schwab  <schwab@suse.de>
15623         [BZ #17912]
15624         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
15625         in terms of __O_DIRECTORY.
15627 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15629         * time/getdate.c: Include <stdbool.h>.
15630         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
15631         call PTR_MANGLE.
15632         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
15633         PTR_DEMANGLE.
15635 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
15637         Add ersatz _Static_assert on older C hosts
15638         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
15639         pre-C11 C platform that is not known to support _Static_assert.
15641 2015-02-07  Richard Braun  <rbraun@sceen.net>
15643         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
15644         sigstate.
15645         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
15647 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15649         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
15650         priority against unexistent AIO_PRIO_DELTA_MAX.
15651         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
15652         instead of int.
15653         * misc/fchflags.c (fchflags): Likewise.
15654         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
15655         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
15656         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
15657         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
15658         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
15659         Declare macros.
15660         [__USE_MISC] (chflags, fchflags): Declare functions.
15661         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
15662         EINVAL when nfds is greater than FD_SETSIZE.
15663         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
15664         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
15665         45.
15666         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
15667         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
15668         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
15669         MACH_RCV_TIMED_OUT.
15670         * hurd/hurd/signal.h (_hurd_self_sigstate,
15671         _hurd_critical_section_lock, _hurd_critical_section_unlock):
15672         Explicit casts from void *.
15673         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
15674         * abi-tags: Rename gnu-gnu os into gnu.
15676         [BZ #4719]
15677         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
15678         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
15679         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
15680         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
15681         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
15682         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
15684         [BZ #17944]
15685         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
15686         duplicates ADDR->sun_path with sockaddr LEN limitation.
15687         * sysdeps/mach/hurd/connect.c: Include <string.h>
15688         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
15689         * sysdeps/mach/hurd/sendmsg.c: Likewise.
15690         * sysdeps/mach/hurd/sendto.c: Likewise.
15691         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
15692         implementing it by hand.
15694 2015-02-06  Roland McGrath  <roland@hack.frob.com>
15696         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
15697         Use sfi_breg on ldr.
15698         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
15699         Likewise.
15701         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
15702         it's defined.
15703         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
15704         Test SIGSETXID only if it's defined.
15706         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
15708         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
15709         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
15711         * nptl/tst-align2.c: Moved ...
15712         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
15713         * nptl/Makefile (tests): Remove tst-align2.
15714         * sysdeps/unix/sysv/linux/Makefile
15715         [$(subdir) = nptl] (tests): Add tst-align-clone.
15716         * nptl/tst-getpid1.c: Moved ...
15717         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
15718         * nptl/tst-getpid2.c: Moved ...
15719         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
15720         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
15721         * sysdeps/unix/sysv/linux/Makefile
15722         [$(subdir) = nptl] (tests): ... here.
15723         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
15724         * sysdeps/unix/sysv/linux/Makefile
15725         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
15727         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
15728         Drop trailing \n from perror argument.  Use return rather than exit.
15730         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
15731         on [SA_SIGINFO].
15732         * nptl/tst-cancel21.c (do_test): Likewise.
15733         * debug/tst-backtrace6.c: Include <signal.h> first thing.
15734         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
15735         [!SA_SIGINFO]: Make it a stub test.
15737         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
15738         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
15740         * posix/tst-getlogin.c: Move to ...
15741         * login/tst-getlogin.c: ... here.
15742         * posix/Makefile (tests): Move tst-getlogin to ...
15743         * login/Makefile (tests): ... here.
15745         * libio/tst-atime.c (do_test): Move local variables SV and E
15746         inside [ST_NOATIME] conditional.
15748         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
15750         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
15752         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
15753         (wait_code): New function replaces macro.
15754         Call nanosleep rather than syscall.
15756         * nptl/pt-system.c: Rewritten.  Put everything under
15757         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
15758         Use IFUNC to redirect when possible.
15760         * nptl/pt-longjmp.c: Rewritten.  Put everything under
15761         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
15762         Use IFUNC to redirect when possible.
15764         * nptl/pt-fork.c: Rewritten.  Put everything under
15765         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
15766         Use IFUNC to redirect when possible.
15767         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
15769         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
15770         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
15771         unconditionally nowadays.  This included the only reference to
15772         __vdso_clock_gettime that appears outside libc proper.
15773         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
15774         Remove version set (containing only __vdso_clock_gettime).
15775         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
15776         Add attribute_hidden.
15777         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
15778         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
15779         libc_hidden_data_def.
15780         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
15781         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
15783         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
15784         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
15785         setrpcent, and getrpcport to ...
15786         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
15787         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
15788         getrpcbynumber_r, and getrpcent_r to ...
15789         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
15790         * inet/getrpcbyname.c: Moved ...
15791         * sunrpc/getrpcbyname.c: ... here.
15792         * inet/getrpcbyname_r.c: Moved ...
15793         * sunrpc/getrpcbyname_r.c: ... here.
15794         * inet/getrpcbynumber.c: Moved ...
15795         * sunrpc/getrpcbynumber.c: ... here.
15796         * inet/getrpcbynumber_r.c: Moved ...
15797         * sunrpc/getrpcbynumber_r.c: ... here.
15798         * inet/getrpcent.c: Moved ...
15799         * sunrpc/getrpcent.c: ... here.
15800         * inet/getrpcent_r.c: Moved ...
15801         * sunrpc/getrpcent_r.c: ... here.
15802         * inet/Makefile (routines): Move those to ...
15803         * sunrpc/Makefile (routines): ... here.
15804         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
15805         the $(subdirs) list.
15806         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
15807         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
15808         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
15809         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
15811         * elf/Makefile (routines): Include $(all-dl-routines), not just
15812         $(dl-routines).
15813         (rtld-routines): Likewise.  Use = rather than :=.
15814         * sysdeps/aarch64/Makefile [$(subdir) = elf]
15815         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
15816         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
15817         * sysdeps/arm/Makefile: Likewise.
15818         * sysdeps/i386/Makefile: Likewise.
15819         * sysdeps/x86_64/Makefile: Likewise.
15820         * sysdeps/hppa/Makefile [$(subdir) = elf]
15821         (sysdep_routines, sysdep-rtld-routines): Don't add
15822         $(sysdep-dl-routines) to these.
15823         * sysdeps/ia64/Makefile: Likewise.
15824         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
15825         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
15826         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
15827         Don't add dl-static to these; sysdep-dl-routines alone is enough.
15828         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
15829         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
15830         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
15831         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
15832         * sysdeps/powerpc/Makefile [$(subdir) = elf]
15833         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
15834         these; sysdep-dl-routines alone is enough.
15836 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
15838         [BZ #17932]
15839         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
15840         where multiplication results in zero and third argument is finite
15841         and nonzero.
15842         * math/auto-libm-test-in: Add more tests of fma.
15843         * math/auto-libm-test-out: Regenerated.
15845         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
15846         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
15847         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
15848         (_FP_CMP_EQ): Likewise.
15849         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
15851         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
15852         extra argument CHECK_NAN.  Redefine as wrapper around
15853         _FP_EXTEND_CNAN.
15855 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
15857         * version.h (RELEASE): Set to "stable".
15858         (VERSION): Set to "2.21"
15859         * include/features.h (__GLIBC_MINOR__): Set to 21.
15861         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
15863 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
15864             Paul Eggert  <eggert@cs.ucla.edu>
15866         [BZ #16618]
15867         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
15868         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
15869         size in bytes. Store needed elements in wpmax. Use needed size
15870         in bytes for extend_alloca.
15872 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
15874         * manual/install.texi: Latest tested versions are GCC 4.9.2,
15875         binutls 2.25, and texinfo 5.2.
15876         * INSTALL: Regenerate.
15877         * sysdeps/nios2/configure: Regenerate.
15878         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
15879         * manual/contrib.texi: Update.
15880         * po/be.po: Update.
15881         * po/bg.po: Update.
15882         * po/ca.po: Update.
15883         * po/cs.po: Update.
15884         * po/da.po: Update.
15885         * po/de.po: Update.
15886         * po/el.po: Update.
15887         * po/eo.po: Update.
15888         * po/es.po: Update.
15889         * po/fi.po: Update.
15890         * po/fr.po: Update.
15891         * po/gl.po: Update.
15892         * po/hr.po: Update.
15893         * po/hu.po: Update.
15894         * po/ia.po: Update.
15895         * po/id.po: Update.
15896         * po/it.po: Update.
15897         * po/ja.po: Update.
15898         * po/ko.po: Update.
15899         * po/lt.po: Update.
15900         * po/nb.po: Update.
15901         * po/nl.po: Update.
15902         * po/pl.po: Update.
15903         * po/pt_BR.po: Update.
15904         * po/ru.po: Update.
15905         * po/rw.po: Update.
15906         * po/sk.po: Update.
15907         * po/sl.po: Update.
15908         * po/sv.po: Update.
15909         * po/tr.po: Update.
15910         * po/uk.po: Update.
15911         * po/vi.po: Update.
15912         * po/zh_CN.po: Update.
15913         * po/zh_TW.po: Update.
15915         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
15916         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
15917         * sysdeps/hppa/dl-irel.h: Remove #warning.
15918         * sysdeps/hppa/entry.h: Provide prototype for
15919         __canonicalize_funcptr_for_compare and cast argument.
15920         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
15921         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
15922         * sysdeps/hppa/sotruss-lib.c: New file.
15923         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
15924         (atomic_compare_and_exchange_val_acq): Use __typeof__.
15925         (atomic_compare_and_exchange_bool_acq): Likewise.
15926         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
15927         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
15929         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
15930         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
15931         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
15933 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
15935         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
15936         called function in non-PIC case.
15938 2015-01-31  David S. Miller  <davem@davemloft.net>
15940         * sysdeps/sparc/sparc32/bits/atomic.h
15941         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
15942         unlock not after it.
15943         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
15944         volatile register usage warnings from the compiler.
15946         * sysdeps/sparc/nptl/sem_init.c: Delete.
15947         * sysdeps/sparc/nptl/sem_post.c: Delete.
15948         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
15949         * sysdeps/sparc/nptl/sem_wait.c: Delete.
15950         * sysdeps/sparc/sparc32/sem_init.c: New file.
15951         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
15952         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
15953         padding explicitly initialized.
15954         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
15955         padding for in-semaphore spinlock.
15956         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
15957         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
15958         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
15959         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
15960         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
15961         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
15962         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
15963         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
15964         version.
15965         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
15966         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
15968 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
15970         [BZ #17801]
15971         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15972         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
15973         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
15974         New.
15975         (index_AVX_Fast_Unaligned_Load): Likewise.
15976         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
15977         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
15978         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
15979         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
15980         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
15981         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
15982         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
15983         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
15984         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
15986 2015-01-29  Andreas Schwab  <schwab@suse.de>
15988         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
15990 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
15992         [BZ #17892]
15993         * nscd/nscd_stat.c (send_stats): Initialize DATA.
15995 2015-01-28  Martin Sebor  <msebor@redhat.com>
15997         * math/README.libm-test: Clarify. Add "How to read the test output."
15999 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
16001         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
16002         Define to 0.
16004 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
16006         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
16007         (__HAVE_64B_ATOMICS): Define to 0.
16009 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
16011         [BZ #17885]
16012         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
16013         value to set as new flag.
16015         [BZ #16576]
16016         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
16017         and use _ARCH_PPCSQ instead.
16018         (__ieee754_sqrt): Likewise.
16019         (__ieee754_sqrtf): Likewise.
16020         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
16021         _ARCH_PPCSQ is defined.
16022         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
16023         fsqrt instruction.
16024         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
16025         _ARCH_PPCSQ is defined.
16026         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
16027         fsqrts instruction.
16028         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
16030 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16032         * iconv/loop.c: Suppress array out of bound warning caused by GCC
16033         bug (GCC BZ #64739).
16035 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
16037         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
16038         Mark _retval as used.
16039         (lll_futex_wake_unlock): Likewise.
16040         (lll_futex_timed_wait_requeue_pi): Likewise.
16042         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
16043         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
16044         register variables.
16046         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
16047         libm_hidden_def.
16049         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
16050         (__bswap_64): Mark as __always_inline.
16052 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
16054         [BZ #15378]
16055         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
16056         when none of the search directories exist.
16058 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
16060         [BZ #17869]
16061         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
16062         power8 in .machine directive.
16064         [BZ #17868]
16065         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
16066         set dependency from opd value.
16068 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
16070         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16071         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
16072         architecture.
16074 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
16076         [BZ #17870]
16077         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
16078         with uint64_t.
16079         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
16080         (uint64_t) 1.
16081         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
16082         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
16083         Replace 1UL with (uint64_t) 1.
16084         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
16085         int with uint64_t.
16087 2015-01-23  Roland McGrath  <roland@hack.frob.com>
16089         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
16090         (if_freenameindex): Likewise.
16092         * resource/getrlimit64.c: Add missing libc_hidden_def.
16094 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
16096         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
16097         __label__.
16098         (_FP_FMA): Likewise.
16099         (_FP_TO_INT_ROUND): Likewise.
16100         (_FP_FROM_INT): Likewise.
16102 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16104         [BZ #16418]
16105         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
16106         Make code racy and cancel safe.
16108 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
16110         * sysdeps/arm/unwind-resume.h: Fix copyright year.
16111         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
16112         attribution.
16114         * pwd/tst-getpw.c: Rewrite.
16116         [BZ #17702]
16117         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
16118         (modules-names): Add moddummy1 and moddummy2.
16119         ($(objpfx)tst-rec-dlopen): Define.
16120         * dlfcn/moddummy1.c: New file.
16121         * dlfcn/moddummy2.c: New file.
16122         * dlfcn/tst-rec-dlopen.c: New file.
16123         * elf/dl-cache.c (_dl_load_cache_lookup):
16124         Return char*. Copy result with alloca/strcpy/strdup.
16125         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
16126         returns char*. Free cached. If not saving realname
16127         free cached.
16128         * elf/dl-open.c (dl_open_worker): Do not assert that
16129         _r_debug->r_state is RT_CONSISTENT.
16130         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
16131         returns char*.
16133 2015-01-21  Torvald Riegel  <triegel@redhat.com>
16134             Carlos O'Donell  <carlos@redhat.com>
16136         [BZ #12674]
16137         * nptl/sem_waitcommon.c: New file.
16138         * nptl/sem_wait.c: Include sem_waitcommon.c.
16139         (__sem_wait_cleanup, do_futex_wait): Remove.
16140         (__new_sem_wait): Adapt.
16141         (__new_sem_trywait): New function.
16142         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
16143         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
16144         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
16145         (sem_timedwait): Adapt.
16146         * nptl/sem_post.c (__new_sem_post): Adapt.
16147         (futex_wake): New function.
16148         (__old_sem_post): Add release MO fence.
16149         * nptl/sem_open.c (sem_open): Adapt.
16150         * nptl/sem_init.c (__new_sem_init): Adapt.
16151         (futex_private_if_supported): New function.
16152         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
16153         (__old_sem_getvalue): Add using previous code.
16154         * sysdeps/nptl/internaltypes.h: Adapt.
16155         * nptl/tst-sem13.c (do_test): Adapt.
16156         * nptl/tst-sem11.c (main): Adapt.
16157         * nptl/sem_trywait.c: Remove.
16158         * nptl/DESIGN-sem.txt: Remove.
16159         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
16160         (gen-as-const-headers): Remove structsem.sym.
16161         * nptl/structsem.sym: Remove.
16162         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
16163         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
16164         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
16165         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
16166         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
16167         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
16168         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
16169         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
16170         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
16171         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
16172         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
16173         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
16174         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
16175         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
16176         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
16177         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
16178         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
16179         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
16180         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
16181         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
16182         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
16183         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
16185 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
16187         * INSTALL: Regenerated.
16189         * po/libc.pot: Regenerated.
16191 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
16192             Sandra Loosemore  <sandra@codesourcery.com>
16193             Andrew Jenner  <andrew@codesourcery.com>
16194             Joseph Myers  <joseph@codesourcery.com>
16195             Nathan Sidwell  <nathan@codesourcery.com>
16197         * NEWS: Mention new Nios II port.
16198         * sysdeps/nios2/Implies: New file.
16199         * sysdeps/nios2/Makefile: New file.
16200         * sysdeps/nios2/Subdirs: New file.
16201         * sysdeps/nios2/Versions: New file.
16202         * sysdeps/nios2/__longjmp.S: New file.
16203         * sysdeps/nios2/abort-instr.h: New file.
16204         * sysdeps/nios2/backtrace.c: New file.
16205         * sysdeps/nios2/bits/endian.h: New file.
16206         * sysdeps/nios2/bits/fenv.h: New file.
16207         * sysdeps/nios2/bits/link.h: New file.
16208         * sysdeps/nios2/bits/setjmp.h: New file.
16209         * sysdeps/nios2/bsd-_setjmp.S: New file.
16210         * sysdeps/nios2/bsd-setjmp.S: New file.
16211         * sysdeps/nios2/configure: New generated file.
16212         * sysdeps/nios2/configure.ac: New file.
16213         * sysdeps/nios2/crti.S: New file.
16214         * sysdeps/nios2/crtn.S: New file.
16215         * sysdeps/nios2/dl-init.c: New file.
16216         * sysdeps/nios2/dl-machine.h: New file.
16217         * sysdeps/nios2/dl-sysdep.h: New file.
16218         * sysdeps/nios2/dl-tls.h: New file.
16219         * sysdeps/nios2/dl-trampoline.S: New file.
16220         * sysdeps/nios2/gccframe.h: New file.
16221         * sysdeps/nios2/gmp-mparam.h: New file.
16222         * sysdeps/nios2/jmpbuf-offsets.h: New file.
16223         * sysdeps/nios2/jmpbuf-unwind.h: New file.
16224         * sysdeps/nios2/ldsodefs.h: New file.
16225         * sysdeps/nios2/libc-tls.c: New file.
16226         * sysdeps/nios2/libm-test-ulps: New file.
16227         * sysdeps/nios2/machine-gmon.h: New file.
16228         * sysdeps/nios2/math-tests.h: New file.
16229         * sysdeps/nios2/math_private.h: New file.
16230         * sysdeps/nios2/memusage.h: New file.
16231         * sysdeps/nios2/nptl/Makefile: New file.
16232         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
16233         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
16234         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
16235         * sysdeps/nios2/nptl/pthreaddef.h: New file.
16236         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
16237         * sysdeps/nios2/nptl/tls.h: New file.
16238         * sysdeps/nios2/preconfigure: New file.
16239         * sysdeps/nios2/s_fma.c: New file.
16240         * sysdeps/nios2/s_fmaf.c: New file.
16241         * sysdeps/nios2/setjmp.S: New file.
16242         * sysdeps/nios2/sfp-machine.h: New file.
16243         * sysdeps/nios2/sotruss-lib.c: New file.
16244         * sysdeps/nios2/stackguard-macros.h: New file.
16245         * sysdeps/nios2/stackinfo.h: New file.
16246         * sysdeps/nios2/start.S: New file.
16247         * sysdeps/nios2/sysdep.h: New file.
16248         * sysdeps/nios2/tls-macros.h: New file.
16249         * sysdeps/nios2/tst-audit.h: New file.
16250         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
16251         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
16252         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
16253         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
16254         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
16255         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
16256         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
16257         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
16258         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
16259         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
16260         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
16261         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
16262         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
16263         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
16264         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
16265         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
16266         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
16267         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
16268         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
16269         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
16270         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
16271         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
16272         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
16273         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
16274         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
16275         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
16276         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
16277         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
16278         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
16279         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
16280         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
16281         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
16282         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
16283         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
16284         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
16285         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
16286         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
16287         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
16288         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
16289         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
16290         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
16291         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
16292         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
16293         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
16295 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
16297         [BZ #17844]
16298         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
16299         (getutent): Use weak_alias in non SHARED case
16300         and default_symbol_version in SHARED case.
16301         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
16302         (getutent_r, pututline): Likewise.
16303         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
16304         (getutid): Likewise.
16305         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
16306         (getutid_r): Likewise.
16307         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
16308         (getutline): Likewise.
16309         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
16310         (getutline_r): Likewise.
16311         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
16312         (updwtmp): Likewise.
16314 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
16316         [BZ #17848]
16317         * sysdeps/s390/s390-32/memcmp.S
16318         (memcmp_g5): Rename to __memcmp_g5.
16319         * sysdeps/s390/s390-32/memcpy.S
16320         (memcpy_g5): Rename to __memcpy_g5.
16321         Jump to __memcpy_mvcle instead of memcpy_mvcle.
16322         (memcpy_mvcle) Rename to __memcpy_mvcle.
16323         * sysdeps/s390/s390-32/memset.S
16324         (memset_g5): Rename to __memset_g5.
16325         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
16326         (IFUNC_RESOLVE): Prefix ifunc-resolve function
16327         and use prefixed functions.
16328         * sysdeps/s390/s390-32/multiarch/memcmp.S
16329         (memcmp_z196): Rename to __memcmp_z196.
16330         (memcmp_z10): Rename to __memcmp_z10.
16331         (memcmp): Set alias to __memcmp_g5.
16332         (bcmp): Set alias to __memcmp_g5.
16333         * sysdeps/s390/s390-32/multiarch/memcpy.S
16334         (memcpy_z196): Rename to __memcpy_z196.
16335         Jump to __memcpy_mvcle instead of memcpy_mvcle.
16336         (memcpy_z10): Rename to __memcpy_z10.
16337         Jump to __memcpy_mvcle instead of memcpy_mvcle.
16338         (memcpy): Set alias to __memcpy_g5.
16339         * sysdeps/s390/s390-32/multiarch/memset.S
16340         (memset_z196): Rename to __memset_z196.
16341         Jump to __memset_mvcle instead of memset_mvcle.
16342         (memset_z10): Rename to __memset_z10.
16343         Jump to __memset_mvcle instead of memset_mvcle.
16344         (memset_mvcle) Rename to __memset_mvcle.
16345         (memset): Set alias to __memset_g5.
16346         * sysdeps/s390/s390-64/memcmp.S
16347         (memcmp_z900): Rename to __memcmp_z900.
16348         * sysdeps/s390/s390-64/memcpy.S
16349         (memcpy_z900): Rename to __memcpy_z900.
16350         Jump to __memcpy_mvcle instead of memcpy_mvcle.
16351         (memcpy_mvcle) Rename to __memcpy_mvcle.
16352         * sysdeps/s390/s390-64/memset.S
16353         (memset_z900): Rename to __memset_z900.
16354         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
16355         (IFUNC_RESOLVE): Prefix ifunc-resolve function
16356         and use prefixed functions.
16357         * sysdeps/s390/s390-64/multiarch/memcmp.S
16358         (memcmp_z196): Rename to __memcmp_z196.
16359         (memcmp_z10): Rename to __memcmp_z10.
16360         (memcmp): Set alias to __memcmp_z900.
16361         (bcmp): Set alias to __memcmp_z900.
16362         * sysdeps/s390/s390-64/multiarch/memcpy.S
16363         (memcpy_z196): Rename to __memcpy_z196.
16364         Jump to __memcpy_mvcle instead of memcpy_mvcle.
16365         (memcpy_z10): Rename to __memcpy_z10.
16366         Jump to __memcpy_mvcle instead of memcpy_mvcle.
16367         (memcpy): Set alias to __memcpy_z900.
16368         * sysdeps/s390/s390-64/multiarch/memset.S
16369         (memset_z196): Rename to __memset_z196.
16370         Jump to __memset_mvcle instead of memset_mvcle.
16371         (memset_z10): Rename to __memset_z10.
16372         Jump to __memset_mvcle instead of memset_mvcle.
16373         (memset_mvcle) Rename to __memset_mvcle.
16374         (memset): Set alias to __memset_z900.
16376 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
16378         [BZ #17748]
16379         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
16380         __fesetenv instead of fesetenv.
16382 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
16384         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
16385         macro.
16387 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16389         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
16390         regression on LE.
16392         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
16393         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
16394         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
16395         strncmp-power8 object.
16396         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16397         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
16398         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
16399         * NEWS: Update.
16401 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16402             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16404         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
16405         trailing byte check.
16407 2015-01-13  David S. Miller  <davem@davemloft.net>
16409         * include/signal.h (__sigreturn): Guard with __USE_MISC.
16411 2015-01-13  Roland McGrath  <roland@hack.frob.com>
16413         * login/logout.c (logout): Use memset rather than bzero.
16414         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
16415         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
16416         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
16417         (_gethtbyaddr): Likewise.
16418         * locale/programs/simple-hash.c (bcopy): Macro removed.
16420 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16422         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
16423         Add strcmp-power8 object.
16424         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16425         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
16426         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
16427         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
16428         __strcmp_power8 implementation.
16429         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
16430         * NEWS: Update.
16432         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
16433         Add strncpy-power8 and stpncpy-power8 objects.
16434         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16435         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
16436         implementations.
16437         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
16438         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
16439         __stpncpy_power8 implementation.
16440         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
16441         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
16442         __strncpy_power8 implementation.
16443         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
16444         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
16445         * NEWS: Update.
16447         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
16448         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
16449         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
16451         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
16452         strncat-power8 object.
16453         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
16454         __strcat_power8 implementation.
16455         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16456         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
16457         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
16458         optimized strcat for power8.
16460         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
16461         strcpy-power8 and stpcpy-power8 objects.
16462         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16463         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
16464         implementations.
16465         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
16466         multiarch stpcpy implementation for POWER8.
16467         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
16468         multiarch strcpy implementation for POWER8.
16469         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
16470         __strcpy_power8 function.
16471         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
16472         stpcpy for POWER8.
16473         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
16474         strcpy for POWER8.
16475         * NEWS: Update.
16477 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
16479         [BZ #16009]
16480         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
16481         weights and rules. Use do_xfrm_cached if data fits in cache,
16482         do_xfrm otherwise.  Moved former main loop to...
16483         * (do_xfrm_cached): New function.
16484         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
16485         find_idx, find_position and stack_push.
16486         * (find_idx): New function.
16487         * (find_position): Likewise.
16488         * localedata/sort-test.sh: Added test run for do_xfrm.
16489         * localedata/xfrm-test.c (main): Added command line option
16490         -nocache to run the test with strings that are too large for
16491         the STRXFRM cache.
16493 2015-01-13  Torvald Riegel  <triegel@redhat.com>
16495         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
16496         variable to lll_futex_wake call, not the value itself.
16498 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
16500         [BZ #17803]
16501         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
16502         twom64.  Adjust value to 0x1p-64L.
16503         (__scalblnl): Only return standard underflowing result for K <=
16504         -64 not K <= -63; adjust exponent for underflowing result by 64
16505         not 63.
16506         * math/libm-test.inc (scalbn_test_data): Add more tests.
16507         (scalbln_test_data): Likewise.
16509         [BZ #17834]
16510         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
16511         0x1p63L.
16512         (__scalblnl): Get new exponent of adjusted subnormal value from ES
16513         not HX.
16514         * math/libm-test.inc (scalbn_test_data): Add more tests.
16515         (scalbln_test_data): Likewise.
16517 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16518             Stefani Seibold  <stefani@seibold.net>
16520         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
16521         (sysdep_routines): Add dl-vdso here, ...
16522         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
16523         (sysdep_routines): ... not here.
16524         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
16525         fallback when vDSO is not presented.
16526         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
16527         Define with libc_hidden_proto/libc_hidden_data_def definitions.
16528         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
16529         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
16530         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
16531         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
16532         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
16533         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
16534         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
16535         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
16536         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
16537         fallback configurable symbol when vDSO is not available.
16538         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
16539         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
16540         be able to redefine fallback symbol when vDSO is not available.
16541         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
16542         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
16544 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16546         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
16547         (TLS_INIT_TP): Add tm_capable initialization.
16548         (TLS_DEFINE_INIT_TP): Likewise.
16549         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
16550         TCB.
16551         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
16552         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
16553         calculation.
16554         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
16555         transactoion is lock elision is built and TCB tm_capable is set.
16556         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
16557         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
16558         (INTERNAL_SYSCALL_NCS): Likewise.
16559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
16560         (INTERNAL_SYSCALL_NCS): Likewise.
16561         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
16563         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
16564         for powerpc.
16565         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
16566         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
16567         and remove it for 32 bits case.
16568         [pthread_rwlock_t] (__rwelision): New field for lock elision.
16569         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
16570         initialization.
16571         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
16572         Disable lock elision with rdlocks if elision is not available.
16574         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
16575         (sysdep_routines): Add lock elision objects.
16576         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
16577         [pthread_mutex_t] (__spins): Rework to add lock elision field.
16578         [pthread_mutex_t] (__elision): Add field.
16579         [__PTHREAD_SPINS]: Adjust to init lock elision field.
16580         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
16581         elision definitions for powerpc.
16582         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
16583         implementation of lock elision for powerpc.
16584         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
16585         implementation of timed lock elision for powerpc.
16586         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
16587         implementation of trylock with lock elision for powerpc.
16588         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
16589         implementaion of unlock for lock elision for powerpc.
16590         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
16591         automatic enable lock elision for mutexes.
16592         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
16593         transaction execution definitions for powerpc.
16594         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
16595         definitions.
16596         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
16597         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
16598         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
16599         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
16600         * NEWS: Update.
16602 2015-01-09  Roland McGrath  <roland@hack.frob.com>
16604         * sysdeps/posix/shm-directory.c: Use <> rather than ""
16605         for #include of <shm-directory.h>.
16607 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
16609         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
16610         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
16612 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
16614         [BZ #17791]
16615         * NEWS: Mention bug fix.
16616         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
16617         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
16618         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
16620 2015-01-09  Torvald Riegel <triegel@redhat.com>
16622         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
16624 2015-01-09  Torvald Riegel <triegel@redhat.com>
16626         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
16628 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
16630         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
16631         pointer and cast to uintptr_t.
16633 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
16635         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
16636         removed.
16637         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
16639 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
16641         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
16642         of 0.
16644 2015-01-08  Roland McGrath  <roland@hack.frob.com>
16646         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
16647         <nptl/pthreadP.h> instead.
16648         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
16650         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
16651         already defined.
16652         [__SIGRTMIN] (init): Function removed.
16653         [__SIGRTMIN] (initialized): Variable removed.
16654         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
16655         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
16656         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
16657         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
16658         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
16659         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
16660         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
16661         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
16662         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
16663         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
16664         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
16665         * sysdeps/nptl/allocrtsig.c: New file.
16666         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
16667         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
16668         * sysdeps/generic/testrtsig.h: File removed.
16670         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
16671         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
16673         * nptl/nptl-init.c (pthread_functions): Conditionalize
16674         .ptr__nptl_setxid initialization on [SIGSETXID].
16676         * sysdeps/nptl/sys/procfs.h: New file.
16677         * nptl_db/Makefile (headers): Add it.
16678         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
16680         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
16681         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
16682         * nptl/pthread_attr_setaffinity.c: Include it.
16683         * nptl/pthread_setattr_default_np.c: Likewise.
16684         * nptl/check-cpuset.h: New file.
16686 2015-01-08  Richard Henderson  <rth@redhat.com>
16688         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
16689         (CFLAGS-tst-execstack-prog.c): Likewise.
16690         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
16692 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
16693             Sandra Loosemore  <sandra@codesourcery.com>
16694             Andrew Jenner  <andrew@codesourcery.com>
16695             Joseph Myers  <joseph@codesourcery.com>
16696             Nathan Sidwell  <nathan@codesourcery.com>
16698         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
16699         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
16700         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
16701         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
16702         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
16703         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
16704         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
16705         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
16706         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
16707         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
16708         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
16709         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
16710         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
16711         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
16712         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
16713         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
16714         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
16716 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16718         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
16719         timespec struct member in syscall macro.
16720         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
16721         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
16722         first timeval struct member in syscall macro.
16723         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
16725 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
16727         [BZ #17748]
16728         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
16729         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
16730         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
16731         __feupdateenv and define as weak alias of __feupdateenv.  Use
16732         libm_hidden_weak.
16733         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
16734         libm_hidden_def.
16735         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
16736         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
16737         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
16738         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
16739         libm_hidden_def.
16740         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
16741         __feupdateenv and define as weak alias of __feupdateenv.  Use
16742         libm_hidden_weak.
16743         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
16744         libm_hidden_def.
16745         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
16746         __feupdateenv and define as weak alias of __feupdateenv.  Use
16747         libm_hidden_weak.
16748         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
16749         libm_hidden_def.
16750         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
16751         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
16752         (__feupdateenv): Likewise.
16753         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
16754         __feupdateenv and define as weak alias of __feupdateenv.  Use
16755         libm_hidden_weak.
16756         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
16757         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
16758         libm_hidden_def.
16759         * sysdeps/tile/math_private.h (__feupdateenv): New inline
16760         function.
16761         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
16762         libm_hidden_def.
16763         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
16764         __feupdateenv instead of feupdateenv.
16765         (default_libc_feupdateenv_test): Likewise.
16766         (libc_feresetround_ctx): Likewise.
16768 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16770         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
16771         prototype.
16773 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
16775         * posix/regcomp.c (parse_bracket_exp): Initialize type to
16776         COLL_SYM in a couple of places to avoid uninitialized variable
16777         wanings on tilegx gcc 4.8.2.
16779 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
16781         * sysdeps/aarch64/strcpy.S: New file.
16782         * sysdeps/aarch64/stpcpy.S: New file.
16783         * NEWS: Updated.
16785 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
16787         * sysdeps/aarch64/strrchr.S: New file.
16788         * NEWS: Updated.
16790 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
16792         [BZ #17658]
16793         * stdlib/setenv.c: Fix memory leak when setting large,
16794         duplicate string.
16796 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
16798         [BZ #17273]
16799         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
16800         and tabs from buffer before parsing fstab entry.
16801         * misc/tst-mntent.c (main): Add test for mount entry with
16802         trailing spaces and tabs.
16804 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
16806         [BZ #17748]
16807         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
16808         * math/fesetround.c (fesetround): Rename to __fesetround and
16809         define as weak alias of __fesetround.  Use libm_hidden_weak.
16810         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
16811         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
16812         * sysdeps/arm/fesetround.c (fesetround): Likewise.
16813         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
16814         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
16815         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
16816         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
16817         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
16818         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
16819         __fesetround_inline.
16820         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
16821         __fesetround_inline instead of __fesetround.
16822         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
16823         __fesetround and define as weak alias of __fesetround.  Use
16824         libm_hidden_weak.  Call __fesetround_inline instead of
16825         __fesetround.
16826         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
16827         __fesetround and define as weak alias of __fesetround.  Use
16828         libm_hidden_weak.
16829         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
16830         Likewise.
16831         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
16832         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
16833         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
16834         * sysdeps/tile/math_private.h (__fesetround): New inline function.
16835         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
16836         __fesetround and define as weak alias of __fesetround.  Use
16837         libm_hidden_weak.
16838         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
16839         __fesetround instead of fesetround.
16840         (default_libc_feholdexcept_setround): Likewise.
16841         (libc_feholdsetround_ctx): Likewise.
16842         (libc_feholdsetround_noex_ctx): Likewise.
16844         [BZ #17748]
16845         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
16846         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
16847         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
16848         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
16849         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
16850         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
16851         define as weak alias of __fesetenv.  Use libm_hidden_weak.
16852         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
16853         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
16854         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
16855         define as weak alias of __fesetenv.  Use libm_hidden_weak.
16856         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
16857         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
16858         define as weak alias of __fesetenv.  Use libm_hidden_weak.
16859         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
16860         libm_hidden_def.
16861         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
16862         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
16863         Likewise.
16864         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
16865         define as weak alias of __fesetenv.  Use libm_hidden_weak.
16866         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
16867         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
16868         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
16869         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
16870         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
16871         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
16872         __fesetenv instead of fesetenv.
16873         (libc_feresetround_noex_ctx): Likewise.
16874         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
16875         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
16876         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
16877         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
16878         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
16879         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
16880         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
16881         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
16882         (__feupdateenv): Likewise.
16883         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
16884         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
16885         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
16886         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
16888 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
16890         [BZ #17806]
16891         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
16892         addresses have been freed.
16894 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
16896         * resolv/res_init.c (__res_vinit): Improve comments about nserv
16897         and nservall.
16899 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
16901         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
16902         Clean up check_pf allocation pattern. addresses
16904 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16906         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
16907         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
16908         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
16909         * nptl/pthread_exit.c (__pthread_exit): Likewise.
16910         * nptl/pthread_join.c (pthread_join): Likewise.
16911         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
16912         * sysdeps/posix/waitid.c (__waitid): Likewise.
16913         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
16914         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
16915         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
16916         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
16917         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
16918         Likewise.
16919         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
16920         (__libc_pread64): Likewise.
16921         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
16922         (__libc_pwrite): Likewise.
16923         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
16924         (__libc_pwrite64): Likewsie.
16925         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
16926         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
16927         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
16928         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
16929         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
16930         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
16931         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
16932         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
16933         Likewise.
16934         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
16935         (__libc_pread64): Likewise.
16936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
16937         Likewise.
16938         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
16939         (__libc_pwrite64): Likewise.
16940         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
16941         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
16942         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
16943         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
16944         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
16945         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
16946         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
16947         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
16948         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
16949         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
16950         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
16951         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
16952         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
16953         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
16954         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
16955         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
16956         Likewise.
16958 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
16960         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
16961         (CFLAGS-test-double.c): Likewise.
16962         (CFLAGS-test-ldouble.c): Likewise.
16963         (CPPFLAGS-test-ifloat.c): Likewise.
16964         (CPPFLAGS-test-idouble.c): Likewise.
16965         (CPPFLAGS-test-ildoubl.c): Likewise.
16966         (CFLAGS-test-test-fenv.c): Remove variable.
16967         (CFLAGS-test-misc.c): Likewise.
16969 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
16971         [BZ #17797]
16972         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
16973         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
16974         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
16975         CLOCKS_PER_SEC == 1000000.
16976         * time/clocktest.c (main): Replace %ld with %jd and cast to
16977         intmax_t.
16979 2015-01-05  Roland McGrath  <roland@hack.frob.com>
16981         * sysdeps/generic/unwind-resume.h: New file.
16982         * sysdeps/gnu/unwind-resume.c: Include it.
16983         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
16984         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
16985         argument list.
16986         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
16987         global rather than static.
16988         (_Unwind_Resume): Update user.
16989         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
16990         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
16991         rather than static.  Add __attribute__ ((cold)).
16992         (_Unwind_Resume, __gcc_personality_v0): Update callers.
16993         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
16994         * sysdeps/arm/arm-unwind-resume.S: New file.
16995         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
16996         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
16997         * sysdeps/arm/Makefile [$(subdir) = csu]
16998         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
16999         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
17000         Add rt-arm-unwind-resume.
17001         [$(subdir) = nptl]
17002         (libpthread-sysdep_routines, libpthread-shared-only-routines):
17003         Add pt-arm-unwind-resume.
17004         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
17005         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
17007 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
17009         [BZ #17748]
17010         * include/fenv.h (__feholdexcept): Declare.  Use
17011         libm_hidden_proto.
17012         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
17013         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
17014         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
17015         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
17016         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
17017         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
17018         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
17019         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
17020         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
17021         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
17022         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
17023         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
17024         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
17025         (feholdexcept): Likewise.
17026         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
17027         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
17028         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
17029         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
17030         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
17031         __feholdexcept instead of feholdexcept.
17032         (default_libc_feholdexcept_setround): Likewise.
17034 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
17036         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
17037         to avoid using stl/str to align destination.
17039 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
17041         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
17043 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
17045         [BZ #17796]
17046         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
17047         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
17048         Define as weak alias not strong alias.
17050 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
17052         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
17053         bltzal with addiupc.
17054         (RTLD_START): Ditto.
17056 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
17058         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
17059         for __vdso_* functions in declarations.
17060         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
17061         definitions.
17062         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
17063         INTERNAL_VSYSCALL): Use struct return types to check for error.
17065         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
17066         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
17067         function with cast from llround().
17068         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
17069         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
17070         Define.
17072 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
17074         [BZ #17793]
17075         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
17076         Define as weak alias not strong alias.
17078         [BZ #17635]
17079         * ctype/ctype-c99.c: New file.  isblank implementation moved from
17080         ...
17081         * ctype/ctype-extn.c: ... here.
17082         (__isblank_l): Move to ...
17083         * ctype/ctype-c99_l.c: ... here.  New file.
17084         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
17085         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
17086         Remove variable.
17087         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
17088         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
17089         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
17090         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
17091         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
17093         [BZ #17777]
17094         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
17095         (posix_fadvise64): Define as weak alias not strong alias.
17096         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
17097         (posix_fallocate64): Likewise.
17098         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
17099         Remove variable.
17100         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
17101         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
17102         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
17103         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
17104         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
17106 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
17108         [BZ #16191]
17109         * NEWS: Mention bug fix.
17110         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
17111         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
17112         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
17113         (HOST_STACK_END_ADDR): Likewise.
17115 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
17117         [BZ #17748]
17118         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
17119         * math/fegetround.c (fegetround): Rename to __fegetround and
17120         define as weak alias of __fegetround.  Use libm_hidden_weak.
17121         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
17122         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
17123         * sysdeps/arm/fegetround.c (fegetround): Likewise.
17124         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
17125         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
17126         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
17127         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
17128         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
17129         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
17130         Undefine after rather than before function definition; use
17131         parentheses around function name in definition.
17132         (__fegetround): Also undefine macro after function definition.
17133         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
17134         __fegetround and define as weak alias of __fegetround.  Use
17135         libm_hidden_weak.  Do not undefine as macro.
17136         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
17137         Likewise.
17138         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
17139         __fegetround and define as weak alias of __fegetround.  Use
17140         libm_hidden_weak.
17141         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
17142         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
17143         * sysdeps/tile/math_private.h (__fegetround): New inline function.
17144         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
17145         __fegetround and define as weak alias of __fegetround.  Use
17146         libm_hidden_weak.
17147         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
17148         __fegetround instead of fegetround.
17150         [BZ #17782]
17151         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
17152         Condition macro definition on [__USE_MISC].
17154         [BZ #17781]
17155         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
17156         (struct sigaction): Change type of sa_flags field to int.
17158         [BZ #17780]
17159         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
17160         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
17161         __glibc_reserved0.
17163         * nptl/version.c (banner): Use single year in copyright notice.
17165         * NEWS: Update copyright dates.
17166         * catgets/gencat.c (print_version): Likewise.
17167         * csu/version.c (banner): Likewise.
17168         * debug/catchsegv.sh: Likewise.
17169         * debug/pcprofiledump.c (print_version): Likewise.
17170         * debug/xtrace.sh (do_version): Likewise.
17171         * elf/ldconfig.c (print_version): Likewise.
17172         * elf/ldd.bash.in: Likewise.
17173         * elf/pldd.c (print_version): Likewise.
17174         * elf/sotruss.sh: Likewise.
17175         * elf/sprof.c (print_version): Likewise.
17176         * iconv/iconv_prog.c (print_version): Likewise.
17177         * iconv/iconvconfig.c (print_version): Likewise.
17178         * locale/programs/locale.c (print_version): Likewise.
17179         * locale/programs/localedef.c (print_version): Likewise.
17180         * login/programs/pt_chown.c (print_version): Likewise.
17181         * malloc/memusage.sh (do_version): Likewise.
17182         * malloc/memusagestat.c (print_version): Likewise.
17183         * malloc/mtrace.pl: Likewise.
17184         * manual/libc.texinfo: Likewise.
17185         * nptl/version.c (banner): Likewise.
17186         * nscd/nscd.c (print_version): Likewise.
17187         * nss/getent.c (print_version): Likewise.
17188         * nss/makedb.c (print_version): Likewise.
17189         * posix/getconf.c (main): Likewise.
17190         * scripts/test-installation.pl: Likewise.
17191         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
17193 2015-01-02  Will Newton  <will.newton@linaro.org>
17195         * sysdeps/arm/armv7/configure: Removed.
17196         * sysdeps/arm/armv7/configure.ac: Likewise.
17198 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
17200         * All files with FSF copyright notices: Update copyright dates
17201         using scripts/update-copyrights.
17202         * intl/plural.c: Regenerated.
17203         * locale/programs/charmap-kw.h: Likewise.
17204         * locale/programs/locfile-kw.h: Likewise.
17206 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
17208         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
17210 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
17212         [BZ #17748]
17213         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
17214         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
17215         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
17216         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
17217         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
17218         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
17219         define as weak alias of __fegetenv.  Use libm_hidden_weak.
17220         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
17221         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
17222         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
17223         define as weak alias of __fegetenv.  Use libm_hidden_weak.
17224         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
17225         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
17226         define as weak alias of __fegetenv.  Use libm_hidden_weak.
17227         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
17228         libm_hidden_def.
17229         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
17230         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
17231         Likewise.
17232         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
17233         define as weak alias of __fegetenv.  Use libm_hidden_weak.
17234         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
17235         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
17236         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
17237         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
17238         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
17239         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
17240         __fegetenv instead of fegetenv.
17241         (libc_feholdsetround_noex_ctx): Likewise.
17243 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
17245         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
17246         (Elf_MIPS_ABIFlags_v0): New structure.
17247         (EF_MIPS_FP64): Define.
17248         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
17249         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
17250         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
17251         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
17252         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
17253         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
17254         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
17255         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
17256         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
17257         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
17258         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
17259         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
17260         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
17261         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
17262         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
17263         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
17264         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
17265         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
17266         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
17267         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
17268         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
17269         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
17270         field.
17271         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
17272         EF_MIPS_FP64.
17273         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
17274         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
17275         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
17276         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
17277         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
17278         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
17279         * sysdeps/mips/tst-abi-interlink.c: Likewise.
17280         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
17281         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
17282         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
17283         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
17284         record the current FP ABI extension.
17285         (mips-mode-switch): Define to show if kernel headers support mode
17286         switching.
17287         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
17288         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
17289         supported SYSV ABI version to 3.
17290         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
17291         feature.
17293 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17294             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17296         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
17297         path.
17298         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
17300 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
17302         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
17303         __fegetround and redefine to call __fegetround.  Remove condition
17304         on [!__NO_MATH_INLINES].
17305         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
17306         function.
17307         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
17308         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
17309         Remove macro.
17310         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
17311         instead of <fenv_libc.h>.
17312         (__llrintl): Call fegetround instead of __fegetround.
17313         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
17314         instead of <fenv_libc.h>.
17315         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
17316         (__lrintl): Call fegetround instead of __fegetround.
17317         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
17318         instead of <fenv_libc.h>.
17319         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
17320         (__rintl): Call fegetround instead of __fegetround.
17322 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
17324         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
17325         arrays.
17327 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
17329         [BZ #17775]
17330         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
17331         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
17332         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
17334 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
17336         * sysdeps/i386/tls-macros.h: Include <features.h>.
17337         (TLS_LE): Use non-PIC version for GCC >= 5.0.
17338         (TLS_IE): Likewise.
17339         (TLS_LD): Likewise.
17340         (TLS_GD): Likewise.
17341         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
17342         define for GCC >= 5.0.
17344 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
17346         * math/test-fenv.c (test_single_exception, set_single_exc,
17347         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
17348         feexcp_mask_test, feenable_test, fe_single_test): Add
17349         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
17350         case where they are not used.
17351         * math/libm-test.inc: Likewise.
17352         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
17353         unused in the absence of FP rounding/exception support.
17354         * stdio-common/tst-printf-round.c: Likewise.
17355         * stdlib/tst-strtod-round.c: Likewise.
17356         * stdlib/tst-strtod-underflow.c: Likewise.
17358 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
17360         [BZ #17723]
17361         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
17362         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
17363         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
17364         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
17365         libm_hidden_weak.
17366         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
17367         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
17368         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
17369         libm_hidden_def.
17370         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
17371         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
17372         libm_hidden_weak.
17373         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
17374         Likewise.
17375         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
17376         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
17377         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
17378         libm_hidden_weak.
17379         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
17380         libm_hidden_def.
17381         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
17382         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
17383         (__feraiseexcept): Likewise.
17384         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
17385         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
17386         libm_hidden_weak.
17387         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
17388         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
17389         libm_hidden_def.
17390         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
17391         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
17392         Use libm_hidden_def.
17393         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
17394         libm_hidden_def.
17395         (feraiseexcept): Define as weak not strong alias.  Use
17396         libm_hidden_weak.
17397         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
17398         New inline function.  Factored out of ...
17399         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
17400         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
17401         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
17402         feraiseexcept.
17403         * math/w_acos.c (__acos): Likewise.
17404         * math/w_asin.c (__asin): Likewise.
17405         * math/w_ilogb.c (__ilogb): Likewise.
17406         * math/w_j0.c (y0): Likewise.
17407         * math/w_j1.c (y1): Likewise.
17408         * math/w_jn.c (yn): Likewise.
17409         * math/w_log.c (__log): Likewise.
17410         * math/w_log10.c (__log10): Likewise.
17411         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
17412         * sysdeps/aarch64/fpu/math_private.h
17413         (libc_feupdateenv_test_aarch64): Likewise.
17414         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
17415         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
17416         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
17417         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
17418         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
17419         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
17420         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
17421         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
17422         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
17423         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
17425 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
17427         [BZ #17732]
17428         * io/test-utime.c (main): Replace %ld with %jd and cast to
17429         intmax_t.
17430         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
17431         * nptl/tst-mutex5.c: Include <stdint.h>.
17432         (do_test): Replace %ld with %jd and cast to intmax_t.
17433         * posix/tst-regex.c (run_test): Likewise.
17434         (run_test_backwards): Likewise.
17435         * rt/tst-clock.c: Include <stdint.h>.
17436         (clock_test): Replace %ld with %jd and cast to intmax_t.
17437         * rt/tst-cpuclock1.c: Include <stdint.h>.
17438         (do_test): Replace %lu with %ju and cast to uintmax_t.
17439         * rt/tst-cpuclock2.c: Include <stdint.h>.
17440         (do_test): Replace %lu with %ju and cast to uintmax_t.
17441         * rt/tst-mqueue1.c: Include <stdint.h>.
17442         (check_attrs): Replace %ld with %jd and cast to intmax_t.
17443         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
17444         intmax_t.
17445         * rt/tst-mqueue4.c (do_test): Likewise.
17446         * rt/tst-timer4.c: Include <stdint.h>.
17447         (check_ts): Replace %ld with %jd and cast to intmax_t.
17448         (do_test): Likewise.
17449         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
17450         and cast to intmax_t.
17451         * sysdeps/pthread/tst-timer.c (main): Likewise.
17452         * time/clocktest.c (main): Likewise.
17453         * time/tst-posixtz.c (do_test): Likewise.
17454         * timezone/tst-timezone.c (main): Likewise.
17456 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
17457             H.J. Lu  <hongjiu.lu@intel.com>
17459         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
17460         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
17461         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
17462         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
17463         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
17464         version if bit_Fast_Unaligned_Load is set.
17465         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
17466         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
17467         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
17468         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
17469         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
17470         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
17471         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17472         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
17473         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
17474         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
17475         to 4.
17476         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
17477         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
17478         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
17479         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
17481 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
17483         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
17484         instead of #if to avoid a Wundef warning.
17485         * stdlib/tst-limits.c (do_test): Likewise.
17487         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
17488         parallel other exception macros.
17489         (fegetenv): Convert from macro to extern inline so that it applies
17490         retroactively to inline functions already seen by the compiler.
17491         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
17493         * posix/Makefile (before-compile): Use $(objpfx) for
17494         posix-conf-vars-def.h.
17496 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
17498         * posix/getconf.c (main): Use size_t for type of I.
17499         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
17500         NSPEC.
17502         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
17503         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
17504         * posix/posix-envs.def: Likewise.
17505         * sysdeps/posix/sysconf.c: Likewise.
17506         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
17507         (specs): Remove array.
17508         * scripts/gen-posix-conf-vars.awk: Support generation of specs
17509         array.
17511         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
17512         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
17513         (__sysconf): Use CONF_IS_* macros.
17515         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
17516         ($(objpfx)posix-conf-vars-def.h): New target.
17517         * posix/posix-conf-vars.list: New file.
17518         * posix/posix-conf-vars.h: New file.
17519         * posix/confstr.c: Include posix-conf-vars.h.
17520         (confstr): Use CONF_IS_* macros.
17521         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
17522         CONF_IS_* macros.
17523         * scripts/gen-posix-conf-vars.awk: New file.
17525 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
17527         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
17528         fegetround): Add no-op macros to avoid linknamespace issues.
17530         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
17531         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
17533         * sysdeps/unix/sysv/linux/tile/sysdep.h
17534         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
17535         assembly-specific section to avoid a redefinition warning.
17537         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
17538         long before casting to pointer to avoid a cast warning.
17540 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
17542         * sysdeps/tile/tilegx/Implies: New file.
17544 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
17546         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
17548 2014-12-23  Florian Weimer  <fweimer@redhat.com>
17550         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
17552 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
17554         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
17555         not define.
17556         * sysdeps/unix/sysv/linux/utimes.c: Do not include
17557         <kernel-features.h>.
17558         (__utimes) [__NR_utimes]: Make code unconditional.
17559         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
17560         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17561         (__ASSUME_UTIMES): Do not undefine.
17562         * sysdeps/unix/sysv/linux/tile/kernel-features.h
17563         (__ASSUME_UTIMES): Likewise.
17564         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
17565         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
17566         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
17567         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
17569 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
17571         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
17573 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
17575         [BZ #17747]
17576         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
17577         alias to weak alias for j0l, y0l.
17578         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
17579         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
17581         [BZ #17746]
17582         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
17583         conversion.
17585 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
17587         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
17588         to zero if not already defined.
17590 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
17592         [BZ #17724]
17593         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
17594         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
17595         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
17596         (char *) casts added.
17597         * sysdeps/ieee754/k_standardf.c: New file.
17598         * sysdeps/ieee754/k_standardl.c: Likewise.
17599         * math/Makefile (libm-support): Remove k_standard.
17600         (libm-calls): Add k_standard.
17602 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
17604         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
17605         Optimize to avoid an unnecessary FPCR read.
17607 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
17609         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
17610         Optimize to reduce FPCR/FPSR accesses.
17612 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
17614         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
17615         Call libc_fetestexcept_aarch64.
17617 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
17619         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
17620         Call libc_fesetround_aarch64.
17622 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
17624         [BZ #17733]
17625         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
17626         (__bind): Do not define as weak alias.
17627         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
17628         define.
17629         (__getsockname): Do not define as weak alias.
17631 2014-12-22  Will Newton  <will.newton@linaro.org>
17633         * manual/install.texi: Document that we require bison 2.7
17634         or above.
17635         * INSTALL: Regenerate.
17636         * configure.ac: Use AC_CHECK_PROG_VER instead of
17637         AC_PATH_PROG when checking for bison and check for
17638         version 2.7 or above.
17639         * configure: Regenerate.
17641 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
17643         [BZ #17745]
17644         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
17645         * sysdeps/tile/ffsll.c (ffsll): To here.
17647         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
17649 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
17651         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
17652         if not defined.
17653         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
17654         definition.
17655         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
17656         hidden ___tls_get_addr.
17657         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
17658         hidden __tls_get_addr.
17659         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
17660         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
17661         Likewise.
17663 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
17665         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
17666         _dl_init call.
17668 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
17670         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
17671         from "call _dl_init@PLT".
17672         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
17674 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
17676         * manual/search.texi: (Array Sort Function): Clarify stable sorting
17677         guarantees.
17679 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
17681         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
17683 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
17685         [BZ #17744]
17686         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
17687         strnlen.
17689 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
17691         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
17692         of multu on MIPSr6.
17693         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
17694         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
17695         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
17696         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
17697         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
17699 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
17701         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
17702         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
17703         (PTR_SUBU): Use subu for mips32r6/mips64r6.
17704         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
17705         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
17706         mips32r6/mips64r6.
17707         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
17709 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
17711         * string/strncat.c (STRNCAT): Simplify implementation.
17713 2014-12-19  David S. Miller  <davem@davemloft.net>
17715         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
17716         access the quad as both a long double and as a series of 4 words.
17718         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
17719         link_map->l_info array access.
17721 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
17723         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
17725         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
17726         * math/atest-exp2.c (TIMEOUT): Likewise.
17727         * math/atest-sincos.c (TIMEOUT): Likewise.
17729 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
17731         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
17732         -Wno-error with -fno-builtin-lround.
17734 2014-12-19  Torvald Riegel  <triegel@redhat.com>
17736         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
17737         Contains futex constants and functions moved over from ...
17738         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
17739         <lowlevellock-futex.h>.
17740         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
17741         (lll_timedwait_tid): Add comments and parentheses around macro
17742         arguments.
17744 2014-12-19  Torvald Riegel  <triegel@redhat.com>
17746         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
17747         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
17748         (__lll_private_flag): Remove.
17749         (lll_futex_wait): Likewise.
17750         (lll_futex_timed_wait): Likewise.
17751         (lll_futex_wake): Likewise.
17752         (lll_futex_requeue): Likewise.
17753         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
17754         (__lll_timedwait_tid): Spell out argument names.
17755         (lll_timedwait_tid): Add comments and parentheses around macro
17756         arguments.
17757         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
17758         LLL_SHARED and LLL_PRIVATE usable from assembly code.
17760 2014-12-19  Torvald Riegel  <triegel@redhat.com>
17762         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
17763         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
17764         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
17765         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
17766         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
17767         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
17768         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
17769         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
17770         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
17771         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
17772         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
17773         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
17774         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
17775         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
17776         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
17777         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
17778         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
17779         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
17780         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
17782 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
17784         * sysdeps/x86_64/x32/Makefile: New file.
17786 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
17788         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
17789         1L with (mp_limb_t) 1.
17791 2014-12-17  Roland McGrath  <roland@hack.frob.com>
17793         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
17794         * nptl/libc_pthread_init.c: ... here.
17795         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
17796         * nptl/register-atfork.c: ... here.
17798         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
17799         Use pthread_sigmask rather than INTERNAL_SYSCALL.
17800         Use assert_perror to check its return value.
17801         (__gai_create_helper_thread): Likewise.
17803         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
17805         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
17807 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
17809         [BZ #17725]
17810         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
17811         __profil_counter.
17812         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
17813         Likewise.
17814         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
17815         Likewise.
17816         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
17817         Likewise.
17818         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
17819         (profil_counter): Likewise.
17820         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
17821         (profil_counter): Likewise.
17822         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
17823         Likewise.
17824         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
17825         Likewise.
17826         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
17827         (profil_counter): Likewise.
17828         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
17829         Likewise.
17830         [!__profil_counter] (profil_counter): Define as weak alias of
17831         __profil_counter.
17832         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
17833         (profil_counter): Rename to __profil_counter.
17834         [!__profil_counter] (profil_counter): Define as weak alias of
17835         __profil_counter.
17836         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
17837         (profil_counter): Rename to __profil_counter.
17838         [!__profil_counter] (profil_counter): Define as weak alias of
17839         __profil_counter.
17840         * sysdeps/posix/profil.c: Update comment referring to
17841         profil_counter.
17842         (__profil): Use __profil_counter instead of profil_counter.
17843         * sysdeps/posix/sprofil.c (profil_counter): Rename to
17844         __profil_counter.  Use __profil_counter_ushort and
17845         __profil_counter_uint in definitions.
17846         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
17847         instead of profil_counter_uint and profil_counter_ushort.
17849         [BZ #17722]
17850         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
17851         define as weak alias of __inet_makeaddr.
17852         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
17853         as weak alias of __inet_addr.
17854         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
17855         as weak alias of __inet_pton.  Use libc_hidden_weak.
17856         * include/arpa/inet.h (__inet_pton): Declare.  Use
17857         libc_hidden_proto.
17858         (inet_makeaddr): Don't use libc_hidden_proto.
17859         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
17860         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
17861         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
17862         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
17863         Remove variable.
17864         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
17865         (test-xfail-POSIX/time.h/linknamespace): Likewise.
17867 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
17869         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
17871 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
17873         * stdio-common/bug-vfprintf-nargs.c (do_test):
17874         Cast value to intptr_t to avoid format warning
17875         for usage with PRIdPTR printing macro.
17877 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
17879         * libio/tst-widetext.c (do_test):
17880         Use format type %td instead of %Zd for ptrdiff_t
17881         in order to avoid format warning.
17883 2014-12-17  Andreas Schwab  <schwab@suse.de>
17885         * nscd/mem.c (gc): Add size_t cast to match printf format.
17887 2014-12-16  Roland McGrath  <roland@hack.frob.com>
17889         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
17890         (init): Apply PTR_MANGLE to pointers before storing them.
17891         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
17892         before using them.
17894 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
17896         [BZ #17719]
17897         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
17898         define as weak alias of __memrchr.
17899         (__memrchr): Do not define as strong alias of memrchr.
17900         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
17901         Remove variable.
17902         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
17903         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
17904         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
17906         [BZ #17717]
17907         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
17908         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
17909         (if_indextoname): Rename to __if_indextoname and define as weak
17910         alias of __if_indextoname.  Use libc_hidden_weak.
17911         (if_freenameindex): Rename to __if_freenameindex and define as
17912         weak alias of __if_freenameindex.
17913         (if_nameindex): Rename to __if_nameindex and define as weak alias
17914         of __if_nameindex.
17915         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
17916         __if_nametoindex and define as weak alias of __if_nametoindex.
17917         Use libc_hidden_weak.
17918         (if_freenameindex): Rename to __if_freenameindex and define as
17919         weak alias of __if_freenameindex.
17920         (if_nameindex): Rename to __if_nameindex and define as weak alias
17921         of __if_nameindex.
17922         (if_indextoname): Rename to __if_indextoname and define as weak
17923         alias of __if_indextoname.  Use libc_hidden_weak.
17924         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
17925         __if_nametoindex and define as weak alias of __if_nametoindex.
17926         Use libc_hidden_weak.
17927         (if_freenameindex): Rename to __if_freenameindex and define as
17928         weak alias of __if_freenameindex.  Use libc_hidden_weak.
17929         (if_nameindex_netlink): Use __if_freenameindex instead of
17930         if_freenameindex.
17931         (if_nameindex): Rename to __if_nameindex and define as weak alias
17932         of __if_nameindex.  Use libc_hidden_weak.
17933         (if_indextoname): Rename to __if_indextoname and define as weak
17934         alias of __if_indextoname.  Use libc_hidden_weak.
17935         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
17936         libc_hidden_proto.
17937         [!_ISOMAC] (__if_freenameindex): Likewise.
17938         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
17939         if_nametoindex.
17940         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
17941         variable.
17942         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
17943         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
17944         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
17945         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
17946         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
17947         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
17948         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
17950         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
17951         Remove variable.
17952         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
17953         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
17955 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
17957         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
17958         subscript above bounds'
17960         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
17961         bounds.
17963 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
17965         * libio/tst-fopenloc.c: Use test-skeleton.c.
17967         * stdlib/tst-bsearch.c: Use test-skeleton.c.
17968         (entry): Rename to ITEM.
17969         (do_test, comp): Adjust.
17971         * stdio-common/tst-fseek.c: Use test-skeleton.c.
17973 2014-12-16  Torvald Riegel  <triegel@redhat.com>
17975         * string/tester.c: Include <libc-internal.h>.
17976         (test_memset): Ignore -Wmemset-transposed-args.
17978 2014-12-16  Torvald Riegel  <triegel@redhat.com>
17980         * misc/tst-mntent2.c (do_test): Fix warning.
17982 2014-12-16  Torvald Riegel  <triegel@redhat.com>
17984         * elf/tst-unique4lib.cc(a): Mark as used.
17986 2014-12-16  Florian Weimer  <fweimer@redhat.com>
17988         [BZ #17630]
17989         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
17990         names.
17992 2014-12-16  Allan McRae  <allan@archlinux.org>
17994         * stdio-common/Makefile (tests): Re-add bug26.
17996 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
17998         [BZ #17657]
17999         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
18000         static array.
18002 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
18004         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
18005         (__lll_lock_wait): Likewise.
18006         (__lll_timedlock_wait): Likewise.
18007         (__lll_timedwait_tid): Likewise.
18008         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
18009         (__lll_robust_timedlock_wait): Likewise.
18010         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
18011         (lll_cond_trylock): Likewise.
18012         (__lll_lock): Likewise.
18013         (__lll_robust_lock): Likewise.
18014         (__lll_cond_lock): Likewise.
18015         (lll_robust_cond_lock): Likewise.
18016         (__lll_timedlock): Likewise.
18017         (__lll_robust_timedlock): Likewise.
18018         (__lll_unlock): Likewise.
18019         (__lll_robust_unlock): Likewise.
18020         (lll_wait_tid): Likewise.
18021         (lll_timedwait_tid): Likewise.
18023 2014-12-15  Torvald Riegel  <triegel@redhat.com>
18025         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
18027 2014-12-15  Torvald Riegel  <triegel@redhat.com>
18029         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
18031 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
18033         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
18034         * stdio-common/tst-sprintf.c: Likewise.
18036 2014-12-15  Torvald Riegel  <triegel@redhat.com>
18038         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
18040 2014-12-15  Jeff Law  <law@redhat.com>
18042         [BZ #16617]
18043         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
18044         on the heap.  (CVE-2012-3406)
18045         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
18046         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
18047         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
18049 2014-12-15  Will Newton  <will.newton@linaro.org>
18051         * manual/install.texi: Bump required version of texinfo
18052         to 4.7 from 4.5.
18053         * INSTALL: Regenerated.
18054         * configure.ac: Check for makeinfo version 4.7 and above.
18055         * configure: Regenerated.
18057 2014-12-12  Roland McGrath  <roland@hack.frob.com>
18059         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
18060         PREFIX, string constant to insert between directory and name.
18061         * sysdeps/posix/shm_open.c: Update caller.
18062         * sysdeps/posix/shm_unlink.c: Likewise.
18063         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
18064         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
18065         (SEM_SHM_PREFIX): New macro.
18066         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
18067         [$(have-thread-library) = no].
18068         * nptl/Makefile (libpthread-routines): Add shm-directory.
18069         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
18070         * sysdeps/nptl/shm-directory.h: New file.
18071         * sysdeps/posix/shm-directory.c
18072         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
18073         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
18074         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
18075         INTERNAL_SYSCALL.
18076         (__where_is_shmfs): Function removed.
18077         (mountpoint, defaultmount, defaultdir, __namedsem_once):
18078         Variables removed.
18079         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
18080         Use SHM_GET_NAME.
18081         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
18083         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
18084         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
18085         unconditional for use inside libpthread.
18086         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
18088 2014-12-12  Roland McGrath  <roland@hack.frob.com>
18090         * nptl/pthread_getaffinity.c: New file.
18091         * nptl/pthread_setaffinity.c: New file.
18092         * nptl/pthread_getname.c: New file.
18093         * nptl/pthread_setname.c: New file.
18095         * nptl/pthread_create.c (START_THREAD_DEFN)
18096         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
18098 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
18099             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18101         * resolv/res_send.c (send_vc): Disable warning resplen may
18102         be used uninitialized.
18104 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
18106         * nptl/tst-mutex6.c
18107         (ATTR_NULL): New define checks ATTR against NULL.
18108         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
18109         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
18111 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
18113         [BZ #17581]
18114         * malloc/hooks.c
18115         (mem2mem_check): Revert my previous change.
18116         (malloc_check_get_size): Revert my previous change.
18117         (mem2chunk_check): Revert my previous change.
18119 2014-12-11  Roland McGrath  <roland@hack.frob.com>
18121         * sysdeps/posix/shm-directory.c: New file.
18122         * sysdeps/posix/shm-directory.h: New file.
18123         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
18124         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
18125         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
18126         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
18127         Transmute EPERM to EACCES.
18128         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
18129         from ...
18130         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
18131         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
18133 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18135         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
18136         pointer and cast to uintptr_t.
18137         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
18138         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
18139         Add cast to avoid warning.
18140         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
18142 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
18144         * nptl/semaphore.h: Move to ...
18145         * sysdeps/pthread/semaphore.h: ... here.
18146         * Makefile (installed-headers): Change nptl/semaphore.h to
18147         sysdeps/pthread/semaphore.h.
18149 2014-12-11  Roland McGrath  <roland@hack.frob.com>
18151         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
18152         generated error format strings.
18154         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
18155         -Wformat-extra-args warnings for scanf formats.
18156         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
18157         test of zero-length format (duh).
18158         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
18159         corner-case scanf format test.
18160         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
18161         generated fprintf format string.
18162         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
18163         corner-case sprintf format tests.
18164         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
18165         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
18166         -Wformat-extra-args warnings throughout.
18167         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
18168         (CFLAGS-scanf4.c): Likewise.
18169         (CFLAGS-scanf7.c): Likewise.
18170         (CFLAGS-tst-sprintf.c): Likewise.
18171         (CFLAGS-tst-printf.c): Likewise.
18172         (CFLAGS-tst-printfsz.c): Likewise.
18174 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
18176         * include/cpio.h: New file.
18177         * include/fmtmsg.h: Likewise.
18179         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
18180         corresponding format argument to size_t.
18181         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
18182         arguments.
18183         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
18184         corresponding format argument to size_t.
18185         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
18186         arguments.
18187         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
18188         corresponding format argument to size_t.
18189         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
18190         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
18191         (CFLAGS-tst-mbswcs2.c): Likewise.
18192         (CFLAGS-tst-mbswcs3.c): Likewise.
18193         (CFLAGS-tst-mbswcs4.c): Likewise.
18194         (CFLAGS-tst-mbswcs5.c): Likewise.
18195         (CFLAGS-tst-trans.c): Likewise
18197 2014-12-11  Roland McGrath  <roland@hack.frob.com>
18199         * posix/regexbug1.c (main): Use "%s" format with regerror results,
18200         rather than assuming they won't contain any '%'s.
18202 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
18204         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
18205         inhibit_loop_to_libcall to avoid recursive calls.
18206         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
18207         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
18209 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
18211         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
18212         prototype.
18214 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
18216         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
18217         integer value instead of boolean.
18219 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
18221         * malloc/malloc.c: Fix powerof2 check.
18223 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
18225         * locale/programs/locfile.h (maybe_swap_uint32):
18226         Remove inline and add unused attribute.
18228 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
18230         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
18231         Truncating assembler expression to a .long expression.
18233 2014-12-11  Andreas Schwab  <schwab@suse.de>
18235         * elf/rtld.c (struct map_args): Constify str member.
18236         (do_preload): Constify fname argument.
18238 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18240         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
18241         constants definition.
18243 2014-12-11  Andreas Schwab  <schwab@suse.de>
18245         [BZ #16657]
18246         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
18247         FORCE_ELISION instead of DO_ELISION.
18248         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
18249         Remove.
18250         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
18251         Likewise.
18253         * iconvdata/gconv-modules: Remove duplicate entry.
18255 2014-12-11  Will Newton  <will.newton@linaro.org>
18257         Merge gettext 0.19.3 into intl/.
18259         This involves a number of cosmetic changes to comments
18260         and ANSI function definitions and prototypes throughout
18261         all the files. The gettext copyright header is used but
18262         with the date ranges taken from the glibc copy.
18264         * NEWS: Add gettext merge to 2.21.
18265         * intl/bindtextdom.c: Switch to gettext copyright.
18266         Use ANSI definitions and prototypes.
18267         Use gl_* locking primitives rather than __libc_* ones.
18268         Use __builtin_expect rather than __glibc_likely/unlikely.
18269         * intl/dcgettext.c: Switch to gettext copyright.
18270         Use ANSI definitions and prototypes.
18271         * intl/dcigettext.c: Switch to gettext copyright.
18272         Use ANSI definitions and prototypes.
18273         (INTDIV0_RAISES_SIGFPE): New define.
18274         Use gl_* locking primitives rather than __libc_* ones.
18275         Include eval-plural.h instead of plural-eval.c.
18276         Use __builtin_expect rather than __glibc_likely/unlikely.
18277         * intl/dcngettext.c: Switch to gettext copyright.
18278         Use ANSI definitions and prototypes.
18279         * intl/dgettext.c: Likewise.
18280         * intl/dngettext.c: Likewise.
18281         * intl/plural-eval.c: Renamed to...
18282         * intl/eval-plural.h: ...this.
18283         * intl/explodename.c: Switch to gettext copyright.
18284         Use ANSI definitions and prototypes.
18285         (_nl_explode_name): Use strchr instead of __rawmemchr.
18286         * intl/finddomain.c: Switch to gettext copyright.
18287         Use ANSI definitions and prototypes.
18288         Use gl_* locking primitives rather than __libc_* ones.
18289         (_nl_find_domain): Use malloc rather than alloca for
18290         allocation of temporary locale name.
18291         * intl/gettext.c: Switch to gettext copyright.
18292         Use ANSI definitions and prototypes.
18293         * intl/gettextP.h: Switch to gettext copyright.
18294         Use ANSI definitions and prototypes.
18295         Use gl_* locking primitives rather than __libc_* ones.
18296         * intl/gmo.h: Switch to gettext copyright.
18297         (struct sysdep_string): Move struct segment_pair outside of
18298         struct definition.
18299         * intl/hash-string.c: Use ANSI definitions and prototypes.
18300         * intl/hash-string.h: Switch to gettext copyright.
18301         Use ANSI definitions and prototypes.
18302         * intl/l10nflist.c: Switch to gettext copyright.
18303         Use ANSI definitions and prototypes.
18304         (_nl_normalize_codeset): Avoid integer overflow.
18305         * intl/loadinfo.h: Switch to gettext copyright.
18306         Use ANSI definitions and prototypes.
18307         (LIBINTL_DLL_EXPORTED): New define.
18308         (PATH_SEPARATOR): New define.
18309         * intl/loadmsgcat.c: Switch to gettext copyright.
18310         * intl/localealias.c: Switch to gettext copyright.
18311         Use ANSI definitions and prototypes.
18312         (_nl_expand_alias): Use PATH_SEPARATOR.
18313         * intl/ngettext.c: Switch to gettext copyright.
18314         Use ANSI definitions and prototypes.
18315         * intl/plural-exp.c: Likewise.
18316         * intl/plural-exp.h: Switch to gettext copyright.
18317         Use ANSI definitions and prototypes.
18318         (struct expression): Move definition of enum operator outside
18319         of struct definition.
18320         * intl/plural.c: Regenerate.
18321         * intl/plural.y: Switch to gettext copyright.
18322         Use ANSI definitions and prototypes.
18323         Port to bison 3.0.
18324         * intl/textdomain.c: Switch to gettext copyright.
18325         Use ANSI definitions and prototypes.
18326         Use gl_* locking primitives rather than __libc_* ones.
18328 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
18330         * debug/warning-nop.c: Add used atrribute.
18332 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
18334         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
18336         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
18337         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
18338         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
18340 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
18341             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18343         [BZ #17634]
18344         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
18345         Undefine after defining function.  Define as weak alias of
18346         __wcschr.  Use libc_hidden_weak.
18347         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
18348         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
18349         (libc_hidden_def): Also define __GI___wcschr alias.
18350         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
18351         __wcschr and define as weak alias of __wcschr.
18352         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
18353         __wcschr.
18354         [!WCSCHR] (DEFAULT_WCSCHR): Define.
18355         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
18356         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
18357         libc_hidden_weak.  Do not use libc_hidden_def.
18358         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
18359         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
18360         __GI___wcschr alias.
18361         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
18362         [IS_IN (libc)] (wcschr): Define as macro expanding to
18363         __redirect_wcschr.
18364         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
18365         [IS_IN (libc)] (__wcschr_power6): Likewise.
18366         [IS_IN (libc)] (__wcschr_power7): Likewise.
18367         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
18368         instead of wcschr.
18369         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
18370         __libc_wcschr.
18371         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
18372         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
18373         __wcschr and define as weak alias of __wcschr.  Use
18374         libc_hidden_builtin_def.
18375         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
18376         as weak alias of __wcschr.  Use libc_hidden_weak.
18377         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
18378         wcschr.
18379         * time/era.c (_nl_init_era_entries): Likewise.
18380         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
18381         variable.
18382         (test-xfail-XPG3/time.h/linknamespace): Likewise.
18383         (test-xfail-XPG4/time.h/linknamespace): Likewise.
18385 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
18387         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
18388         format for long int variable.
18390 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
18392         [BZ #10672]
18393         * manual/search.texi: (Array Sort Function): Remove claim how to make
18394         qsort stable.
18396 2014-12-10  Andreas Schwab  <schwab@suse.de>
18398         [BZ #12847]
18399         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
18400         user-controlled locks.
18402 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
18404         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
18405         register.
18407 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
18409         * configure.ac (--disable-werror): New configure option.
18410         (enable_werror): New AC_SUBST.
18411         * configure: Regenerated.
18412         * config.make.in (enable-werror): New variable.
18413         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
18414         -Wno-error=undef.
18415         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
18416         * manual/install.texi (Configuring and compiling): Document
18417         --disable-werror.
18418         * INSTALL: Regenerated.
18419         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
18420         (CFLAGS-tst-chk2.c): Likewise.
18421         (CFLAGS-tst-chk3.c): Likewise.
18422         (CFLAGS-tst-chk4.cc): Likewise.
18423         (CFLAGS-tst-chk5.cc): Likewise.
18424         (CFLAGS-tst-chk6.cc): Likewise.
18425         (CFLAGS-tst-lfschk1.c): Likewise.
18426         (CFLAGS-tst-lfschk2.c): Likewise.
18427         (CFLAGS-tst-lfschk3.c): Likewise.
18428         (CFLAGS-tst-lfschk4.cc): Likewise.
18429         (CFLAGS-tst-lfschk5.cc): Likewise.
18430         (CFLAGS-tst-lfschk6.cc): Likewise.
18432         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
18433         (main): Disable -Wdeprecated-declarations around calls to
18434         register_printf_function.
18436         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
18437         (do_test): Disable -Wdiv-by-zero around some calls to
18438         fwrite_unlocked and fread_unlocked.
18440         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
18441         (DIAG_POP_NEEDS_COMMENT): Likewise.
18442         (_DIAG_STR1): Likewise.
18443         (_DIAG_STR): Likewise.
18444         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
18445         * stdio-common/bug21.c: Include <libc-internal.h>.
18446         (do_test): Disable -Wformat around call to sscanf.
18447         * stdio-common/scanf14.c: Include <libc-internal.h>.
18448         (main): Disable -Wformat around some calls to scanf functions.
18450 2014-12-09  Torvald Riegel  <triegel@redhat.com>
18452         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
18454 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18456         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
18457         stack variable alignment.
18459 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
18461         [BZ #17682]
18462         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
18463         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
18464         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
18465         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
18466         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
18467         __getrlimit instead of getrlimit.
18468         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
18469         __gettimeofday instead of gettimeofday.
18470         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
18471         Likewise.
18472         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
18473         Likewise.
18474         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
18475         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
18476         Remove variable.
18477         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
18478         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
18480 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18482         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
18483         for wide-character tests.
18485 2014-12-04  Roland McGrath  <roland@hack.frob.com>
18487         * io/openat64.c: #include <libc-internal.h>
18488         (__openat64): Prototypify.  Use ignore_value on MODE.
18489         * io/openat.c: Likewise.
18490         * misc/reboot.c: #include <libc-internal.h>
18491         (reboot): Prototypify.  Use ignore_value on HOWTO.
18492         * misc/ptrace.c: #include <libc-internal.h>
18493         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
18495 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
18497         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
18498         XPG4, UNIX98 and XOPEN2K.
18499         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
18500         Remove variable.
18501         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
18503 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
18505         * libio/fileops.c: Use ISO C style for function definitions.
18506         * libio/iofopen.c: Likewise.
18507         * libio/wfileops.c: Likewise.
18509         [BZ #17653]
18510         * libio/fileops.c (_IO_new_file_underflow): Unset cached
18511         offset on EOF.
18512         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
18513         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
18514         (fgets_func): Function pointer to fgets and fgetws.
18515         (do_ftell_test): Add test to verify ftell value after read
18516         EOF.
18517         (do_test): Set fgets_func.
18519         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
18520         O_TRUNC flag for w and w+ modes.
18521         (do_rewind_test): Likewise.
18522         (do_ftell_test): Likewise.
18523         (do_write_test): Likewise.
18525         [BZ #17647]
18526         * libio/fileops.c (do_ftell): Seek only when there are
18527         unflushed writes.
18528         * libio/wfileops.c (do_ftell_wide): Likewise.
18529         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
18530         test case.
18531         (do_one_test): Call it.
18533 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
18535         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
18536         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
18537         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
18538         Remove variable.
18539         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
18540         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
18541         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
18543 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
18545         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
18546         Remove variable.
18547         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
18549         [BZ #17668]
18550         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
18551         as weak alias of __getifaddrs.  Use libc_hidden_weak.
18552         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
18553         __freeifaddrs.  Use libc_hidden_weak.
18554         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
18555         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
18556         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
18557         __freeifaddrs.  Use libc_hidden_weak.
18558         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
18559         __getifaddrs and define as weak alias of __getifaddrs.  Use
18560         libc_hidden_weak.
18561         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
18562         __freeifaddrs.  Use libc_hidden_weak.
18563         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
18564         Remove variable.
18565         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
18566         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
18568 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
18570         [BZ #17601]
18571         * sysdeps/mips/start.S (__start): Use indirect jump to call
18572         __libc_start_main.
18574 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
18576         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
18578         * nptl/tst-mutex1.c: Include <stdbool.h>.
18579         [!ATTR] (ATTR_NULL): New macro.
18580         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
18581         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
18582         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
18584         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
18585         to char *.
18587         [BZ #17665]
18588         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
18589         Change conditional to [__USE_MISC].
18591         [BZ #17664]
18592         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
18593         fgets_unlocked.
18594         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
18595         __fgets_unlocked.
18596         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
18597         fgets_unlocked.
18598         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
18599         Remove variable.
18600         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
18601         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
18602         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
18603         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
18604         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
18605         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
18606         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
18607         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
18608         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
18610         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
18612 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18614         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
18615         Remove strpbrk objects.
18616         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18617         (__libc_ifunc_impl_list): Remove strpbrk implementation.
18618         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
18619         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
18620         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
18621         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
18623         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
18624         Remove strcspn objects.
18625         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18626         (__libc_ifunc_impl_list): Remove strcspn implementation.
18627         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
18628         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
18629         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
18630         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
18632         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
18633         Remove strspn objetcs.
18634         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18635         (__libc_ifunc_impl_list): Remove strspn implementation.
18636         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
18637         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
18638         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
18639         * sysdeps/powerpc/powerpc64/strspn.S: New file.
18641 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
18643         [BZ #17581]
18644         * malloc/hooks.c
18645         (mem2mem_check): Add a terminator to the chain of checking blocks.
18646         (malloc_check_get_size): Use it here.
18647         (mem2chunk_check): Ditto.
18649 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18651         * sysdeps/powerpc/powerpc64/strtok.S: New file.
18652         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
18654 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
18656         * bits/ioctl-types.h: Indent preprocessor directives correctly.
18658         * nptl/nptl-init.c: Include libc-internal.h.
18659         (__pthread_initialize_minimal_internal): Use ROUND_UP.
18661         * elf/ldconfig.c (search_dir): Expand comment.
18663 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
18665         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
18666         variable.
18667         (linknamespace-symlist-stdlibs-tests): Likewise.
18668         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
18669         instead of $(objpfx)symlist-stdlibs.
18670         (linknamespace-libs-isoc): New variable.
18671         (linknamespace-libs): Use $(linknamespace-libs-isoc).
18672         (linknamespace-libs-ISO): New variable.
18673         (linknamespace-libs-ISO99): Likewise.
18674         (linknamespace-libs-ISO11): Likewise.
18675         (linknamespace-libs-XPG3): Likewise.
18676         (linknamespace-libs-XPG4): Likewise.
18677         (linknamespace-libs-POSIX): Likewise.
18678         (linknamespace-libs-UNIX98): Likewise.
18679         (linknamespace-libs-XOPEN2K): Likewise.
18680         (linknamespace-libs-POSIX2008): Likewise.
18681         (linknamespace-libs-XOPEN2K8): Likewise.
18682         ($(objpfx)symlist-stdlibs): Replace by
18683         $(linknamespace-symlist-stdlibs-tests).  Use
18684         $(linknamespace-libs-$*) as set of libraries.
18685         ($(linknamespace-header-tests)): Update dependencies.  Use
18686         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
18687         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
18688         * conform/linknamespace.pl: Remove comment about considering
18689         definitions of symbols from irrelevant libraries.
18691 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
18693         [BZ #13862]
18694         * elf/dl-tls.c: Include <atomic.h>.
18695         (oom): Remove #ifdef SHARED/#endif.
18696         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
18697         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
18698         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
18699         big enough.
18700         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
18701         * nptl/Makefile (tests): Add tst-stack4.
18702         (modules-names): Add tst-stack4mod.
18703         ($(objpfx)tst-stack4): New.
18704         (tst-stack4mod.sos): Likewise.
18705         ($(objpfx)tst-stack4.out): Likewise.
18706         ($(tst-stack4mod.sos)): Likewise.
18707         (clean): Likewise.
18708         * nptl/tst-stack4.c: New file.
18709         * nptl/tst-stack4mod.c: Likewise.
18711 2014-11-27  J. Brown  <jb999@gmx.de>
18713         * sysdeps/x86/bits/string.h: Add recent CPUs.
18715 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
18717         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
18718         sigblock.
18720         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
18721         feof.
18723         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
18724         variable.
18726 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
18728         * nscd/connections.c: Include libc-internal.h because of macro
18729         usage ignore_value.
18731 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
18733         * string/bits/string3.h (__warn_memset_zero_len): Don't
18734         declare for gcc newer than 5.0.
18735         (memset): Don't test for zero-length __LEN for gcc newer than
18736         5.0.
18738 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
18740         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
18741         size_t for %zu format.
18743         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
18744         difference, not %ju.
18746 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
18748         * include/libc-internal.h (ignore_value): New macro.
18749         * nscd/connections.c (restart): Wrap calls to setuid and setgid
18750         with ignore_value.
18752         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
18753         definition.
18755         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
18756         pthread_cleanup_push to void *.
18758         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
18759         Undefine.
18761         [BZ #16619]
18762         [BZ #16740]
18763         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
18764         instead of 1L << 52.
18766         * libio/bug-rewind.c (do_test): Check fwscanf return values.
18767         * libio/bug-rewind2.c (do_test): Likewise.
18769         * debug/test-stpcpy_chk-ifunc.c: Remove file.
18770         * debug/test-strcpy_chk-ifunc.c: Likewise.
18771         * wcsmbs/test-wcschr-ifunc.c: Likewise.
18772         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
18773         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
18774         * wcsmbs/test-wcslen-ifunc.c: Likewise.
18775         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
18776         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
18777         * Rules [$(multi-arch) = no] (tests): Do not filter out
18778         $(tests-ifunc).
18779         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
18780         * debug/Makefile (tests-ifunc): Remove variable.
18781         (tests): Do not add $(tests-ifunc).
18782         * wcsmbs/Makefile (tests-ifunc): Remove variable.
18783         (tests): Do not add $(tests-ifunc).
18784         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
18785         [TEST_IFUNC]: Remove conditionals.
18786         * string/test-string.h (TEST_IFUNC): Remove macro.
18787         [TEST_IFUNC]: Remove conditionals.
18789         * string/test-strchr.c [!WIDE] (L): New macro.
18790         [WIDE] (L): Likewise.
18791         (check1): Use CHAR instead of char.  Use L on string and character
18792         constants.
18794 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
18796         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
18797         tests.
18798         * sysdeps/powerpc/bits/atomic.h
18799         (__arch_atomic_exchange_and_add_32_acq): Add definition.
18800         (__arch_atomic_exchange_and_add_32_rel): Likewise.
18801         (atomic_exchange_and_add_acq): Likewise.
18802         (atomic_exchange_and_add_rel): Likewise.
18803         * sysdeps/powerpc/powerpc32/bits/atomic.h
18804         (__arch_atomic_exchange_and_add_64_acq): Add definition.
18805         (__arch_atomic_exchange_and_add_64_rel): Likewise.
18806         * sysdeps/powerpc/powerpc64/bits/atomic.h
18807         (__arch_atomic_exchange_and_add_64_acq): Add definition.
18808         (__arch_atomic_exchange_and_add_64_rel): Likewise.
18810 2014-11-26  Torvald Riegel  <triegel@redhat.com>
18812         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
18813         Change synchronization of __sched_fifo_min_prio and
18814         __sched_fifo_max_prio.
18815         * nptl/pthread_mutexattr_getprioceiling.c
18816         (pthread_mutexattr_getprioceiling): Likewise.
18817         * nptl/pthread_mutexattr_setprioceiling.c
18818         (pthread_mutexattr_setprioceiling): Likewise.
18819         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
18820         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
18821         Likewise.
18823 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
18825         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
18826         void.
18828 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
18830         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
18831         third argument const.
18833 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
18835         fnmatch: work around GCC compiler warning bug with uninit var
18836         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
18837         This works around a bug with x86-64 GCC 4.9.2 and earlier
18838         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
18839         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
18840         used uninitialized in this function [-Wmaybe-uninitialized]".
18842 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
18844         * posix/bug-regex31.c (main): Return RES not 0.
18846 2014-11-25  Anton Blanchard <anton@samba.org>
18848         * sysdeps/powerpc/bits/atomic.h
18849         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
18851 2014-11-24  Sterling Augustine  <saugustine@google.com>
18853         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
18855 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
18857         [BZ #17608]
18858         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
18860 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
18862         [BZ #17633]
18863         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
18864         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
18865         variable.
18866         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
18867         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
18869 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
18871         * string/strncpy.c (strncpy): Improve performance by using memset.
18873 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
18875         * string/strcpy.c (strcpy):
18876         Improve performance by using strlen and memcpy.
18878 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
18880         * string/strcoll_l.c (get_next_seq): __always_inline.
18881         * string/strcoll_l.c (do_compare): __always_inline.
18883 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18885         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
18886         defined.
18887         * include/mqueue.h: Likewise.
18888         * include/stdlib.h: Likewise.
18890         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
18891         (get_null_defines): Adjust.
18892         * sunrpc/Makefile: Adjust comment.
18893         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
18894         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
18895         (CFLAGS-interp.c): Likewise.
18896         (CFLAGS-ldconfig.c): Likewise.
18897         (CPPFLAGS-.os): Likewise.
18898         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
18899         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
18900         * extra-modules.mk (extra-modules.mk): Likewise.
18901         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
18902         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
18903         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
18904         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
18905         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
18906         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
18907         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
18908         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
18909         * iconvdata/Makefile (CPPFLAGS): Likewise.
18910         (cpp-srcs-left): Add libof for all iconvdata routines.
18911         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
18912         * include/assert.h: Likewise.
18913         * include/ctype.h: Likewise.
18914         * include/errno.h: Likewise.
18915         * include/libc-symbols.h: Likewise.
18916         * include/math.h: Likewise.
18917         * include/netdb.h: Likewise.
18918         * include/resolv.h: Likewise.
18919         * include/stdio.h: Likewise.
18920         * include/stdlib.h: Likewise.
18921         * include/string.h: Likewise.
18922         * include/sys/stat.h: Likewise.
18923         * include/wctype.h: Likewise.
18924         * intl/l10nflist.c: Likewise.
18925         * libidn/idn-stub.c: Likewise.
18926         * libio/libioP.h: Likewise.
18927         * nptl/libc_multiple_threads.c: Likewise.
18928         * nptl/pthreadP.h: Likewise.
18929         * posix/regex_internal.h: Likewise.
18930         * resolv/res_hconf.c: Likewise.
18931         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
18932         * sysdeps/arm/memmove.S: Likewise.
18933         * sysdeps/arm/sysdep.h: Likewise.
18934         * sysdeps/generic/_itoa.h: Likewise.
18935         * sysdeps/generic/symbol-hacks.h: Likewise.
18936         * sysdeps/gnu/errlist.awk: Likewise.
18937         * sysdeps/gnu/errlist.c: Likewise.
18938         * sysdeps/i386/i586/memcpy.S: Likewise.
18939         * sysdeps/i386/i586/memset.S: Likewise.
18940         * sysdeps/i386/i686/memcpy.S: Likewise.
18941         * sysdeps/i386/i686/memmove.S: Likewise.
18942         * sysdeps/i386/i686/mempcpy.S: Likewise.
18943         * sysdeps/i386/i686/memset.S: Likewise.
18944         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
18945         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
18946         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
18947         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
18948         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
18949         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
18950         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
18951         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
18952         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
18953         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
18954         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
18955         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
18956         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
18957         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
18958         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
18959         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
18960         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
18961         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
18962         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
18963         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
18964         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
18965         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
18966         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
18967         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
18968         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
18969         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
18970         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
18971         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
18972         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
18973         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
18974         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
18975         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
18976         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
18977         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18978         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
18979         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
18980         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
18981         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
18982         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
18983         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
18984         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
18985         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
18986         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
18987         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
18988         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
18989         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
18990         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
18991         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
18992         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
18993         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
18994         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
18995         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
18996         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
18997         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
18998         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
18999         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
19000         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
19001         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
19002         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
19003         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
19004         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
19005         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
19006         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
19007         * sysdeps/nptl/bits/libc-lock.h: Likewise.
19008         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
19009         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
19010         * sysdeps/posix/closedir.c: Likewise.
19011         * sysdeps/posix/opendir.c: Likewise.
19012         * sysdeps/posix/readdir.c: Likewise.
19013         * sysdeps/posix/rewinddir.c: Likewise.
19014         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
19015         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
19016         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
19017         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
19018         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
19019         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
19020         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
19021         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
19022         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
19023         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
19024         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
19025         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
19026         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
19027         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
19028         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
19029         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
19030         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
19031         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
19032         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
19033         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
19034         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
19035         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
19036         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
19037         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
19038         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
19039         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
19040         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
19041         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
19042         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
19043         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
19044         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
19045         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
19046         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
19047         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
19048         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
19049         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
19050         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
19051         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
19052         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
19053         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
19054         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
19055         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
19056         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
19057         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
19058         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
19059         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
19060         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
19061         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
19062         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
19063         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
19064         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
19065         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
19066         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
19067         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
19068         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
19069         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
19070         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
19071         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
19072         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
19073         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
19074         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
19075         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
19076         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
19077         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
19078         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
19079         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
19080         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
19081         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
19082         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
19083         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
19084         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
19085         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
19086         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
19087         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
19088         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
19089         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
19090         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
19091         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
19092         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
19093         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
19094         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
19095         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
19096         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
19097         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
19098         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
19099         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
19100         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
19101         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
19102         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
19103         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
19104         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
19105         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
19106         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
19107         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
19108         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
19109         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
19110         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
19111         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
19112         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
19113         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
19114         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19115         * sysdeps/unix/alpha/sysdep.S: Likewise.
19116         * sysdeps/unix/alpha/sysdep.h: Likewise.
19117         * sysdeps/unix/make-syscalls.sh: Likewise.
19118         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
19119         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
19120         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
19121         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
19122         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
19123         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
19124         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
19125         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
19126         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
19127         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
19128         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
19129         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
19130         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
19131         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
19132         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
19133         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
19134         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
19135         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
19136         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
19137         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
19138         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
19139         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
19140         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
19141         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
19142         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
19143         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
19144         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
19145         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
19146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
19147         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
19148         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
19149         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
19150         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
19151         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19152         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
19153         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
19154         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
19155         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
19156         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
19157         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
19158         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
19159         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
19160         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
19161         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
19162         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
19163         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
19164         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
19165         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19166         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
19167         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19168         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
19169         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
19170         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
19171         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
19172         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
19173         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
19174         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
19175         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
19176         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
19177         * sysdeps/x86_64/memcpy.S: Likewise.
19178         * sysdeps/x86_64/memmove.c: Likewise.
19179         * sysdeps/x86_64/memset.S: Likewise.
19180         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
19181         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
19182         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
19183         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
19184         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
19185         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
19186         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
19187         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
19188         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
19189         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
19190         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
19191         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
19192         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
19193         * sysdeps/x86_64/multiarch/memset.S: Likewise.
19194         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19195         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
19196         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
19197         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
19198         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
19199         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
19200         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
19201         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
19202         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
19203         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
19204         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
19205         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
19206         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
19207         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
19208         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
19209         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
19210         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
19211         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
19212         * sysdeps/x86_64/strcmp.S: Likewise.
19214         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
19216         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
19217         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
19218         * elf/rtld-Rules: Likewise.
19219         * elf/setup-vdso.h: Likewise.
19220         * include/assert.h: Likewise.
19221         * include/bits/stdlib-float.h: Likewise.
19222         * include/errno.h: Likewise.
19223         * include/sys/stat.h: Likewise.
19224         * include/unistd.h: Likewise.
19225         * sysdeps/aarch64/setjmp.S: Likewise.
19226         * sysdeps/alpha/setjmp.S: Likewise.
19227         * sysdeps/arm/__longjmp.S: Likewise.
19228         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
19229         * sysdeps/arm/setjmp.S: Likewise.
19230         * sysdeps/arm/sysdep.h: Likewise.
19231         * sysdeps/generic/_itoa.h: Likewise.
19232         * sysdeps/generic/dl-sysdep.h: Likewise.
19233         * sysdeps/generic/ldsodefs.h: Likewise.
19234         * sysdeps/i386/dl-tls.h: Likewise.
19235         * sysdeps/i386/setjmp.S: Likewise.
19236         * sysdeps/m68k/setjmp.c: Likewise.
19237         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
19238         * sysdeps/mach/hurd/opendir.c: Likewise.
19239         * sysdeps/posix/getcwd.c: Likewise.
19240         * sysdeps/posix/opendir.c: Likewise.
19241         * sysdeps/posix/profil.c: Likewise.
19242         * sysdeps/powerpc/dl-procinfo.h: Likewise.
19243         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
19244         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
19245         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
19246         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
19247         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
19248         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
19249         * sysdeps/s390/dl-tls.h: Likewise.
19250         * sysdeps/s390/s390-32/setjmp.S: Likewise.
19251         * sysdeps/s390/s390-64/setjmp.S: Likewise.
19252         * sysdeps/sh/sh3/setjmp.S: Likewise.
19253         * sysdeps/sh/sh4/setjmp.S: Likewise.
19254         * sysdeps/unix/alpha/sysdep.h: Likewise.
19255         * sysdeps/unix/arm/sysdep.S: Likewise.
19256         * sysdeps/unix/i386/sysdep.S: Likewise.
19257         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
19258         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
19259         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
19260         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
19261         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
19262         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
19263         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
19264         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
19265         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
19266         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
19267         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
19268         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
19269         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
19270         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
19271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19272         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
19273         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19274         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
19275         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
19276         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
19277         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
19278         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
19279         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19280         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
19281         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
19282         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
19283         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
19284         * sysdeps/unix/x86_64/sysdep.S: Likewise.
19285         * sysdeps/x86_64/setjmp.S: Likewise.
19287         * include/math.h: Use IS_IN instead of IS_IN_libm.
19288         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
19289         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
19290         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
19291         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
19292         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
19293         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
19294         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
19295         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
19296         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
19297         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
19298         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
19299         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
19300         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
19301         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
19302         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
19303         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
19304         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
19305         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
19306         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
19307         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
19308         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
19309         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
19310         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
19311         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
19312         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
19313         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
19314         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
19315         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
19316         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
19317         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
19318         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
19319         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
19320         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
19321         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
19322         Likewise.
19323         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
19324         Likewise.
19325         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
19326         Likewise.
19327         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
19328         Likewise.
19329         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
19330         Likewise.
19331         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
19332         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
19333         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
19334         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
19335         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
19336         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
19337         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
19338         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
19339         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
19340         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
19341         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
19342         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
19343         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
19344         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
19345         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
19346         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
19347         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
19348         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
19349         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
19350         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
19351         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
19352         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
19353         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
19354         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
19355         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
19356         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
19357         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
19359         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
19360         * nptl/pthreadP.h: Likewise.
19361         * nptl_db/structs.def: Likewise.
19362         * sysdeps/arm/sysdep.h: Likewise.
19363         * sysdeps/nptl/bits/libc-lock.h: Likewise.
19364         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
19365         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
19366         * sysdeps/unix/alpha/sysdep.h: Likewise.
19367         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
19368         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
19369         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
19370         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
19371         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
19372         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
19373         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
19374         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
19375         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
19376         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
19377         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
19378         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
19379         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
19380         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
19381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
19382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
19383         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
19384         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
19385         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
19386         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
19387         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
19388         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
19389         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
19390         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
19391         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
19392         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
19394         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
19395         * nptl/pthreadP.h: Likewise.
19396         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
19397         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
19398         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
19399         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
19400         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
19401         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
19402         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
19403         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
19404         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
19405         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
19406         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
19407         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
19408         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
19409         Likewise.
19410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
19411         Likewise.
19412         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
19413         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
19414         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
19415         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
19416         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
19417         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
19418         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
19419         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
19421         * dlfcn/dladdr.c: Use IS_IN.
19422         * dlfcn/dladdr1.c: Likewise.
19423         * dlfcn/dlclose.c: Likewise.
19424         * dlfcn/dlerror.c: Likewise.
19425         * dlfcn/dlinfo.c: Likewise.
19426         * dlfcn/dlmopen.c: Likewise.
19427         * dlfcn/dlopen.c: Likewise.
19428         * dlfcn/dlsym.c: Likewise.
19429         * dlfcn/dlvsym.c: Likewise.
19431         * include/ifaddrs.h: Use IS_IN.
19432         * inet/check_pf.c: Likewise.
19433         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
19434         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
19436         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
19437         IS_IN_ldconfig.
19438         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
19439         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
19441         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
19442         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
19443         IS_IN (libc).
19445         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
19447         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
19448         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
19449         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
19450         * include/libc-symbols.h (IS_IN_LIB): New macro.
19451         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
19452         * include/netdb.h: Likewise.
19453         * include/stap-probe.h: Remove all uses of IN_LIB.
19455         * Makeconfig (module-cppflags-real): Define MODULE_NAME
19456         instead of IN_MODULE.
19457         * include/libc-symbols.h (IN_MODULE): Define using
19458         MODULE_NAME.
19459         (PASTE_NAME, PASTE_NAME1): New macros.
19460         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
19461         of IN_LIB.
19462         (STAP_PROBE_ASM): Likewise.
19464 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19466         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
19467         __mach_init in dlopened libc.
19469 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
19471         * sysdeps/arm/preconfigure.ac: Delete EABI check.
19472         * sysdeps/arm/preconfigure: Regenerate.
19474 2014-11-21  Roland McGrath  <roland@hack.frob.com>
19476         * nptl/pthread_create.c (__pthread_create_2_1): Set
19477         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
19478         when copying values from IATTR into PD.
19480 2014-11-21  Will Newton  <will.newton@linaro.org>
19481             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
19483         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
19484         Refactor inline-asm.  Also add comment.
19486         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
19487         ElfW macro instead of hardcoded Elf64 types.
19488         (la_aarch64_gnu_pltenter): Likewise.
19489         * sysdeps/aarch64/dl-machine.h
19490         (elf_machine_runtime_setup): Use ElfW(Addr).
19492         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
19493         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
19494         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
19495         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
19496         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
19497         (R_AARCH64_TLS_DTPMOD64): Rename to ..
19498         (R_AARCH64_TLS_DTPMOD): This.
19499         (R_AARCH64_TLS_DTPREL64): Rename to ...
19500         (R_AARCH64_TLS_DTPREL): This.
19501         (R_AARCH64_TLS_TPREL64): Rename to ...
19502         (R_AARCH64_TLS_TPREL): This.
19503         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
19504         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
19505         R_AARCH64_TLS_TPREL64.
19506         (elf_machine_rela): Likewise.
19508 2014-11-21  Torvald Riegel  <triegel@redhat.com>
19510         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
19511         by setting it to 0.  64b atomics are not supported currently.
19513 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
19515         [BZ #16469]
19516         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
19517         search domain names.
19519 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
19521         [BZ #16469]
19522         * NEWS: Update.
19523         * resolv/res_query.c (__libc_res_nquerydomain): Retain
19524         trailing dot.
19525         * posix/tst-getaddrinfo5.c: New.
19526         * posix/Makefile (tests): Add it.
19528 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
19530         [BZ #14498]
19531         * NEWS: Fixed.
19532         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
19533         after parsing line but before break_if_match.
19534         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
19535         if there is a protocol mismatch.
19537 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
19539         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
19540         because the potential race is on the user-supplied stream.
19542 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
19544         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
19545         string literal if not passed a buffer.
19546         * manual/job.texi (ctermid): Update reasoning, note deviation
19547         from posix, suggest mtasurace when not passed a buffer, for
19548         future non-preliminary safety notes.
19550 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
19552         * manual/users.texi (cuserid): Fix MT-Safety note for the case
19553         of not passing it a buffer.
19554         Reported by Peng Haitao.
19556 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
19558         * manual/Makefile ($(objpfx)stamp-summary): Require
19559         check-safety.sh to pass.
19560         * manual/check-safety.sh: Wish for verification that every
19561         @deftypefn and @deftypefun is followed by a @safety remark.
19563 2014-11-20  Roland McGrath  <roland@hack.frob.com>
19565         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
19567         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
19568         PTHREAD_CANCEL_ASYNCHRONOUS.
19569         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
19570         send SIGCANCEL.
19572         * nptl/default-sched.h: New file.
19573         * sysdeps/unix/sysv/linux/default-sched.h: New file.
19574         * nptl/pthread_create.c: Include it.
19575         (__pthread_create_2_1): Use collect_default_sched instead of making
19576         Linux syscalls here directly.
19578 2014-11-20  Torvald Riegel  <triegel@redhat.com>
19580         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
19581         __pthread_once): Use C11 atomics.
19583 2014-11-20  Torvald Riegel  <triegel@redhat.com>
19585         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
19587 2014-11-20  Torvald Riegel  <triegel@redhat.com>
19589         * include/atomic.h (__atomic_link_error, __atomic_check_size,
19590         atomic_thread_fence_acquire, atomic_thread_fence_release,
19591         atomic_thread_fence_seq_cst, atomic_load_relaxed,
19592         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
19593         atomic_compare_exchange_weak_relaxed,
19594         atomic_compare_exchange_weak_acquire,
19595         atomic_compare_exchange_weak_release,
19596         atomic_exchange_acquire, atomic_exchange_release,
19597         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
19598         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
19599         atomic_fetch_and_acquire,
19600         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
19602 2014-11-20  Torvald Riegel  <triegel@redhat.com>
19604         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
19605         USE_ATOMIC_COMPILER_BUILTINS): Define.
19606         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
19607         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19608         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
19609         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19610         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
19611         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19612         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
19613         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19614         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
19615         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19616         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
19617         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19618         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
19619         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19620         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
19621         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19622         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
19623         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19624         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
19625         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19626         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
19627         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19628         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
19629         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19630         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
19631         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19632         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
19633         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19634         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
19635         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19636         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
19637         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19638         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
19639         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19640         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
19641         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19642         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
19643         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19644         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
19645         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19647 2014-11-19  Roland McGrath  <roland@hack.frob.com>
19649         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
19650         the sched_priority value here.  It was already checked when the user
19651         called pthread_attr_setschedparam.
19653         * nptl/tst-bad-schedattr.c: New file.
19654         * nptl/Makefile (tests): Add it.
19656 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
19657             Florian Weimer  <fweimer@redhat.com>
19658             Joseph Myers  <joseph@codesourcery.com>
19659             Adam Conrad  <adconrad@0c3.net>
19660             Andreas Schwab  <schwab@suse.de>
19661             Brooks  <bmoses@google.com>
19663         [BZ #17625]
19664         * wordexp-test.c (__dso_handle): Add prototype.
19665         (__register_atfork): Likewise.
19666         (__app_register_atfork): New function.
19667         (registered_forks): New global.
19668         (register_fork): New function.
19669         (test_case): Add 3 new tests for WRDE_CMDSUB.
19670         (main): Call __app_register_atfork.
19671         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
19672         fork count is non-zero fail the test.
19673         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
19674         is set.
19675         (parse_dollars): Remove check for WRDE_NOCMD.
19676         (parse_dquote): Likewise.
19678 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
19680         * Makeconfig (built-modules): List non-library modules to be
19681         built.
19682         (module-cppflags): Include libc-modules.h for
19683         everything except shlib-versions.v.i.
19684         (CPPFLAGS): Use it.
19685         (before-compile): Add libc-modules.h.
19686         ($(common-objpfx)libc-modules.h,
19687         $(common-objpfx)libc-modules.stmp): New targets.
19688         (common-generated): Add libc-modules.h and libc-modules.stmp.
19689         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
19690         * include/libc-symbols.h: Don't include libc-modules.h.
19691         * include/libc-modules.h: Remove file.
19692         * scripts/gen-libc-modules.awk: New script to generate
19693         libc-modules.h.
19694         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
19695         Depend on libc-modules.stmp.
19697         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
19699         * Makeconfig (in-module): Get value of libof set for the
19700         translation unit.
19701         (CPPFLAGS): Use $(in-module).
19702         * Makerules: Don't suffix routine names for nonlib.
19703         * include/libc-modules.h: New file.
19704         * include/libc-symbols.h: Include libc-modules.h
19705         (IS_IN): New macro to replace IS_IN_* macros.
19706         * elf/Makefile: Set libof-* for each routine.
19707         * elf/rtld-Rules: Likewise.
19708         * extra-modules.mk: Likewise.
19709         * iconv/Makefile: Likewise.
19710         * iconvdata/Makefile: Likewise.
19711         * locale/Makefile: Likewise.
19712         * malloc/Makefile: Likewise.
19713         * nss/Makefile: Likewise.
19714         * sysdeps/gnu/Makefile: Likewise.
19715         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
19716         * sysdeps/unix/sysv/linux/Makefile: Likewise.
19717         * sysdeps/s390/s390-64/Makefile: Likewise.
19718         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
19719         CPPFLAGS for nscd instead of nonlib.
19721 2014-11-18  Roland McGrath  <roland@hack.frob.com>
19723         * nptl/createthread.c: New file.
19725         * nptl/createthread.c: Moved ...
19726         * sysdeps/unix/sysv/linux/createthread.c: ... here.
19728         * nptl/createthread.c: Add proper top-line comment.
19729         (do_clone): Folded into ...
19730         (create_thread): ... here.  Take new arguments STOPPED_START and
19731         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
19732         increment __nptl_threads, do event-reporting logic, do
19733         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
19734         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
19735         resource cleanup if sched_setaffinity or sched_setscheduler fails,
19736         just send SIGCANCEL.
19737         * nptl/pthread_create.c: Forward-declare create_thread before
19738         including createthread.c.
19739         (start_thread): Use new macro START_THREAD_DEFN to replace defining
19740         declaration, and new macro START_THREAD_SELF to replace argument.
19741         Remove return statement.
19742         (report_thread_creation): New function.
19743         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
19744         synchronization logic, and __nptl_nthreads increment here, around
19745         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
19746         PD->parent_cancelhandling here, before create_thread.  When
19747         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
19748         __deallocate_stack, and ENOMEM translation here.
19750 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
19752         [BZ #17616]
19753         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
19754         (mptwo): Rename to __mptwo.
19755         (__inv): Use __mptwo instead of mptwo.
19756         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
19757         (mptwo): Rename to __mptwo.
19758         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
19759         of mpone and __mptwo instead of mptwo.
19760         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
19761         instead of mpone.
19762         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
19763         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
19764         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
19765         of mpone and __mptwo instead of mptwo.
19766         (__mpranred): Use __mpone instead of mpone.
19767         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
19768         variable.
19769         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
19770         (test-xfail-ISO99/math.h/linknamespace): Likewise.
19771         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
19772         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
19773         (test-xfail-ISO11/math.h/linknamespace): Likewise.
19774         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
19775         (test-xfail-XPG3/math.h/linknamespace): Likewise.
19776         (test-xfail-XPG4/math.h/linknamespace): Likewise.
19777         (test-xfail-POSIX/math.h/linknamespace): Likewise.
19778         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
19779         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
19780         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
19781         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
19782         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
19783         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
19784         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
19785         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
19786         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
19787         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
19789 2014-11-18  Tom de Vries  <tom@codesoucery.com>
19791         * manual/signal.texi (Primitives Interrupted by Signals): In section,
19792         replace BSD Handler xref with BSD Signal Handling.
19794 2014-11-17  Richard Henderson  <rth@redhat.com>
19796         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
19797         (_FP_PACK_RAW_2): Remove.
19798         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
19799         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
19800         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
19801         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
19802         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
19803         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
19804         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
19805         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
19806         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
19807         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
19808         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
19809         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
19810         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
19811         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
19812         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
19813         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
19815 2014-11-14  Roland McGrath  <roland@hack.frob.com>
19817         * signal/signal.h [__USE_MISC]
19818         (struct sigvec): Remove type.
19819         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
19820         (sigvec): Remove declaration.
19821         * sysdeps/posix/sigvec.c: Moved ...
19822         * signal/sigvec.c: ... here, replacing old file.
19823         (struct sigvec): New type, copied from old signal.h definition.
19824         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
19825         (__sigvec): Convert definition to prototype.
19826         (sigvec): Replace weak_alias with compat_symbol.
19827         * signal/Versions (libc: GLIBC_2.21): New version set.
19828         * include/signal.h: Remove __sigvec declaration.
19829         * sysdeps/unix/bsd/sigvec.c: Remove file.
19830         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
19831         * manual/signal.texi (BSD Handler): Remove subsection.
19832         Move siginterrupt up to ...
19833         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
19834         (Blocking in BSD): Fold subsection into its parent.
19835         * NEWS: Mention sigvec removal.
19837 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
19839         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
19840         (DLA_FMS): Make definition conditional only on [__FMA4__].
19841         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
19842         definition.
19844         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
19845         Make definition conditional only on [PROF].
19846         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
19847         definition.
19848         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
19849         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
19851         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
19852         !__GNUC__].
19853         * include/signal.h (__sigpause): Move declaration above call to
19854         libc_hidden_proto.
19855         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
19856         variable.
19857         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
19858         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
19860 2014-11-14  David S. Miller  <davem@davemloft.net>
19862         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
19863         Define before including <string/memcpy.c> and <string/mempcpy.c>.
19865 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
19867         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
19868         * configure: Regenerated.
19869         * manual/install.texi (Tools for Compilation): Document a
19870         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
19871         compiler verified to work.
19872         * INSTALL: Regenerated.
19874         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
19875         redeclare with asm name.
19876         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
19877         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
19878         including <string.h>.
19879         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
19880         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
19881         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
19882         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
19883         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
19884         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
19885         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
19887 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
19889         * stdlib/strtol.c (__strtol): Use prototype definition.
19891         [BZ #17594]
19892         * stdlib/strtol.c (SYM__): New macro.
19893         (SYM__1): Likewise.
19894         (__strtol): Likewise.
19895         (strtol): Rename to __strtol and define as weak alias of
19896         __strtol.  Use libc_hidden_weak.
19898 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
19900         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
19901         Use numbered labels in inline assembly.
19903 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
19905         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
19906         Add setjmp LIBC_PROBE.
19907         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
19908         Likewise.
19909         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
19910         Add longjmp, longjmp_target LIBC_PROBE.
19911         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
19912         Likewise.
19914 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
19916         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
19917         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
19918         to get rid of unused variable warning.
19920 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
19922         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
19923         Check for unwind_backtrace ==  NULL only in SHARED case.
19924         (__backchain_backtrace): Compile only in SHARED case.
19925         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
19926         Likewise.
19927         (__backchain_backtrace): Declare as static.
19929 2014-11-12  Roland McGrath  <roland@hack.frob.com>
19931         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
19932         (__libc_multiple_threads_ptr): Variable moved ...
19933         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
19935 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
19937         * conform/GlibcConform.pm: New file.
19938         * conform/conformtest.pl: Use GlibcConform module.
19939         * conform/linknamespace.pl: New file.
19940         * conform/list-header-symbols.pl: Likewise.
19941         * conform/Makefile (linknamespace-symlists-base): New variable.
19942         (linknamespace-symlists-tests): Likewise.
19943         (linknamespace-header-base): Likewise.
19944         (linknamespace-header-tests): Likewise.
19945         (tests-special): Add new tests.
19946         ($(linknamespace-symlists-tests)): New rule.
19947         (linknamespace-libs): New variable.
19948         ($(objpfx)symlist-stdlibs): New rule.
19949         ($(linknamespace-header-tests)): Likewise.
19950         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
19951         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
19952         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
19953         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
19954         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
19955         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
19956         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
19957         (test-xfail-ISO/math.h/linknamespace): Likewise.
19958         (test-xfail-ISO/signal.h/linknamespace): Likewise.
19959         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
19960         (test-xfail-ISO/time.h/linknamespace): Likewise.
19961         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
19962         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
19963         (test-xfail-ISO99/math.h/linknamespace): Likewise.
19964         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
19965         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
19966         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
19967         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
19968         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
19969         (test-xfail-ISO11/math.h/linknamespace): Likewise.
19970         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
19971         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
19972         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
19973         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
19974         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
19975         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
19976         (test-xfail-XPG3/math.h/linknamespace): Likewise.
19977         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
19978         (test-xfail-XPG3/search.h/linknamespace): Likewise.
19979         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
19980         (test-xfail-XPG3/time.h/linknamespace): Likewise.
19981         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
19982         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
19983         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
19984         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
19985         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
19986         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
19987         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
19988         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
19989         (test-xfail-XPG4/math.h/linknamespace): Likewise.
19990         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
19991         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
19992         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
19993         (test-xfail-XPG4/search.h/linknamespace): Likewise.
19994         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
19995         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
19996         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
19997         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
19998         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
19999         (test-xfail-XPG4/time.h/linknamespace): Likewise.
20000         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
20001         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
20002         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
20003         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
20004         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
20005         (test-xfail-POSIX/math.h/linknamespace): Likewise.
20006         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
20007         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
20008         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
20009         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
20010         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
20011         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
20012         (test-xfail-POSIX/time.h/linknamespace): Likewise.
20013         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
20014         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
20015         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
20016         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
20017         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
20018         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
20019         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
20020         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
20021         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
20022         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
20023         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
20024         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
20025         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
20026         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
20027         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
20028         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
20029         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
20030         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
20031         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
20032         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
20033         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
20034         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
20035         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
20036         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
20037         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
20038         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
20039         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
20040         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
20041         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
20042         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
20043         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
20044         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
20045         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
20046         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
20047         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
20048         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
20049         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
20050         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
20051         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
20052         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
20053         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
20054         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
20055         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
20056         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
20057         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
20058         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
20059         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
20060         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
20061         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
20062         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
20063         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
20064         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
20065         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
20066         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
20067         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
20068         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
20069         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
20070         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
20071         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
20072         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
20073         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
20074         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
20075         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
20076         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
20077         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
20078         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
20079         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
20080         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
20081         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
20082         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
20083         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
20084         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
20085         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
20086         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
20087         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
20088         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
20089         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
20090         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
20091         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
20092         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
20093         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
20094         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
20095         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
20096         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
20097         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
20098         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
20099         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
20100         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
20101         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
20102         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
20103         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
20104         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
20105         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
20106         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
20107         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
20108         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
20109         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
20110         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
20112         [BZ #17589]
20113         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
20114         of fgets_unlocked.
20116         [BZ #17585]
20117         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
20118         (memmem): Rename to __memmem and define as weak alias of
20119         __memmem.  Use libc_hidden_weak.
20120         (__memmem): Use libc_hidden_def.
20121         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
20122         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
20123         memmem.
20125         [BZ #17582]
20126         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
20127         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
20128         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
20129         and define as weak alias of __fgets_unlocked.  Use
20130         libc_hidden_weak.
20131         (__fgets_unlocked): Use libc_hidden_def.
20132         * include/stdio.h (__fgets_unlocked): Declare.  Use
20133         libc_hidden_proto.
20134         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
20135         __fgets_unlocked instead of fgets_unlocked.
20136         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
20137         (GET_NPROCS_CONF_PARSER): Likewise.
20138         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
20139         (GET_NPROCS_CONF_PARSER): Likewise.
20141         [BZ #17574]
20142         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
20143         weak alias of __wmemset.  Use libc_hidden_weak.
20144         (__wmemset): Use libc_hidden_def.
20145         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
20146         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
20147         of wmemset.
20149         [BZ #17573]
20150         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
20151         with asm name __mempcpy.
20152         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
20154         [BZ #17572]
20155         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
20156         and define as weak alias of __rawmemchr.
20157         (__rawmemchr): Do not define as strong alias of rawmemchr.
20159         [BZ #17571]
20160         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
20161         alias of __qsort_r.
20162         (qsort): Call __qsort_r instead of qsort_r.
20163         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
20164         (__qsort_r): Declare.  Call libc_hidden_proto.
20165         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
20166         instead of qsort_r.
20167         * nscd/gai.c (__qsort_r): Define to qsort_r.
20168         * posix/tst-rfc3484.c (__qsort_r): Likewise.
20169         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
20170         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
20172         [BZ #17570]
20173         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
20174         define as weak alias of __malloc_info.
20176         [BZ #17584]
20177         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
20178         as weak alias of __rewinddir.  Don't use libc_hidden_def.
20179         (__rewinddir): Use libc_hidden_def.
20180         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
20181         as weak alias of __rewinddir.  Don't use libc_hidden_def.
20182         (__rewinddir): Use libc_hidden_def.
20183         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
20184         weak alias of __rewinddir.  Don't use libc_hidden_def.
20185         (__rewinddir): Use libc_hidden_def.
20186         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
20187         (__rewinddir): Use libc_hidden_proto.
20188         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
20189         rewinddir.
20190         (__getcwd): Use __rewinddir instead of rewinddir.
20192         [BZ #17583]
20193         * libio/fileno.c (fileno): Rename to __fileno and define as weak
20194         alias of __fileno.  Use libc_hidden_weak.
20195         (__fileno): Use libc_hidden_def.
20196         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
20197         * libio/ftello.c (ftello): Rename to __ftello and define as weak
20198         alias of __ftello.
20199         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
20200         __ftello.
20201         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
20202         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
20203         libc_hidden_def.
20204         (fread_unlocked): Don't use libc_hidden_ver.
20205         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
20206         and define as weak alias of __fread_unlocked.  Don't use
20207         libc_hidden_def.
20208         (__fread_unlocked): Use libc_hidden_def.
20209         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
20210         (ftello): Don't use libc_hidden_proto.
20211         (__ftello): Declare.  Use libc_hidden_proto.
20212         (fread_unlocked): Don't use libc_hidden_proto.
20213         (__fread_unlocked): Declare.  Use libc_hidden_proto.
20214         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
20215         and __ftello instead of fileno, fread_unlocked and ftello.
20217 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
20219         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
20220         GOT12.
20221         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
20222         Likewise.
20223         (_dl_start_user): Likewise.
20224         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
20226 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
20227             Siddhesh Poyarekar  <siddhesh@redhat.com>
20229         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
20230         Move argv and envp down instead of moving argc up.
20231         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
20233 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
20235         [BZ #17506]
20236         * test-skeleton.c (main): Return successful if one of
20237         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
20238         * string/tst-strcoll-overflow.c: Define expected status.
20240 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
20242         [BZ #17475]
20243         * locale/iso-639.def: Define Bhili and Tulu language codes.
20245 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
20247         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
20249 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
20251         [BZ #17555]
20252         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
20254 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
20256         * configure.ac: Updated check of minimal required version to
20257         2.22.
20258         * manual/install.texi (Tools for Compilation): Updated version
20259         number.
20260         * configure: Regenerated.
20261         * INSTALL: Likewise.
20263 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
20265         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
20266         __tls_get_addr.
20268 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
20270         * include/sys/wait.h (__libc_waitpid): Remove declaration.
20271         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
20272         (__waitpid): Don't define as alias.  Use libc_hidden_def not
20273         libc_hidden_weak.
20274         (waitpid): Define as alias of __waitpid.
20275         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
20276         __waitpid.
20277         (__waitpid): Don't define as alias.  Use libc_hidden_def not
20278         libc_hidden_weak.
20279         (waitpid): Define as alias of __waitpid.
20280         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
20281         __libc_waitpid alias.
20282         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
20283         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
20284         Likewise.
20285         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
20286         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
20287         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
20288         alias.
20289         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
20290         __waitpid.
20291         (__waitpid): Don't define as alias.  Use libc_hidden_def not
20292         libc_hidden_weak.
20293         (waitpid): Define as alias of __waitpid.
20295 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
20297         * manual/llio.texi: Add comment that write safety has been
20298         fixed in Linux.
20300         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
20301         (localplt-build-dso): Add elf/ld.so.
20302         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
20303         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
20304         and free for ld.so.
20305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
20306         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
20307         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
20308         Likewise.
20309         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
20310         Likewise.
20311         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
20312         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
20313         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
20314         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
20315         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
20316         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
20317         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
20318         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
20319         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
20320         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
20321         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
20323 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
20325         [BZ #14132]
20326         * include/libc-symbols.h (INTUSE): Remove macro.
20327         (INTDEF): Likewise.
20328         (INTVARDEF): Likewise.
20329         (_INTVARDEF): Likewise.
20330         (INTDEF2): Likewise.
20331         (INTVARDEF2): Likewise.
20332         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
20333         rtld_hidden_def instead of INTVARDEF.
20334         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
20335         (_dl_starting_up_internal): Remove declaration.
20336         (_dl_starting_up): Use rtld_hidden_proto.
20337         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
20338         declaration.
20339         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
20340         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
20341         _dl_starting_up.
20342         * elf/dl-writev.h (_dl_writev): Likewise.
20343         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
20344         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
20345         _dl_starting_up_internal.
20347 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20349         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
20350         test-skeleton.c.
20352 2014-11-05  Will Newton  <will.newton@linaro.org>
20354         * benchtests/Makefile: (bench-malloc): Add malloc thread
20355         scalability benchmark.
20356         * benchtests/bench-malloc-threads.c: New file.
20358 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
20360         * sysdeps/aarch64/strchrnul.S: New file.
20362 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20364         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
20365         definition.
20366         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
20367         Likwise.
20368         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
20369         Likewise.
20370         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
20371         Likewise.
20372         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
20373         Likewise.
20374         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
20375         Likewise.
20377 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
20379         * catgets/test-gencat.c: Use test-skeleton.c.
20380         * catgets/tst-catgets.c: Likewise.
20381         * csu/tst-empty.c: Likewise.
20382         * elf/tst-audit2.c: Likewise.
20383         * elf/tst-global1.c: Likewise.
20384         * elf/tst-pathopt.c: Likewise.
20385         * elf/tst-piemod1.c: Likewise.
20386         * elf/tst-tls10.c: Likewise.
20387         * elf/tst-tls11.c: Likewise.
20388         * elf/tst-tls12.c: Likewise.
20389         * gnulib/tst-gcc.c: Likewise.
20390         * iconvdata/tst-e2big.c: Likewise.
20391         * iconvdata/tst-loading.c: Likewise.
20392         * iconv/tst-iconv1.c: Likewise.
20393         * iconv/tst-iconv2.c: Likewise.
20394         * inet/test-inet6_opt.c: Likewise.
20395         * inet/tst-gethnm.c: Likewise.
20396         * inet/tst-network.c: Likewise.
20397         * inet/tst-ntoa.c: Likewise.
20398         * intl/tst-codeset.c: Likewise.
20399         * intl/tst-gettext2.c: Likewise.
20400         * intl/tst-gettext3.c: Likewise.
20401         * intl/tst-ngettext.c: Likewise.
20402         * intl/tst-translit.c: Likewise.
20403         * io/test-stat.c: Likewise.
20404         * libio/test-fmemopen.c: Likewise.
20405         * libio/tst-freopen.c: Likewise.
20406         * libio/tst-sscanf.c: Likewise.
20407         * libio/tst-ungetwc1.c: Likewise.
20408         * libio/tst-ungetwc2.c: Likewise.
20409         * libio/tst-widetext.c: Likewise.
20410         * localedata/tst-ctype.c: Likewise.
20411         * localedata/tst-digits.c: Likewise.
20412         * localedata/tst-leaks.c: Likewise.
20413         * localedata/tst-mbswcs1.c: Likewise.
20414         * localedata/tst-mbswcs2.c: Likewise.
20415         * localedata/tst-mbswcs3.c: Likewise.
20416         * localedata/tst-mbswcs4.c: Likewise.
20417         * localedata/tst-mbswcs5.c: Likewise.
20418         * localedata/tst-setlocale.c: Likewise.
20419         * localedata/tst-trans.c: Likewise.
20420         * localedata/tst-wctype.c: Likewise.
20421         * localedata/tst-xlocale1.c: Likewise.
20422         * login/tst-grantpt.c: Likewise.
20423         * malloc/tst-calloc.c: Likewise.
20424         * malloc/tst-malloc.c: Likewise.
20425         * malloc/tst-mallocstate.c: Likewise.
20426         * malloc/tst-mcheck.c: Likewise.
20427         * malloc/tst-mtrace.c: Likewise.
20428         * malloc/tst-obstack.c: Likewise.
20429         * math/atest-exp2.c: Likewise.
20430         * math/atest-exp.c: Likewise.
20431         * math/atest-sincos.c: Likewise.
20432         * math/test-matherr.c: Likewise.
20433         * math/test-misc.c: Likewise.
20434         * math/test-powl.c: Likewise.
20435         * math/tst-definitions.c: Likewise.
20436         * misc/tst-dirname.c: Likewise.
20437         * misc/tst-efgcvt.c: Likewise.
20438         * misc/tst-fdset.c: Likewise.
20439         * misc/tst-hsearch.c: Likewise.
20440         * misc/tst-mntent2.c: Likewise.
20441         * nptl/tst-sem7.c: Likewise.
20442         * nptl/tst-sem8.c: Likewise.
20443         * nptl/tst-sem9.c: Likewise.
20444         * nss/test-netdb.c: Likewise.
20445         * posix/tst-fnmatch.c: Likewise.
20446         * posix/tst-getlogin.c: Likewise.
20447         * posix/tst-gnuglob.c: Likewise.
20448         * posix/tst-mmap.c: Likewise.
20449         * pwd/tst-getpw.c: Likewise.
20450         * resolv/tst-inet_ntop.c: Likewise.
20451         * rt/tst-timer.c: Likewise.
20452         * stdio-common/test-fseek.c: Likewise.
20453         * stdio-common/test-popen.c: Likewise.
20454         * stdio-common/test-vfprintf.c: Likewise.
20455         * stdio-common/tst-cookie.c: Likewise.
20456         * stdio-common/tst-fileno.c: Likewise.
20457         * stdio-common/tst-gets.c: Likewise.
20458         * stdio-common/tst-obprintf.c: Likewise.
20459         * stdio-common/tst-perror.c: Likewise.
20460         * stdio-common/tst-sprintf2.c: Likewise.
20461         * stdio-common/tst-sprintf3.c: Likewise.
20462         * stdio-common/tst-sprintf.c: Likewise.
20463         * stdio-common/tst-swprintf.c: Likewise.
20464         * stdio-common/tst-tmpnam.c: Likewise.
20465         * stdio-common/tst-unbputc.c: Likewise.
20466         * stdio-common/tst-wc-printf.c: Likewise.
20467         * stdlib/tst-environ.c: Likewise.
20468         * stdlib/tst-fmtmsg.c: Likewise.
20469         * stdlib/tst-limits.c: Likewise.
20470         * stdlib/tst-rand48-2.c: Likewise.
20471         * stdlib/tst-rand48.c: Likewise.
20472         * stdlib/tst-random2.c: Likewise.
20473         * stdlib/tst-random.c: Likewise.
20474         * stdlib/tst-strtol.c: Likewise.
20475         * stdlib/tst-strtoll.c: Likewise.
20476         * stdlib/tst-tls-atexit.c: Likewise.
20477         * stdlib/tst-xpg-basename.c: Likewise.
20478         * string/test-ffs.c: Likewise.
20479         * string/tst-bswap.c: Likewise.
20480         * string/tst-inlcall.c: Likewise.
20481         * string/tst-strtok.c: Likewise.
20482         * string/tst-strxfrm.c: Likewise.
20483         * sysdeps/x86_64/tst-audit10.c: Likewise.
20484         * sysdeps/x86_64/tst-audit3.c: Likewise.
20485         * sysdeps/x86_64/tst-audit4.c: Likewise.
20486         * sysdeps/x86_64/tst-audit5.c: Likewise.
20487         * time/tst-ftime_l.c: Likewise.
20488         * time/tst-getdate.c: Likewise.
20489         * time/tst-mktime3.c: Likewise.
20490         * time/tst-mktime.c: Likewise.
20491         * time/tst-posixtz.c: Likewise.
20492         * time/tst-strptime2.c: Likewise.
20493         * time/tst-strptime3.c: Likewise.
20494         * wcsmbs/tst-btowc.c: Likewise.
20495         * wcsmbs/tst-mbrtowc.c: Likewise.
20496         * wcsmbs/tst-mbsrtowcs.c: Likewise.
20497         * wcsmbs/tst-wchar-h.c: Likewise.
20498         * wcsmbs/tst-wcpncpy.c: Likewise.
20499         * wcsmbs/tst-wcrtomb.c: Likewise.
20500         * wcsmbs/tst-wcsnlen.c: Likewise.
20501         * wcsmbs/tst-wcstof.c: Likewise.
20503 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
20505         [BZ #14132]
20506         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
20507         INTDEF.
20508         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
20509         declaration.
20510         (_dl_mcount): Use rtld_hidden_proto.
20511         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
20512         _dl_mcount.
20513         * elf/rtld.c (_rtld_global_ro): Likewise.
20515         [BZ #14132]
20516         * elf/dl-init.c (_dl_init): Don't use INTDEF.
20517         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
20518         of _dl_init_internal.
20519         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
20520         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
20521         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
20522         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
20523         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
20524         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
20525         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
20526         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
20527         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
20528         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
20529         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
20530         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
20531         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
20532         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
20533         * sysdeps/tile/dl-start.S (_start): Likewise.
20534         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
20535         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
20537         [BZ #14132]
20538         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
20539         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
20540         (rtld_progname): Make macro definition unconditional.
20541         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
20542         INTDEF.
20543         (dlmopen_doit): Do not use INTUSE with _dl_argv.
20544         (dl_main): Likewise.
20545         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
20546         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
20547         instead of _dl_argv_internal.
20548         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
20549         __GI__dl_argv instead of INTUSE(_dl_argv).
20550         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
20551         __GI__dl_argv instead of _dl_argv_internal.
20553         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
20554         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
20555         macro.
20556         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
20557         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
20558         New macro.
20559         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
20560         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
20561         macro.
20562         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
20563         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
20565 2014-11-04  Andreas Schwab  <schwab@suse.de>
20567         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
20569 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20571         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
20572         mtvsrd instruction in binary form.
20574 2014-11-03  Andreas Schwab  <schwab@suse.de>
20576         [BZ #17522]
20577         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
20578         for less than MB_LEN_MAX use a local buffer of that size.
20579         * libio/tst-fputws.c: New file.
20580         * libio/Makefile (tests): Add tst-fputws.
20582 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
20584         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
20585         the size of the fpu_fr.fpu_dregs[] array.
20587 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
20589         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
20590         (__nanosleep): Do not define as alias.
20591         (nanosleep): Define as alias of __nanosleep.
20592         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
20593         __libc_nanosleep name.
20595 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
20597         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
20598         install.texi in comment.
20600 2014-10-31  Torvald Riegel  <triegel@redhat.com>
20602         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
20603         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
20604         ... add here and use lwsync or sync ...
20605         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
20606         ... and add here using lwsync.
20608 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
20610         * elf/dl-machine-reject-phdr.h: New file.
20611         * elf/dl-load.c: #include that.
20612         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
20613         if that returned true.
20615 2014-10-31  Roland McGrath  <roland@hack.frob.com>
20617         [BZ #17496]
20618         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
20619         gen-as-const-headers chunk.  Add a big scare comment after the last
20620         safe place to touch before-compile.
20622 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
20624         * manual/install.texi (Tools for Compilation): Update autoconf
20625         version requirements.
20626         * INSTALL: Regenerated.
20628         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
20629         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
20630         (__libc_pselect): Likewise.
20632         [BZ #14138]
20633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
20634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
20635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
20636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
20638 2014-10-31  Torvald Riegel  <triegel@redhat.com>
20640         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
20641         correct barrier instruction.
20642         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
20643         Likewise.
20644         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
20645         Likewise.
20647 2014-10-30  Roland McGrath  <roland@hack.frob.com>
20649         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
20650         after defining inlines.  Instead, just use parens to defeat macro
20651         expansion of __isctype in its declaration.
20653 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
20655         * include/sys/uio.h (__libc_readv): Remove declaration.
20656         (__libc_writev): Likewise.
20657         * misc/readv.c (__libc_readv): Rename to __readv.
20658         (__readv): Do not define as alias.
20659         (readv): Define as alias of __readv.
20660         * misc/writev.c (__libc_writev): Rename to __writev.
20661         (__writev): Do not define as alias.
20662         (writev): Define as alias of __writev.
20663         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
20664         (__readv): Do not define as alias.
20665         (readv): Define unconditionally as alias of __readv.
20666         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
20667         (__writev): Do not define as alias.
20668         (writev): Define unconditionally as alias of __writev.
20669         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
20670         name.
20671         (writev): Do not define __libc_writev name.
20673 2014-10-30  Roland McGrath  <roland@hack.frob.com>
20675         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
20676         (convert_charseq): New function, broken out of ...
20677         (use_from_charmap): ... here.  Call it.
20678         (use_to_charmap): Use convert_charseq and free instead of duplicating
20679         its code with a variable-length stack struct.
20681 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
20683         * include/fcntl.h (__libc_creat): Remove declaration.
20684         * io/creat.c (__libc_creat): Rename to creat.
20685         (creat): Do not define as alias.
20686         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
20687         of creat instead of __libc_creat.
20688         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
20689         to creat.
20690         (creat): Do not define as alias.
20691         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
20692         __libc_creat.
20693         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
20694         __libc_creat name.
20695         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
20696         Likewise.
20698 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
20700         * manual/llio.texi: Add comments discussing why write() may be
20701         considered MT-unsafe on Linux.
20703 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
20705         * dl-load.c (local_strdup): Remove.
20706         (expand_dynamic_string_token): Use __strdup.
20707         (decompose_rpath): Likewise.
20708         (_dl_map_object): Likewise.
20710 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
20712         [BZ #14132]
20713         * sysdeps/generic/unwind-dw2-fde.c
20714         (__register_frame_info_bases_internal): Do not declare.
20715         (__register_frame_info_table_bases_internal): Likewise.
20716         (__deregister_frame_info_bases_internal): Likewise.
20717         (__register_frame_info_bases): Declare and use hidden_proto before
20718         definition.  Use hidden_def instead of INTDEF.
20719         (__register_frame_info_table_bases): Likewise.
20720         (__deregister_frame_info_bases): Likewise.
20721         (__register_frame_info): Do not use INTUSE.
20722         (__register_frame): Likewise.
20723         (__register_frame_info_table): Likewise.
20724         (__register_frame_table): Likewise.
20725         (__deregister_frame_info): Likewise.
20726         (__deregister_frame): Likewise.
20728 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
20730         * sysdeps/unix/sysv/linux/arm/kernel-features.h
20731         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
20732         not undefine.
20733         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
20734         Likewise.
20735         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
20736         Likewise.
20738 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
20740         [BZ #14138]
20741         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
20742         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
20743         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
20744         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
20745         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
20746         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
20747         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
20748         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
20749         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
20750         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
20751         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
20752         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
20753         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
20754         syscall.
20755         (setfsuid): Likewise.
20756         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
20757         (setfsuid): Likewise.
20758         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
20759         (setfsuid): Likewise.
20760         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
20761         Likewise.
20762         (setfsuid): Likewise.
20763         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
20764         (setfsuid): Likewise.
20765         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
20766         Likewise.
20767         (setfsuid): Likewise.
20769 2014-10-27  Andreas Schwab  <schwab@suse.de>
20771         [BZ #17501]
20772         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
20773         check for Slow_SSE4_2 feature bit.
20774         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
20775         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
20776         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
20777         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
20779 2014-10-24  Roland McGrath  <roland@hack.frob.com>
20781         * configure.ac: Validate compiler version with a empirical test of
20782         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
20783         $CC -v output.
20784         * configure: Regenerated.
20786         * inet/htons.c (htons): Prototypify.
20787         * inet/htonl.c (htonl): Likewise.
20789 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
20791         * string/strncat.c (strncat): Improve performance by using strlen.
20793 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
20795         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
20797 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
20799         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
20800         Call libc_fetestexcept_aarch64.
20802 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
20804         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
20805         Call libc_feholdexcept_aarch64.
20807 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
20809         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
20810         Call get_rounding_mode.
20812 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
20814         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
20815         Simplify logic.
20817 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
20819         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
20820         Simplify logic.
20822 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
20824         [BZ #14138]
20825         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
20826         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
20827         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
20828         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
20829         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
20830         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
20831         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
20832         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
20833         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
20834         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
20835         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
20836         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
20837         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
20838         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
20839         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
20840         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
20841         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
20842         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
20843         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
20844         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
20845         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
20846         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
20847         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
20848         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
20849         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
20850         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
20851         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
20852         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
20853         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
20854         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
20855         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
20856         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
20857         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
20858         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
20859         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
20860         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
20861         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
20862         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
20863         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
20864         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
20865         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
20866         syscall.
20867         (geteuid): Likewise.
20868         (getgid): Likewise.
20869         (getuid): Likewise.
20870         (getresgid): Likewise.
20871         (getresuid): Likewise.
20872         (getgroups): Likewise.
20873         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
20874         (geteuid): Likewise.
20875         (getgid): Likewise.
20876         (getuid): Likewise.
20877         (getresgid): Likewise.
20878         (getresuid): Likewise.
20879         (getgroups): Likewise.
20880         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
20881         (geteuid): Likewise.
20882         (getgid): Likewise.
20883         (getuid): Likewise.
20884         (getresgid): Likewise.
20885         (getresuid): Likewise.
20886         (getgroups): Likewise.
20887         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
20888         Likewise.
20889         (geteuid): Likewise.
20890         (getgid): Likewise.
20891         (getuid): Likewise.
20892         (getresgid): Likewise.
20893         (getresuid): Likewise.
20894         (getgroups): Likewise.
20895         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
20896         (geteuid): Likewise.
20897         (getgid): Likewise.
20898         (getuid): Likewise.
20899         (getresgid): Likewise.
20900         (getresuid): Likewise.
20901         (getgroups): Likewise.
20902         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
20903         Likewise.
20904         (geteuid): Likewise.
20905         (getgid): Likewise.
20906         (getuid): Likewise.
20907         (getgroups): Likewise.
20909         [BZ #14138]
20910         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
20911         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
20912         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
20913         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
20914         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
20915         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
20916         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
20917         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
20918         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
20919         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
20920         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
20921         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
20922         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
20923         __chown.
20924         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
20925         (lchown): Likewise.
20926         (fchown): Likewise.
20927         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
20928         Likewise.
20929         (lchown): Likewise.
20930         (fchown): Likewise.
20931         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
20932         (lchown): Likewise.
20933         (fchown): Likewise.
20934         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
20935         Likewise.
20936         (lchown): Likewise.
20937         (fchown): Likewise.
20939 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
20941         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
20942         Simplify logic.
20944 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
20946         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
20947         Cleanup logic.
20949 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
20951         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
20952         Remove unused include.
20954 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
20956         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
20957         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
20958         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
20959         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
20961 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
20962             Helge Deller <deller@gmx.de>
20964         [BZ #17508]
20965         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
20966         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
20967         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
20969 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
20971         [BZ #14132]
20972         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
20973         Remove macro definition.
20974         (__ashrdi3_v_glibc20): Likewise.
20975         (__lshrdi3_v_glibc20): Likewise.
20976         (__cmpdi2_v_glibc20): Likewise.
20977         (__ucmpdi2_v_glibc20): Likewise.
20978         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
20979         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
20980         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
20981         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
20982         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
20983         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
20985 2014-10-22  Roland McGrath  <roland@hack.frob.com>
20987         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
20988         old GNU extension [0] syntax.
20989         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
20990         alloca rather than an array member with variable length.
20991         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
20992         * nscd/nscd.c (invalidate_db): New function, broken out of ...
20993         (parse_opt): ... here.  Likewise use alloca there.
20994         Validate the -i argument before checking for rootness.
20995         (send_shutdown): New function, broken out of ...
20996         (parse_opt): ... here.
20998 2014-10-22  Roland McGrath  <roland@hack.frob.com>
21000         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
21001         macro to get at the _rt_local_ro field.
21002         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
21003         ([PIC] case) or _dl_hwcap ([!PIC] case).
21004         * sysdeps/arm/setjmp.S: Likewise.
21006         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
21007         * sysdeps/arm/configure.ac: New check to define it.
21008         * sysdeps/arm/configure: Regenerated.
21009         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
21010         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
21011         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
21012         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
21013         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
21014         Use move/movt pair instead of a load.
21015         (LDST_GLOBAL): Macro removed.
21016         (LDR_GLOBAL): New macro replaces it.
21017         (LDR_HIDDEN): New macro.
21018         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
21019         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
21021         * setjmp/tst-setjmp-static.c: New file.
21022         * setjmp/Makefile (tests): Add it.
21023         (tests-static): New variable.
21025 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
21027         [BZ #17485]
21028         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
21030 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
21032         [BZ #14132]
21033         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
21035 2014-10-21  Roland McGrath  <roland@hack.frob.com>
21037         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
21039 2014-10-20  Roland McGrath  <roland@hack.frob.com>
21041         * io/fts.c (dirent_not_directory): New function.
21042         (fts_build): Call it.
21044 2014-10-20  Roland McGrath  <roland@hack.frob.com>
21046         * nptl/version.c (__nptl_main): Use normal __write rather than
21047         INTERNAL_SYSCALL.
21048         (banner): Update copyright years.
21050         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
21051         gettimeofday.
21052         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
21053         * nptl/pthread_cond_timedwait.c: Likewise.
21054         * nptl/pthread_mutex_timedlock.c: Likewise.
21055         * nptl/sem_timedwait.c: Likewise.
21057         * sysdeps/nptl/bits/libc-lock.h
21058         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
21059         (__libc_lock_init_recursive): Return void, not 0.
21060         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
21061         (__libc_rwlock_init): Likewise.
21062         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
21064 2014-10-20  Torvald Riegel  <triegel@redhat.com>
21066         [BZ #15215]
21067         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
21068         (__pthread_once_slow): ... here.
21069         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
21070         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
21072 2014-10-20  Torvald Riegel  <triegel@redhat.com>
21074         [BZ #15215]
21075         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
21076         __PTHREAD_ONCE_FORK_GEN_INCR): New.
21077         * sysdeps/nptl/fork.c (__libc_fork): Use them.
21078         * nptl/pthread_once.c (__pthread_once): Likewise.
21079         Update comments.
21081 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
21083         [BZ #14138]
21084         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
21085         name.
21086         (writev): Use __libc_writev as strong name.
21087         * sysdeps/unix/sysv/linux/readv.c: Remove file.
21088         * sysdeps/unix/sysv/linux/writev.c: Likewise.
21090 2014-10-17  Roland McGrath  <roland@hack.frob.com>
21092         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
21094         * sysdeps/i386/nptl/tls.h
21095         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
21096         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
21097         New macros.
21098         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
21099         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
21100         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
21101         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
21102         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
21103         Call CHECK_THREAD_SYSINFO instead of doing an assert.
21105         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
21106         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
21107         on [__NR_futex].
21108         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
21109         broken out of ...
21110         (__pthread_mutex_init): ... here.  Call it.
21111         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
21112         Conditionalize PI cases on [__NR_futex].
21113         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
21114         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
21115         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
21117         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
21118         conditional on [SIGSETXID].
21119         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
21120         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
21121         is defined.  Likewise for SIGSETXID.
21122         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
21123         Conditionalize definitions on [SIGSETXID].
21124         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
21125         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
21126         unblocking on [SIGCANCEL].
21128         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
21129         [__NR_set_robust_list].
21131 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
21133         * string/strcoll_l.c (get_next_seq): Fix up formatting.
21134         (do_compare): Likewise.
21136 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
21138         [BZ #15884]
21139         * string/strcoll_l.c: Don't include stdio.h.
21140         (coll_seq): Remove members idxarr and rulearr.
21141         (get_next_seq_cached): Remove function.
21142         (get_next_seq): Likewise.
21143         (get_next_seq_nocache): Rename to get_next_seq.
21144         (do_compare): Remove function.
21145         (do_compare_nocache): Rename to do_compare.
21146         (STRCOLL): Remove weight and rules cache.
21148 2014-10-16  Roland McGrath  <roland@hack.frob.com>
21150         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
21151         * sysdeps/arm/sfp-machine.h: ... to here.
21152         * sysdeps/arm/Implies: Remove arm/soft-fp.
21154 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
21156         * conform/data/sys/utsname.h-data (*_t): Allow.
21157         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
21158         [POSIX] (WEXITED): Do not expect constant.
21159         [POSIX] (WSTOPPED): Likewise.
21160         [POSIX] (WNOHANG): Likewise.
21161         [POSIX] (WNOWAIT): Likewise.
21162         [POSIX] (siginfo_t): Do not expect type or elements.
21163         [POSIX] (pid_t): Do not expect type.
21164         [POSIX] (signal.h): Do not allow header.
21165         [POSIX] (sys/resource.h): Likewise.
21166         [POSIX] (si_*): Do not allow pattern.
21167         [POSIX] (W*): Likewise.
21168         [POSIX] (P_*): Likewise.
21169         [POSIX] (BUS_*): Likewise.
21170         [POSIX] (CLD_*): Likewise.
21171         [POSIX] (FPE_*): Likewise.
21172         [POSIX] (ILL_*): Likewise.
21173         [POSIX] (POLL_*): Likewise.
21174         [POSIX] (SEGV_*): Likewise.
21175         [POSIX] (SI_*): Likewise.
21176         [POSIX] (TRAP_*): Likewise.
21177         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
21178         variable.
21180 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
21182         [BZ #12926]
21183         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
21184         infinite loop when __recvmsg returns 0.
21186 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
21188         * CANCEL-FCT-WAIVE: Remove file.
21189         * CANCEL-FILE-WAIVE: Likewise.
21191         [BZ #14132]
21192         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
21193         instead of INTVARDEF.
21194         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
21195         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
21196         rtld_hidden_data_def instead of INTVARDEF.
21197         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
21198         * elf/dl-deps.c (expand_dst): Likewise.
21199         * elf/dl-load.c (_dl_dst_count): Likewise.
21200         (_dl_dst_substitute): Likewise.
21201         (decompose_rpath): Likewise.
21202         (_dl_init_paths): Likewise.
21203         (open_path): Likewise.
21204         (_dl_map_object): Likewise.
21205         * elf/rtld.c (dl_main): Likewise.
21206         (process_dl_audit): Likewise.
21207         (process_envvars): Likewise.
21208         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
21209         Remove declaration.
21210         (__libc_enable_secure): Use rtld_hidden_proto.
21212 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
21214         * elf/dl-load.c
21215         (add_path): New function broken out of _dl_rtld_di_serinfo.
21216         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
21218 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
21220         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
21221         parentheses around macro arguments.
21222         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
21223         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
21224         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
21225         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
21226         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
21227         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
21228         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
21229         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
21230         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
21231         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
21232         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
21233         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
21234         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
21235         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
21236         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
21237         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
21238         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
21239         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
21240         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
21241         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
21242         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
21243         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
21244         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
21245         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
21246         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
21247         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
21248         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
21249         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
21250         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
21251         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
21252         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
21253         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
21254         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
21255         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
21256         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
21257         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
21258         Likewise.
21259         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
21260         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
21261         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
21262         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
21263         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
21264         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
21265         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
21266         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
21267         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
21268         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
21269         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
21270         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
21271         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
21272         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
21273         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
21274         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
21275         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
21276         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
21277         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
21278         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
21279         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
21280         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
21281         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
21282         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
21283         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
21284         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
21285         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
21286         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
21287         (_FP_FRAC_SRS_1): Likewise.
21288         (_FP_FRAC_CLZ_1): Likewise.
21289         (_FP_MUL_MEAT_1_imm): Likewise.
21290         (_FP_MUL_MEAT_1_wide): Likewise.
21291         (_FP_MUL_MEAT_1_hard): Likewise.
21292         (_FP_SQRT_MEAT_1): Likewise.
21293         (_FP_FRAC_ASSEMBLE_1): Likewise.
21294         (_FP_FRAC_DISASSEMBLE_1): Likewise.
21295         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
21296         (__FP_CLZ_2): Likewise.
21297         (_FP_MUL_MEAT_2_wide): Likewise.
21298         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
21299         (_FP_MUL_MEAT_2_gmp): Likewise.
21300         (_FP_MUL_MEAT_2_120_240_double): Likewise.
21301         (_FP_SQRT_MEAT_2): Likewise.
21302         (_FP_FRAC_ASSEMBLE_2): Likewise.
21303         (_FP_FRAC_DISASSEMBLE_2): Likewise.
21304         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
21305         (_FP_FRAC_CLZ_4): Likewise.
21306         (_FP_MUL_MEAT_4_wide): Likewise.
21307         (_FP_MUL_MEAT_4_gmp): Likewise.
21308         (_FP_SQRT_MEAT_4): Likewise.
21309         (_FP_FRAC_ASSEMBLE_4): Likewise.
21310         (_FP_FRAC_DISASSEMBLE_4): Likewise.
21311         * soft-fp/op-common.h (_FP_CMP): Likewise.
21312         (_FP_CMP_EQ): Likewise.
21313         (_FP_CMP_UNORD): Likewise.
21314         (_FP_TO_INT): Likewise.
21315         (_FP_FROM_INT): Likewise.
21316         [!__FP_CLZ] (__FP_CLZ): Likewise.
21317         (_FP_DIV_HELP_imm): Likewise.
21318         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
21319         Likewise.
21320         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
21321         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
21322         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
21323         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
21324         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
21325         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
21326         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
21327         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
21328         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
21329         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
21330         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
21331         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
21332         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
21333         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
21334         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
21335         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
21336         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
21337         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
21338         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
21339         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
21340         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
21341         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
21342         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
21343         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
21344         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
21345         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
21346         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
21347         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
21348         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
21349         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
21350         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
21351         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
21352         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
21353         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
21354         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
21355         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
21356         (FP_UNPACK_RAW_SP): Likewise.
21357         (FP_PACK_RAW_S): Likewise.
21358         (FP_PACK_RAW_SP): Likewise.
21359         (FP_UNPACK_S): Likewise.
21360         (FP_UNPACK_SP): Likewise.
21361         (FP_UNPACK_SEMIRAW_S): Likewise.
21362         (FP_UNPACK_SEMIRAW_SP): Likewise.
21363         (FP_PACK_S): Likewise.
21364         (FP_PACK_SP): Likewise.
21365         (FP_PACK_SEMIRAW_S): Likewise.
21366         (FP_PACK_SEMIRAW_SP): Likewise.
21367         (_FP_SQRT_MEAT_S): Likewise.
21368         (FP_CMP_S): Likewise.
21369         (FP_CMP_EQ_S): Likewise.
21370         (FP_CMP_UNORD_S): Likewise.
21371         (FP_TO_INT_S): Likewise.
21372         (FP_FROM_INT_S): Likewise.
21374         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
21376         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
21377         (FP_EX_INVALID_IMZ): Likewise.
21378         (FP_EX_INVALID_IMZ_FMA): Likewise.
21379         (FP_EX_INVALID_ISI): Likewise.
21380         (FP_EX_INVALID_ZDZ): Likewise.
21381         (FP_EX_INVALID_IDI): Likewise.
21382         (FP_EX_INVALID_SQRT): Likewise.
21383         (FP_EX_INVALID_CVI): Likewise.
21384         (FP_EX_INVALID_VC): Likewise.
21385         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
21386         "invalid" exceptions.
21387         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
21388         (_FP_ADD_INTERNAL): Likewise.
21389         (_FP_MUL): Likewise.
21390         (_FP_FMA): Likewise.
21391         (_FP_DIV): Likewise.
21392         (_FP_CMP_CHECK_NAN): Likewise.
21393         (_FP_SQRT): Likewise.
21394         (_FP_TO_INT): Likewise.
21395         (FP_EXTEND): Likewise.
21397 2014-10-09  Allan McRae  <allan@archlinux.org>
21399         * po/fr.po: Update French translation from translation project.
21401 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
21403         [BZ #14132]
21404         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
21405         of INTDEF.
21406         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
21407         (__cxa_atexit): Use libc_hidden_proto.
21408         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
21410         [BZ #14132]
21411         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
21412         declaration.
21413         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
21414         [!_ISOMAC] (__iswspace_l_internal): Likewise.
21415         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
21416         [!_ISOMAC] (__iswctype_internal): Likewise.
21417         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
21418         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
21419         alias.
21420         (fcntl): Remove __fcntl_internal alias.
21421         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
21422         __connect_internal alias.
21423         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
21424         Likewise.
21426         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
21427         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
21428         FP_DENORM_ZERO.
21429         (_FP_CHECK_FLUSH_ZERO): New macro.
21430         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
21431         (_FP_CMP): Likewise.
21432         (_FP_CMP_EQ): Likewise.
21433         (_FP_TO_INT): Do not set inexact for subnormal arguments if
21434         FP_DENORM_ZERO.
21435         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
21436         (FP_TRUNC): Likewise.
21438         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
21439         treated as invalid conversion, not as normal exponent.
21441         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
21442         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
21443         (_FP_CMP_EQ): Likewise.
21444         (_FP_CMP_UNORD): Likewise.
21445         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
21446         (FP_CMP_EQ_D): Likewise.
21447         (FP_CMP_UNORD_D): Likewise.
21448         * soft-fp/extended.h (FP_CMP_E): Likewise.
21449         (FP_CMP_EQ_E): Likewise.
21450         (FP_CMP_UNORD_E): Likewise.
21451         * soft-fp/quad.h (FP_CMP_Q): Likewise.
21452         (FP_CMP_EQ_Q): Likewise.
21453         (FP_CMP_UNORD_Q): Likewise.
21454         * soft-fp/single.h (FP_CMP_S): Likewise.
21455         (FP_CMP_EQ_S): Likewise.
21456         (FP_CMP_UNORD_S): Likewise.
21457         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
21458         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
21459         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
21460         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
21461         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
21462         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
21463         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
21464         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
21465         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
21466         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
21467         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
21468         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
21469         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
21470         to FP_CMP_Q.
21471         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
21472         FP_CMP_Q.
21473         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
21474         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
21475         FP_CMP_EQ_Q.
21476         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
21477         FP_CMP_Q.
21478         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
21479         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
21480         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
21481         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
21482         FP_CMP_EQ_Q.
21483         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
21484         FP_CMP_Q.
21485         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
21486         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
21487         FP_CMP_EQ_Q.
21488         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
21489         FP_CMP_Q.
21490         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
21491         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
21492         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
21493         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
21494         FP_CMP_EQ_Q.
21496         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
21497         a subnormal result, set the underflow exception if trapping on
21498         underflow is enabled.
21499         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
21500         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
21501         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
21502         redefine to 0.
21503         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
21504         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
21505         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
21506         * soft-fp/extendxftf2.c (__extendxftf2): Use
21507         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
21509         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
21510         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
21511         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
21512         FP_HANDLE_EXCEPTIONS.
21513         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
21514         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
21515         FP_HANDLE_EXCEPTIONS.
21516         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
21517         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
21518         FP_HANDLE_EXCEPTIONS.
21519         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
21520         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
21521         FP_HANDLE_EXCEPTIONS.
21523 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
21525         [BZ #14132]
21526         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
21527         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
21528         use INTUSE.
21529         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
21530         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
21531         Remove alias.
21532         (__adjtimex): Define using libc_hidden_ver.
21533         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
21534         Remove declaration.
21535         (ntp_gettime): Call __adjtimex directly.
21536         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
21537         Remove declaration.
21538         (ntp_gettimex): Call __adjtimex directly.
21539         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
21540         __adjtimex_internal alias.
21542 2014-10-08  Roland McGrath  <roland@hack.frob.com>
21544         [BZ #17460]
21545         * nscd/nscd.c (more_help): Rewrite list of tables collection
21546         using xstrdup and asprintf.
21548         * nscd/nscd_conf.c: Remove local xstrdup declaration.
21550 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
21551             Roland McGrath  <roland@hack.frob.com>
21553         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
21554         (do_lookup_unique): ... local function 'enter' here; update callers.
21556 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
21558         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
21559         compat_symbol calls on [SHARED].
21560         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
21561         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
21562         Remove.
21563         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
21564         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
21565         (oldsetrlimit): Remove.
21566         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
21567         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
21568         (lchown): New syscall entry.
21569         (oldsetrlimit): Remove.
21570         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
21571         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
21572         (oldsetrlimit): Remove.
21573         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
21575         [BZ #14138]
21576         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
21577         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
21578         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
21579         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
21580         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
21581         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
21582         (fchown): Likewise.
21583         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
21584         (fchown): Likewise.
21585         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
21586         Likewise.
21588 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21590         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
21591         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
21592         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
21593         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
21594         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
21595         Likewise.
21596         (__old_sem_post): Likewise.
21598 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
21600         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
21601         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
21602         HAVE_CLOCK_GETTIME_VSYSCALL macros.
21603         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
21604         Use INLINE_VSYSCALL macro.
21605         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
21606         __vdso_clock_gettime.
21607         * sysdeps/unix/sysv/linux/tile/init-first.c
21608         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
21609         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
21610         __vdso_clock_gettime.
21612         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
21613         to set up frame more cleanly.
21615         * sysdeps/tile/memcmp.c: New file.
21617         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
21619         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
21620         * sysdeps/tile/tilegx/strcasestr.c: New file.
21621         * sysdeps/tile/tilegx/strnlen.c: New file.
21622         * sysdeps/tile/tilegx/strstr.c: New file.
21624         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
21626 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
21628         * nptl/tst-setuid3.c: Write errors to stdout.
21630 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
21632         * elf/dl-deps.c
21633         (preload): New functions broken out of _dl_map_object_deps.
21634         (_dl_map_object_deps):  Remove a nested function. Update call sites.
21636 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
21638         [BZ #14138]
21639         * sysdeps/unix/sysv/linux/execve.c: Remove file.
21640         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
21642 2014-10-01  Steve Ellcey  <sellcey@mips.com>
21644         * sysdeps/mips/strcmp.S: New.
21646 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
21648         [BZ #14138]
21649         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
21650         (linkat): Likewise.
21651         (mkdirat): Likewise.
21652         (readlinkat): Likewise.
21653         (renameat): Likewise.
21654         (symlinkat): Likewise.
21655         (unlinkat): Likewise.
21656         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
21657         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
21658         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
21659         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
21660         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
21661         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
21662         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
21664 2014-09-30  Will Newton  <will.newton@linaro.org>
21666         * math/math.h: Define long double math functions if
21667         _LIBC_TEST is defined.
21668         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
21670         * localedata/Makefile: Move assignment to tests-special
21671         into an ifdef testing run-built-tests.
21672         * timezone/Makefile: Likewise.
21674 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
21676         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
21677         with $(BASH) not $(SHELL).
21679 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
21680             Matthew LeGendre  <legendre1@llnl.gov>
21682         [BZ #17411]
21683         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
21684         l_reloc_result.
21686 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
21688         * stdio-common/printf_fp.c
21689         (hack_digit): New function, broken out of ...
21690         (__printf_fp): ... local function here.  Update call sites.
21691         hack_digit now takes an additional parameter that is a pointer
21692         to a struct of the referenced locals.  Those locals moved inside
21693         the struct and references updated.
21695 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
21697         * aclocal.m4: Require autoconf 2.69.
21698         * configure: Regenerated.
21699         * sysdeps/aarch64/configure: Likewise.
21700         * sysdeps/alpha/configure: Likewise.
21701         * sysdeps/arm/armv7/configure: Likewise.
21702         * sysdeps/arm/configure: Likewise.
21703         * sysdeps/ia64/configure: Likewise.
21704         * sysdeps/mach/configure: Likewise.
21705         * sysdeps/mips/configure: Likewise.
21706         * sysdeps/s390/configure: Likewise.
21707         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
21708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
21710         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
21711         file.
21712         * sysdeps/ia64/configure.ac: Likewise.
21714 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
21716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
21717         specify symbol version for ld.so.  Do not include entry for
21718         libpthread.
21719         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
21720         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
21721         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
21723         [BZ #14171]
21724         * Makeconfig [$(build-shared) = yes]
21725         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
21726         makefiles.
21727         [$(build-shared) = yes && $(soversions.mk-done) = t]
21728         ($(common-objpfx)gnu/lib-names.h): Remove rule.
21729         [$(build-shared) = yes && $(soversions.mk-done) = t]
21730         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
21731         to Makerules.
21732         [$(build-shared) = yes && $(soversions.mk-done) = t]
21733         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
21734         here.
21735         [$(build-shared) = yes && $(soversions.mk-done) = t]
21736         (common-generated): Don't append gnu/lib-names.h and
21737         gnu/lib-names.stmp here.
21738         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
21739         (lib-names-h-abi): New variable.
21740         [$(build-shared) = yes && $(soversions.mk-done) = t]
21741         (lib-names-stmp-abi): Likewise.
21742         [$(build-shared) = yes && $(soversions.mk-done) = t &&
21743         abi-variants] (before-compile): Append
21744         $(common-objpfx)$(lib-names-h-abi).
21745         [$(build-shared) = yes && $(soversions.mk-done) = t &&
21746         abi-variants] (common-generated): Append gnu/lib-names.h.
21747         [$(build-shared) = yes && $(soversions.mk-done) = t &&
21748         abi-variants] (install-others-nosubdir): Depend on
21749         $(inst_includedir)/$(lib-names-h-abi).
21750         [$(build-shared) = yes && $(soversions.mk-done) = t &&
21751         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
21752         [$(build-shared) = yes && $(soversions.mk-done) = t]
21753         ($(common-objpfx)$(lib-names-h-abi)): New rule.
21754         [$(build-shared) = yes && $(soversions.mk-done) = t]
21755         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
21756         [$(build-shared) = yes && $(soversions.mk-done) = t]
21757         (common-generated): Append $(lib-names-h-abi) and
21758         $(lib-names-stmp-abi).
21759         * scripts/lib-names.awk: Do not handle multi being set.
21760         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
21761         Remove variable.
21762         (abi-lp64_be-ld-soname): Likewise.
21763         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
21764         Likewise.
21765         (abi-hard-ld-soname): Likewise.
21766         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
21767         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
21768         Remove variable.
21769         (abi-o32_hard-ld-soname): Likewise.
21770         (abi-o32_soft_2008-ld-soname): Likewise.
21771         (abi-o32_hard_2008-ld-soname): Likewise.
21772         (abi-n32_soft-ld-soname): Likewise.
21773         (abi-n32_hard-ld-soname): Likewise.
21774         (abi-n32_soft_2008-ld-soname): Likewise.
21775         (abi-n32_hard_2008-ld-soname): Likewise.
21776         (abi-n64_soft-ld-soname): Likewise.
21777         (abi-n64_hard-ld-soname): Likewise.
21778         (abi-n64_soft_2008-ld-soname): Likewise.
21779         (abi-n64_hard_2008-ld-soname): Likewise.
21780         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
21781         Likewise.
21782         (abi-64-v2-ld-soname): Likewise.
21783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
21784         ld.so entries.
21785         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
21786         variable.
21787         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
21788         entry.
21789         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
21790         variable.
21791         (abi-64-ld-soname): Likewise.
21792         (abi-x32-ld-soname): Likewise.
21793         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
21794         entry.
21795         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
21797 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
21799         [BZ #14138]
21800         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
21801         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
21802         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
21803         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
21804         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
21805         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
21806         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
21807         syscall entry for GLIBC_2.2 symbol version.
21808         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
21809         Likewise.
21810         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
21811         (setrlimit): Likewise.
21812         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
21813         Likewise.
21815 2014-09-23  Will Newton  <will.newton@linaro.org>
21817         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
21818         _LINUX_ARM_SYSDEP_H include guard too.
21819         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
21820         define.
21822 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
21824         * sysdeps/unix/sysv/linux/eventfd.c:
21825         Make first argument unsigned.
21826         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
21827         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
21829 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
21831         * socket/recvmmsg.c (recvmmsg): Drop const argument.
21832         * socket/sys/socket.h: Likewise
21833         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
21835 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21837         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
21839 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
21841         * time/tst-ftime.c: New test.
21842         * time/Makefile (tests): Add tst-ftime.
21844 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
21846         * soft-fp/extended.h: Fix comment formatting.
21847         * soft-fp/op-1.h: Likewise.
21848         * soft-fp/op-2.h: Likewise.
21849         * soft-fp/op-4.h: Likewise.
21850         * soft-fp/op-8.h: Likewise.
21851         * soft-fp/op-common.h: Likewise.
21852         * soft-fp/soft-fp.h: Likewise.
21854         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
21856 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
21858         [BZ #6652]
21859         * Makeconfig (soversions-default-setname): Remove variable.
21860         ($(common-objpfx)soversions.i): Don't pass default_setname to
21861         soversions.awk.
21862         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
21863         oldest_abi to abi-versions.awk.
21864         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
21865         * config.make.in (oldest-abi): Remove variable.
21866         * configure.ac (--enable-oldest-abi): Remove configure option.
21867         * configure: Regenerated.
21868         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
21869         text.
21870         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
21871         * scripts/soversions.awk: Do not handle default_setname variable.
21872         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
21873         variable.
21874         * sysdeps/mach/hurd/configure: Regenerated.
21875         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
21876         variable.
21877         * sysdeps/unix/sysv/linux/configure: Regenerated.
21879 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
21881         * elf/Makefile (CFLAGS-interp.c): Remove.
21882         ($(elf-objpfx)runtime-linker.h): Generate header with linker
21883         path string.
21884         * elf/interp.c: Include generated runtime-linker.h
21886         * Makerules (lib%.so): Don't include $(+interp) in
21887         prerequisites.
21888         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
21889         * dlfcn/eval.c: Remove file.
21891         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
21892         macros.
21894         [BZ #17266]
21895         * misc/sys/cdefs.h: Define __extern_always_inline for clang
21896         4.2 and newer.
21898         [BZ #17370]
21899         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
21901 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
21902             Jakub Jelinek  <jakub@redhat.com>
21904         [BZ #17266]
21905         * libio/stdio.h: Check definition of __fortify_function
21906         instead of __extern_always_inline to include bits/stdio2.h.
21907         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
21908         check if __extern_always_inline is defined.
21909         [__USE_MISC || __USE_XOPEN]: Likewise.
21910         [__USE_ISOC99] Likewise.
21911         * misc/sys/cdefs.h (__fortify_function): Define only if
21912         __extern_always_inline is defined.
21913         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
21914         __extern_always_inline and __extern_inline only for g++-4.3
21915         and newer or a compatible gcc.
21917 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
21919         [BZ #17371]
21920         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
21921         last change to handle zero prefix length.
21923 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21925         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
21926         _SC_REGEX_VERSION.
21928         * posix/getconf.c (vars): Add _POSIX_IPV6 and
21929         _POSIX_RAW_SOCKETS.
21931 2014-09-13  Allan McRae  <allan@archlinux.org>
21933         * po/ru.po: Update Russian translation from translation project.
21935 2014-09-12  Roland McGrath  <roland@hack.frob.com>
21937         * locale/programs/locale.c (show_locale_vars): Inline local function
21938         into its sole call site.  Clean up some style nits.
21939         (print_item): New function, broken out of ...
21940         (show_info): ... local function here.  Clean up style nits.
21942         * locale/programs/ld-ctype.c (set_one_default): New function, broken
21943         out of ...
21944         (set_class_defaults): ... local function set_default here.
21945         Define set_default as a macro locally to pass constant parameters.
21946         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
21947         rather than a shared local.
21949         * stdlib/rpmatch.c (try): New function, broken out of ...
21950         (rpmatch): ... local function here.  Also, prototypify definition.
21952 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
21954         * scripts/soversions.awk: Do not handle configuration names.
21955         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
21956         vendor and os variables to soversions.awk.
21957         * configure.ac: Do not modify gnu-* host_os.
21958         * configure: Regenerated
21959         * shlib-versions: Remove first column with configuration names.
21960         * nptl/shlib-versions: Likewise.
21961         * nptl_db/shlib-versions: Likewise.
21962         * sysdeps/hppa/shlib-versions: Likewise.
21963         * sysdeps/m68k/shlib-versions: Likewise.
21964         * sysdeps/mach/hurd/shlib-versions: Likewise.
21965         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
21966         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
21967         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
21968         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
21969         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
21970         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
21971         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
21972         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
21973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
21974         Likewise.
21975         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
21976         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
21977         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
21978         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
21979         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
21980         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
21981         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
21982         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
21984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
21985         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
21986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
21987         Regenerated.
21988         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
21989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
21990         Condition symbol version definitions on [HAVE_ELFV2_ABI].
21992         * shlib-versions: Remove OS-specific entries.  Moved to files in
21993         sysdeps.
21994         * sysdeps/mach/hurd/shlib-versions: New file.
21995         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
21997         * nptl/shlib-versions: Remove architecture-specific entries.
21998         Moved to files in sysdeps.
21999         * shlib-versions: Likewise.
22000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
22001         file.
22002         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
22003         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
22004         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
22005         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
22007         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
22008         (UDP_NO_CHECK6_RX): Likewise.
22010 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
22012         * sysdeps/posix/sysconf.c (__sysconf): Spell
22013         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
22015 2014-08-12  Florian Weimer  <fweimer@redhat.com>
22017         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
22018         loading.
22019         * iconv/Versions (__gconv_transliterate): Export for use from
22020         gconv modules.
22021         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
22022         (struct __gconv_trans_data, __gconv_trans_fct,
22023         __gconv_trans_context_fct, __gconv_trans_query_fct,
22024         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
22025         definitions.
22026         (struct __gconv_step_data): Remove __trans member.
22027         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
22028         longer hidden.  Remove unused trans_data argument.
22029         * iconv/gconv_int.h (struct trans_struct): Remove definition.
22030         (__gconv_translit_find): Remove declaration.
22031         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
22032         prototype.
22033         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
22034         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
22035         trans_data argument.  Add hidden definition.
22036         (__gconv_translit_find): Remove.
22037         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
22038         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
22039         * iconv/skeleton.c: Remove transliteration initialization.
22040         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
22041         __gconv_step_data initialization.
22042         * libio/iofwide.c (__libio_translit_): Remove.
22043         (_IO_fwide): Adjust struct __gconv_step_data initialization.
22044         * wcsmbs/btowc.c (__btowc): Likewise.
22045         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
22046         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
22047         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
22048         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
22049         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
22050         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
22051         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
22052         * wcsmbs/wctob.c (wctob): Likewise.
22054 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
22056         [BZ #16194]
22057         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
22058         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
22059         register usage.
22060         * sysdeps/x86/Makefile: Adjust.
22062 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
22063             Roland McGrath  <roland@hack.frob.com>
22065         * locale/weight.h: Add include guard.
22066         (findidx): Make static rather than auto; take new parameters
22067         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
22068         * locale/weightwc.h: Likewise.
22069         * posix/fnmatch_loop.c
22070         (FCT): Change type of EXTRA from int32_t to wint_t.
22071         Don't include either header inside the function.
22072         Call FINDIDX rather than findidx, and pass new arguments.
22073         #undef FINDIDX at the end of the file.
22074         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
22075         FINDIDX before including fnmatch_loop.c for the non-wide version.
22076         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
22077         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
22078         for the wide version.
22079         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
22080         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
22081         Pass new arguments to findidx.
22082         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
22083         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
22084         Don't #include it inside the function.  Pass new arguments to findidx.
22085         * posix/regex_internal.h
22086         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
22087         (re_string_elem_size_at): Don't #include it inside the function.
22088         Pass new arguments to findidx.
22089         * string/strcoll_l.c: #include WEIGHT_H at top level.
22090         (get_next_seq): Don't #include it inside the function.
22091         Pass new arguments to findidx.
22092         (get_next_seq_nocache): Likewise.
22093         * string/strxfrm_l.c: #include WEIGHT_H at top level.
22094         (STRXFRM): Don't #include it inside the function.
22095         Pass new arguments to findidx.
22097 2014-09-11  Florian Weimer  <fweimer@redhat.com>
22099         [BZ #17344]
22100         * malloc/malloc.c (unlink): Turn asserts into a call to
22101         malloc_printerr.
22103 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
22105         [BZ #17370]
22106         * libio/wfileops (do_ftell_wide): Free OUT.
22108 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
22110         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
22112 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22114         [BZ #17363]
22115         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
22116         group if the current group is empty.
22118 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22120         * benchtests/bench-memset.c (test_main): Add more test from size
22121         from 32 to 512 bytes.
22122         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22123         Add POWER8 memset object.
22124         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22125         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
22126         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
22127         implementation.
22128         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
22129         Likewise.
22130         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
22131         multiarch POWER8 memset optimization.
22132         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
22133         POWER8 memset optimization.
22135         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22136         Remove bzero multiarch objects.
22137         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
22138         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
22139         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
22140         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
22141         Remove define.
22142         [__bzero]: Redefine to specific name.
22143         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
22144         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
22145         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
22146         define.
22147         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
22148         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
22150 2014-09-10  Florian Weimer  <fweimer@redhat.com>
22152         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
22153         warnings into errors.
22155         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
22156         __cxa_thread_atexit_impl prototype.
22158 2014-09-09  Steve Ellcey  <sellcey@mips.com>
22160         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
22161         Fix capitalization of error message.
22163 2014-09-09  Steve Ellcey  <sellcey@mips.com>
22165         * sysdeps/mips/preconfigure: Modify ABI tests.
22167 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
22169         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
22171 2014-09-07  Roland McGrath  <roland@hack.frob.com>
22172             Carlos O'Donell  <carlos@systemhalted.org>
22174         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
22175         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
22176         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
22177         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
22178         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
22179         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
22180         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
22181         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
22182         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
22183         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
22184         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
22185         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
22186         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
22187         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
22188         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
22189         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
22190         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
22191         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
22192         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
22193         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
22194         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
22195         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
22196         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
22197         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
22198         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
22199         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
22200         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
22201         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
22202         Deconditionalize the code that was previously under [RESET_PID].
22203         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
22204         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
22205         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
22206         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
22207         include sysdep.h.
22209 2014-09-08  Allan McRae  <allan@archlinux.org>
22211         * version.h (RELEASE): Set to "development".
22212         (VERSION): Set to "2.20.90"
22214 2014-09-07  Allan McRae  <allan@archlinux.org
22216         * version.h (RELEASE): Set to "stable".
22217         (VERSION): Set to "2.20"
22218         * include/features.h (__GLIBC_MINOR__): Set to 20.
22220         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
22221         Liebler.
22223         * po/ko.po: Update Korean translation from translation project.
22225 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
22227         [BZ #17354]
22228         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
22229         macro for handling signed relocations.
22231 2014-09-03  Florian Weimer  <fweimer@redhat.com>
22233         [BZ #17325]
22234         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
22235         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
22236         assert.
22237         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
22238         * iconvdata/ibm935.c (BODY): Likewise.
22239         * iconvdata/ibm937.c (BODY): Likewise.
22240         * iconvdata/ibm939.c (BODY): Likewise.
22241         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
22242         assert.
22243         * iconvdata/Makefile (iconv-test.out): Pass module list to test
22244         script.
22245         * iconvdata/run-iconv-test.sh: New test loop for checking for
22246         decoder crashers.
22248 2014-09-02  Khem Raj  <raj.khem@gmail.com>
22250         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
22251         libm_hidden_ver.
22253 2014-09-01  Allan McRae  <allan@archlinux.org>
22255         * po/eo.po: Update Esperanto translation from translation project.
22257         * po/ca.po: Update Catalan translation from translation project.
22259 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22261         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
22262         __proc_dostop call.
22264 2014-08-27  Mark Wielaard  <mjw@redhat.com>
22266         [BZ #17319]
22267         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
22268         to call set_thread_area instead of hand written asm.
22269         (__NR_set_thread_area): Removed define.
22270         (TLS_FLAG_WRITABLE): Likewise.
22271         (__ASSUME_SET_THREAD_AREA): Remove check.
22272         (TLS_EBX_ARG): Remove define.
22273         (TLS_LOAD_EBX): Likewise.
22275 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22277         Simplify atomicity of socket creation in bind.
22279         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
22280         looking up the name after linking the file.
22282 2014-08-27  Allan McRae  <allan@archlinux.org>
22284         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
22286 2014-08-26  Florian Weimer  <fweimer@redhat.com>
22288         [BZ #17187]
22289         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
22290         trans_compare, open_translit, __gconv_translit_find):
22291         Remove module loading code.
22293 2014-08-26  Allan McRae  <allan@archlinux.org>
22295         * po/vi.po: Update Vietnamese translation from translation project.
22297         * po/uk.po: Update Ukrainian translation from translation project.
22299         * po/fr.po: Update French translation from translation project.
22301         * po/ru.po: Update Russian translation from translation project.
22303         * po/pl.po: Update Polish translation from translation project.
22305         * po/cs.po: Update Czech translation from translation project.
22307         * po/de.po: Update German translation from translation project.
22309         * po/bg.po: Update Bulgarian translation from translation project.
22311         * po/sv.po: Update Sweedish translation from translation project.
22313         * po/nl.po: Update Dutch translation from translation project.
22315         * po/es.po: Update Spanish translation from translation project.
22317 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22319         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
22321         * catgets/Makefile (CPPFLAGS-gencat): Remove.
22322         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
22323         (CPPFLAGS-iconvconfig): Likewise.
22324         * timezone/Makefile (CPPFLAGS-zic): Likewise.
22326         * include/libc-symbols.h: Remove unnecessary check for
22327         NOT_IN_libc.
22328         * nptl/pthreadP.h: Likewise.
22329         * sysdeps/aarch64/setjmp.S: Likewise.
22330         * sysdeps/alpha/setjmp.S: Likewise.
22331         * sysdeps/arm/sysdep.h: Likewise.
22332         * sysdeps/i386/setjmp.S: Likewise.
22333         * sysdeps/m68k/setjmp.c: Likewise.
22334         * sysdeps/posix/getcwd.c: Likewise.
22335         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
22336         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
22337         * sysdeps/s390/s390-32/setjmp.S: Likewise.
22338         * sysdeps/s390/s390-64/setjmp.S: Likewise.
22339         * sysdeps/sh/sh3/setjmp.S: Likewise.
22340         * sysdeps/sh/sh4/setjmp.S: Likewise.
22341         * sysdeps/unix/alpha/sysdep.h: Likewise.
22342         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
22343         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
22344         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
22345         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
22346         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
22347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
22348         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22349         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
22350         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
22351         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
22352         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22353         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
22354         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
22355         * sysdeps/x86_64/setjmp.S: Likewise.
22357 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
22359         [BZ #17263]
22360         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
22361         <stdint.h>.
22362         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
22363         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
22365 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
22367         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
22369         [BZ #17262]
22370         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
22371         and __x86_64__ when disabling x87 inline functions.
22373 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
22375         [BZ #17259]
22376         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
22377         asm statement with __cpuid_count.
22379 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
22381         * configure.ac: Change __ehdr_start code to dereference the struct.
22382         Run readelf on the output to look for relocations.
22383         * configure: Regenerated.
22385 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
22387         [BZ #17261]
22388         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
22389         value to 0.
22390         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
22392 2014-08-12  Roland McGrath  <roland@hack.frob.com>
22394         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
22396 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
22398         [BZ #16892]
22399         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
22400         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
22402 2014-08-12  Sean Anderson  <seanga2@gmail.com>
22404         * malloc/malloc.c: Fix typo in comment.
22406 2014-08-09  Allan McRae  <allan@archlinux.org>
22408         * Regenerate libc.po.
22410 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
22412         * intl/tst-gettext2.sh: Check every lang file for creation.
22414 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
22416         * sysdeps/aarch64/fpu/math_private.h
22417         (libc_feholdsetround_noex_aarch64_ctx): New function.
22419 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
22421         * sysdeps/arm/armv6/strcpy.S (strcpy):
22422         Fix performance issue in misaligned cases.
22424 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22426         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
22427         Move definition from termios.h.
22428         (struct termio): Likewise.
22429         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
22430         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
22431         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
22432         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
22433         Likewise.
22434         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
22435         Move definition to ioctl-types.h
22436         (struct termio): Likewise.
22437         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
22438         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
22439         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
22440         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
22441         Likewise.
22443 2014-08-05  Richard Henderson  <rth@redhat.com>
22445         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
22446         exceptions.
22447         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
22448         Add fraiseexcpt.
22449         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
22450         Use __feraiseexcept.
22451         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
22452         Protect libm symbols with IS_IN_libm.
22454         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
22456 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
22458         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
22460 2014-08-04  Will Newton  <will.newton@linaro.org>
22462         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
22463         file.
22465 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
22467         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
22468         variants for each function.
22470 2014-08-04  Roland McGrath  <roland@hack.frob.com>
22472         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
22473         appended ...
22474         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
22475         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
22476         appended ...
22477         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
22478         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
22479         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
22480         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
22481         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
22482         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
22483         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
22484         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
22485         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
22486         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
22487         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
22488         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
22489         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
22490         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
22491         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
22492         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
22493         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
22494         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
22495         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
22496         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
22497         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
22498         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
22499         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
22500         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
22501         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
22502         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
22503         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
22504         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
22505         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
22506         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
22507         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
22508         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
22509         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
22510         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
22511         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
22512         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
22513         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
22514         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
22515         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
22516         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
22517         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
22518         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
22519         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
22520         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
22521         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
22522         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
22523         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
22524         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
22525         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
22526         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
22527         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
22528         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
22529         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
22530         Update #include.
22531         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
22532         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
22534 2014-08-04  Roland McGrath  <roland@hack.frob.com>
22536         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
22537         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
22538         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
22539         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
22540         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
22541         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
22543 2014-08-04  Roland McGrath  <roland@hack.frob.com>
22545         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
22546         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
22547         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
22548         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
22550 2014-08-04  Roland McGrath  <roland@hack.frob.com>
22552         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
22553         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
22554         (__libc_vfork): Define function under this name.
22555         (__vfork): Define as an alias.
22556         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
22557         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
22559 2014-08-04  Roland McGrath  <roland@hack.frob.com>
22561         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
22562         that was previously under [RESET_PID].
22563         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
22565 2014-08-04  Andreas Schwab  <schwab@suse.de>
22567         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
22569 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
22571         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
22572         (main): Likewise.
22574 2014-08-01  Roland McGrath  <roland@hack.frob.com>
22576         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
22578 2014-08-01  Richard Henderon  <rth@redhat.com>
22580         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
22581         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
22582         typo in exact zero test.
22583         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22584         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22585         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22587 2014-08-01  Roland McGrath  <roland@hack.frob.com>
22589         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
22590         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
22591         * sysdeps/arm/sysdep.h: ... here.
22592         [!__ASSEMBLER__]: Include <stdint.h>.
22594 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
22596         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
22597         (HAVE_WCTYPE_H): Likewise.
22598         (HAVE_ISWCTYPE): Likewise.
22599         (ENABLE_NLS): Likewise.
22600         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
22601         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
22603         * posix/regex_internal.c: Check if DEBUG is defined and is
22604         set.
22606         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
22607         (HAVE_MBSRTOWCS): Likewise.
22608         * posix/fnmatch.c: Include string.h unconditionally.
22610 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
22612         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
22613         reversal.
22615 2014-07-31  Roland McGrath  <roland@hack.frob.com>
22617         * sysdeps/generic/safe-fatal.h: New file.
22618         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
22619         * nptl/forward.c: Include it.
22620         (__pthread_unwind): Use __safe_fatal as default action, rather
22621         than a bogus use of INTERNAL_SYSCALL that could never work.
22623         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
22624         * configure.ac (libc_cv_builtin_trap): New test.
22625         * configure: Regenerated.
22626         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
22627         (ABORT_INSTRUCTION): Define using __builtin_trap.
22629         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
22630         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
22631         * sysdeps/nptl/nptl-signals.h: New file.
22632         * nptl/pthreadP.h: Include <nptl-signals.h>.
22634 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
22636         * sysdeps/s390/s390-64/utf16-utf32-z9.c
22637         (ONE_DIRECTION): Define.
22638         * sysdeps/s390/s390-64/utf8-utf16-z9.c
22639         (ONE_DIRECTION): Define.
22640         * sysdeps/s390/s390-64/utf8-utf32-z9.c
22641         (ONE_DIRECTION): Define.
22643 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
22645         * sysdeps/s390/Makefile: Delete file.
22646         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
22647         * sysdeps/s390/__longjmp.c: Delete file.
22648         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
22649         Remove fields __flags and __reserved.
22650         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
22651         and add versioning.
22652         * sysdeps/s390/rtld-__longjmp.c: Delete file.
22653         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
22654         * sysdeps/s390/rtld-setjmp.S: Likewise.
22655         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
22656         * sysdeps/s390/s390-32/__longjmp.c: ... here.
22657         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
22658         * sysdeps/s390/s390-32/setjmp.S: ... here.
22659         Add versioning.
22660         (__sigsetjmp): Remove setting __flags field.
22661         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
22662         * sysdeps/s390/s390-64/__longjmp.c: ... here.
22663         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
22664         * sysdeps/s390/s390-64/setjmp.S: ... here.
22665         Add versioning.
22666         (__sigsetjmp): Remove setting __flags field.
22667         * sysdeps/s390/setjmp.S: Delete file.
22668         * sysdeps/s390/sigjmp.c: Likewise.
22669         * sysdeps/s390/v1-longjmp.c: Likewise.
22670         * sysdeps/s390/v1-setjmp.h: Likewise.
22671         * sysdeps/s390/v1-sigjmp.c: Likewise.
22672         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
22673         Remove v1-longjmp_chk.
22674         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
22675         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
22676         Include debug/longjmp_chk.c and add versioning.
22677         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
22678         Include nptl/pt-longjmp.c and add versioning.
22679         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
22680         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
22681         Include __longjmp.c.
22682         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
22683         Move to ...
22684         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
22685         (__getcontext): Remove setting __flags field.
22686         Add versioning.
22687         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
22688         Don't restore upper high grps.
22689         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
22690         Likewise.
22691         (__swapcontext): Remove setting uc_flags field.
22692         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
22693         Delete file.
22694         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
22695         Include __longjmp.c.
22696         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
22697         Move to ...
22698         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
22699         (__getcontext): Remove setting __flags field.
22700         Add versioning.
22701         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
22702         (__swapcontext): Remove setting uc_flags field.
22703         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
22704         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
22705         Remove fields uc_high_gprs and __reserved.
22706         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
22707         New file with reverted content.
22708         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
22709         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
22710         Regenerated.
22711         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
22712         Regenerated.
22714 2014-07-31  Andreas Schwab  <schwab@suse.de>
22716         * config.h.in (HAVE_IFUNC): Define to 0.
22717         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
22718         definedness.
22720 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
22722         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22723         memmove-avx-unaligned, memcpy-avx-unaligned and
22724         mempcpy-avx-unaligned.
22725         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22726         Add tests for AVX memcpy functions.
22727         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
22728         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
22729         memcpy_chk.
22730         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
22731         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
22732         memmove_chk.
22733         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
22734         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
22735         mempcpy_chk.
22736         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
22737         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
22738         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
22740 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22742         [BZ #17213]
22743         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
22744         powerpc64le.
22746 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
22748         [BZ #16839]
22749         * manual/llio.texi: Add section about open file description locks.
22750         * manual/examples/ofdlocks.c: Example of open file description
22751         lock usage.
22752         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
22753         F_OFD_SETLK, and F_OFD_SETLKW.
22755 2014-07-23  Allan McRae  <allan@archlinux.org>
22757         * po/es.po: Update Spanish translation from translation project.
22759 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
22761         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
22763 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
22765         [BZ #17078]
22766         * sysdeps/arm/dl-machine.h (elf_machine_rela)
22767         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
22768         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
22770 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
22772         [BZ #17088]
22773         * math/fesetenv.c (__fesetenv)
22774         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
22775         * math/feupdateenv.c (__feupdateenv)
22776         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
22778         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
22779         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
22780         (__ASSUME_SOCKETCALL): Do not define.
22782         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
22783         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
22784         (__ASSUME_SOCKETCALL): Do not define.
22785         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
22786         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
22787         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
22788         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
22789         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22790         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
22791         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22792         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22794         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
22795         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
22796         (__ASSUME_SOCKETCALL): Do not define.
22797         (__ASSUME_IPC64): Define unconditionally.
22798         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
22799         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
22800         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
22801         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22802         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
22803         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22804         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
22805         Likewise.
22807         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
22808         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
22809         (__ASSUME_SOCKETCALL): Do not define.
22810         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
22811         (__ASSUME_FUTEX_LOCK_PI): Likewise.
22812         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
22813         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
22814         (__ASSUME_REQUEUE_PI): Define unconditionally.
22815         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
22816         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
22817         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22818         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
22819         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22820         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22822         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
22823         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
22824         (__ASSUME_SOCKETCALL): Do not define.
22825         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
22826         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22827         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22828         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
22829         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22830         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22832         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
22833         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
22834         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
22835         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
22836         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22837         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
22838         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22839         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
22840         (__ASSUME_GETCPU_SYSCALL): Likewise.
22842         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
22843         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
22844         cases for individual architectures.
22845         * sysdeps/gnu/configure: Regenerated.
22846         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
22847         LIBC_SLIBDIR_RTLDDIR.
22848         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
22849         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
22850         LIBC_SLIBDIR_RTLDDIR.
22851         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
22852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
22853         LIBC_SLIBDIR_RTLDDIR.
22854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
22855         Regenerated.
22856         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
22857         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
22858         file.
22859         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
22860         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
22861         file.
22862         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
22863         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
22864         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
22865         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
22867         * sysdeps/aarch64/shlib-versions: Move to ...
22868         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
22869         * sysdeps/alpha/shlib-versions: Move to ...
22870         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
22871         * sysdeps/arm/shlib-versions: Move to ...
22872         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
22873         * sysdeps/hppa/shlib-versions: Move all contents except for
22874         libgcc_s entry to ...
22875         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
22876         entry from ...
22877         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
22878         * sysdeps/ia64/shlib-versions: Move to ...
22879         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
22880         entry from ...
22881         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
22882         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
22883         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
22884         * sysdeps/microblaze/shlib-versions: Move to ...
22885         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
22886         * sysdeps/mips/shlib-versions: Move to ...
22887         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
22888         entry from ...
22889         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
22890         * sysdeps/tile/shlib-versions: Move to ...
22891         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
22892         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
22893         from ...
22894         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
22895         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
22896         entry from ...
22897         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
22899 2014-07-17  Will Newton  <will.newton@linaro.org>
22901         * sysdeps/arm/bits/atomic.h
22902         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
22903         (__arch_compare_and_exchange_bool_16_int): Likewise.
22904         (__arch_compare_and_exchange_bool_64_int): Likewise.
22906         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
22907         into an #else block.
22909 2014-07-16  Roland McGrath  <roland@hack.frob.com>
22911         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
22912         just Linux configurations.  Test empirically that the compiler sets
22913         __ARM_EABI__, rather than using the tuple to decide.
22914         * sysdeps/arm/preconfigure: Regenerated.
22915         * sysdeps/unix/sysv/linux/arm/configure: File removed.
22916         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
22917         contents appended ...
22918         * sysdeps/arm/configure.ac: ... here.
22919         * sysdeps/arm/configure: Regenerated.
22921 2014-07-15  Roland McGrath  <roland@hack.frob.com>
22923         * nptl/pthread_kill.c: New file.
22924         * nptl/pthread_sigmask.c: New file.
22925         * nptl/pthread_sigqueue.c: New file.
22927         * sysdeps/nptl/lowlevellock.h: New file.
22928         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
22929         * sysdeps/nptl/lowlevellock-futex.h: New file.
22931         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
22932         Remove dead declarations.
22934 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
22936         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
22937         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
22938         config-cflags-avx2.
22939         * sysdeps/x86_64/configure.ac: Likewise.
22940         * sysdeps/i386/configure: Regenerated.
22941         * sysdeps/x86_64/configure: Likewise.
22942         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22943         memset-avx2 only if config-cflags-avx2 is yes.
22944         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22945         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
22946         defined.
22947         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
22948         only if HAVE_AVX2_SUPPORT is defined.
22949         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22951 2014-07-14  Alan Modra  <amodra@gmail.com>
22953         [BZ #17153]
22954         * elf/elf.h (DT_PPC64_NUM): Correct value.
22955         * NEWS: Add to fixed bug list.
22957 2014-07-13  Jim Meyering  <meyering@fb.com>
22959         [BZ 17150]
22960         regex: don't deref NULL upon heap allocation failure
22961         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
22962         failure in one more place.
22963         To trigger the segfault, configure grep -with-included-regex,
22964         build it, and run these commands:
22965         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
22967 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
22969         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
22971 2014-07-11  Richard Henderson  <rth@redhat.com>
22973         * sysdeps/aarch64/libm-test-ulps: Update.
22975 2014-07-10  Florian Weimer  <fweimer@redhat.com>
22977         [BZ #17135]
22978         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
22979         * nptl/allocatestack.c (__nptl_setxid_error): New function.
22980         (__nptl_setxid): Initialize error member.  Call
22981         __nptl_setxid_error.
22982         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
22983         * nptl/descr.h (struct xid_command): Add error member.
22984         * nptl/tst-setuid3.c: New file.
22985         * nptl/Makefile (tests): Add it.
22987 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22989         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
22990         New define.
22991         (__lll_trylock): Use __lll_base_trylock.
22992         (__lll_cond_trylock): Likewise.
22994 2014-07-10  Roland McGrath  <roland@hack.frob.com>
22996         * nptl/pthread_create.c (start_thread): Use atomic_or and
22997         lll_futex_wake directly rather than lll_robust_dead.
22998         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
22999         (lll_robust_dead): Macro removed.
23000         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
23001         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
23002         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
23003         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
23004         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
23005         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
23006         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
23007         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
23008         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
23009         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
23010         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
23011         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
23012         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
23013         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
23014         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
23016         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
23017         Use atomic_compare_and_exchange_val_acq directly rather than
23018         lll_robust_trylock.
23019         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
23020         (__lll_robust_trylock, lll_robust_trylock): Removed.
23021         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
23022         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
23023         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
23024         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
23025         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
23026         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
23027         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
23028         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
23029         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
23030         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
23031         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
23032         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
23033         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
23034         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
23036 2014-07-02  Florian Weimer  <fweimer@redhat.com>
23038         * manual/locale.texi (Locale Names): New section documenting
23039         locale name syntax.  Adjust menu and node chaining accordingly.
23040         (Choosing Locale): Reference Locale Names, Locale Categories.
23041         Mention setting LC_ALL=C.  Reflect that name syntax is now
23042         documented.
23043         (Locale Categories): New section title.  Reference Locale Names.
23044         LC_ALL is an environment variable, but not a category.
23045         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
23046         description, now in Locale Name.  Reference that section.  Locale
23047         name syntax is now documented.
23049 2014-07-02  Florian Weimer  <fweimer@redhat.com>
23051         [BZ #17137]
23052         * locale/findlocale.c (name_present, valid_locale_name): New
23053         functions.
23054         (_nl_find_locale): Use the loc_name variable to store name
23055         candidates.  Call name_present and valid_locale_name to check and
23056         validate locale names.  Return an error if the locale is invalid.
23058 2014-07-02  Florian Weimer  <fweimer@redhat.com>
23060         * locale/setlocale.c (setlocale): Use strdup for allocating
23061         composite name copy.
23063 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
23065         Sync up with gnulib.
23066         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
23067         [!_LIBC && ENABLE_NLS]: Include gettext.h.
23068         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
23069         and _GL_ARG_NONNULL.
23070         [USE_UNLOCKED_IO]: Include unlocked-io.h.
23071         [!_LIBC]: Include code for Windows and Cygwin.
23072         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
23073         Include prototype for int strerror_r.
23074         [!_LIBC] (is_open): New function.
23075         (flush_stdout): New function.
23076         (print_errno_message): Use it.
23077         (error): Likewise.
23078         (error_at_line): Likewise.
23079         (error_tail) Add function attribute macros.  Use
23080         __builtin_expect.
23082         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
23084         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
23086         * io/ftw.c: Include sys/param.h unconditionally.
23088         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
23090         [BZ #17125]
23091         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
23092         libc_freeres_ptr.
23093         (freecache): New function to free CACHE on exit.
23095         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
23096         initialization.
23098 2014-07-09  David S. Miller  <davem@davemloft.net>
23100         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23102         * sysdeps/sparc/nptl/internaltypes.h: Delete.
23103         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
23104         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
23105         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
23106         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
23107         * sysdeps/sparc/nptl/sem_init.c: Likewise.
23108         * sysdeps/sparc/nptl/sem_post.c: Likewise.
23109         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
23110         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
23111         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
23112         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
23113         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
23114         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
23116 2014-07-09  Andreas Schwab  <schwab@suse.de>
23118         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
23119         output.
23120         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
23121         (do_test): Likewise.
23123         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
23125 2014-07-09  Will Newton  <will.newton@linaro.org>
23127         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
23128         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
23129         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
23130         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
23131         * sysdeps/hppa/start.S (_start): Likewise.
23133 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
23135         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
23137         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
23138         defined.
23140 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
23142         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
23143         after checking that it is non-NULL.
23145         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
23147 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23149         * sysdeps/powerpc/memmove.c: Remove file.
23150         * sysdeps/powerpc/powerpc32/power4/memcopy.h
23151         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
23152         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
23153         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
23154         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
23155         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
23156         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
23157         string memmove instead of removed powerpc one.
23159         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
23160         [weak_alias]: Fix compiler warning due trailing data.
23161         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
23162         [weak_alias]: Likewise.
23163         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
23164         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
23166         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
23167         (__libc_ifunc_impl_list): Add memmove functions.
23169 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
23171         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
23172         Remove code.
23173         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
23174         Likewise
23175         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
23176         Likewise
23177         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
23178         Likewise
23179         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
23180         Likewise
23181         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
23182         Likewise
23183         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
23184         Likewise
23185         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
23186         Likewise
23187         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
23188         Likewise
23189         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
23190         Likewise
23191         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
23192         Likewise
23193         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
23194         Likewise
23195         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
23196         Likewise
23197         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
23198         Likewise
23199         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
23200         Likewise
23201         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
23202         Likewise
23203         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
23204         Likewise
23206 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23208         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
23209         to avoid alignment traps in non-cacheable memory.
23210         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
23212         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
23213         multiarch objects.
23214         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
23215         file: multiarch power7 memmove.
23216         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
23217         multiarch default memmove.
23218         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
23219         multiarch memove for powerpc32/power4.
23221         * string/bcopy.c: Use full path to include memmove.c.
23222         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
23223         multiarch objects.
23224         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
23225         bcopy for powerpc64.
23226         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
23227         bcopy for powerpc64.
23228         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
23229         and memmove implementations.
23230         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
23231         optimized multiarch memmove for POWER7/powerpc64.
23232         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
23233         default multiarch memmove for powerpc64.
23234         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
23235         multiarch for powerpc64.
23236         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
23237         for POWER7/powerpc64.
23238         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
23239         memmove for POWER7/powerpc64.
23241         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
23242         glibc default one.
23244         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
23245         __ELF_NATIVE_CLASS equal to 64.
23247 2014-07-07  Roland McGrath  <roland@hack.frob.com>
23249         * sysdeps/nptl/lowlevellock.h: File removed.
23251         * NEWS: NPTL is no longer an add-on!
23252         * nptl/internaltypes.h: Moved ...
23253         * sysdeps/nptl/internaltypes.h: ... here.
23254         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
23255         * sysdeps/nptl/fork.c: Likewise.
23256         * sysdeps/nptl/gai_misc.h: Likewise.
23257         * sysdeps/nptl/librt-cancellation.c: Likewise.
23258         * sysdeps/nptl/jmp-unwind.c: Likewise.
23259         * sysdeps/nptl/setxid.h: Likewise.
23260         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
23261         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
23262         * sysdeps/unix/sysv/linux/arm/Implies: New file.
23263         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
23264         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
23265         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
23266         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
23267         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
23268         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
23269         * sysdeps/unix/sysv/linux/mips/Implies: New file.
23270         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
23271         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
23272         * sysdeps/unix/sysv/linux/sh/Implies: New file.
23273         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
23274         * sysdeps/unix/sysv/linux/tile/Implies: New file.
23275         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
23276         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
23277         * nptl/Makeconfig: Moved ...
23278         * sysdeps/nptl/Makeconfig: ... here.
23279         * nptl/configure: File removed.
23280         * nptl/ANNOUNCE: File removed.
23281         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
23282         * sysdeps/unix/sysv/linux/configure: Regenerated.
23284         * nptl/Makefile (routines): Add libc_pthread_init,
23285         libc_multiple_threads, register-atfork and unregister-atfork.
23286         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
23287         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
23288         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
23289         pthread-pi-defines.sym, structsem.sym.
23290         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
23291         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
23292         [$(subdir) = nptl] (tests): Add tst-setgetname.
23293         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
23294         * sysdeps/unix/sysv/linux/sigaction.c: Just include
23295         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
23296         [!LIBC_SIGACTION]: Remove aliases.
23297         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
23298         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
23299         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
23300         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
23301         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
23302         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
23303         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
23304         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
23305         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
23306         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
23307         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
23308         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
23309         __libc_allocate_rtsig_private.
23310         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
23311         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
23312         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
23313         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
23314         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
23315         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
23316         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
23317         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
23318         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
23319         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
23320         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
23321         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
23322         * nptl/internaltypes.h: ... here.
23323         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
23324         * sysdeps/nptl/jmp-unwind.c: ... here.
23325         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
23326         * nptl/libc-lowlevellock.c: ... here.
23327         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
23328         * nptl/libc_multiple_threads.c: ... here.
23329         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
23330         * nptl/libc_pthread_init.c: ... here.
23331         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
23332         * nptl/lowlevelbarrier.sym: ... here.
23333         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
23334         * nptl/lowlevelcond.sym: ... here.
23335         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
23336         * nptl/lowlevellock.c: ... here.
23337         * nptl/lowlevellock.h: Moved ...
23338         * sysdeps/nptl/lowlevellock.h: ... here.
23339         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
23340         * nptl/lowlevelrobustlock.c: ... here.
23341         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
23342         * nptl/lowlevelrobustlock.sym: ... here.
23343         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
23344         * nptl/lowlevelrwlock.sym: ... here.
23345         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
23346         * nptl/pt-fork.c: ... here.
23347         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
23348         * nptl/pthread-pi-defines.sym: ... here.
23349         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
23350         * nptl/pthread_attr_getaffinity.c: ... here.
23351         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
23352         * nptl/pthread_attr_setaffinity.c: ... here.
23353         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
23354         * nptl/pthread_mutex_cond_lock.c: ... here.
23355         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
23356         Update #include.
23357         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
23358         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
23359         * nptl/pthread_once.c: ... here, replacing old file.
23360         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
23361         * nptl/pthread_yield.c: ... here.
23362         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
23363         * nptl/register-atfork.c: ... here.
23364         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
23365         * nptl/sem_post.c: ... here.
23366         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
23367         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
23368         * nptl/sem_timedwait.c: ... here.
23369         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
23370         * nptl/sem_trywait.c: ... here.
23371         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
23372         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
23373         * nptl/sem_wait.c: ... here.
23374         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
23375         * nptl/structsem.sym: ... here.
23376         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
23377         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
23378         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
23379         * nptl/unregister-atfork.c: ... here.
23380         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
23381         * nptl/unwindbuf.sym: ... here.
23382         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
23383         * sysdeps/nptl/fork.c: ... here.
23384         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
23385         * sysdeps/nptl/fork.h: ... here.
23386         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
23387         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
23388         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
23389         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
23390         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
23391         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
23392         * sysdeps/unix/sysv/linux/getpid.c: ... here.
23393         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
23394         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
23395         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
23396         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
23397         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
23398         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
23399         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
23400         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
23401         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
23402         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
23403         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
23404         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
23405         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
23406         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
23407         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
23408         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
23409         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
23410         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
23411         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
23412         * sysdeps/unix/sysv/linux/raise.c: ... here.
23413         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
23414         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
23415         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
23416         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
23417         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
23418         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
23419         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
23420         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
23421         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
23422         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
23423         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
23424         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
23425         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
23426         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
23427         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
23429 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
23431         * sysdeps/generic/memcopy.h: Add comment for
23432         MEMCPY_OK_FOR_FWD_MEMMOVE.
23434 2014-07-04  Will Newton  <will.newton@linaro.org>
23436         * string/memchr.c: Merge from gnulib.
23437         [_LIBC]: Remove conditionals.
23438         (__ptr_t): Remove define.
23439         (LONG_MAX_32_BITS): Likewise.
23440         (LONG_MAX): Likewise.
23441         (MEMCHR): Use ANSI prototype and optimize algorithm.
23443         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
23445 2014-07-03  Roland McGrath  <roland@hack.frob.com>
23447         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
23448         (lll_futex_timed_wait_bitset): Fix syscall argument count.
23450         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
23451         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
23452         in a bare environment with no <stdlib.h> installed.
23453         * sysdeps/nptl/configure: Regenerated.
23455         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
23457         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
23458         AC_EGREP_CPP for kernel header checks, so they only succeed if
23459         including <linux/version.h> actually works right.
23460         * sysdeps/unix/sysv/linux/configure: Regenerated.
23462         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
23463         value so it's not diagnosed as unused.
23465         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
23466         thing) with "ifeq ($(subdir),rt)".
23468 2014-07-03  Richard Henderson  <rth@redhat.com>
23470         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
23471         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
23472         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
23474         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
23475         (math_force_eval): New.
23477         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
23478         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
23480         * sysdeps/alpha/fpu/s_round.c: Remove file.
23481         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
23483         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
23484         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
23485         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
23486         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
23487         (_dl_start, print_statistics): Likewise.
23488         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
23489         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
23491         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
23492         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
23493         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
23494         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
23495         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
23496         (HP_SMALL_TIMING_AVAIL): Define.
23497         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
23498         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
23499         (HP_SMALL_TIMING_AVAIL): Define.
23500         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
23501         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
23503         * sysdeps/aarch64/hp-timing.h: New file.
23505         * sysdeps/generic/hp-timing.h: Remove dead comment.
23506         * sysdeps/generic/hp-timing-common.h: New file.
23507         * sysdeps/alpha/hp-timing.h: Include it.
23508         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
23509         * sysdeps/i386/i686/hp-timing.h: Likewise.
23510         * sysdeps/ia64/hp-timing.h: Likewise.
23511         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
23512         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
23513         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
23514         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
23515         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
23516         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
23517         (hp_timing_t): New.
23519         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
23520         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
23521         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
23522         * elf/rtld.c (_dl_start_final): Likewise.
23523         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
23524         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
23525         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
23526         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
23527         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
23528         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
23529         (HP_TIMING_DIFF_INIT): Remove.
23530         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
23531         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
23532         (HP_TIMING_DIFF_INIT): Remove.
23533         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
23534         * sysdeps/i386/i686/hp-timing.c: Remove file.
23535         * sysdeps/x86_64/hp-timing.c: Remove file.
23536         * sysdeps/ia64/hp-timing.c: Remove file.
23537         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
23538         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
23539         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
23540         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
23542         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
23543         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
23544         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
23545         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
23546         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
23547         (HP_TIMING_ACCUM): Remove.
23548         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
23549         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
23550         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
23552         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
23553         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
23554         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
23555         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
23556         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
23557         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
23558         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
23559         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
23561         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
23563 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
23565         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
23567 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
23569         Sync up with gettext.
23570         * intl/loadmsgcat.c: Define O_BINARY if not defined.
23571         [_MSC_VER]: Include malloc.h
23572         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
23573         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
23574         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
23575         TEMP_FAILURE_RETRY.  Cast return of alloca.
23576         [!_LIBC] Call gl_rwlock_init.
23577         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
23579 2014-07-02  Roland McGrath  <roland@hack.frob.com>
23581         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
23582         before checking its value.
23584 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
23586         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
23588         * debug/memcpy_chk.c: Don't include pagecopy.h.
23589         * debug/mempcpy_chk.c: Likewise.
23590         * string/memcpy.c: Likewise.
23591         * string/memmove.c: Likewise.
23592         * sysdeps/powerpc/memmove.c: Likewise.
23593         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
23594         definition of PAGE_COPY_FWD_MAYBE here...
23595         * sysdeps/generic/pagecopy.h: ... from here.
23596         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
23598 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
23599             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23601         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
23602         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
23603         optimizations.
23604         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
23605         (__libc_ifunc_impl_list): Likewise.
23606         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
23607         multiarch strcat for PPC64.
23608         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
23609         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
23611 2014-07-02  Roland McGrath  <roland@hack.frob.com>
23613         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
23615 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
23617         * intl/loadmsgcat.c: Remove declaration of
23618         get_sysdep_segment_value.
23619         (get_sysdep_segment_value): Use ISO C style.
23620         (_nl_load_domain): Use ISO C style.  Get rid of redundant
23621         semicolon.  Fix typo and formatting in comment.
23622         (_nl_unload_domain): Use ISO C style.
23624         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
23626 2014-07-02  Will Newton  <will.newton@linaro.org>
23628         * malloc/obstack.c: Merge from gnulib master.
23629         [HAVE_CONFIG_H]: Remove conditional code.
23630         [!_LIBC]: Include config.h.
23631         [!ELIDE_CODE]: Don't include inttypes.h, include
23632         stdint.h unconditionally.
23633         (print_and_abort): Mark as _Noreturn.
23634         (_obstack_allocated_p): Mark as __attribute_pure__.
23635         (obstack_free): Rename to __obstack_free.
23636         [!__attribute__]: Remove conditional code.
23637         * malloc/obstack.h: Merge from gnulib master.
23638         [__cplusplus]: Move conditional down.
23639         [!__attribute_pure__]: Define __attribute_pure__ here
23640         if it is not already defined.
23641         (_obstack_memory_used): Mark as __attribute_pure__.
23642         [!__obstack_free]: Define as obstack_free.
23643         [__GNUC__]: Remove check for ancient NeXT gcc.
23645 2014-07-02  Will Newton  <will.newton@linaro.org>
23646             Paul Eggert  <eggert@cs.ucla.edu>
23648         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
23650 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
23652         * resolv/gethnamaddr.c: Add comment warning that the file is
23653         not maintained.
23655 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
23657         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
23658         entries.
23660         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
23661         entry for aio_cancel and aio_cancel64.
23662         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
23663         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
23664         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
23665         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
23666         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
23667         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
23668         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
23669         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
23670         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
23671         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
23672         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
23673         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
23674         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
23676 2014-07-01  Roland McGrath  <roland@hack.frob.com>
23678         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
23679         * nptl/pthread_mutex_lock.c: Likewise.
23680         * nptl/pthread_mutex_timedlock.c: Likewise.
23681         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
23683 2014-07-01  Richard henderson  <rth@redhat.com>
23685         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
23686         (__isnan, __isnanl): Remove.
23687         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
23689         * sysdeps/alpha/fpu/libm-test-ulps: Update.
23691 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
23693         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
23695 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
23697         * resolv/nss_dns/dns-host.c (getanswer_r)
23698         [MULTI_PTRS_ARE_ALIASES]: Remove code.
23700 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
23702         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23703         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
23704         undefine.
23705         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
23706         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
23708 2014-07-01  Roland McGrath <roland@hack.frob.com>
23710         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
23711         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
23713         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
23714         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
23716         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
23717         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
23718         ... here.
23719         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
23720         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
23722         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
23723         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
23724         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
23725         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
23727         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
23728         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
23729         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
23730         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
23731         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
23732         Moved ...
23733         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
23734         ... here.
23735         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
23736         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
23737         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
23738         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
23739         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
23740         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
23741         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
23742         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
23743         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
23744         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
23745         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
23746         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
23747         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
23748         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
23749         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
23750         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
23751         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
23752         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
23753         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
23754         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
23755         ... here.
23756         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
23757         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
23758         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
23759         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
23760         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
23761         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
23762         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
23763         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
23765 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
23767         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
23768         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
23769         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
23770         Add sysdep.
23772 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23774         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23776 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
23778         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
23779         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
23781         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
23783         * sysdeps/arm/libm-test-ulps: Regenerated.
23785 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
23786             Roland McGrath <roland@hack.frob.com>
23788         * test-skeleton.c (signal_handler): Kill the whole process group
23789         before killing the child individually.
23790         (main): Report any failure on `setpgid'.
23792 2014-06-30  Roland McGrath  <roland@hack.frob.com>
23794         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
23795         from _TLS_H to _ARM_NPTL_TLS_H.
23796         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
23797         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
23799 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
23801         [BZ #16539]
23802         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
23803         (__expm1l): Return argument unchanged when small but not
23804         subnormal.
23806         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
23807         include macro name.
23808         (_FP_UNPACK_RAW_1_P): Likewise.
23809         (_FP_PACK_RAW_1): Likewise.
23810         (_FP_PACK_RAW_1_P): Likewise.
23811         (_FP_MUL_MEAT_1_wide): Likewise.
23812         (_FP_MUL_MEAT_DW_1_hard): Likewise.
23813         (_FP_MUL_MEAT_1_hard): Likewise.
23814         (_FP_DIV_MEAT_1_imm): Likewise.
23815         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
23816         (_FP_DIV_MEAT_1_udiv): Likewise.
23817         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
23818         (_FP_UNPACK_RAW_2): Likewise.
23819         (_FP_UNPACK_RAW_2_P): Likewise.
23820         (_FP_PACK_RAW_2): Likewise.
23821         (_FP_PACK_RAW_2_P): Likewise.
23822         (_FP_MUL_MEAT_DW_2_wide): Likewise.
23823         (_FP_MUL_MEAT_2_wide): Likewise.
23824         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
23825         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
23826         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
23827         (_FP_MUL_MEAT_2_gmp): Likewise.
23828         (_FP_DIV_MEAT_2_udiv): Likewise.
23829         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
23830         (_FP_FRAC_SRL_4): Likewise.
23831         (_FP_FRAC_SRST_4): Likewise.
23832         (_FP_FRAC_SRS_4): Likewise.
23833         (_FP_UNPACK_RAW_4): Likewise.
23834         (_FP_UNPACK_RAW_4_P): Likewise.
23835         (_FP_PACK_RAW_4): Likewise.
23836         (_FP_PACK_RAW_4_P): Likewise.
23837         (_FP_MUL_MEAT_DW_4_wide): Likewise.
23838         (_FP_MUL_MEAT_4_wide): Likewise.
23839         (_FP_MUL_MEAT_4_gmp): Likewise.
23840         (umul_ppppmnnn): Likewise.
23841         (_FP_DIV_MEAT_4_udiv): Likewise.
23842         (__FP_FRAC_ADD_4): Likewise.
23843         (__FP_FRAC_SUB_3): Likewise.
23844         (__FP_FRAC_SUB_4): Likewise.
23845         (__FP_FRAC_DEC_3): Likewise.
23846         (__FP_FRAC_DEC_4): Likewise.
23847         (__FP_FRAC_ADDI_4): Likewise.
23848         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
23849         (_FP_FRAC_SRL_8): Likewise.
23850         (_FP_FRAC_SRS_8): Likewise.
23852         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
23853         include macro name.
23854         (FP_UNPACK_RAW_EP): Likewise.
23855         (FP_PACK_RAW_E): Likewise.
23856         (FP_PACK_RAW_EP): Likewise.
23857         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
23858         (_FP_ISSIGNAN): Likewise.
23859         (_FP_ADD_INTERNAL): Likewise.
23860         (_FP_FMA): Likewise.
23861         (_FP_CMP): Likewise.
23862         (_FP_SQRT): Likewise.
23863         (_FP_TO_INT): Likewise.
23864         (_FP_FROM_INT): Likewise.
23865         (FP_EXTEND): Likewise.
23866         (_FP_DIV_MEAT_N_loop): Likewise.
23868 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
23870         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
23871         throughout.
23873 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
23875         [BZ #17097]
23876         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
23877         result with correct sign in case of exponents that produce
23878         overflow except for X very close to 1.
23880 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
23882         mktime: merge #if/#ifdef usage from glibc
23883         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
23884         as that works with both Glibc's and Gnulib's style.
23885         See thread starting at Siddhesh Poyarekar's bug report at:
23886         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
23888 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23890         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
23891         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
23892         * sysdeps/tile/tilegx/memmove.c: Remove file.
23894 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
23896         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
23897         abi-name definition.
23898         * scripts/soversions.awk: Do not handle or generate ABI lines.
23899         * shlib-versions: Remove ABI entries.
23900         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
23901         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
23903 2014-06-27  Roland McGrath  <roland@hack.frob.com>
23905         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
23906         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
23907         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
23908         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
23909         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
23910         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
23911         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
23912         Moved ...
23913         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
23914         ... here.
23915         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
23916         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
23917         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
23918         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
23919         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
23920         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
23921         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
23922         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
23923         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
23924         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
23925         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
23926         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
23927         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
23928         Moved ...
23929         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
23930         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
23931         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
23932         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
23933         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
23934         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
23935         Moved ...
23936         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
23937         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
23938         Moved ...
23939         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
23940         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
23941         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
23942         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
23943         Moved ...
23944         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
23945         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
23946         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
23947         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
23948         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
23949         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
23950         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
23951         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
23952         Moved ...
23953         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
23954         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
23955         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
23956         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
23957         Moved ...
23958         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
23959         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
23960         Moved ...
23961         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
23962         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
23963         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
23964         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
23965         Moved ...
23966         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
23967         ... here.
23968         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
23969         Identical file removed.
23970         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
23971         Moved ...
23972         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
23973         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
23974         Identical file removed.
23975         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
23976         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
23977         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
23978         Moved ...
23979         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
23980         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
23981         Identical file removed.
23982         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
23983         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
23984         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
23985         Identical file removed.
23986         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
23987         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
23988         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
23989         Identical file removed.
23990         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
23991         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
23992         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
23993         Identical file removed.
23994         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
23995         Moved ...
23996         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
23997         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
23998         Identical file removed.
23999         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
24000         Moved ...
24001         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
24002         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
24003         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
24004         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
24005         Identical file removed.
24006         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
24007         Moved ...
24008         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
24009         ... here.
24010         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
24011         Identical file removed.
24012         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
24013         Moved ...
24014         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
24015         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
24016         Identical file removed.
24017         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
24018         Moved ...
24019         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
24020         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
24021         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
24022         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
24023         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
24024         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
24025         Moved ...
24026         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
24027         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
24028         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
24030         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
24031         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
24032         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
24033         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
24034         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
24036 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
24038         [BZ #17092]
24039         * nscd/nscd.c (monitor_child): Return exit status of child
24040         instead of return value from wait syscall.
24042 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
24044         * configure.ac (libc_commonpagesize): Remove variable.
24045         (libc_relro_required): Likewise.
24046         (libc_cv_z_relro): Remove configure test.
24047         * configure: Regenerated.
24048         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
24049         variable.
24050         (libc_relro_required): Likewise.
24051         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
24052         (libc_relro_required): Likewise.
24053         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
24054         (libc_relro_required): Likewise.
24055         * sysdeps/arm/preconfigure: Regenerated.
24056         * sysdeps/ia64/preconfigure: Remove file.
24057         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
24058         variable.
24059         (libc_relro_required): Likewise.
24061         [BZ #16561]
24062         [BZ #16562]
24063         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
24064         (__ieee754_yn): Set FE_TONEAREST mode internally and then
24065         recompute overflowing results in original rounding mode.
24066         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
24067         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
24068         recompute overflowing results in original rounding mode.
24069         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
24070         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
24071         recompute overflowing results in original rounding mode.
24072         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
24073         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
24074         recompute overflowing results in original rounding mode.
24075         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
24076         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
24077         recompute overflowing results in original rounding mode.
24078         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
24079         (libc_feholdsetround_ctx): New macro.
24080         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
24081         * sysdeps/i386/fpu/libm-test-ulps: Update.
24082         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
24084 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
24086         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
24087         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
24088         corresponding .cpsetup call.
24090 2014-06-26  Roland McGrath  <roland@hack.frob.com>
24092         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
24093         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
24094         * sysdeps/arm/Makefile [$(subdir) = csu]
24095         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
24096         (static-only-routines): Add aeabi_read_tp here.
24097         (shared-only-routines): Add libc-aeabi_read_tp here.
24098         (CFLAGS-libc-start.c): Add -fexceptions here.
24099         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
24100         (sysdep_routines, static-only-routines, shared-only-routines):
24101         Don't add to these here.
24102         (CFLAGS-libc-start.c): Likewise.
24104         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
24105         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
24106         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
24107         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
24108         * sysdeps/arm/Makefile [$(subdir) = rt]
24109         (librt-sysdep_routines, librt-shared-only-routines):
24110         Append rt-aeabi_unwind_cpp_pr1 here.
24111         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
24112         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
24113         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
24114         (libpthread-sysdep_routines, libpthread-shared-only-routines):
24115         Append nptl-aeabi_unwind_cpp_pr1 here.
24116         (tests): Filter out tst-cleanupx4 here.
24117         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
24118         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
24119         Don't do those here.
24121 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
24123         * scripts/list-sources.sh: Do not handle ports specially.
24125 2014-06-26  Roland McGrath  <roland@hack.frob.com>
24127         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
24128         * sysdeps/arm/feupdateenv.c: Likewise.
24130         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
24132 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
24134         * manual/texinfo.tex: Update to version 2014-05-05.10 with
24135         trailing whitespace removed.
24136         * scripts/config.guess: Update to version 2014-03-23.
24137         * scripts/config.sub: Update to version 2014-05-01
24138         * scripts/install-sh: Update to version 2013-12-25.23.
24139         * scripts/move-if-change: Update from gnulib.
24141 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
24143         * debug/memmove_chk.c: Remove pagecopy.h include.
24145 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
24147         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
24148         identical to gnulib mktime.
24150 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
24152         * configure.ac: Do not test for machine being rs6000.  Do not test
24153         for powerpc*-*soft.
24154         * configure: Regenerated.
24156         [BZ #11505]
24157         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
24158         test.
24159         * configure: Regenerated.
24160         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
24161         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
24162         Remove configure test.
24163         * sysdeps/arm/configure: Regenerated.
24164         * sysdeps/nptl/configure.ac: Do not check
24165         libc_cv_asm_cfi_directives.
24166         * sysdeps/nptl/configure: Regenerated.
24167         * sysdeps/x86_64/nptl/configure.ac: Remove file.
24168         * sysdeps/x86_64/nptl/configure: Remove generated file.
24169         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
24170         unconditional.
24171         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
24173 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
24175         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
24176         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
24177         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
24178         it is defined.
24180         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
24181         instead of whether it is defined.
24182         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
24183         * sysdeps/hppa/dl-machine.h: Likewise.
24184         * sysdeps/ia64/dl-machine.h: Likewise.
24185         * sysdeps/m68k/dl-machine.h: Likewise.
24186         * sysdeps/microblaze/dl-machine.h: Likewise.
24187         * sysdeps/mips/dl-machine.: Likewise.
24188         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
24189         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
24190         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
24191         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
24192         * sysdeps/sh/dl-machine.h: Likewise.
24193         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
24194         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
24195         * sysdeps/tile/dl-machine.h: Likewise.
24196         * sysdeps/x86_64/dl-machine.h: Likewise.
24198         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
24199         code.
24200         (verify_persistent_db): Likewise.
24202 2014-06-26  Roland McGrath  <roland@hack.frob.com>
24204         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
24205         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
24206         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
24207         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
24208         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
24209         Moved ...
24210         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
24211         ... here.
24212         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
24213         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
24214         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
24215         Identical file removed.
24216         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
24217         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
24218         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
24219         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
24220         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
24221         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
24222         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
24223         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
24224         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
24225         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
24226         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
24227         Moved ...
24228         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
24229         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
24230         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
24231         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
24232         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
24233         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
24234         Moved ...
24235         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
24236         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
24237         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
24238         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
24239         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
24240         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
24241         Identical file removed.
24242         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
24243         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
24244         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
24245         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
24246         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
24247         Moved ...
24248         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
24249         ... here.
24250         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
24251         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
24252         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
24253         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
24254         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
24255         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
24256         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
24257         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
24258         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
24259         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
24260         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
24261         Moved ...
24262         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
24263         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
24264         Moved ...
24265         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
24266         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
24267         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
24268         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
24269         Moved ...
24270         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
24271         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
24272         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
24274         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
24275         folded into ...
24276         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
24277         * sysdeps/unix/sysv/linux/s390/Versions
24278         (libpthread: GLIBC_2.19): New version set.
24279         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
24280         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
24281         (librt: GLIBC_2.3.3): New version set.
24282         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
24283         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
24284         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
24285         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
24286         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
24287         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
24288         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
24289         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
24290         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
24291         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
24292         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
24293         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
24294         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
24295         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
24296         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
24297         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
24298         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
24299         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
24300         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
24301         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
24302         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
24303         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
24304         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
24305         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
24306         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
24307         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
24308         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
24309         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
24310         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
24311         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
24312         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
24313         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
24314         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
24315         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
24316         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
24317         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
24318         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
24319         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
24320         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
24321         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
24322         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
24323         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
24324         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
24325         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
24326         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
24328         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
24329         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
24330         (__libc_vfork): Define the function under this name.
24331         [!NOT_IN_libc] (__vfork): Make this an alias.
24332         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
24333         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
24334         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
24335         (__libc_vfork): Define the function under this name.
24336         [!NOT_IN_libc] (__vfork): Make this an alias.
24337         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
24338         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
24339         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
24340         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
24341         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
24342         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
24344         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
24345         code that was previously under [RESET_PID].
24346         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
24347         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
24348         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
24350         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
24351         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
24352         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
24353         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
24354         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
24355         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
24356         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
24357         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
24358         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
24359         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
24360         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
24361         Moved ...
24362         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
24363         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
24364         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
24365         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
24366         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
24367         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
24368         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
24369         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
24370         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
24371         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
24372         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
24373         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
24374         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
24375         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
24376         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
24377         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
24378         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
24379         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
24380         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
24381         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
24382         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
24383         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
24384         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
24385         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
24386         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
24387         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
24388         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
24389         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
24390         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
24392 2014-06-25  Roland McGrath  <roland@hack.frob.com>
24394         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
24395         that was previously under [RESET_PID].
24396         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
24398 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
24400         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
24401         not undefine and redefine.
24402         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
24403         [O_CLOEXEC]: Make code unconditional.
24404         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
24405         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
24406         <kernel-features.h>.
24407         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
24408         conditional variable definition.
24409         (shm_open) [O_CLOEXEC]: Make code unconditional.
24410         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
24411         code.
24413         * configure.ac (USE_REGPARMS): Don't define here.
24414         * configure: Regenerated.
24415         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
24416         * sysdeps/i386/configure: Regenerated.
24418         * nptl/createthread.c: Don't include kernel-features.h.
24419         * nptl/pthread_cancel.c: Likewise.
24420         * nptl/pthread_condattr_setclock.c: Likewise.
24421         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
24422         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
24423         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
24424         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
24425         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
24426         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
24427         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
24428         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
24429         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
24430         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
24431         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
24432         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
24433         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
24434         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
24435         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
24436         * nscd/gai.c: Likewise.
24437         * nss/nss_db/db-open.c: Likewise.
24438         * sysdeps/generic/ldsodefs.h: Likewise.
24439         * sysdeps/sh/nptl/tls.h: Likewise.
24440         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
24441         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
24442         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
24443         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
24444         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
24445         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
24446         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
24447         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
24448         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
24449         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
24450         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
24451         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
24452         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
24453         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
24454         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
24455         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
24456         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
24457         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
24458         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
24459         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
24460         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
24461         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
24462         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
24463         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
24464         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
24465         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
24466         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
24467         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
24468         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
24469         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
24470         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
24471         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
24472         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
24473         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
24474         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
24475         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
24476         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
24477         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
24478         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
24479         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
24480         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
24481         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
24482         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
24483         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
24484         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
24485         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
24486         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
24487         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
24488         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
24489         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
24490         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
24491         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
24492         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
24493         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
24494         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
24495         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
24496         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
24497         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
24498         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
24499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
24500         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
24501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
24502         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
24503         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
24504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
24505         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
24506         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
24507         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
24508         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
24509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
24510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
24511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
24512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
24513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
24514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
24515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
24516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
24517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
24518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
24519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
24520         * sysdeps/unix/sysv/linux/pread.c: Likewise.
24521         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
24522         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
24523         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
24524         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
24525         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
24526         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
24527         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
24528         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
24529         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
24530         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
24531         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
24532         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
24533         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
24534         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
24535         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
24536         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
24537         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
24538         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
24539         * sysdeps/unix/sysv/linux/system.c: Likewise.
24540         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
24541         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
24542         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
24543         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
24544         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
24545         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
24546         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
24548         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
24549         * configure: Regenerated.
24550         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
24552         * configure.ac (base_machine): Do not set specially for particular
24553         machines here.
24554         * configure: Regenerated.
24555         * sysdeps/powerpc/preconfigure: Move machine and base_machine
24556         settings from configure.ac.
24557         * sysdeps/i386/preconfigure: New file.
24558         * sysdeps/s390/preconfigure: Likewise.
24559         * sysdeps/sh/preconfigure: Likewise.
24560         * sysdeps/sparc/preconfigure: Likewise.
24562 2014-06-25  Roland McGrath  <roland@hack.frob.com>
24564         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
24565         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
24566         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
24567         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
24568         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
24569         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
24570         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
24571         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
24572         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
24573         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
24574         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
24575         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
24576         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
24577         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
24578         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
24579         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
24580         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
24581         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
24582         * sysdeps/sparc/sparc64/Makefile: ... appended here.
24584         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
24585         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
24586         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
24587         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
24588         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
24589         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
24590         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
24591         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
24592         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
24593         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
24594         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
24595         * sysdeps/sparc/sparc32/sem_post.c: ... here.
24596         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
24597         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
24598         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
24599         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
24600         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
24601         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
24602         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
24603         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
24604         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
24605         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
24606         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
24607         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
24608         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
24609         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
24610         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
24611         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
24612         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
24613         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
24614         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
24615         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
24616         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
24617         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
24618         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
24619         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
24620         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
24621         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
24623         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
24624         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
24625         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
24626         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
24627         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
24628         Moved ...
24629         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
24630         ... here.
24631         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
24632         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
24633         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
24634         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
24635         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
24636         Moved ...
24637         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
24638         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
24639         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
24640         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
24641         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
24642         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
24643         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
24644         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
24645         Moved ...
24646         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
24647         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
24648         Moved ...
24649         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
24650         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
24651         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
24652         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
24653         Moved ...
24654         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
24655         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
24656         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
24657         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
24658         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
24659         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
24660         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
24661         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
24662         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
24663         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
24664         Moved ...
24665         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
24666         ... here.
24667         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
24668         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
24669         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
24670         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
24671         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
24672         Moved ...
24673         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
24674         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
24675         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
24676         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
24677         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
24678         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
24679         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
24680         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
24681         Moved ...
24682         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
24683         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
24684         Moved ...
24685         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
24686         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
24687         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
24688         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
24689         Moved ...
24690         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
24691         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
24692         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
24693         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
24694         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
24696 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
24698         * timezone/checktab.awk: Update from tzcode 2014e.
24699         * timezone/private.h: Likewise.
24700         * timezone/tzfile.h: Likewise.
24701         * timezone/zdump.c: Likewise.
24702         * timezone/zic.c: Likewise.
24704         * sysdeps/unix/sysv/linux/kernel-features.h
24705         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
24706         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
24707         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
24708         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
24709         Remove conditional code.
24711 2014-06-25  Will Newton  <will.newton@linaro.org>
24713         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
24714         (_dl_arm_cap_flags): Add HWCAP2 values.
24715         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
24716         (_DL_HWCAP_COUNT): Increase to 37.
24717         (_DL_HWCAP_LAST): New define.
24718         (_DL_HWCAP2_LAST): New define.
24719         (_dl_procinfo): Add support for printing
24720         AT_HWCAP2 entries.
24721         (_dl_string_hwcap): Use _dl_hwcap_string.
24723 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24725         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24727 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
24729         * README: Do not mention ports directory.
24731         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
24732         Remove macro.
24733         * sysdeps/unix/sysv/linux/futimes.c: Do not include
24734         <kernel-features.h>.
24735         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
24736         conditional variable definition.
24737         (__futimes): Update comment.
24738         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
24739         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
24741         [BZ #16560]
24742         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
24743         arguments close to 0.
24744         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
24745         Likewise.
24746         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
24747         Likewise.
24748         * math/auto-libm-test-in: Add more tests of exp10.
24749         * math/auto-libm-test-out: Regenerated.
24750         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24752         * sysdeps/unix/sysv/linux/kernel-features.h
24753         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
24754         * sysdeps/unix/sysv/linux/readv.c: Do not include
24755         <kernel-features.h>.
24756         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
24757         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
24758         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
24759         unconditional.
24760         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
24761         conditional code.
24762         * sysdeps/unix/sysv/linux/writev.c: Do not include
24763         <kernel-features.h>.
24764         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
24765         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
24766         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
24767         unconditional.
24768         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
24769         conditional code.
24771 2014-06-25  Will Newton  <will.newton@linaro.org>
24773         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
24774         comment changes throughout the file.  Remove checks
24775         for HAVE_*_H definitions that are not required.
24776         (__gen_tempname): Call abort if an unknown kind value is
24777         passed.
24779 2014-06-25  Andreas Schwab  <schwab@suse.de>
24781         [BZ #17086]
24782         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
24783         scalbln, scalblnf, scalblnl in libc.
24785 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
24787         [BZ #17086]
24788         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
24789         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
24790         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
24792 2014-06-24  Roland McGrath  <roland@hack.frob.com>
24794         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
24795         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
24796         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
24797         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
24798         Update #include.
24799         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
24800         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
24801         Update #include.
24802         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
24803         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
24804         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
24805         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
24806         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
24807         * sysdeps/x86/bits/pthreadtypes.h: ... here.
24808         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
24809         * sysdeps/x86/bits/semaphore.h: ... here.
24810         * sysdeps/x86/nptl/elide.h: Moved ...
24811         * sysdeps/x86/elide.h: ... here.
24812         * sysdeps/x86_64/nptl/Implies: File removed.
24813         * sysdeps/i386/nptl/Implies: File removed.
24815 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
24817         [BZ #16539]
24818         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
24819         return the argument for normal arguments with exponent below -64.
24820         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
24821         Likewise.
24822         * math/auto-libm-test-in: Add another test of expm1.
24823         * math/auto-libm-test-out: Regenerated.
24825         [BZ #16287]
24826         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
24827         calling __erfcl for arguments at least 16.
24828         * math/auto-libm-test-in: Add more tests of erf.
24829         * math/auto-libm-test-out: Regenerated.
24831         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
24832         individual architectures.
24833         * sysdeps/unix/sysv/linux/configure: Regenerated.
24834         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
24835         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
24836         * sysdeps/unix/sysv/linux/powerpc/configure.ac
24837         (ldd_rewrite_script): Define variable.
24838         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
24839         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
24840         file.
24841         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
24842         generated file.
24843         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
24844         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
24845         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
24846         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
24847         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
24848         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
24849         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
24850         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
24852 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
24854         [BZ #17084]
24855         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
24856         Rename member __data.d to __data.__elision_data.
24858 2014-06-24  Wilco  <wdijkstr@arm.com>
24860         * NEWS: Add 16918 to fixed bug list.
24862 2014-06-24  Wilco  <wdijkstr@arm.com>
24864         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
24866 2014-06-24  Wilco  <wdijkstr@arm.com>
24868         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
24869         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
24870         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
24871         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
24872         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
24873         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
24874         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
24875         Use _FPU_MASK_RM.
24877 2014-06-24  Wilco  <wdijkstr@arm.com>
24879         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
24881 2014-06-24  Wilco  <wdijkstr@arm.com>
24883         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
24884         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
24885         * sysdeps/arm/fesetround.c (fesetround): Remove space.
24886         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
24888 2014-06-24  Wilco  <wdijkstr@arm.com>
24890         [BZ #16918]
24891         * sysdeps/arm/feupdateenv.c (feupdateenv):
24892         Rewrite to reduce FPSCR accesses and fix return value.
24894 2014-06-24  Wilco  <wdijkstr@arm.com>
24896         * sysdeps/arm/fclrexcpt.c (feclearexcept):
24897         Optimize to avoid unnecessary FPSCR writes.
24898         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
24899         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
24900         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
24901         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
24903 2014-06-24  Wilco  <wdijkstr@arm.com>
24905         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
24906         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
24907         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
24908         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
24909         Call libc_fetestexcept_vfp.
24910         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
24911         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
24912         __SOFTFP__ ifdef so that they can be built for softfp.
24914 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
24916         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
24917         argument type signed char.
24919         * Makerules (check-abi): Dump diff of symlist if the test
24920         fails.
24922 2014-06-23  Roland McGrath  <roland@hack.frob.com>
24924         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
24925         using abort.
24927         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
24928         Remove unused variable ST.
24930 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
24932         [BZ #16354]
24933         [BZ #17061]
24934         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
24935         small arguments before calling __expm1.
24936         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
24937         small arguments before calling __expm1f.
24938         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
24939         small arguments before calling __expm1l.
24940         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
24941         Likewise.
24942         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
24943         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
24944         spurious underflow for some cosh tests.
24945         * math/auto-libm-test-out: Regenerated.
24946         * sysdeps/i386/fpu/libm-test-ulps: Update.
24948         [BZ #17050]
24949         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
24950         (__ieee754_y1): Set errno if return value overflows.
24951         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
24952         (__ieee754_y1f): Set errno if return value overflows.
24953         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
24954         (__ieee754_y1l): Set errno if return value overflows.
24955         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
24956         (__ieee754_y1l): Set errno if return value overflows.
24957         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
24958         * math/auto-libm-test-out: Regenerated.
24960         * math/gen-auto-libm-tests.c: Document use of
24961         ignore-zero-inf-sign.
24962         (input_flag_type): Add value flag_ignore_zero_inf_sign.
24963         (input_flags): Add ignore-zero-inf-sign.
24964         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
24965         * math/gen-libm-test.pl (generate_testfile): Handle
24966         ignore-zero-inf-sign.
24967         * math/auto-libm-test-in: Mark some cpow tests with
24968         ignore-zero-inf-sign and some with xfail-rounding.
24969         * math/auto-libm-test-out: Regenerated.
24970         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
24971         * sysdeps/i386/fpu/libm-test-ulps: Update.
24972         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24974         [BZ #16315]
24975         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
24976         overflowing or underflowing operations take place with sign of
24977         result.
24978         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
24979         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
24980         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
24981         (__ieee754_pow): Recompute overflowing and underflowing results in
24982         original rounding mode.
24983         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
24984         (__powl_helper): Allow negative argument X and scale negated value
24985         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
24986         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
24987         overflowing or underflowing operations take place with sign of
24988         result.
24989         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
24990         Include <math.h>.
24991         * math/auto-libm-test-in: Add more tests of pow.
24992         * math/auto-libm-test-out: Regenerated.
24993         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
24994         (pow_tonearest_test_data): Remove.
24995         (pow_test_tonearest): Likewise.
24996         (pow_towardzero_test_data): Likewise.
24997         (pow_test_towardzero): Likewise.
24998         (pow_downward_test_data): Likewise.
24999         (pow_test_downward): Likewise.
25000         (pow_upward_test_data): Likewise.
25001         (pow_test_upward): Likewise.
25002         (main): Don't call removed functions.
25003         * sysdeps/i386/fpu/libm-test-ulps: Update.
25004         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25006 2014-06-23  Roland McGrath  <roland@hack.frob.com>
25008         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
25009         Moved ...
25010         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
25011         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25012         Moved ...
25013         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
25014         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
25015         Moved ...
25016         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
25017         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
25018         Moved ...
25019         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
25020         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
25021         File removed.
25022         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
25023         File removed.
25024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
25025         File removed.
25026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
25027         File removed.
25028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
25029         File removed.
25030         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
25031         File removed.
25032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
25033         File removed.
25034         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
25035         File removed.
25036         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
25037         File removed.
25038         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
25039         File removed.
25040         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
25041         File removed.
25042         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
25043         File removed.
25044         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
25045         Moved ...
25046         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
25047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
25048         Moved ...
25049         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
25050         ... here.
25051         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
25052         Moved ...
25053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
25054         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
25055         Moved ...
25056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
25057         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
25058         Moved ...
25059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
25060         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
25061         Moved ...
25062         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
25063         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
25064         Moved ...
25065         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
25066         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
25067         Moved ...
25068         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
25069         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
25070         Moved ...
25071         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
25072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
25073         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
25074         ... here.
25075         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
25076         Moved ...
25077         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
25078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
25079         Moved ...
25080         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
25081         ... here.
25082         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
25083         Moved ...
25084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
25085         ... here.
25086         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
25087         Moved ...
25088         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
25089         ... here.
25090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
25091         Moved ...
25092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
25093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
25094         Moved ...
25095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
25096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
25097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
25098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
25099         Moved ...
25100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
25101         ... here.
25102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
25103         Moved ...
25104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
25105         ... here.
25106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
25107         Moved ...
25108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
25109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
25110         Moved ...
25111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
25112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
25113         Moved ...
25114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
25115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25116         Moved ...
25117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
25118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
25119         Moved ...
25120         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
25121         ... here.
25122         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
25123         Moved ...
25124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
25125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
25126         Moved ...
25127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
25128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
25129         Moved ...
25130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
25131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
25132         Moved ...
25133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
25134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
25135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
25136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
25137         Moved ...
25138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
25139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
25140         Moved ...
25141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
25142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
25143         Moved ...
25144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
25145         ... here.
25146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25147         Moved ...
25148         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
25149         ... here.
25150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
25151         Moved ...
25152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
25153         ... here.
25154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
25155         Moved ...
25156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
25157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
25158         Moved ...
25159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
25160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
25161         Moved ...
25162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
25163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
25164         Moved ...
25165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
25166         ... here.
25167         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
25168         Moved ...
25169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
25170         ... here.
25171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
25172         Moved ...
25173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
25174         ... here.
25175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
25176         Moved ...
25177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
25178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
25179         Moved ...
25180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
25182 2014-06-23  Will Newton  <will.newton@linaro.org>
25183             Wilco  <wdijkstr@arm.com>
25185         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
25186         implementation.  Include get-rounding-mode.h.
25187         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
25188         [!libc_feholdsetround_noex_ctx]: Define
25189         libc_feholdsetround_noex_ctx.
25190         [!libc_feholdsetround_noexf_ctx]: Define
25191         libc_feholdsetround_noexf_ctx.
25192         [!libc_feholdsetround_noexl_ctx]: Define
25193         libc_feholdsetround_noexl_ctx.
25194         (libc_feholdsetround_ctx): New function.
25195         (libc_feresetround_ctx): New function.
25196         (libc_feholdsetround_noex_ctx): New function.
25197         (libc_feresetround_noex_ctx): New function.
25199 2014-06-23  Roland McGrath  <roland@hack.frob.com>
25201         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
25202         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
25203         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
25204         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
25205         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
25206         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
25208         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
25209         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
25210         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
25211         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
25212         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
25213         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
25214         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
25215         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
25216         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
25217         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
25218         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
25219         Moved ...
25220         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
25221         ... here.
25222         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
25223         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
25224         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
25225         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
25226         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
25227         Moved ...
25228         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
25229         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
25230         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
25231         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
25232         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
25233         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
25234         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
25235         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
25236         Moved ...
25237         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
25238         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
25239         Moved ...
25240         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
25241         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
25242         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
25243         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
25244         Moved ...
25245         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
25246         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
25247         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
25248         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
25249         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
25250         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
25251         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
25252         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
25253         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
25254         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
25255         Moved ...
25256         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
25257         ... here.
25258         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
25259         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
25260         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
25261         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
25262         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
25263         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
25264         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
25265         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
25266         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
25267         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
25268         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
25269         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
25270         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
25271         Moved ...
25272         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
25273         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
25274         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
25275         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
25276         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
25277         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
25278         Moved ...
25279         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
25280         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
25281         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
25282         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
25283         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
25285         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
25286         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
25287         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
25288         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
25289         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
25290         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
25291         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
25292         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
25293         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
25294         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
25295         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
25296         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
25297         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
25298         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
25299         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
25300         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
25301         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
25302         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
25303         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
25304         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
25305         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
25306         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
25307         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
25308         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
25309         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
25310         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
25311         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
25312         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
25314 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
25316         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
25317         (FALLOC_FL_COLLAPSE_RANGE): New macro.
25318         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
25319         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
25320         (IPV6_PMTUDISC_INTERFACE): Likewise.
25321         (IPV6_PMTUDISC_OMIT): Likewise.
25323 2014-06-23  Andreas Schwab  <schwab@suse.de>
25325         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
25326         Remove unused errout label.
25328 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25330         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
25331         macro: hardware supports Vector Crypto instructions.
25333 2014-06-23  Will Newton  <will.newton@linaro.org>
25335         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
25336         rather than __builtin_expect.
25338         * elf/dl-lookup.c (undefined_msg): Remove variable.
25339         (_dl_lookup_symbol_x): Replace undefined_msg with string
25340         literal.
25342         * elf/dl-lookup.c (do_lookup_unique): New function.
25343         (do_lookup_x): Move STB_GNU_UNIQUE handling code
25344         to a separate function.
25346 2014-06-23  Andreas Schwab  <schwab@suse.de>
25348         [BZ #17079]
25349         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
25350         before reading the next line.
25352 2014-06-23  Will Newton  <will.newton@linaro.org>
25354         * test-skeleton.c (signal_handler): Use printf and %m
25355         rather than perror.  Use printf rather than fprintf to
25356         stderr.  Use puts rather than fputs to stderr.
25357         (main): Likewise.
25359 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
25361         * nscd/nscd.c (thread_info_t): Remove typedef.
25362         (thread_info): Remove variable.
25364 2014-06-21  Allan McRae  <allan@archlinux.org>
25366         * NEWS: Mention CVE-2014-4043.
25368 2014-06-20  Roland McGrath  <roland@hack.frob.com>
25370         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
25371         * nptl/smp.h: ... here.
25373         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
25375         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
25376         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
25377         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
25378         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
25380         * nptl/allocatestack.c: Include <stack-aliasing.h>.
25381         * nptl/stack-aliasing.h: New file.
25382         * sysdeps/i386/i686/stack-aliasing.h: New file.
25383         * sysdeps/i386/i686/nptl/Makefile: File removed.
25384         * sysdeps/x86_64/stack-aliasing.h: New file.
25385         * sysdeps/x86_64/nptl/Makefile
25386         (CFLAGS-pthread_create.c): Variable removed.
25388         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
25389         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
25390         old file.
25391         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
25392         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
25393         old file.
25395 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
25397         * sysdeps/unix/sysv/linux/arm/kernel-features.h
25398         (__ASSUME_SIGFRAME_V2): Remove macro.
25399         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
25400         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
25401         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
25402         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
25403         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
25404         Declare as function.  Remove conditional macro definitions.
25405         (__default_rt_sa_restorer): Likewise.
25406         (__default_sa_restorer_v1): Remove declaration.
25407         (__default_sa_restorer_v2): Likewise.
25408         (__default_rt_sa_restorer_v1): Likewise.
25409         (__default_rt_sa_restorer_v2): Likewise.
25410         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
25411         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
25412         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
25414 2014-06-20  Roland McGrath  <roland@hack.frob.com>
25416         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
25417         (libpthread-routines): Add sysdep.
25418         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
25419         * sysdeps/unix/sysv/linux/sparc/Versions
25420         (libpthread: GLIBC_2.3.3): New version set.
25421         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
25422         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
25423         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
25424         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
25425         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
25426         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
25427         Moved ...
25428         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
25429         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
25430         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
25431         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
25432         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
25433         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
25434         * sysdeps/sparc/nptl/sem_init.c: ... here.
25435         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
25436         * sysdeps/sparc/nptl/sem_post.c: ... here.
25437         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
25438         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
25439         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
25440         * sysdeps/sparc/nptl/sem_wait.c: ... here.
25441         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
25442         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
25443         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
25444         (libpthread-routines): Add cpu_relax.
25445         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
25446         File removed.
25447         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
25448         (librt: GLIBC_2.3.3): New version set.
25449         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
25450         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
25451         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
25452         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
25453         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
25454         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
25455         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
25456         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
25457         Moved ...
25458         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
25459         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
25460         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
25461         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
25462         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
25463         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
25464         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
25465         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
25466         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
25467         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
25468         Moved ...
25469         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
25470         Update #include.
25471         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
25472         Moved ...
25473         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
25474         Update #include.
25475         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
25476         Moved ...
25477         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
25478         Update #include.
25479         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
25480         Moved ...
25481         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
25482         Update #include.
25483         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
25484         Moved ...
25485         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
25486         Update #include.
25487         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
25488         Moved ...
25489         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
25490         Update #include.
25491         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
25492         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
25493         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
25494         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
25495         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
25496         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
25497         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
25498         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
25499         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
25500         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
25501         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
25502         Moved ...
25503         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
25504         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
25505         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
25506         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
25507         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
25509 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
25511         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
25512         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
25513         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
25514         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
25515         * nscd/nscd.c: Likewise.
25516         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
25517         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
25518         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
25519         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
25521         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
25522         <kernel-features.h>.
25523         (init_mq_netlink): Remove conditional have_sock_cloexec
25524         definitions.  Remove code conditional on have_sock_cloexec < 0.
25525         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
25526         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
25527         * sysdeps/unix/sysv/linux/opensock.c: Do not include
25528         <kernel-features.h>.
25529         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
25530         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
25532 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
25534         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
25535         Add tests for memset_chk and memset.
25537         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
25538         with AVX2_Usable.
25540 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
25542         [BZ #16046]
25543         * elf/tst-dl-iter-static.c: New file.
25544         * elf/Makefile (tests-static): Add tst-dl-iter-static.
25546         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
25547         error.
25549 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
25551         * sysdeps/unix/sysv/linux/kernel-features.h
25552         (__ASSUME_F_GETOWN_EX): Remove macro.
25553         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
25554         <kernel-features.h>.
25555         (miss_F_GETOWN_EX): Remove variable or macro.
25556         (do_fcntl): Do not check miss_F_GETOWN_EX.
25557         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
25559         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
25560         Remove macro.
25561         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
25562         [!__ASSUME_AT_RANDOM]: Remove conditional code.
25563         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
25565         * sysdeps/unix/sysv/linux/kernel-features.h
25566         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
25567         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
25568         [ADJ_OFFSET_SS_READ]: Make code unconditional.
25569         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
25571 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
25573         [BZ #17075]
25574         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
25575         Fix calculation of the symbol's value.
25576         * sysdeps/arm/tst-armtlsdescloc.c: New file.
25577         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
25578         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
25579         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
25580         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
25581         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
25582         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
25583         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
25584         (modules-names): Add `tst-armtlsdescmod',
25585         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
25586         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
25587         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
25588         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
25589         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
25590         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
25591         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
25592         ($(objpfx)tst-armtlsdescloc): New dependency.
25593         ($(objpfx)tst-armtlsdescextnow): Likewise.
25594         ($(objpfx)tst-armtlsdescextlazy): Likewise.
25595         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
25596         TLS scheme support.
25597         * sysdeps/arm/configure: Regenerate.
25599 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
25601         * include/fcntl.h (__atfct_seterrno): Remove prototype.
25602         (__atfct_seterrno_2): Likewise.
25603         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
25604         <kernel-features.h>.
25605         (__ASSUME_ATFCTS): Do not undefine and redefine.
25606         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
25607         (__have_atfcts): Remove conditional definition.
25608         (__fxstatat([__NR_fstatat64]: Make code unconditional.
25609         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
25610         unreachable if [__ASSUME_ATFCTS].
25611         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
25612         not undefine and redefine.
25613         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
25614         <kernel-features.h>.
25615         (faccessat) [__NR_faccessat]: Make code unconditional.
25616         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
25617         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
25618         <kernel-features.h>.
25619         (fchmodat) [__NR_fchmodat]: Make code unconditional.
25620         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
25621         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
25622         <kernel-features.h>.
25623         (fchownat) [__NR_fchownat]: Make code unconditional.
25624         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
25625         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
25626         <kernel-features.h>.
25627         (futimesat) [__NR_futimesat]: Make code unconditional.
25628         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
25629         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
25630         <kernel-features.h>.
25631         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
25632         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
25633         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
25634         <kernel-features.h>.
25635         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
25636         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
25637         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
25638         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
25639         <kernel-features.h>.
25640         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
25641         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
25642         * sysdeps/unix/sysv/linux/linkat.c: Do not include
25643         <kernel-features.h>.
25644         (linkat) [__NR_linkat]: Make code unconditional.
25645         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
25646         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
25647         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
25648         <kernel-features.h>.
25649         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
25650         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
25651         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
25652         <kernel-features.h>.
25653         (mkdirat) [__NR_mkdirat]: Make code unconditional.
25654         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
25655         * sysdeps/unix/sysv/linux/openat.c: Do not include
25656         <kernel-features.h>.
25657         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
25658         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
25659         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
25660         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
25661         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
25662         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
25663         <kernel-features.h>.
25664         (readlinkat) [__NR_readlinkat]: Make code unconditional.
25665         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
25666         result of INLINE_SYSCALL directly, not via int variable.
25667         * sysdeps/unix/sysv/linux/renameat.c: Do not include
25668         <kernel-features.h>.
25669         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
25670         (renameat) [__NR_renameat]: Make code unconditional.
25671         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
25672         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
25673         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
25674         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
25675         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
25676         (__ASSUME_ATFCTS): Do not undefine and redefine.
25677         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
25678         <kernel-features.h>.
25679         (symlinkat) [__NR_symlinkat]: Make code unconditional.
25680         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
25681         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
25682         <kernel-features.h>.
25683         (unlinkat) [__NR_unlinkat]: Make code unconditional.
25684         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
25685         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
25686         (__ASSUME_ATFCTS): Do not undefine and redefine.
25687         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
25688         <kernel-features.h>.
25689         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
25690         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
25691         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
25692         <kernel-features.h>.
25693         (__xmknodat) [__NR_mknodat]: Make code unconditional.
25694         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
25696 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
25698         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
25700 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
25702         [BZ #17069]
25703         * posix/regcomp.c (parse_reg_exp): Deallocate partially
25704         constructed tree before returning error.
25705         * posix/bug-regexp36.c: Expand test case.
25707 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
25709         [BZ #6803]
25710         * math/libm-test.inc (scalbln_test_date):
25711         Add errno expectations.
25712         * math/w_scalblnf.c: New File.
25713         Add wrapper which checks for setting errno to ERANGE.
25714         Add weak_alias for corresponding scalbln function.
25715         * math/w_scalbln.c: Likewise.
25716         * math/w_scalblnl.c: Likewise.
25717         * math/Makefile (libm-calls): Add w_scalbln.
25718         * sysdeps/ieee754/flt-32/s_scalblnf.c:
25719         Remove weak_alias for corresponding scalbln function.
25720         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
25721         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
25722         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
25723         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25724         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
25725         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
25726         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
25727         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
25728         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
25729         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
25730         Remove long_double_symbol for scalblnl function in libm, libc.
25731         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
25732         Add wrapper which checks for setting errno to ERANGE.
25733         Add long_double_symbol for scalblnl function in libm, libc.
25734         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
25735         Remove long_double_symbol for scalblnl in libm.
25736         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
25737         Add wrapper which checks for setting errno to ERANGE.
25738         Add long_double_symbol for scalblnl function in libm.
25739         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
25740         Do not use wrapper because of own implementation.
25742 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
25744         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
25745         3 bytes for __pad1 for x32.
25746         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
25748 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
25749             H.J. Lu  <hongjiu.lu@intel.com>
25751         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
25752         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
25753         * sysdeps/x86_64/multiarch/memset.S: Likewise.
25754         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25755         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
25757 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
25759         [BZ #17069]
25760         * posix/regcomp.c (parse_expression): Deallocate partially
25761         constructed tree before returning error.
25762         * posix/Makefile.c (tests): Add bug-regex36.
25763         (generated): Add bug-regex36.mtrace.
25764         (tests-special): Add $(objpfx)bug-regex36-mem.out
25765         (bug-regex36-ENV): New variable.
25766         ($(objpfx)bug-regex36-mem.out): New rule.
25767         * posix/bug-regex36.c: New file.
25769 2014-06-19  Will Newton  <will.newton@linaro.org>
25771         * malloc/malloc.c (systrim): If extra is zero then return
25772         early.
25774 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
25776         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
25778 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
25780         * sysdeps/aarch64/strchr.S: New file.
25782 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
25784         [BZ #17022]
25785         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
25786         from arguments -2 or below.
25787         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
25788         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
25790 2014-06-18  Andreas Schwab  <schwab@suse.de>
25792         [BZ #17062]
25793         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
25794         of a bracket expr not to run off the end of the string.
25795         * posix/Makefile (tests): Add tst-fnmatch3.
25796         * posix/tst-fnmatch3.c: New file.
25798 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
25800         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
25801         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
25802         [$(cross-compiling) = no]: Likewise.
25803         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
25804         [$(cross-compiling) = no]: Likewise.
25806 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25808         [BZ #17031]
25809         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
25810         double, adjusted for any remainder from the high double.
25811         * math/libm-test.inc (nearbyint): Add tests.
25812         (rint): Likewise.
25814 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25816         * nptl/sysdeps/powerpc/Makefile: Moved ...
25817         * sysdeps/powerpc/nptl/Makefile: ... here.
25818         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
25819         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
25820         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
25821         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
25822         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
25823         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
25824         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
25825         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
25826         * nptl/sysdeps/powerpc/tls.h: Moved ...
25827         * sysdeps/powerpc/nptl/tls.h: ... here.
25829 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
25831         [BZ #16681]
25832         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
25833         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
25834         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
25835         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
25836         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
25837         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
25838         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
25839         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
25840         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
25842 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
25844         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
25846 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
25848         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
25849         defined operator.
25851         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
25852         $TIMEOUTFACTOR.
25854 2014-06-16  Florian Weimer  <fweimer@redhat.com>
25856         [BZ #17058]
25857         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
25858         non-executed part of the test.
25860 2014-06-16  Andreas Schwab  <schwab@suse.de>
25862         * string/bits/string2.h (strdup, strndup): Update feature guard.
25864 2014-06-14  David S. Miller  <davem@davemloft.net>
25866         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25868 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
25870         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
25871         that was previously under [RESET_PID].
25872         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
25874         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
25875         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
25876         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
25877         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
25878         (__libc_vfork): New strong alias.
25879         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
25881 2014-06-14 Andi Kleen  <ak@linux.intel.com>
25883         * sysdeps/generic/elide.h: New file.
25885 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
25887         * Makefile (installed-headers): Adjust path of pthread.h header.
25889 2014-06-13  Roland McGrath  <roland@hack.frob.com>
25891         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
25892         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
25893         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
25894         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
25896         * nptl/sysdeps/s390/Makefile: Moved ...
25897         * sysdeps/s390/nptl/Makefile: ... here.
25898         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
25899         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
25900         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
25901         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
25902         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
25903         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
25904         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
25905         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
25906         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
25907         * sysdeps/s390/nptl/pthreaddef.h: ... here.
25908         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
25909         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
25910         * nptl/sysdeps/s390/tls.h: Moved ...
25911         * sysdeps/s390/nptl/tls.h: ... here.
25913         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
25914         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
25916 2014-06-13  David S. Miller  <davem@davemloft.net>
25918         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
25919         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
25920         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
25921         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
25922         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
25923         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
25924         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
25925         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
25926         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
25927         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
25928         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
25929         Remove RESET_PID cpp guards.
25930         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
25931         Remove RESET_PID cpp guards.
25932         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
25934 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
25936         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
25937         __sp to uintptr_t.
25939 2014-06-13  Andi Kleen  <ak@linux.intel.com>
25941         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
25942         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
25943         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
25944         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
25945         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
25946         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
25947         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
25948         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
25949         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
25950         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
25951         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
25952         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
25953         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
25954         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
25955         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
25956         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
25957         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
25958         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
25959         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
25960         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
25962         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
25963         (pthread_rwlock_rdlock): Add elision.
25964         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
25965         (pthread_rwlock_wrlock): Add elision.
25966         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
25967         (pthread_rwlock_trywrlock): Add elision.
25968         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
25969         (pthread_rwlock_tryrdlock): Add elision.
25970         * nptl/pthread_rwlock_unlock.c: Include elide.h.
25971         (pthread_rwlock_tryrdlock): Add elision unlock.
25972         * nptl/sysdeps/pthread/pthread.h:
25973         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
25974         (PTHREAD_RWLOCK_INITIALIZER,
25975         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
25976         Handle new elision field.
25977         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
25978         * sysdeps/arm/nptl/bits/pthreadtypes.h
25979         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25980         * sysdeps/sh/nptl/bits/pthreadtypes.h
25981         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25982         * sysdeps/tile/nptl/bits/pthreadtypes.h
25983         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25984         * sysdeps/a/nptl/bits/pthreadtypes.h
25985         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25986         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
25987         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25988         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
25989         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25990         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
25991         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25992         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
25993         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25994         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
25995         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25996         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
25997         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25998         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
25999         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26000         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
26001         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26002         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
26003         (elision_init): Set try_xbegin to zero when no RTM.
26004         * sysdeps/x86/nptl/bits/pthreadtypes.h
26005         (pthread_rwlock_t): Change __pad1 to __rwelision.
26006         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26008 2014-06-13  Andi Kleen  <ak@linux.intel.com>
26010         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
26011         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
26012         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
26013         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
26015 2014-06-13  Meador Inge  <meadori@codesourcery.com>
26017         [BZ #16996]
26018         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
26019         that the cached result has been set before returning it.
26021 2014-06-12  Roland McGrath  <roland@hack.frob.com>
26023         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
26024         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
26025         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
26026         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
26027         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
26028         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
26030         * nptl/sysdeps/sparc/Makefile: Moved ...
26031         * sysdeps/sparc/nptl/Makefile: ... here.
26032         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
26033         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
26034         * nptl/sysdeps/sparc/tls.h: Moved ...
26035         * sysdeps/sparc/nptl/tls.h: ... here.
26036         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
26037         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
26038         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
26039         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
26040         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
26041         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
26042         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
26043         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
26044         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
26045         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
26046         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
26047         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
26048         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
26049         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
26050         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
26051         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
26052         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
26053         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
26054         Update #include.
26055         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
26056         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
26057         Update #include.
26058         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
26059         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
26060         Update #include.
26061         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
26062         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
26063         Update #include.
26065         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
26067         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
26068         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
26070         * sysdeps/pthread/posix-timer.h: Include <list.h>.
26071         (struct list_links): Type removed.
26072         (struct thread_node, struct timer_node): Replace struct list_links
26073         with struct list_head.
26074         (list_unlink_ip): Likewise.
26075         * sysdeps/pthread/timer_routines.c
26076         (timer_free_list, thread_free_list, thread_active_list): Likewise.
26077         (list_append, list_insbefore): Likewise.
26078         (list_init): Function removed.
26079         (thread_init, init_module): Use INIT_LIST_HEAD instead.
26080         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
26081         * sysdeps/pthread/Makefile: ... here, new file.
26083         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
26084         * sysdeps/nptl/Implies: ... here.
26085         * sysdeps/unix/sysv/linux/Implies: Add nptl.
26086         * nptl/sysdeps/pthread/list.h: Moved ...
26087         * include/list.h: ... here.
26088         * nptl/sysdeps/pthread/createthread.c: Moved ...
26089         * nptl/createthread.c: ... here.
26090         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
26091         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
26092         * nptl/pt-longjmp.c: ... here.
26093         * nptl/sysdeps/pthread/Makefile: Moved ...
26094         * sysdeps/nptl/Makefile: ... here.
26095         * nptl/sysdeps/pthread/Subdirs: Moved ...
26096         * sysdeps/nptl/Subdirs: ... here.
26097         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
26098         * sysdeps/nptl/aio_misc.h: ... here.
26099         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
26100         * sysdeps/nptl/bits/libc-lock.h: ... here.
26101         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
26102         * sysdeps/nptl/bits/libc-lockP.h: ... here.
26103         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
26104         * sysdeps/nptl/bits/stdio-lock.h: ... here.
26105         * nptl/sysdeps/pthread/configure: Moved ...
26106         * sysdeps/nptl/configure: ... here.
26107         * nptl/sysdeps/pthread/configure.ac: Moved ...
26108         * sysdeps/nptl/configure.ac: ... here.
26109         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
26110         * sysdeps/nptl/gai_misc.h: ... here.
26111         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
26112         * sysdeps/nptl/librt-cancellation.c: ... here.
26113         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
26114         * sysdeps/nptl/malloc-machine.h: ... here.
26115         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
26116         * sysdeps/nptl/pthread-functions.h: ... here.
26117         * nptl/sysdeps/pthread/pthread.h: Moved ...
26118         * sysdeps/nptl/pthread.h: ... here.
26119         * nptl/sysdeps/pthread/setxid.h: Moved ...
26120         * sysdeps/nptl/setxid.h: ... here.
26121         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
26122         * sysdeps/nptl/sigfillset.c: ... here.
26123         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
26124         * sysdeps/nptl/tcb-offsets.h: ... here.
26125         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
26126         * sysdeps/nptl/tst-mqueue8x.c: ... here.
26127         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
26128         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
26129         * nptl/sysdeps/pthread/allocalim.h: Moved ...
26130         * sysdeps/pthread/allocalim.h: ... here.
26131         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
26132         * sysdeps/pthread/bits/sigthread.h: ... here.
26133         * nptl/sysdeps/pthread/flockfile.c: Moved ...
26134         * sysdeps/pthread/flockfile.c: ... here.
26135         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
26136         * sysdeps/pthread/ftrylockfile.c: ... here.
26137         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
26138         * sysdeps/pthread/funlockfile.c: ... here.
26139         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
26140         * sysdeps/pthread/posix-timer.h: ... here.
26141         * nptl/sysdeps/pthread/timer_create.c: Moved ...
26142         * sysdeps/pthread/timer_create.c: ... here.
26143         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
26144         * sysdeps/pthread/timer_delete.c: ... here.
26145         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
26146         * sysdeps/pthread/timer_getoverr.c: ... here.
26147         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
26148         * sysdeps/pthread/timer_gettime.c: ... here.
26149         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
26150         * sysdeps/pthread/timer_routines.c: ... here.
26151         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
26152         * sysdeps/pthread/timer_settime.c: ... here.
26153         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
26154         * sysdeps/pthread/tst-timer.c: ... here.
26155         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
26156         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
26158         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
26159         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
26161         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
26162         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
26163         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
26164         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
26165         Update #include target.
26166         * nptl/sysdeps/i386/i686/Makefile: Moved ...
26167         * sysdeps/i386/i686/nptl/Makefile: ... here.
26168         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
26169         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
26170         Update #include target.
26171         * nptl/sysdeps/i386/i686/tls.h: Moved ...
26172         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
26173         * nptl/sysdeps/i386/Makefile: Moved ...
26174         * sysdeps/i386/nptl/Makefile: ... here.
26175         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
26176         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
26177         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
26178         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
26179         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
26180         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
26181         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
26182         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
26183         * sysdeps/i386/nptl/pthreaddef.h: ... here.
26184         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
26185         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
26186         * nptl/sysdeps/i386/tls.h: Moved ...
26187         * sysdeps/i386/nptl/tls.h: ... here.
26189         * sysdeps/sh/Makefile [$(subdir) = csu]
26190         (gen-as-const-headers): Add tcb-offsets.sym.
26191         * nptl/sysdeps/sh/Makefile: File removed.
26192         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
26193         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
26194         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
26195         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
26196         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
26197         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
26198         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
26199         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
26200         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
26201         * sysdeps/sh/nptl/pthreaddef.h: ... here.
26202         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
26203         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
26204         * nptl/sysdeps/sh/tls.h: Moved ...
26205         * sysdeps/sh/nptl/tls.h: ... here.
26206         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
26207         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
26208         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
26209         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
26210         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
26211         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
26212         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
26213         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
26214         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
26215         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
26216         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
26217         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
26218         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
26219         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
26220         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
26221         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
26222         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
26223         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
26224         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
26225         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
26226         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
26227         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
26228         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
26229         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
26230         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
26231         Moved ...
26232         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
26233         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
26234         Moved ...
26235         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
26236         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
26237         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
26238         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
26239         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
26240         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
26241         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
26242         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
26243         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
26244         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
26245         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
26246         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
26247         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
26248         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
26249         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
26250         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
26251         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
26252         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
26253         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
26255 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
26257         * posix/spawn_faction_addopen.c: Include string.h.
26259 2014-06-11  Roland McGrath  <roland@hack.frob.com>
26261         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
26262         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
26263         * nptl/sysdeps/x86_64/Makefile: Moved ...
26264         * sysdeps/x86_64/nptl/Makefile: ... here.
26265         * nptl/sysdeps/x86_64/configure: Moved ...
26266         * sysdeps/x86_64/nptl/configure: ... here.
26267         * nptl/sysdeps/x86_64/configure.ac: Moved ...
26268         * sysdeps/x86_64/nptl/configure.ac: ... here.
26269         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
26270         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
26271         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
26272         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
26273         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
26274         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
26275         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
26276         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
26277         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
26278         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
26279         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
26280         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
26281         * nptl/sysdeps/x86_64/tls.h: Moved ...
26282         * sysdeps/x86_64/nptl/tls.h: ... here.
26283         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
26284         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
26285         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
26286         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
26288         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
26290 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26292         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26294 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
26296         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
26297         type.
26298         [POSIX] (off_t): Likewise.
26299         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
26300         [POSIX] (S_ISBLK): Require macro.
26301         [POSIX] (S_ISCHR): Likewise.
26302         [POSIX] (S_ISDIR): Likewise.
26303         [POSIX] (S_ISFIFO): Likewise.
26304         [POSIX] (S_ISREG): Likewise.
26305         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
26306         optional-macro.
26307         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
26308         type.
26309         [POSIX] (time_t): Likewise.
26310         [POSIX] (timer_t): Likewise.
26312 2014-06-11  Florian Weimer  <fweimer@redhat.com>
26314         [BZ #17048]
26315         * posix/spawn_int.h (struct __spawn_action): Make the path string
26316         non-const to support deallocation.
26317         * posix/spawn_faction_addopen.c
26318         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
26319         * posix/spawn_faction_destroy.c
26320         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
26321         path in all spawn_do_open actions.
26322         * posix/tst-spawn.c (do_test): Exercise the copy operation in
26323         posix_spawn_file_actions_addopen.
26325 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
26327         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
26328         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
26329         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
26330         conditional code always true.
26331         (__libc_vfork): New alias.
26333 2014-06-11  Roland McGrath  <roland@hack.frob.com>
26335         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
26336         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
26338         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
26340         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
26341         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
26343         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
26344         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
26346         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
26347         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
26349 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
26351         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
26352         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
26353         multiarch strcmp for PPC64.
26354         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
26355         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
26356         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
26357         multiarch optimizations.
26358         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
26359         (__libc_ifunc_impl_list): Likewise.
26361 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
26363         * benchtests/scripts/validate_benchout.py: New script.
26364         * benchtests/Makefile (bench-func): Call it.
26365         * benchtests/scripts/benchout.schema.json: New file.
26367 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
26369         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
26370         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
26371         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
26372         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
26373         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
26374         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
26375         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
26376         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
26377         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
26378         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
26379         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
26380         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
26381         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
26382         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
26383         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
26384         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
26385         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
26386         Moved ...
26387         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
26388         ... here.
26389         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
26390         Moved ...
26391         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
26392         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
26393         Moved ...
26394         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
26395         ... here.
26396         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
26397         Moved ...
26398         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
26399         ... here.
26400         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
26401         Moved ...
26402         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
26403         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
26404         Moved ...
26405         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
26406         ... here.
26407         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
26408         Moved ...
26409         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
26410         ... here.
26411         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
26412         Moved ...
26413         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
26414         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
26415         Moved ...
26416         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
26417         ... here.
26418         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
26419         Moved ...
26420         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
26421         ... here.
26422         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
26423         Moved ...
26424         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
26425         ... here.
26426         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
26427         Moved ...
26428         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
26429         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
26430         Moved ...
26431         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
26432         ... here.
26433         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
26434         Moved ...
26435         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
26436         ... here.
26437         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
26438         Moved ...
26439         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
26440         ... here.
26441         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
26442         Moved ...
26443         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
26444         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
26445         Moved ...
26446         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
26447         ... here.
26448         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
26449         Moved ...
26450         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
26451         ... here.
26452         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
26453         Moved ...
26454         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
26455         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
26456         Moved ...
26457         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
26458         ... here.
26459         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
26460         Moved ...
26461         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
26462         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
26463         Moved ...
26464         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
26465         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
26466         Moved ...
26467         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
26468         ... here.
26469         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
26470         Moved ...
26471         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
26472         ... here.
26473         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
26474         Moved ...
26475         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
26476         ... here.
26477         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
26478         Moved ...
26479         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
26480         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
26481         Moved ...
26482         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
26483         ... here.
26484         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
26485         Moved ...
26486         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
26487         ... here.
26488         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
26489         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
26490         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
26491         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
26492         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
26493         Moved ...
26494         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
26495         ... here.
26496         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
26497         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
26498         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
26499         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
26500         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
26501         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
26502         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
26503         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
26504         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
26505         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
26506         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
26507         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
26508         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
26509         Moved ...
26510         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
26511         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
26512         Moved ...
26513         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
26514         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
26515         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
26516         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
26517         Moved ...
26518         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
26519         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
26520         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
26521         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
26522         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
26523         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
26524         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
26526 2014-06-10  Wilco  <wdijkstr@arm.com>
26528         * math/test-fenv-return.c: New file.
26529         * math/Makefile: Add new test test-fenv-return.
26531 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
26533         [BZ #17042]
26534         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
26535         when x - 1 is zero.
26536         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
26537         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
26538         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
26539         0.0L for an argument of 1.0L.
26540         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
26541         Likewise.
26542         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
26543         value when x - 1 is zero.
26544         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
26545         * sysdeps/i386/fpu/libm-test-ulps: Update.
26546         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26548 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
26550         [BZ #15119]
26551         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
26553 2014-06-09  Roland McGrath  <roland@hack.frob.com>
26555         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
26556         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
26558 2014-06-09  Roland McGrath  <roland@hack.frob.com>
26560         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
26561         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
26563         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
26564         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
26566         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
26567         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
26569         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
26570         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
26572         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
26573         if not already defined.
26574         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
26575         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
26576         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
26577         (TLS_INIT_TP): Use it.
26578         (TLS_DEFINE_INIT_TP): New macro.
26579         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
26581 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
26583         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
26584         constant.
26585         [POSIX] (IXANY): Likewise.
26586         [POSIX] (OLCUC): Likewise.
26587         [POSIX || POSIX2008] (CBAUD): Do not allow.
26588         [POSIX || POSIX2008] (DEFECHO): Likewise.
26589         [POSIX || POSIX2008] (ECHOCTL): Likewise.
26590         [POSIX || POSIX2008] (ECHOKE): Likewise.
26591         [POSIX || POSIX2008] (ECHOPRT): Likewise.
26592         [POSIX || POSIX2008] (EXTA): Likewise.
26593         [POSIX || POSIX2008] (EXTB): Likewise.
26594         [POSIX || POSIX2008] (FLUSHO): Likewise.
26595         [POSIX || POSIX2008] (LOBLK): Likewise.
26596         [POSIX || POSIX2008] (PENDIN): Likewise.
26597         [POSIX || POSIX2008] (SWTCH): Likewise.
26598         [POSIX || POSIX2008] (VDISCARD): Likewise.
26599         [POSIX || POSIX2008] (VDSUSP): Likewise.
26600         [POSIX || POSIX2008] (VLNEXT): Likewise.
26601         [POSIX || POSIX2008] (VREPRINT): Likewise.
26602         [POSIX || POSIX2008] (VSTATUS): Likewise.
26603         [POSIX || POSIX2008] (VWERASE): Likewise.
26604         (B*): Change to B[0123456789]*.
26605         * conform/data/time.h-data [POSIX || UNIX98]
26606         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
26607         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
26608         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
26609         [POSIX] (tm_*): Do not allow.
26611 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
26613         * Makefile (install): Don't set LANGUAGE.
26614         * Makefile.in (install): Likewise.
26615         * assert/Makefile (test-assert-ENV): Remove variable.
26616         (test-assert-perr-ENV): Likewise.
26617         * elf/Makefile (neededtest4-ENV): Likewise.
26618         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
26619         [$(cross-compiling) = no]: Don't set LANGUAGE.
26620         * io/ftwtest-sh (LANG): Remove variable.
26621         * libio/Makefile (tst-widetext-ENV): Likewise.
26622         * manual/install.texi (Running make install): Don't refer to
26623         environment settings for make install.
26624         * INSTALL: Regenerated.
26625         * nptl/tst-tls6.sh: Don't set LANG.
26626         * posix/globtest.sh (LANG): Remove variable.
26627         * string/Makefile (tester-ENV): Likewise.
26628         (inl-tester-ENV): Likewise.
26629         (noinl-tester-ENV): Likewise.
26630         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
26631         [$(cross-compiling) = no]: Don't set LANGUAGE.
26632         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
26633         without explicit environment settings.
26635 2014-06-06  Roland McGrath  <roland@hack.frob.com>
26637         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
26638         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
26639         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
26640         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
26642 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
26644         * crypt/crypt-private.h [DOS]: Add some includes taken from the
26645         other files in the crypt directory.
26646         * crypt/crypt.c: Remove duplicate includes.
26647         * crypt/crypt-entry.c: Likewise.
26648         * crypt/crypt_util.c: Likewise.
26650 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
26652         * Makeconfig (run-program-env): New variable.
26653         (run-program-prefix-before-env): Likewise.
26654         (run-program-prefix-after-env): Likewise.
26655         (run-program-prefix): Define in terms of new variables.
26656         (built-program-cmd-before-env): New variable.
26657         (built-program-cmd-after-env): Likewise.
26658         (built-program-cmd): Define in terms of new variables.
26659         (test-program-prefix-before-env): New variable.
26660         (test-program-prefix-after-env): Likewise.
26661         (test-program-prefix): Define in terms of new variables.
26662         (test-program-cmd-before-env): New variable.
26663         (test-program-cmd-after-env): Likewise.
26664         (test-program-cmd): Define in terms of new variables.
26665         * Rules (make-test-out): Use $(run-program-env).
26666         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
26667         (help): Do not mention environment variables.  Mention
26668         --timeoutfactor option.
26669         (timeoutfactor): New variable.
26670         (blacklist_exports): Remove function.
26671         (exports): Remove variable.
26672         (command): Do not include ${exports}.
26673         * manual/install.texi (Configuring and compiling): Do not mention
26674         test wrappers preserving environment variables.  Mention that last
26675         assignment to a variable must take precedence.
26676         * INSTALL: Regenerated.
26677         * benchtests/Makefile (run-bench): Use $(run-program-env).
26678         * catgets/Makefile ($(objpfx)test1.cat): Use
26679         $(built-program-cmd-before-env), $(run-program-env) and
26680         $(built-program-cmd-after-env).
26681         ($(objpfx)test2.cat): Do not specify environment variables
26682         explicitly.
26683         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
26684         $(run-program-env) and $(built-program-cmd-after-env).
26685         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
26686         $(run-program-env) and $(test-program-cmd-after-env).
26687         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
26688         explicitly.
26689         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
26690         run_program_env and test_program_cmd_after_env arguments.
26691         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
26692         * elf/tst-pathopt.sh: Use run_program_env argument.
26693         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
26694         $(test-wrapper-env) and $(run-program-env).
26695         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
26696         run_program_env arguments.
26697         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
26698         * intl/Makefile ($(objpfx)tst-gettext.out): Use
26699         $(test-program-prefix-before-env), $(run-program-env) and
26700         $(test-program-prefix-after-env).
26701         ($(objpfx)tst-gettext2.out): Likewise.
26702         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
26703         run_program_env and test_program_prefix_after_env arguments.
26704         * intl/tst-gettext2.sh: Likewise.
26705         * intl/tst-gettext4.sh: Do not set environment variables
26706         explicitly.
26707         * intl/tst-gettext6.sh: Likewise.
26708         * intl/tst-translit.sh: Likewise.
26709         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
26710         $(test-program-prefix-before-env), $(run-program-env) and
26711         $(test-program-prefix-after-env).
26712         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
26713         run_program_env and test_program_prefix_after_env arguments.
26714         * math/Makefile (run-regen-ulps): Use $(run-program-env).
26715         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
26716         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
26717         explicitly with each use of ${test_wrapper_env}.
26718         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
26719         $(test-program-prefix-before-env), $(run-program-env) and
26720         $(test-program-prefix-after-env).
26721         * posix/tst-getconf.sh: Do not set environment variables
26722         explicitly.
26723         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
26724         run_program_env and test_program_prefix_after_env arguments.
26725         * stdio-common/tst-printf.sh: Do not set environment variables
26726         explicitly.
26727         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
26728         $(test-program-prefix-before-env), $(run-program-env) and
26729         $(test-program-prefix-after-env).
26730         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
26731         run_program_env and test_program_prefix_after_env arguments.
26732         Split $test calls into $test_pre and $test.
26733         * timezone/Makefile (build-testdata): Use
26734         $(built-program-cmd-before-env), $(run-program-env) and
26735         $(built-program-cmd-after-env).
26737 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26739         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
26740         strlen for non SHARED builds.
26742 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
26744         * nptl/allocatestack.c (check_list): Inlined function...
26745         (__reclaim_stacks): ... here.
26747 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
26749         [BZ #15698]
26750         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
26751         memory overrun.
26753 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
26755         * Rules (make-test-out): Include
26756         LOCPATH=$(common-objpfx)localedata in default environment.
26757         * debug/Makefile (tst-chk1-ENV): Remove variable.
26758         (tst-chk2-ENV): Likewise.
26759         (tst-chk3-ENV): Likewise.
26760         (tst-chk4-ENV): Likewise.
26761         (tst-chk5-ENV): Likewise.
26762         (tst-chk6-ENV): Likewise.
26763         (tst-lfschk1-ENV): Likewise.
26764         (tst-lfschk2-ENV): Likewise.
26765         (tst-lfschk3-ENV): Likewise.
26766         (tst-lfschk4-ENV): Likewise.
26767         (tst-lfschk5-ENV): Likewise.
26768         (tst-lfschk6-ENV): Likewise.
26769         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
26770         (tst-iconv7-ENV): Likewise.
26771         * intl/Makefile (LOCPATH-ENV): Likewise.
26772         (tst-codeset-ENV): Likewise.
26773         (tst-gettext3-ENV): Likewise.
26774         (tst-gettext5-ENV): Likewise.
26775         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
26776         (tst-fopenloc-ENV): Likewise.
26777         (tst-fgetws-ENV): Remove variable.
26778         (tst-ungetwc1-ENV): Likewise.
26779         (tst-ungetwc2-ENV): Likewise.
26780         (bug-ungetwc2-ENV): Likewise.
26781         (tst-swscanf-ENV): Likewise.
26782         (bug-ftell-ENV): Likewise.
26783         (tst-fgetwc-ENV): Likewise.
26784         (tst-fseek-ENV): Likewise.
26785         (tst-ftell-partial-wide-ENV): Likewise.
26786         (tst-ftell-active-handler-ENV): Likewise.
26787         (tst-ftell-append-ENV): Likewise.
26788         * posix/Makefile (tst-fnmatch-ENV): Likewise.
26789         (tst-regexloc-ENV): Likewise.
26790         (bug-regex1-ENV): Likewise.
26791         (tst-regex-ENV): Likewise.
26792         (tst-regex2-ENV): Likewise.
26793         (bug-regex5-ENV): Likewise.
26794         (bug-regex6-ENV): Likewise.
26795         (bug-regex17-ENV): Likewise.
26796         (bug-regex18-ENV): Likewise.
26797         (bug-regex19-ENV): Likewise.
26798         (bug-regex20-ENV): Likewise.
26799         (bug-regex22-ENV): Likewise.
26800         (bug-regex23-ENV): Likewise.
26801         (bug-regex25-ENV): Likewise.
26802         (bug-regex26-ENV): Likewise.
26803         (bug-regex30-ENV): Likewise.
26804         (bug-regex32-ENV): Likewise.
26805         (bug-regex33-ENV): Likewise.
26806         (bug-regex34-ENV): Likewise.
26807         (bug-regex35-ENV): Likewise.
26808         (tst-rxspencer-ENV): Likewise.
26809         (tst-rxspencer-no-utf8-ENV): Likewise.
26810         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
26811         (tst-sscanf-ENV): Likewise.
26812         (tst-swprintf-ENV): Likewise.
26813         (tst-swscanf-ENV): Likewise.
26814         (test-vfprintf-ENV): Likewise.
26815         (scanf13-ENV): Likewise.
26816         (bug14-ENV): Likewise.
26817         (tst-grouping-ENV): Likewise.
26818         * stdlib/Makefile (tst-strtod-ENV): Likewise.
26819         (tst-strtod3-ENV): Likewise.
26820         (tst-strtod4-ENV): Likewise.
26821         (tst-strtod5-ENV): Likewise.
26822         (testmb2-ENV): Likewise./
26823         * string/Makefile (tst-strxfrm-ENV): Likewise.
26824         (tst-strxfrm2-ENV): Likewise.
26825         (bug-strcoll1-ENV): Likewise.
26826         (test-strcasecmp-ENV): Likewise.
26827         (test-strncasecmp-ENV): Likewise.
26828         * time/Makefile (tst-strptime-ENV): Likewise.
26829         (tst-ftime_l-ENV): Likewise.
26830         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
26831         (tst-mbrtowc-ENV): Likewise.
26832         (tst-wcrtomb-ENV): Likewise.
26833         (tst-mbrtowc2-ENV): Likewise.
26834         (tst-c16c32-1-ENV): Likewise.
26835         (tst-mbsnrtowcs-ENV): Likewise.
26837 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
26839         * manual/resource.texi (How to get information about the memory
26840         subsystem?): Fix typo.
26841         Reported by Peon de la Parra Ivan <peon@keba.com>
26843 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
26845         [BZ #16882]
26846         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
26847         (pthread_spin_lock): Branch out of spin loop to proper location.
26848         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
26849         (pthread_spin_lock): Likewise.
26851         * nptl/tst-spin4.c: New test.
26852         * nptl/Makefile (tests): Add tst-spin4.
26854 2014-06-03  Andreas Schwab  <schwab@suse.de>
26856         [BZ #15946]
26857         * resolv/res_send.c (send_dg): Reload file descriptor after
26858         calling reopen.
26860 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
26862         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
26864 2014-06-03  Richard Henderson  <rth@redhat.com>
26866         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
26867         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
26868         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
26869         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
26870         in the SAVE_PID block.
26871         (__libc_vfork): New alias.
26872         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
26874         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
26875         child in registers, not on the stack.  Remove RESET_PID conditionals.
26876         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
26878 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
26880         * sysdeps/aarch64/libm-test-ulps: Regenerate.
26882 2014-06-03  Wilco  <wdijkstr@arm.com>
26884         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
26885         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
26886         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
26887         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
26888         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
26889         Likewise.
26891 2014-06-03  Wilco  <wdijkstr@arm.com>
26893         * sysdeps/aarch64/fpu/math_private.h
26894         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
26895         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
26896         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
26897         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
26898         Fix declarations.
26900 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
26902         * crypt/crypt-private.h: Include ufc-crypt.h.
26903         (__b64_from_24bit): Declare extern.
26904         * crypt/crypt_util.c(__b64_from_24bit): New function.
26905         (b64t): New static const variable.
26906         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
26907         (b64t): Remove variable.
26908         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
26909         * crypt/sha256-crypt.c: Include crypt-private.h.
26910         (b64t): Remove variable.
26911         (__sha256_crypt_r): Remove b64_from_24bit and replace
26912         with __b64_from_24bit.
26913         * crypt/sha512-crypt.c: Likewise.
26915 2014-06-02  Roland McGrath  <roland@hack.frob.com>
26917         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
26918         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
26919         Label the code __libc_vfork rather than __vfork.
26920         [!NOT_IN_libc] (vfork): Define as weak alias.
26921         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
26922         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
26923         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
26925 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
26927         * malloc/malloc.c (malloc_info): Fix format specifier for
26928         n_mmaps.
26930 2014-06-02  Wilco  <wdijkstr@arm.com>
26932         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
26933         FPCR write.
26935 2014-06-02  Wilco  <wdijkstr@arm.com>
26937         [BZ #17009]
26938         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
26939         Rewrite to reduce FPCR/FPSR accesses.
26941 2014-06-01  David S. Miller  <davem@davemloft.net>
26943         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26945 2014-05-31  David S. Miller  <davem@davemloft.net>
26947         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
26948         to occur in round to nearest mode when |x| >= 2.0
26950 2014-05-30  Richard Henderson  <rth@twiddle.net>
26952         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
26953         (PSEUDO_RET_NOERRNO): Remove.
26954         (ret): Don't redefine.
26955         (ret_NOERRNO): Define in terms of ret.
26956         (ret_ERRVAL): Likewise.
26958         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
26959         use of PSEUDO_RET; perform the error check directly.
26961 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
26963         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
26964         with __int128_t.
26966 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
26968         * malloc/malloc (malloc_info): Fix formatting.
26970 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
26971             Roland McGrath  <roland@hack.frob.com>
26973         * malloc/malloc (malloc_info): Also print mmapped statistics.
26975 2014-05-30  Roland McGrath  <roland@hack.frob.com>
26977         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
26978         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
26980 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
26982         * malloc/malloc.c (malloc_info): Inline mi_arena.
26984 2014-05-29  Richard Henderson  <rth@twiddle.net>
26986         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
26987         Remove comma before expanding ASM_ARGS_##nr.
26988         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
26989         Make _x0 a strict output; make _x8 a strict input; adjust expansion
26990         of ASM_ARGS_##nr.
26991         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
26992         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
26993         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
26994         (ASM_ARGS_1): Add leading comma.
26996         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
26997         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
26998         to __errno_location.
26999         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
27000         Remove the expected plt for __errno_location.
27002         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
27003         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
27004         call to __read_tp.
27006         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
27007         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
27008         it and break it down.
27009         (DOCARGS_0, DOCARGS_1): Do nothing.
27010         (DOCARGS_2): Update to store into the new stack frame.
27011         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
27012         (UNDOCARGS_1): Update to restore from the new stack frame.
27013         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
27014         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
27016         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
27017         (SINGLE_THREAD_P): New parameter for result regno.
27018         (PSEUDO): Update to match; use cbz instead of beq.
27020         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
27021         Use ENTRY to define the _nocancel entry point.  Share the syscall
27022         and syscall error check paths with the cancel path.
27023         (PSEUDO_END): New.
27025         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
27026         whitespace; tabs before and after asm mnemonics.
27028 2014-05-29  Eric Wong  <normalperson@yhbt.net>
27030         [BZ #15132]
27031         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27032         Call fstat64 or stat64 internally, depending on arguments passed.
27033         Replace stat buffer argument with file descriptor argument.
27034         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
27035         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
27036         Pass fd to __internal_statvfs instead of calling fstat64.
27037         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
27038         Pass fd to __internal_statvfs64 instead of calling fstat64.
27039         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
27040         Pass -1 to __internal_statvfs instead of calling stat64.
27041         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
27042         Pass -1 to __internal_statvfs64 instead of calling stat64.
27044 2014-05-28  Roland McGrath  <roland@hack.frob.com>
27046         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
27047         that was previously under [RESET_PID].
27048         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
27050         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
27051         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
27053 2014-05-27  Roland McGrath  <roland@hack.frob.com>
27055         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
27057         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
27058         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
27060 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
27062         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
27064 2014-05-27  Andreas Schwab  <schwab@suse.de>
27066         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
27067         TLS_INIT_TP macro.
27068         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
27069         * elf/rtld.c (init_tls, dl_main): Likewise.
27070         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
27071         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
27072         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
27073         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
27074         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
27075         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
27076         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
27077         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
27078         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
27079         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
27080         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
27081         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
27082         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
27083         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
27084         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
27085         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
27086         * sysdeps/generic/tls.h: Update description.
27088 2014-05-27  Will Newton  <will.newton@linaro.org>
27090         [BZ #16990]
27091         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
27092         and restore r2 rather than just restoring.
27094 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
27096         [BZ #16724]
27097         * libio/tst-ftell-append.c: New test case.
27098         * libio/Makefile (tests): Add test case.
27099         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
27100         append mode.
27101         * libio/wfileops.c (do_ftell_wide): Likewise.
27103 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27105         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27107         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
27108         ...
27109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
27110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
27111         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
27112         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
27113         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
27114         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
27115         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
27116         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
27117         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
27118         Moved ...
27119         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
27120         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
27121         Moved ...
27122         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
27123         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
27124         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
27125         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
27126         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
27127         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
27128         ...
27129         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
27130         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
27131         Moved ...
27132         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
27133         here.
27134         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
27135         ...
27136         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
27137         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
27138         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
27140         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
27141         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
27142         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
27143         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
27145         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
27146         merge into ...
27147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
27148         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
27149         ...
27150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
27151         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
27152         ...
27153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
27154         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
27155         Moved ...
27156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
27157         here.
27158         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
27159         Moved ...
27160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
27161         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
27162         Moved ...
27163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
27165         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
27166         conditional [RESET_PID].
27167         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
27168         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
27169         removed.
27170         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
27171         removed.
27173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
27174         <tcb-offsets.h>.
27175         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
27176         (__libc_vfork): New strong alias.
27177         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
27178         removed.
27179         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
27180         Removed.
27182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
27183         <tcb-offsets.h>.
27184         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
27185         (__libc_vfork): New strong alias.
27186         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
27187         removed.
27188         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
27189         removed.
27191 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
27193         * malloc/malloc.c (mi_arena): New function.
27194         (malloc_info): Remove nested function mi_arena. Call non-nosted
27195         function mi_arena.
27197 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27199         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
27200         by insrwi.
27201         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
27202         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
27203         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
27204         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
27205         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
27206         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
27207         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
27209 2014-05-26  Andreas Schwab  <schwab@suse.de>
27211         [BZ #16984]
27212         * locale/programs/repertoire.c (repertoire_read): Add slash
27213         between I18NPATH element and file name.
27214         * locale/programs/locfile.c (locfile_read): Likewise.
27216 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
27218         * nptl/pthread_mutexattr_settype.c
27219         (__pthread_mutexattr_settype):
27220         Disable lock elision for PTHREAD_MUTEX_NORMAL.
27222 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
27224         * nptl/tst-mutex5 (do_test):
27225         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
27227 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
27229         * benchtests/README: Document 'init' directive.
27230         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
27231         BENCH_INIT.
27232         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
27233         (parse_file): Recognize 'init' directive.
27235 2014-05-26  Kyle McMartin  <kyle@redhat.com>
27237         [BZ #16796]
27238         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
27239         alignment of struct pthread.
27241 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
27243         [BZ #16878]
27244         * nscd/netgroupcache.c (addgetnetgrentX): Look for
27245         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
27246         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
27247         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
27249 2014-05-25  Richard Henderson  <rth@twiddle.net>
27251         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
27252         (SINGLE_THREAD_P_PIC): Remove.
27253         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
27254         (SINGLE_THREAD_P_PIC): Remove.
27256         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
27257         branch to syscall error ...
27258         (PSEUDO): ... here.
27259         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
27260         from __local_syscall_error to .Lsyscall_error.
27261         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
27262         (SYSCALL_ERROR): Update label name.
27264         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
27265         Do not use DOARGS/UNDOARGS.
27266         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
27267         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
27268         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
27269         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
27270         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
27272         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
27273         block comment.
27275         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
27276         define if !NOT_IN_libc.
27277         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
27278         define with non-default symbol versions.
27280 2014-05-23  Richard Henderson  <rth@twiddle.net>
27282         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
27283         (vfork, __vfork): Define via compat_symbol.
27285         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
27286         [!HAVE_IFUNC] (vfork_compat): Remove.
27287         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
27289 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
27291         [BZ #16978]
27292         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
27293         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
27294         variable.
27296 2014-05-23  Richard Henderson  <rth@twiddle.net>
27298         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
27299         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
27300         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
27301         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
27303         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
27304         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
27305         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
27306         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
27307         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
27308         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
27309         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
27310         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
27311         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
27312         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
27313         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
27314         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
27315         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
27316         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
27317         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
27318         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
27319         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
27320         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
27321         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
27322         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
27323         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
27324         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
27325         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
27326         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
27327         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
27328         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
27329         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
27330         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
27331         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
27332         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
27333         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
27334         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
27335         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
27336         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
27337         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
27338         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
27339         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
27340         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
27341         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
27342         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
27343         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
27344         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
27345         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
27346         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
27347         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
27348         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
27349         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
27350         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
27351         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
27352         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
27353         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
27354         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
27355         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
27356         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
27357         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
27358         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
27360         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
27361         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
27362         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
27363         before exiting on error.
27364         (__libc_vfork): New strong alias.
27365         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
27366         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
27368         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
27369         that was previously under [RESET_PID].
27370         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
27372         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
27374 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
27376         [BZ #16977]
27377         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
27378         value when x - 1 is zero.
27379         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
27380         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
27381         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
27382         0.0L for an argument of 1.0L.
27383         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
27384         Likewise.
27385         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
27386         value when x - 1 is zero.
27387         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
27388         * sysdeps/i386/fpu/libm-test-ulps: Update.
27389         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27391 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
27393         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
27394         alphasort and versionsort.
27396 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27398         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
27399         macro.
27400         [copysignf]: Likewise.
27402 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
27404         * crypt/md5-crypt.c: Fix formatting.
27406 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
27408         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
27409         (b64_from_24bit): New function.
27411 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27413         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
27414         libc_hidden_builtin_def to ifunc.
27415         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
27416         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
27418 2014-05-21  Roland McGrath  <roland@hack.frob.com>
27420         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
27421         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
27423 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
27425         * nscd/Depend (linuxthreads): Remove.
27426         (nptl): Add.
27427         * resolv/Depend (linuxthreads): Remove.
27428         * rt/Depend (linuxthreads): Remove.
27430         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
27431         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
27432         $(common-objpfx)elf/.
27433         (link-libc-before-gnulib): Likewise.
27434         (elfobjdir): Remove variable.
27435         * Makefile (install): Use $(elf-objpfx) instead of
27436         $(common-objpfx)elf/.
27437         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
27438         $(elfobjdir)/.
27439         (link-libc-deps): Likewise.
27440         ($(common-objpfx)libc.so): Likewise.
27441         ($(common-objpfx)linkobj/libc.so): Likewise.
27442         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
27443         instead of $(common-objpfx)elf/.
27444         (symbolic-link-list): Likewise.
27445         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
27446         [$(cross-compiling) = no]: Likewise.
27447         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
27448         $(elfobjdir)/.
27449         (static-gnulib-arch): Likewise.
27450         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
27451         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
27452         $(common-objpfx)elf/.
27454 2014-05-21  Richard Henderson  <rth@redhat.com>
27456         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
27457         (SINGLE_THREAD_P): Use the correct width load.  Fold
27458         into the ldr offset.
27460         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
27461         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
27463 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
27465         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
27466         (libgcc_s_resume): Use __attribute_used__.
27467         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
27468         Likewise.
27470 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27472         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
27473         optimization when used with float constants.
27475         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27477 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
27479         [BZ #16915]
27480         * locale/nl_langinfo_l.c: Make direct reference to every
27481         _nl_current_CATEGORY symbol.
27482         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
27483         (tests-static): Add tst-langinfo-static.
27484         (tests-special): Add tst-langinfo-static.out.
27485         ($(objpfx)tst-langinfo.out): Redirect output.
27486         ($(objpfx)tst-langinfo-static.out): New.
27487         * localedata/tst-langinfo.sh: Send output to stdout.
27488         * localedata/tst-langinfo-static.c: New file.
27490         [BZ #16965]
27491         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
27492         when the shift amount is modulo the limb size.
27494 2014-05-20  Richard Henderson  <rth@redhat.com>
27496         [BZ #16967]
27497         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
27498         Change type of sa_flags from unsigned int to int.
27500         [BZ #16966]
27501         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
27503         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
27505 2014-05-20  Will Newton  <will.newton@linaro.org>
27507         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
27508         Test the return value of the system call in the nocancel case.
27510 2014-05-20  Will Newton  <will.newton@linaro.org>
27511             Yvan Roux  <yvan.roux@linaro.org>
27513         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
27514         #include of asm/ptrace.h.
27515         (PTRACE_GET_THREAD_AREA): Remove #undef.
27516         (PTRACE_GETHBPREGS): Likewise.
27517         (PTRACE_SETHBPREGS): Likewise.
27518         (struct user_regs_struct): New structure.
27519         (struct user_fpsimd_struct): New structure.
27520         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
27521         #include of asm/ptrace.h and second #include of sys/user.h.
27522         (PTRACE_GET_THREAD_AREA): Remove #undef.
27523         (PTRACE_GETHBPREGS): Likewise.
27524         (PTRACE_SETHBPREGS): Likewise.
27525         (ELF_NGREG): Use new struct user_regs_struct.
27526         (elf_fpregset_t): Use new struct user_fpsimd_struct.
27528 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27530         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
27531         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
27533 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
27535         [BZ #16958]
27536         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
27537         membar to avoid block loads/stores to overlap previous stores.
27539 2014-05-17  Richard Henderson  <rth@redhat.com>
27541         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
27542         Create the __##syscall_name##_nocancel entry point.
27543         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
27544         Remove; let the sysdep-cancel.h code create it.
27546 2014-05-17  David S. Miller  <davem@davemloft.net>
27548         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
27549         Protect with __USE_GNU.
27550         (TIOCSET_TEMPT): Likewise.
27551         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
27552         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
27553         these are already provided in bits/ioctl-types.h
27555 2014-05-16  Roland McGrath  <roland@hack.frob.com>
27557         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
27558         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
27560         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
27561         Use wait4 regardless of [__NR_waitpid].
27563 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
27565         PR libgcc/60166
27566         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
27567         (_FP_NANSIGN_Q): Set the quiet bit.
27569 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
27571         * benchtests/Makefile
27572         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
27573         not $(common-objpfx)math/libm.so.
27574         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
27575         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
27576         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
27577         $(common-objpfx)dlfcn/libdl.so.
27578         ($(objpfx)tst-audit8): Depend on $(libm), not
27579         $(common-objpfx)math/libm.so.
27580         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
27581         not $(common-objpfx)dlfcn/libdl.so.
27582         * math/Makefile
27583         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
27584         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
27585         [$(build-shared) = yes].
27586         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
27587         $(common-objpfx)nptl/libpthread.so.
27588         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
27589         $(common-objpfx)math/libm.so$(libm.so-version) or
27590         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
27591         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
27592         $(common-objpfx)dlfcn/libdl.so.
27593         * setjmp/Makefile (link-libm): Remove variable.
27594         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
27595         * stdio-common/Makefile (link-libm): Remove variable.
27596         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
27597         * stdlib/Makefile (link-libm): Remove variable.
27598         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
27599         ($(objpfx)tst-strtod-round): Likewise.
27600         ($(objpfx)tst-tininess): Likewise.
27601         ($(objpfx)tst-strtod-underflow): Likewise.
27602         ($(objpfx)tst-strtod6): Likewise.
27603         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
27604         $(libdl), not $(common-objpfx)nptl/libpthread.so and
27605         $(common-objpfx)dlfcn/libdl.so.
27607 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27609         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
27610         BSD terminal modes definitions.
27612 2014-05-16  Roland McGrath  <roland@hack.frob.com>
27614         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
27615         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
27617         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
27618         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
27619         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
27620         Don't do #include_next.
27621         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
27622         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
27623         Don't do #include_next.
27624         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
27625         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
27626         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
27627         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
27629 2014-05-16  Allan McRae  <allan@archlinux.org>
27631         * po/sv.po: Update Swedish translation from translation project.
27633         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
27634         in sed expression.
27636 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
27638         [BZ #16917]
27639         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
27640         errno if the TIOCGPTN ioctl fails with an error different than
27641         EINVAL.
27642         * login/tst-ptsname.c: New file.
27643         * login/Makefile (tests): Add tst-ptsname.
27645         [BZ #16943]
27646         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
27647         and prlimit64.
27649 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
27651         [BZ #16849]
27652         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
27653         herrno to return EAI_AGAIN.
27655 2014-05-14  Roland McGrath  <roland@hack.frob.com>
27657         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
27658         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
27659         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
27660         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
27661         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
27662         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
27663         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
27664         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
27665         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
27666         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
27667         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
27668         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
27669         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
27670         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
27671         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
27672         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
27673         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
27674         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
27675         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
27676         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
27677         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
27678         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
27679         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
27680         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
27681         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
27682         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
27683         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
27684         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
27685         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
27686         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
27687         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
27688         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
27689         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
27690         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
27691         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
27692         Moved ...
27693         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
27694         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
27695         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
27696         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
27697         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
27698         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
27699         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
27700         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
27701         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
27702         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
27703         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
27704         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
27705         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
27706         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
27707         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
27708         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
27709         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
27710         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
27711         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
27712         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
27713         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
27714         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
27715         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
27716         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
27717         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
27718         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
27719         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
27720         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
27721         Moved ...
27722         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
27723         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
27724         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
27725         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
27726         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
27727         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
27728         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
27729         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
27730         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
27731         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
27732         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
27733         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
27734         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
27735         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
27736         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
27737         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
27738         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
27739         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
27740         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
27741         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
27742         Moved ...
27743         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
27744         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
27745         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
27747         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
27748         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
27749         (libpthread-sysdep_routines): Add elision-related stuff here instead.
27750         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
27751         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
27752         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
27753         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
27754         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
27755         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
27756         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
27757         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
27758         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
27759         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
27760         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
27761         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
27762         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
27763         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
27764         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
27765         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
27766         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
27767         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
27768         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
27769         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
27770         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
27771         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
27772         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
27773         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
27774         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
27775         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
27776         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
27777         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
27779         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
27780         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
27782         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
27783         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
27784         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
27785         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
27786         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
27787         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
27788         Moved ...
27789         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
27790         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
27791         Moved ...
27792         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
27793         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
27794         Moved ...
27795         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
27796         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
27797         Moved ...
27798         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
27799         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
27800         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
27801         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
27802         Moved ...
27803         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
27804         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
27805         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
27806         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
27807         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
27808         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
27809         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
27810         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
27811         Moved ...
27812         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
27813         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
27814         Moved ...
27815         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
27816         ... here.
27817         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
27818         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
27819         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
27820         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
27821         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
27822         Moved ...
27823         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
27824         ... here.
27825         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
27826         Moved ...
27827         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
27828         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
27829         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
27830         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
27831         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
27832         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
27833         Moved ...
27834         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
27835         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
27836         Moved ...
27837         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
27838         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
27839         Moved ...
27840         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
27841         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
27842         Moved ...
27843         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
27844         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
27845         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
27846         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
27847         Moved ...
27848         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
27849         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
27850         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
27851         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
27852         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
27853         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
27854         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
27855         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
27856         Moved ...
27857         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
27858         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
27859         Moved ...
27860         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
27861         ... here.
27862         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
27863         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
27864         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
27865         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
27866         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
27867         Moved ...
27868         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
27869         ... here.
27870         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
27871         Moved ...
27872         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
27873         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
27874         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
27875         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
27876         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
27877         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
27878         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
27879         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
27880         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
27881         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
27882         Moved ...
27883         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
27884         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
27885         Moved ...
27886         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
27887         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
27888         Moved ...
27889         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
27890         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
27891         Moved ...
27892         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
27893         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
27894         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
27895         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
27896         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
27897         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
27898         Moved ...
27899         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
27900         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
27901         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
27902         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
27903         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
27904         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
27905         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
27906         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
27907         Moved ...
27908         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
27909         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
27910         Moved ...
27911         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
27912         ... here.
27913         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
27914         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
27915         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
27916         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
27917         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
27918         Moved ...
27919         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
27920         ... here.
27921         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
27922         Moved ...
27923         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
27924         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
27925         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
27926         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
27927         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
27928         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
27929         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
27930         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
27931         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
27932         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
27933         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
27935         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
27936         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
27938         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
27939         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
27941         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
27942         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
27943         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
27944         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
27945         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
27946         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
27947         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
27948         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
27949         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
27950         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
27951         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
27952         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
27953         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
27954         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
27955         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
27956         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
27957         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
27958         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
27959         Moved ...
27960         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
27961         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
27962         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
27963         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
27964         Moved ...
27965         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
27966         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
27967         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
27968         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
27969         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
27970         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
27971         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
27972         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
27973         Moved ...
27974         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
27975         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
27976         Moved ...
27977         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
27978         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
27979         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
27980         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
27981         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
27982         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
27983         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
27984         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
27985         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
27986         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
27987         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
27988         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
27989         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
27990         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
27991         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
27992         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
27993         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
27995         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
27996         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
27997         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
27998         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
27999         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
28001         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
28002         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
28003         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
28004         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
28005         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
28006         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
28007         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
28008         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
28009         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
28010         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
28012         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
28013         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
28015         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
28016         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
28017         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
28018         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
28019         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
28020         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
28021         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
28022         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
28023         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
28024         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
28025         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
28026         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
28027         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
28028         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
28029         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
28030         Update #include.
28031         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
28032         Likewise.
28033         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
28034         Likewise.
28035         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
28036         Likewise.
28037         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
28038         Likewise.
28039         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
28040         Likewise.
28041         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
28042         Likewise.
28043         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
28044         Likewise.
28045         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
28046         Likewise.
28047         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
28048         Likewise.
28049         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
28050         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
28051         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
28052         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
28053         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
28054         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
28055         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
28056         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
28057         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
28058         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
28059         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
28060         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
28061         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
28062         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
28063         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
28065         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
28066         that was previously under [RESET_PID].
28067         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
28068         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
28069         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
28071         * sysdeps/i386/nptl/Implies: New file.
28072         * sysdeps/x86_64/nptl/Implies: New file.
28073         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
28074         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
28075         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
28076         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
28078         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
28079         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
28080         (__libc_vfork): New strong alias.
28081         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
28082         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
28084         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
28085         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
28086         (__libc_vfork): New strong alias.
28087         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
28088         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
28090         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
28091         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
28092         (__libc_vfork): New strong alias.
28093         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
28094         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
28095         * nptl/pt-vfork.c: New file.
28096         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
28097         (libpthread: GLIBC_2.20): New version set (empty).
28099 2014-05-14  Will Newton  <will.newton@linaro.org>
28101         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
28102         rather than #if.
28104 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
28106         [BZ #16564]
28107         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
28108         arguments with exponent 65 or above.
28109         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
28110         arguments 0x1p113L or above.
28111         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
28112         to arguments 0x1p107L or above.
28113         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
28114         positive arguments with exponent 65 or above.
28115         * math/auto-libm-test-in: Add more tests of log1p.
28116         * math/auto-libm-test-out: Regenerated.
28118         [BZ #16928]
28119         * math/s_cacos.c (__cacos): Ensure zero real part of result from
28120         non-finite arguments is +0.
28121         * math/s_cacosf.c (__cacosf): Likewise.
28122         * math/s_cacosl.c (__cacosl): Likewise.
28123         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
28124         * sysdeps/i386/fpu/libm-test-ulps: Update.
28125         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28127         [BZ #16927]
28128         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
28129         value.
28130         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
28131         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
28132         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
28133         for explicit high bit of mantissa when testing for argument equal
28134         to 1.
28135         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
28136         * sysdeps/i386/fpu/libm-test-ulps: Update.
28137         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28139         [BZ #16516]
28140         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
28141         (__erf): Scale by 16 instead of 8 in potentially underflowing
28142         case.  Ensure exception if result actually underflows.
28143         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
28144         (__erff): Scale by 16 instead of 8 in potentially underflowing
28145         case.  Ensure exception if result actually underflows.
28146         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
28147         (efx8): Remove variable.
28148         (__erfl): Scale by 16 instead of 8 in potentially underflowing
28149         case.  Ensure exception if result actually underflows.
28150         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
28151         (efx8): Remove variable.
28152         (__erfl): Scale by 16 instead of 8 in potentially underflowing
28153         case.  Ensure exception if result actually underflows.
28154         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
28155         (efx8): Remove variable.
28156         (__erfl): Scale by 16 instead of 8 in potentially underflowing
28157         case.  Ensure exception if result actually underflows.
28158         * math/auto-libm-test-in: Add more tests of erf.
28159         * math/auto-libm-test-out: Regenerated.
28161 2014-05-14  Andreas Schwab  <schwab@suse.de>
28163         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
28164         Remove code conditionalized on USE___THREAD.
28166         * config.h.in (HAVE_PT_CHOWN): Define as 0.
28167         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
28168         not definedness.
28170 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
28172         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
28173         Define unconditionally.
28174         (__ASSUME_O_CLOEXEC): Likewise.
28175         (__ASSUME_SOCK_CLOEXEC): Likewise.
28176         (__ASSUME_IN_NONBLOCK): Likewise.
28177         (__ASSUME_PIPE2): Likewise.
28178         (__ASSUME_EVENTFD2): Likewise.
28179         (__ASSUME_SIGNALFD4): Likewise.
28180         (__ASSUME_DUP3): Likewise.
28181         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
28182         (__ASSUME_DUP3): Do not define.
28183         (__ASSUME_EVENTFD2): Likewise.
28184         (__ASSUME_IN_NONBLOCK): Likewise.
28185         (__ASSUME_O_CLOEXEC): Likewise.
28186         (__ASSUME_PIPE2): Likewise.
28187         (__ASSUME_SIGNALFD4): Likewise.
28188         (__ASSUME_SOCK_CLOEXEC): Likewise.
28189         (__ASSUME_UTIMES): Undefine.
28190         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
28191         (__ASSUME_UTIMES): Do not define.
28192         (__ASSUME_O_CLOEXEC): Likewise.
28193         (__ASSUME_SOCK_CLOEXEC): Likewise.
28194         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
28195         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
28196         0x020621].
28197         (__ASSUME_PIPE2): Likewise.
28198         (__ASSUME_EVENTFD2): Likewise.
28199         (__ASSUME_SIGNALFD4): Likewise.
28200         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
28201         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
28202         Do not define.
28203         (__ASSUME_EVENTFD2): Likewise.
28204         (__ASSUME_SIGNALFD4): Likewise.
28205         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
28206         (__ASSUME_32BITUIDS): Likewise.
28207         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
28208         (__ASSUME_IPC64): Likewise.
28209         (__ASSUME_ST_INO_64_BIT): Likewise.
28210         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
28211         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
28212         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
28213         (__ASSUME_UTIMES): Do not define.
28214         (__ASSUME_PSELECT): Likewise.
28215         (__ASSUME_PPOLL): Likewise.
28216         (__ASSUME_O_CLOEXEC): Likewise.
28217         (__ASSUME_SOCK_CLOEXEC): Likewise.
28218         (__ASSUME_IN_NONBLOCK): Likewise.
28219         (__ASSUME_PIPE2): Likewise.
28220         (__ASSUME_EVENTFD2): Likewise.
28221         (__ASSUME_SIGNALFD4): Likewise.
28222         (__ASSUME_DUP3): Likewise.
28223         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
28224         (__ASSUME_UTIMES): Likewise.
28225         (__ASSUME_O_CLOEXEC): Likewise.
28226         (__ASSUME_SOCK_CLOEXEC): Likewise.
28227         (__ASSUME_IN_NONBLOCK): Likewise.
28228         (__ASSUME_PIPE2): Likewise.
28229         (__ASSUME_EVENTFD2): Likewise.
28230         (__ASSUME_SIGNALFD4): Likewise.
28231         (__ASSUME_DUP3): Likewise.
28232         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
28233         (__ASSUME_UTIMES): Likewise.
28234         (__ASSUME_O_CLOEXEC): Likewise.
28235         (__ASSUME_SOCK_CLOEXEC): Likewise.
28236         (__ASSUME_IN_NONBLOCK): Likewise.
28237         (__ASSUME_PIPE2): Likewise.
28238         (__ASSUME_EVENTFD2): Likewise.
28239         (__ASSUME_SIGNALFD4): Likewise.
28240         (__ASSUME_DUP3): Likewise.
28241         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
28242         Likewise.
28243         (__ASSUME_UTIMES): Likewise.
28244         (__ASSUME_EVENTFD2): Likewise.
28245         (__ASSUME_SIGNALFD4): Likewise.
28246         * sysdeps/unix/sysv/linux/tile/kernel-features.h
28247         (__ASSUME_O_CLOEXEC): Likewise.
28248         (__ASSUME_SOCK_CLOEXEC): Likewise.
28249         (__ASSUME_IN_NONBLOCK): Likewise.
28250         (__ASSUME_PIPE2): Likewise.
28251         (__ASSUME_EVENTFD2): Likewise.
28252         (__ASSUME_SIGNALFD4): Likewise.
28253         (__ASSUME_DUP3): Likewise.
28254         (__ASSUME_UTIMES): Undefine.
28256         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
28257         feclearexcept.  Remove symbol versioning code.
28258         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
28259         symbol versioning code.
28260         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
28261         symbol versioning code.
28262         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
28263         feupdateenv.  Remove symbol versioning code.
28264         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
28265         fegetexceptflag.  Remove symbol versioning code.
28266         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
28267         fesetexceptflag.  Remove symbol versioning code.
28268         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
28269         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
28270         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
28271         (__posix_fadvise64_l32): Remove prototype.
28272         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
28273         code.
28275 2014-05-13  Roland McGrath  <roland@hack.frob.com>
28277         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
28278         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
28279         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
28280         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
28282 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
28284         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
28285         current working directory
28287 2014-05-13  Roland McGrath  <roland@hack.frob.com>
28289         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
28290         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
28291         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
28292         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
28293         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
28294         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
28295         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
28296         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
28297         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
28298         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
28299         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
28300         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
28301         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
28302         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
28303         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
28304         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
28305         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
28306         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
28307         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
28308         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
28309         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
28310         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
28311         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
28312         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
28313         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
28314         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
28315         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
28316         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
28317         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
28318         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
28319         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
28320         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
28321         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
28322         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
28323         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
28324         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
28325         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
28326         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
28327         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
28328         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
28329         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
28330         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
28332         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
28333         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
28335         * sysdeps/unix/sysv/linux/arm/Makefile
28336         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
28337         Add rt-aeabi_unwind_cpp_pr1.
28338         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
28339         Add nptl-aeabi_unwind_cpp_pr1.
28340         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
28341         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
28342         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
28343         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
28344         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
28345         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
28347         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
28348         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
28349         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
28350         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
28352         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
28353         Deconditionalize the code that was previously under [RESET_PID].
28354         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
28356         * sysdeps/generic/exit-thread.h: New file.
28357         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
28358         * include/unistd.h (__exit_thread): Remove declaration.
28359         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
28360         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
28361         * csu/libc-start.c: Include <exit-thread.h>.
28362         (LIBC_START_MAIN): Pass no argument to __exit_thread.
28363         * nptl/pthread_create.c: Include <exit-thread.h>.
28364         (start_thread): Call __exit_thread in place of __exit_thread_inline.
28365         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
28366         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
28367         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
28368         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
28369         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
28370         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
28371         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
28372         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
28373         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
28374         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
28375         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
28376         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
28377         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
28378         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
28379         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
28380         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
28382 2014-05-13  Andreas Schwab  <schwab@suse.de>
28384         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
28386 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
28388         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
28389         (__ASSUME_UTIMES): Do not condition on kernel version.
28390         (__ASSUME_PSELECT): Define unconditionally.
28391         (__ASSUME_PPOLL): Likewise.
28392         (__ASSUME_ATFCTS): Likewise.
28393         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
28394         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
28395         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
28396         (__ASSUME_UTIMENSAT): Define unconditionally.
28397         (__ASSUME_PRIVATE_FUTEX): Likewise.
28398         (__ASSUME_FALLOCATE): Likewise.
28399         (__ASSUME_O_CLOEXEC): Likewise.
28400         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
28401         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
28402         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
28403         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
28404         (__ASSUME_IN_NONBLOCK): Likewise.
28405         (__ASSUME_PIPE2): Likewise.
28406         (__ASSUME_EVENTFD2): Likewise.
28407         (__ASSUME_SIGNALFD4): Likewise.
28408         (__ASSUME_DUP3): Likewise.
28409         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
28410         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
28411         (__ASSUME_AT_RANDOM): Likewise.
28412         (__ASSUME_PREADV): Likewise.
28413         (__ASSUME_PWRITEV): Likewise.
28414         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
28415         (__ASSUME_F_GETOWN_EX): Define unconditionally.
28416         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
28417         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
28418         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
28419         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
28420         (__ASSUME_O_CLOEXEC): Define unconditionally.
28421         (__ASSUME_PSELECT): Do not undefine conditionally.
28422         (__ASSUME_PPOLL): Likewise.
28423         (__ASSUME_ATFCTS): Likewise.
28424         (__ASSUME_SET_ROBUST_LIST): Likewise.
28425         (__ASSUME_UTIMENSAT): Likewise.
28426         (__ASSUME_FDATASYNC): Define unconditionally.
28427         * sysdeps/unix/sysv/linux/arm/kernel-features.h
28428         (__ASSUME_SIGFRAME_V2): Likewise.
28429         )__ASSUME_EVENTFD2): Likewise.
28430         (__ASSUME_SIGNALFD4): Likewise.
28431         (__ASSUME_PSELECT): Do not undefine conditionally.
28432         (__ASSUME_PPOLL): Likewise.
28433         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
28434         (__ASSUME_PSELECT): Define unconditionally.
28435         (__ASSUME_PPOLL): Likewise.
28436         (__ASSUME_O_CLOEXEC): Likewise.
28437         (__ASSUME_SOCK_CLOEXEC): Likewise.
28438         (__ASSUME_IN_NONBLOCK): Likewise.
28439         (__ASSUME_PIPE2): Likewise.
28440         (__ASSUME_EVENTFD2): Likewise.
28441         (__ASSUME_SIGNALFD4): Likewise.
28442         (__ASSUME_DUP3): Likewise.
28443         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
28444         (__ASSUME_O_CLOEXEC): Likewise.
28445         (__ASSUME_SOCK_CLOEXEC): Likewise.
28446         (__ASSUME_IN_NONBLOCK): Likewise.
28447         (__ASSUME_PIPE2): Likewise.
28448         (__ASSUME_EVENTFD2): Likewise.
28449         (__ASSUME_SIGNALFD4): Likewise.
28450         (__ASSUME_DUP3): Likewise.
28451         * sysdeps/unix/sysv/linux/mips/kernel-features.h
28452         (__ASSUME_EVENTFD2): Likewise.
28453         (__ASSUME_SIGNALFD4): Likewise.
28454         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
28456 2014-05-12  Andreas Schwab  <schwab@suse.de>
28458         [BZ #16932]
28459         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
28460         (_nss_nis_gethostbyname4_r): Return error if item length is larger
28461         than maximum RPC packet size.
28462         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
28463         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
28464         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
28465         (_nss_nis_getservbyport_r): Likewise.
28467 2014-05-12  Will Newton  <will.newton@linaro.org>
28469         * malloc/Makefile (tests): Add tst-mallopt.
28470         * malloc/tst-mallopt.c: New file.
28472 2014-05-09  Roland McGrath  <roland@hack.frob.com>
28474         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
28475         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
28477 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28479         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
28480         (tst-tlsmod6.so): Likewise.
28482 2014-05-09  Roland McGrath  <roland@hack.frob.com>
28484         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
28486 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
28488         [BZ #16064]
28489         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
28490         and <dl-procinfo.h>.
28491         (__fegetenv): Save SSE state in envp->__eip if supported.
28492         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
28493         envp->__eip if supported.
28494         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
28495         and <dl-procinfo.h>.
28496         (__fesetenv): Always set __eip, __cs_selector, __opcode,
28497         __data_offset and __data_selector in environment to 0.  Set SSE
28498         state if supported.
28499         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
28500         test-fenv-sse.
28501         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
28502         -mfpmath=sse.
28503         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
28505 2014-05-09  Will Newton  <will.newton@linaro.org>
28507         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
28508         and libc_relro_required for ARM.
28509         * sysdeps/arm/preconfigure: Regenerate.
28511 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
28512             Stefan Liebler  <stli@linux.vnet.ibm.com>
28514         * config.make.in (enable-lock-elision): New Makefile variable.
28515         * configure.ac: Likewise.
28516         * configure: Regenerate.
28517         * sysdeps/s390/configure.ac:
28518         Add check for gcc transactions support.
28519         * sysdeps/s390/configure: Regenerate.
28520         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
28521         Build elision files if enabled.
28522         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
28523         Add lock elision support for s390.
28524         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
28525         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
28526         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
28527         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
28528         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
28529         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
28530         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
28531         Likewise.
28532         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
28533         Likewise.
28534         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
28535         Likewise.
28536         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
28537         Likewise.
28538         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
28539         (__lll_timedlock_elision, __lll_lock_elision)
28540         (__lll_unlock_elision, __lll_trylock_elision)
28541         (lll_timedlock_elision, lll_lock_elision)
28542         (lll_unlock_elision, lll_trylock_elision): Add.
28543         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
28544         (pthread_mutex_t): Add lock elision support for s390.
28546 2014-05-14  Wilco  <wdijkstr@arm.com>
28548         * sysdeps/arm/fclrexcpt.c: Cleanup.
28549         * sysdeps/arm/fedisblxcpt.c: Cleanup.
28550         * sysdeps/arm/feenablxcpt.c: Cleanup.
28551         * sysdeps/arm/fegetenv.c: Cleanup.
28552         * sysdeps/arm/fegetexcept.c: Cleanup.
28553         * sysdeps/arm/fegetround.c: Cleanup.
28554         * sysdeps/arm/feholdexcpt.c: Cleanup.
28555         * sysdeps/arm/fesetenv.c: Cleanup.
28556         * sysdeps/arm/fesetround.c: Cleanup.
28557         * sysdeps/arm/feupdateenv.c: Cleanup.
28558         * sysdeps/arm/fgetexcptflg.c: Cleanup.
28559         * sysdeps/arm/fraiseexcpt.c: Cleanup.
28560         * sysdeps/arm/fsetexcptflg.c: Cleanup.
28561         * sysdeps/arm/ftestexcept.c: Cleanup.
28562         * sysdeps/arm/get-rounding-mode.h: Cleanup.
28563         * sysdeps/arm/setfpucw.c: Cleanup.
28565 2014-05-09  Will Newton  <will.newton@linaro.org>
28567         * sysdeps/arm/armv7/strcmp.S: New file.
28568         * NEWS: Mention addition of ARMv7 optimized strcmp.
28570 2014-05-08  Roland McGrath  <roland@hack.frob.com>
28572         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
28573         look for %.ac rather than %.in.
28575         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
28576         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
28577         * sysdeps/mach/hurd/configure: Regenerated.
28578         * sysdeps/unix/sysv/linux/configure: Regenerated.
28580         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
28582 2014-05-07  Steve Ellcey  <sellcey@mips.com>
28584         [BZ# 16922]
28585         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
28586         (LONG_SUB): Ditto.
28587         (PTR_SUB): Ditto.
28589 2014-05-07  Andreas Schwab  <schwab@suse.de>
28591         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
28592         when skipping over non-matching result from nscd.
28594 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
28596         [BZ #16876]
28597         * nptl/sockperf.c (client): Check socket return value.
28599         [BZ #16877]
28600         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
28601         nscd security class.
28603 2014-05-06  Roland McGrath  <roland@hack.frob.com>
28605         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
28606         * sysdeps/arm/unwind.h: ... here.
28608 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
28610         [BZ# 16916]
28611         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
28612         Define.
28614 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
28616         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
28617         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
28618         multiarch strncpy for PPC64.
28619         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
28620         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
28621         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
28622         multiarch optimizations.
28623         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
28624         (__libc_ifunc_impl_list): Likewise.
28625         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
28626         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
28627         multiarch stpncpy for PPC64.
28628         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
28629         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
28631 2014-05-06  Andreas Schwab  <schwab@suse.de>
28633         [BZ #16912]
28634         * gmon/mcount.c (_MCOUNT_DECL): Use
28635         atomic_compare_and_exchange_bool_acq instead of
28636         catomic_compare_and_exchange_bool_acq.
28638 2014-05-05  Roland McGrath  <roland@hack.frob.com>
28640         * elf/Makefile (others, install-bin): Remove pldd.
28641         (pldd-modules): Variable removed.
28642         ($(objpfx)pldd): Target removed.
28643         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
28644         (others, install-bin): Append pldd here.
28645         ($(objpfx)pldd): New target.
28647         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
28648         to 0, so the first #if test emitted later doesn't see it undefined.
28649         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
28650         * sysdeps/gnu/errlist.c: Regenerated.
28652 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28654         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
28655         [libc_hidden_builtin_def]: Define to empty value.
28656         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
28657         [libc_hidden_builtin_def]: Likewise.
28658         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
28659         [libc_hidden_builtin_def]: Likewise.
28660         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
28661         [libc_hidden_builtin_def]: Likewise.
28662         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
28663         __redirect_memcpy and define ifunc as default hidden symbol.
28664         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
28665         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
28667 2014-05-04  Adam Conrad  <adconrad@0c3.net>
28669         * locale/iso-4217.def: Reintroduce XDR currency.
28671 2014-05-04  Allan McRae  <allan@archlinux.org>
28673         * po/eo.po: Update Esperanto translation from translation project.
28675 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
28677         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
28678         and FEATURE_INDEX_MAX to 1.
28679         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
28681 2014-05-01  Steve Ellcey  <sellcey@mips.com>
28683         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
28684         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
28685         * iconvdata/big5.c (ONE_DIRECTION): Define.
28686         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
28687         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
28688         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
28689         * iconvdata/cp932.c (ONE_DIRECTION): Define.
28690         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
28691         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
28692         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
28693         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
28694         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
28695         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
28696         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
28697         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
28698         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
28699         * iconvdata/gbk.c (ONE_DIRECTION): Define.
28700         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
28701         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
28702         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
28703         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
28704         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
28705         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
28706         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
28707         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
28708         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
28709         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
28710         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
28711         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
28712         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
28713         * iconvdata/iso646.c (ONE_DIRECTION): Define.
28714         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
28715         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
28716         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
28717         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
28718         * iconvdata/johab.c (ONE_DIRECTION): Define.
28719         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
28720         * iconvdata/sjis.c (ONE_DIRECTION): Define.
28721         * iconvdata/t.61.c (ONE_DIRECTION): Define.
28722         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
28723         * iconvdata/tscii.c (ONE_DIRECTION): Define.
28724         * iconvdata/uhc.c (ONE_DIRECTION): Define.
28725         * iconvdata/unicode.c (ONE_DIRECTION): Define.
28726         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
28727         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
28728         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
28730 2014-05-01  Roland McGrath  <roland@hack.frob.com>
28732         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
28733         (_IO_JUMPS_OFFSET): Define to 0.
28735         * nptl/sysdeps/pthread/bits/libc-lock.h
28736         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
28737         (__libc_lock_define_initialized_recursive): Always define using
28738         initializer.  Modern compilers treat uninitialized (implicit zero) and
28739         explicit zero initializers the same (i.e. put the datum in bss).
28741 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
28743         * nscd/nscd-client.h: Include <string.h>.
28745 2014-05-01  David S. Miller  <davem@davemloft.net>
28747         [BZ #16885]
28748         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
28749         multiple zero bytes exist at the end of a string.
28750         Reported by Aurelien Jarno <aurelien@aurel32.net>
28752         * string/test-strcmp.c (check): Add explicit test for situations where
28753         there are multiple zero bytes after the first.
28755 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
28757         [BZ #16890]
28758         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
28759         when compiling wprintf.
28760         * stdio-common/tstdiomisc.c (t3): New function.
28761         (main): Call it.
28763 2014-05-01  Steve Ellcey  <sellcey@mips.com>
28765         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
28766         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
28767         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
28768         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
28770 2014-05-01  Steve Ellcey  <sellcey@mips.com>
28772         * stdlib/longlong.h: Updated from GCC.
28774 2014-05-01  Will Newton  <will.newton@linaro.org>
28775             Bernard Ogden  <bernie.ogden@linaro.org>
28777         * NEWS: Update fixed bug list.
28779         [BZ #15119]
28780         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
28782 2014-04-30  David S. Miller  <davem@davemloft.net>
28784         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
28785         (libc_feholdexcept_setround_sparc_ctx): New function.
28786         (libc_fesetenv_sparc_ctx): Likewise.
28787         (libc_feupdateenv_sparc_ctx): Likewise.
28788         (libc_feholdsetround_sparc_ctx): Likewise.
28789         (libc_feholdexcept_setround_ctx): Define.
28790         (libc_feholdexcept_setroundf_ctx): Likewise.
28791         (libc_feholdexcept_setroundl_ctx): Likewise.
28792         (libc_fesetenv_ctx): Likewise.
28793         (libc_fesetenvf_ctx): Likewise.
28794         (libc_fesetenvl_ctx): Likewise.
28795         (libc_feupdateenv_ctx): Likewise.
28796         (libc_feupdateenvf_ctx): Likewise.
28797         (libc_feupdateenvl_ctx): Likewise.
28798         (libc_feresetround_ctx): Likewise.
28799         (libc_feresetroundf_ctx): Likewise.
28800         (libc_feresetroundl_ctx): Likewise.
28801         (libc_feholdsetround_ctx): Likewise.
28802         (libc_feholdsetroundf_ctx): Likewise.
28803         (libc_feholdsetroundl_ctx): Likewise.
28805         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
28806         with __USE_GNU instead of XOPEN cpp guards.
28808         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
28809         0.
28811         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
28812         with XOPEN cpp guards.
28814 2014-04-30  Julian Brown  <julian@codesourcery.com>
28816         [BZ #16888]
28817         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
28818         handling.
28820 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
28822         [BZ #9894]
28823         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
28824         Change to 2.6.32.
28825         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
28826         * sysdeps/unix/sysv/linux/configure: Regenerated.
28827         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
28828         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
28829         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
28830         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
28831         * README: Update reference to required Linux kernel version.
28832         * manual/install.texi (Linux): Update reference to required Linux
28833         kernel headers version.
28834         * INSTALL: Regenerated.
28836         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
28837         header inclusion.
28838         [POSIX] (limits.h): Likewise.
28839         [POSIX] (math.h): Likewise.
28840         [POSIX] (sys/wait.h): Likewise.
28841         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
28842         function.
28843         [POSIX] (stddef.h): Do not allow header inclusion.
28845 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28847         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
28849 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
28851         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
28852         Return immediately after lll_futex_wake.
28854 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
28856         [BZ #16791]
28857         * nscd/nscd-client.h (datahead_init_common): Initialize entire
28858         structure.
28859         (datahead_init_pos): Call datahead_init_common early.
28860         (datahead_init_neg): Likewise.
28862         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
28863         datahead_init_neg): New functions.
28864         * nscd/aicache.c (addhstaiX): Use them.
28865         * nscd/grpcache.c (cache_addgr): Likewise.
28866         * nscd/hstcache.c (cache_addhst): Likewise.
28867         * nscd/initgrcache.c (addinitgroupsX): Likewise.
28868         * nscd/netgroupcache.c (do_notfound): Likewise.
28869         (addgetnetgrentX): Likewise.
28870         (addinnetgrX): Likewise.
28871         * nscd/pwdcache.c (cache_addpw): Likewise.
28872         * nscd/servicescache.c (cache_addserv): Likewise.
28874 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
28875             Atsushi Onoe  <atsushi@onoe.org>
28877         [BZ #14308]
28878         [BZ #12994]
28879         [BZ #13651]
28880         * resolv/res_query.c (__libc_res_nsearch): Return if at least
28881         one response is valid.
28882         * resolv/res_send.c (send_dg): Check for validity of other
28883         response if the current response is a referral.
28885 2014-04-29  Steve Ellcey  <sellcey@mips.com>
28887         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
28889 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
28891         [BZ #16823]
28892         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
28893         Always divide by positive zero when computing -Inf result.
28894         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
28895         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
28897 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28899         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
28900         FPSCR if value do not change.
28901         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
28902         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
28903         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
28904         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
28905         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
28906         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
28907         function.
28909 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
28911         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
28912         * sysdeps/unix/sysv/linux/hppa: Move directory from
28913         ports/systeps/unix/sysv/linux/hppa.
28914         * README: Update listing for hppa-*-linux-gnu.
28916 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
28918         [BZ #16754]
28919         * manual/stdio.texi (Hook functions): Fix types of stream hook
28920         functions.
28921         [BZ #16854]
28922         * socket/sys/socket.h: Fix typo in comment.
28924 2014-04-28  Wilco  <wdijkstr@arm.com>
28926         * sysdeps/arm/fenv_private.h: New file.
28927         * sysdeps/arm/math_private.h: New file.
28928         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
28930 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
28932         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
28933         with __int128_t.
28934         (La_x86_64_retval): Likewise.
28936 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
28938         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
28939         fpsr if value didn't change.
28940         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
28941         to fpcr if value didn't change.
28942         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
28943         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
28944         fpsr or fpcr if value didn't change.
28945         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
28946         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
28947         fpcr if value didn't change.
28948         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
28949         to fpsr if value didn't change.
28951 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
28953         * nptl/tst-sem3.c: Use test-skeleton.c
28954         (main): Rename to do_test.  Use return instead of
28955         exit.
28956         * nptl/tst-sem4.c: Use test-skeleton.c
28957         (main): Rename to do_test.
28959 2014-04-22  David S. Miller  <davem@davemloft.net>
28961         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
28962         (struct sigaction): New struct member __glibc_reserved0, change
28963         type of sa_flags to int.
28965 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
28967         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
28968         (COUNT_LEADING_ZEROS_0): Define for AArch64.
28970 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
28972         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
28973         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
28975 2014-04-22  Will Newton  <will.newton@linaro.org>
28976             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
28978         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
28979         (__longjmp): Add longjmp and longjmp_target SystemTap
28980         probes.
28981         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
28982         (__sigsetjmp): Add setjmp SystemTap probe.
28984 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
28986         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
28987         match manual order.
28989 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28991         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
28993         * sysdeps/powerpc/fpu/fenv_private.h
28994         (libc_feholdexcept_setroundl_ctx): Define to
28995         libc_feholdexcept_setround_ppc_ctx.
28996         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
28997         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
28998         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
28999         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
29001 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
29003         * sysdeps/aarch64/math-tests.h: New file.
29005 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
29007         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
29008         New.
29009         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29010         Check and set bit_AVX2_Usable.
29011         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
29012         macro.
29013         (bit_AVX2): Likewise.
29014         (index_AVX2_Usable): Likewise.
29015         (CPUID_AVX2): Likewise.
29016         (HAS_AVX2): Likewise.
29018 2014-04-17  Will Newton  <will.newton@linaro.org>
29020         * manual/setjmp.texi (System V contexts): Add note that
29021         calling setcontext on a context created by a call to a
29022         signal handler is undefined.  Update text to note that
29023         setcontext from a signal handler is possible but not
29024         recommended.
29026         [BZ #16629]
29027         * stdlib/tst-setcontext.c: Include signal.h.
29028         (main): Check that the signal stack before and
29029         after swapcontext is the same.
29031         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
29032         Re-implement to restore registers in user code and avoid
29033         rt_sigreturn system call.
29035 2014-04-17  Wilco  <wdijkstr@arm.com>
29037         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
29038         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
29039         * math/test-fenv.c: Skip exception trap tests on targets which only
29040         support non-stop mode.
29042 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
29043             Wilco Dijkstra  <wilco.dijkstra@arm.com>
29045         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
29046         (libc_feholdsetround_aarch64_ctx)
29047         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
29048         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
29049         (libc_feresetround_ctx, libc_feresetroundf_ctx)
29050         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
29051         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
29052         (libc_feresetround_noexl_ctx): Define.
29054 2014-04-16  Richard Henderson  <rth@redhat.com>
29056         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
29058         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
29059         unwind tables.
29061         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
29062         const from the non-libc, non-ldso copy.
29064         * sysdeps/alpha/libm-test-ulps: Regenerate.
29066 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
29067             Wilco Dijkstra  <wilco.dijkstra@arm.com>
29069         * sysdeps/aarch64/fpu/math_private.h: New file.
29071 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
29073         * sysdeps/aarch64/libm-test-ulps: Regenerate.
29075 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
29077         [BZ #16275]
29078         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
29079         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
29080         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
29081         Intel MPX bound registers before _dl_profile_fixup.
29082         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
29083         registers after _dl_profile_fixup.  Save and restore bound
29084         registers bnd0/bnd1 when calling _dl_call_pltexit.
29085         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
29086         (LR_BND_OFFSET): Likewise.
29087         (LRV_BND0_OFFSET): Likewise.
29088         (LRV_BND1_OFFSET): Likewise.
29090 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29092         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
29093         to...
29094         * sysdeps/mach/hurd/i386/tls.h: ... here.
29095         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
29096         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
29097         fields.
29099 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29101         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
29103 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
29105         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
29107 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
29109         [BZ #14770]
29110         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
29111         * sysdeps/s390/configure: Regenerate.
29113         [BZ #16824]
29114         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
29115         Set round-to-nearest internally to reduce error accumulation.
29117 2014-04-16  Alan Modra  <amodra@gmail.com>
29119         [BZ #16740]
29120         [BZ #16619]
29121         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
29122         * math/libm-test.inc (frexp_test_data): Add tests.
29123         * NEWS: Update fixed bug list.
29125 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
29127         * benchtests/Makefile: Depend on libraries in build directory.
29128         (bench-math): Separate out math tests.
29129         (bench-pthread): Separate out pthread tests.
29130         (bench): Include math and pthread tests.
29132 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
29134         [BZ #16831]
29135         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
29136         _dl_debug_initialize.
29138         * configure.ac: Remove SELinux header check.
29139         * configure: Regenerate.
29140         * nscd/selinux.c (perms): Array of const char* to permission names.
29141         (nscd_request_avc_has_perm): Call security_deny_unknown to find
29142         default policy. Call string_to_security_class and string_to_av_perm to
29143         translate strings. Enforce default policy and call avs_has_perm with
29144         results of translated strings.
29146 2014-04-13  David S. Miller  <davem@davemloft.net>
29148         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29150 2014-04-12  Allan McRae  <allan@archlinux.org>
29152         [BZ #16838]
29153         * manual/string.texi (Collation Functions): Fix qsort argument
29154         order in example.
29155         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
29157 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
29159         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
29160         Make the test a no-op if there are no exceptions defined.
29162 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
29164         * elf/Makefile (tests): make tst-dlopen-aout conditional on
29165         enable-hardcoded-path-in-tests
29167 2014-04-11  Will Newton  <will.newton@linaro.org>
29169         * benchtests/Makefile (extra-objs): Add json-lib.o.
29170         (bench-func): Tidy up JSON output.
29171         * benchtests/bench-skeleton.c: Include json-lib.h.
29172         (main): Use JSON library functions to do output of
29173         benchmark results.
29174         * benchtests/bench-timing-type.c (main): Output the
29175         timing type simply, leaving formatting to the user.
29176         * benchtests/json-lib.c: New file.
29177         * benchtests/json-lib.h: Likewise.
29179 2014-04-11  Torvald Riegel  <triegel@redhat.com>
29181         [BZ #15215]
29182         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
29183         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
29184         memory barriers.  Add comments.
29185         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
29186         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
29187         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
29188         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
29189         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
29190         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
29192 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
29194         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
29195         * sysdeps/s390/s390-64/configure.ac: ... this ...
29196         * sysdeps/s390/configure.ac: ... to here.
29197         * sysdeps/s390/s390-32/configure: Delete file.
29198         * sysdeps/s390/s390-64/configure: Delete file.
29199         * sysdeps/s390/configure: Regenerate.
29201 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
29203         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
29205 2014-04-11  Will Newton  <will.newton@linaro.org>
29207         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
29208         to zero if it is not defined elsewhere.  (mtrim): Test
29209         the value of MALLOC_DEBUG with #if rather than #ifdef.
29211 2014-04-10 Torvald Riegel  <triegel@redhat.com>
29213         * benchtests/pthread_once-inputs: New file.
29214         * benchtests/pthread_once-source.c: New file.
29215         * benchtests/README: Update documentation.
29217 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
29218             H.J. Lu  <hongjiu.lu@intel.com>
29220         [BZ #16275]
29221         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
29222         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
29223         * sysdeps/x86_64/configure: Regenerated.
29224         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
29225         macro.
29226         (REGISTER_SAVE_RAX): Likewise.
29227         (REGISTER_SAVE_RCX): Likewise.
29228         (REGISTER_SAVE_RDX): Likewise.
29229         (REGISTER_SAVE_RSI): Likewise.
29230         (REGISTER_SAVE_RDI): Likewise.
29231         (REGISTER_SAVE_R8): Likewise.
29232         (REGISTER_SAVE_R9): Likewise.
29233         (REGISTER_SAVE_BND0): Likewise.
29234         (REGISTER_SAVE_BND1): Likewise.
29235         (REGISTER_SAVE_BND2): Likewise.
29236         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
29237         bound registers when calling _dl_fixup.
29239 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29241         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
29242         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
29243         of its definition.
29244         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
29245         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
29246         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
29247         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
29248         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
29249         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
29250         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
29252 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
29254         [BZ #15514]
29255         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
29256         pathconf(_PC_NAME_MAX).
29258 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29260         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
29261         Remove macro usage.
29262         (__PTHREAD_SPINS): Move definition to ...
29263         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
29264         (__PTHREAD_SPINS): ... here.
29265         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
29266         (__PTHREAD_SPIN): Likewise.
29267         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
29268         (__PTHREAD_SPIN): Likewise.
29269         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
29270         (__PTHREAD_SPIN): Likewise.
29271         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
29272         (__PTHREAD_SPIN): Likewise.
29273         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
29274         (__PTHREAD_SPIN): Likewise.
29275         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
29276         (__PTHREAD_SPIN): Likewise.
29277         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
29278         (__PTHREAD_SPIN): Likewise.
29279         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
29280         (__PTHREAD_SPIN): Likewise.
29281         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
29282         (__PTHREAD_SPIN): Likewise.
29283         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
29284         (__PTHREAD_SPIN): Likewise.
29285         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
29286         (__PTHREAD_SPIN): Likewise.
29287         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
29288         (__PTHREAD_SPIN): Likewise.
29290         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
29291         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
29292         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
29293         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
29294         imply folder.
29295         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
29296         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
29297         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
29298         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
29299         correct imply path.
29300         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
29301         strlen symbol for non multi-arch builds.
29302         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
29303         missing hidden_def and weak_alias.
29305 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
29307         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
29309 2014-04-07  Will Newton  <will.newton@linaro.org>
29311         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
29312         and contents.  [!_LIBC] Remove #ifndef and contents.
29313         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
29314         * string/memccpy.c (__memccpy): Use ANSI prototype.
29315         * string/memfrob.c (memfrob): Likewise.
29316         * string/strcoll.c (STRCOLL): Likewise.
29317         * string/strlen.c (strlen): Likewise.
29318         * string/strtok.c (STRTOK): Likewise.
29319         * string/strcat.c: Remove unused #include of memcopy.h.
29320         (strcat): Use ANSI prototype.
29321         * string/strchr.c: Remove unused #include of memcopy.h.
29322         (strchr): Use ANSI prototype.
29323         * string/strcmp.c: Remove unused #include of memcopy.h.
29324         (strcmp): Use ANSI prototype.
29325         * string/strcpy.c: Remove unused #include of memcopy.h.
29326         (strcpy): Use ANSI prototype.
29328 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29330         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
29331         * config.make.in (config-extra-cppflags): Set it from
29332         libc_extra_cppflags.
29333         * configure.ac (libc_extra_cflags): Make it accumulate over
29334         configure fragments.
29335         (libc_extra_cppflags): New flag.
29336         * configure. Regenerate.
29337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
29338         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
29339         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
29340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
29342         [BZ #16815]
29343         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
29344         result for FE_DOWNWARD rounding mode.
29345         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
29346         Likewise.
29347         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29349 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
29351         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
29352         in function argument name.
29354 2014-04-03  David Svoboda  <svoboda@cert.org>
29356         [BZ #5666]
29357         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
29358         explicitly.
29360 2014-04-03  Roland McGrath  <roland@hack.frob.com>
29362         * elf/dl-unmap-segments.h: New file.
29363         * sysdeps/generic/ldsodefs.h
29364         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
29365         * elf/dl-close.c: Include <dl-unmap-segments.h>.
29366         * elf/dl-fptr.c: Likewise.
29367         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
29368         * sysdeps/aarch64/tlsdesc.c: Likewise.
29369         * sysdeps/arm/tlsdesc.c: Likewise.
29370         * sysdeps/i386/tlsdesc.c: Likewise.
29371         * sysdeps/tile/dl-runtime.c: Likewise.
29372         * sysdeps/x86_64/tlsdesc.c: Likewise.
29373         * elf/dl-load.h: New file.
29374         * elf/dl-load.c: Include it.
29375         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
29376         Macros moved to dl-load.h.
29377         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
29378         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
29379         Use _dl_unmap_segments in place of __munmap.
29380         Break out segment-mapping loop into ...
29381         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
29383 2014-04-03  Will Newton  <will.newton@linaro.org>
29385         * elf/dl-lookup.c (do_lookup_x): Remove comment
29386         referring to nested function and move variable
29387         declarations down to before first use.
29389 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
29391         [BZ #16799]
29392         [BZ #16800]
29393         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
29394         with 0 numerator.
29395         * math/s_catanf.c (__catanf): Likewise.
29396         * math/s_catanh.c (__catanh): Likewise.
29397         * math/s_catanhf.c (__catanhf): Likewise.
29398         * math/s_catanhl.c (__catanhl): Likewise.
29399         * math/s_catanl.c (__catanl): Likewise.
29400         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
29401         by positive zero when computing -Inf result.
29402         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
29403         (catanh_test): Likewise.
29404         * sysdeps/i386/fpu/libm-test-ulps: Update.
29405         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29407         [BZ #16789]
29408         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
29409         instead of using underflowing value in computing result.
29410         * math/s_clog10.c (__clog10): Likewise.
29411         * math/s_clog10f.c (__clog10f): Likewise.
29412         * math/s_clog10l.c (__clog10l): Likewise.
29413         * math/s_clogf.c (__clogf): Likewise.
29414         * math/s_clogl.c (__clogl): Likewise.
29415         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
29416         (clog10_test): Likewise.
29417         * sysdeps/i386/fpu/libm-test-ulps: Update.
29418         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29420 2014-04-02  Alan Modra  <amodra@gmail.com>
29422         [BZ #16739]
29423         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
29424         output when value is near a power of two.  Use int64_t for lx and
29425         remove casts.  Use decimal rather than hex exponent constants.
29426         Don't use long double multiplication when double will suffice.
29427         * math/libm-test.inc (nextafter_test_data): Add tests.
29428         * NEWS: Add 16739 and 16786 to bug list.
29430         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
29432         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
29434 2014-04-01  Will Newton  <will.newton@linaro.org>
29436         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
29437         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
29439 2014-04-01  Florian Weimer  <fweimer@redhat.com>
29441         [BZ #13347]
29442         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
29443         * nptl/tst-setuid2.c: New file.
29444         * nptl/Makefile (xtests): Add tst-setuid2.
29446 2014-04-01  Alan Modra  <amodra@gmail.com>
29448         [BZ #16786]
29449         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
29451 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
29453         [BZ #6803]
29454         [BZ #6804]
29455         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
29456         set errno as appropriate.
29457         * math/w_scalbf.c (__scalbf): Likewise.
29458         * math/w_scalbl.c (__scalbl): Likewise.
29459         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
29460         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
29461         * math/libm-test.inc (scalb_test_data): Add errno expectations.
29462         Add more NaN tests.
29464         [BZ #16349]
29465         * math/w_atan2.c: Include <errno.h>.
29466         (__atan2): Set errno for result underflowing to zero.
29467         * math/w_atan2f.c: Include <errno.h>.
29468         (__atan2f): Set errno for result underflowing to zero.
29469         * math/w_atan2l.c: Include <errno.h>.
29470         (__atan2l): Set errno for result underflowing to zero.
29471         * math/auto-libm-test-in: Don't allow missing errno for some atan2
29472         tests.
29473         * math/auto-libm-test-out: Regenerated.
29475 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29477         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
29478         Encode instruction correctly in little endian.
29479         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
29480         Likewise.
29481         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
29482         Likewise.
29483         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
29484         Likewise.
29485         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
29486         Likewise.
29488 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
29490         [BZ #9894]
29491         * sysdeps/unix/sysv/linux/kernel-features.h
29492         [__sparc__ && !__arch64__ && !__sparc_v9__]
29493         (__ASSUME_SET_ROBUST_LIST): Do not define.
29494         [__sparc__ && !__arch64__ && !__sparc_v9__]
29495         (__ASSUME_FUTEX_LOCK_PI): Likewise.
29496         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
29497         Likewise.
29498         * sysdeps/unix/sysv/linux/arm/kernel-features.h
29499         (__ASSUME_FUTEX_LOCK_PI): Undefine.
29500         (__ASSUME_REQUEUE_PI): Likewise.
29501         (__ASSUME_SET_ROBUST_LIST): Likewise.
29502         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
29503         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
29504         Undefine.
29505         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
29506         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
29507         Likewise.
29508         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
29509         Likewise.
29510         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
29511         Likewise.
29512         * sysdeps/unix/sysv/linux/mips/kernel-features.h
29513         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
29514         Undefine.
29515         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
29516         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
29517         Likewise.
29519         [BZ #16648]
29520         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
29521         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
29522         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
29524 2014-03-31  Will Newton  <will.newton@linaro.org>
29526         * benchtests/Makefile (bench): Add ffs and ffsll to list
29527         of tests.
29528         * benchtests/ffs-inputs: New file.
29529         * benchtests/ffsll-inputs: Likewise.
29531 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
29533         [BZ #16770]
29534         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
29535         too large before casting to int.
29536         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
29537         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
29538         * math/libm-test.inc (scalb_test_data): Add more tests.
29540 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
29542         * benchtests/Makefile (DETAILED_OPT): New make option.
29543         (bench-func): Run benchmark program with -d if DETAILED_OPT is
29544         set.
29545         * benchtests/bench-skeleton.c: Include stdbool.h.
29546         (main): Store and print timings per input.
29547         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
29548         member to each argument value.
29549         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
29550         (_print_arg_data): Initialize per-input timing to 0.
29552         * benchtests/Makefile (timing-type): New binary.
29553         (bench-clean): Also remove bench-timing-type.
29554         (bench): New target for timing-type.
29555         (bench-func): Print output in JSON format.
29556         * benchtests/bench-skeleton.c (main): Print output in JSON
29557         format.
29558         * benchtests/bench-timing-type.c: New file.
29559         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
29560         (TIMING_PRINT_STATS): Remove.
29561         * benchtests/scripts/bench.py (_print_arg_data): Store variant
29562         name separately.
29564         * benchtests/bench-modf.c: Remove.
29565         * benchtests/modf-inputs: New inputs file.
29567 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
29569         [BZ #16362]
29570         * math/s_clog10.c (M_PI_LOG10E): New macro.
29571         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
29572         imaginary parts are 0.
29573         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
29574         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
29575         imaginary parts are 0.
29576         * math/s_clog10l.c (M_PI_LOG10El): New macro.
29577         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
29578         imaginary parts are 0.
29579         * math/libm-test.inc (clog10_test_data): Update expected results
29580         for when real and imaginary parts are 0.
29582 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
29584         * elf/dl-load.c: Finish conversion of __builtin_expect into
29585         __glibc_{un}likely.
29587 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
29589         [BZ #16348]
29590         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
29591         1+x for argument with exponent below -67.
29592         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
29593         Likewise.
29594         * math/auto-libm-test-in: Add more tests of exp.
29595         * math/auto-libm-test-out: Regenerated.
29597 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
29599         [BZ #16759]
29600         * inet/getnetgrent_r.c (get_nonempty_val): New function.
29601         (nscd_getnetgrent): Use it.
29603         [BZ #16760]
29604         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
29605         of stpcpy.
29607 2014-03-27  Andi Kleen  <ak@linux.intel.com>
29609         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
29610         (lll_robust_lock, lll_cond_lock, lll_timedlock)
29611         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
29612         (lll_robust_unlock): Remove out of line section. Use cfi
29613         intrinsics.
29614         (LLL_STUB_UNWIND_INFO*): Remove.
29615         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
29616         (lll_robust_lock, lll_cond_lock, lll_timedlock)
29617         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
29618         (lll_robust_unlock): Remove out of line section. Use cfi
29619         intrinsics.
29620         (LLL_STUB_UNWIND_INFO*): Remove.
29622 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
29624         [BZ #16758]
29625         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
29626         blank values.
29628 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
29630         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
29632 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
29634         [BZ #16198]
29635         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
29636         fnstenv.
29637         * math/test-fenv-preserve.c: New file.
29638         * math/Makefile (tests): Add test-fenv-preserve.
29640 2014-03-26  Will Newton <will.newton@linaro.org>
29642         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
29644 2014-03-25  Roland McGrath  <roland@hack.frob.com>
29646         * scripts/versionlist.awk: Partition the version sets and emit all
29647         GLIBC_* (sorted) before all others (sorted).
29649 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
29651         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
29652         GLIBC_2.2.5 version.
29654 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29656         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
29657         calls.
29659         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
29660         previous change.
29662         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29664 2014-03-25  Andreas Schwab  <schwab@suse.de>
29666         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
29667         label to be used after in6ailist is initialized.
29669 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29671         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
29672         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
29674 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
29676         [BZ #16357]
29677         [BZ #16599]
29678         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
29679         min_plus_half.
29680         (fp_formats): Update initializers.
29681         (init_fp_formats): Initialize new field.
29682         (output_for_one_input_case): Allow underflow for results up to
29683         min_plus_half.
29684         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
29685         * math/auto-libm-test-in: Don't mark some underflows from asin and
29686         atanh as spurious.
29687         * math/auto-libm-test-out: Regenerated.
29688         * sysdeps/i386/fpu/libm-test-ulps: Update.
29689         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29691 2014-03-25  Andreas Schwab  <schwab@suse.de>
29693         * libio/Makefile (tst-ftell-partial-wide-ENV)
29694         (tst-ftell-active-handler-ENV): Define.
29696 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
29698         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
29700 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
29702         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
29704 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
29706         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
29707         * sysdeps/x86_64/fpu/multiarch/e_exp.c
29708         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
29710 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
29712         [BZ #16634]
29713         * elf/dl-load.c (open_verify): Add mode parameter.
29714         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
29715         (open_path): Change from boolean 'secure' to complete flag 'mode'
29716         (_dl_map_object): Adjust.
29717         * elf/Makefile (tests): Add tst-dlopen-aout.
29718         * elf/tst-dlopen-aout.c: New test.
29720 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
29722         [BZ #16714]
29723         * sysdeps/unix/sysv/linux/s390/bits/stat.h
29724         (struct stat): Rename member pad0 to __glibc_reserved0.
29726         [BZ #16712]
29727         * sysdeps/s390/s390-32/bits/wordsize.h
29728         (__WORDSIZE32_SIZE_ULONG): New define.
29729         * sysdeps/s390/s390-64/bits/wordsize.h
29730         (__WORDSIZE32_SIZE_ULONG): Likewise.
29731         * sysdeps/generic/stdint.h (SIZE_MAX):
29732         Define as UL if __WORDSIZE32_SIZE_ULONG.
29734         [BZ #16713]
29735         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
29736         (__glibc_reserved0): New variable.
29737         (sa_flags): Change type to int.
29739         * posix/Makefile (before-compile): Use += before-compile instead
29740         of a :=.
29742         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
29743         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
29745 2014-03-20  Andreas Schwab  <schwab@suse.de>
29747         [BZ #16743]
29748         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
29749         non-matching result from nscd.
29751 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
29753         * scripts/bench.py: Moved to ...
29754         * benchtests/scripts/bench.py: ... here.
29755         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
29757 2014-03-24  Andreas Schwab  <schwab@suse.de>
29759         [BZ #16002]
29760         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
29761         alloca_account and account alloca use for struct in6ailist.
29763 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
29765         [BZ #16284]
29766         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
29767         rounding mode to recompute results that overflow to infinity or
29768         underflow to zero.
29769         * math/auto-libm-test-in: Don't mark tests as expected to fail for
29770         bug 16284.
29771         * math/auto-libm-test-out: Regenerated.
29772         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
29773         (ccosh_test): Likewise.
29774         (csin_test_data): Use plus_oflow.
29775         (csin_test): Use ALL_RM_TEST.
29776         (csinh_test_data): Use plus_oflow.
29777         (csinh_test): Use ALL_RM_TEST.
29778         * sysdeps/i386/fpu/libm-test-ulps: Update.
29779         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29781 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
29783         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
29784         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
29785         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
29787         [BZ #16731]
29788         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
29789         when x - 1 is zero.
29790         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
29791         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
29792         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
29793         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
29794         argument is 1.
29795         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
29796         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
29797         zero.
29798         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
29799         * sysdeps/i386/fpu/libm-test-ulps: Update.
29800         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29802 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
29804         * scripts/bench.pl: Remove file.
29805         * scripts/bench.py: New benchmark script.
29806         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
29807         * benchtests/README: Mention python dependency.
29808         * scripts/pylintrc: New file.
29809         * scripts/pylint: New file.
29811         * bits/mathdef.h: Use #ifdef instead of #if.
29812         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
29813         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
29814         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
29815         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
29816         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
29817         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
29819 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29820             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
29822         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
29823         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
29824         and strpbrk-ppc64 objects.
29825         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29826         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
29827         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
29828         multiarch strpbrk for POWER7.
29829         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
29830         multiarch strpbrk for PPC64.
29831         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
29832         ifunc selector.
29833         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
29834         strpbrk for POWER7.
29836 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
29838         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
29839         (atan_test): Likewise.
29840         (atanh_test_data): Use NO_TEST_INLINE for two tests.
29841         (atanh_test): Use ALL_RM_TEST.
29842         (atan2_test_data): Likewise.
29843         (cabs_test): Likewise.
29844         (cacosh_test): Likewise.
29845         (carg_test): Likewise.
29846         (casin_test): Likewise.
29847         (casinh_test): Likewise.
29848         (cbrt_test): Likewise.
29849         (csqrt_test): Likewise.
29850         (erf_test): Likewise.
29851         (erfc_test): Likewise.
29852         (pow10_test): Likewise.
29853         (exp2_test): Likewise.
29854         (hypot_test): Likewise.
29855         (j0_test): Likewise.
29856         (j1_test): Likewise.
29857         (lgamma_test): Likewise.
29858         (gamma_test): Likewise.
29859         (sincos_test): Likewise.
29860         (tanh_test): Likewise.
29861         (y0_test): Likewise.
29862         (y1_test): Likewise.
29863         * sysdeps/i386/fpu/libm-test-ulps: Update.
29864         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29866 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29868         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
29869         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
29870         and strcspn-ppc64 objects.
29871         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29872         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
29873         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
29874         multiarch strcspn for POWER7.
29875         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
29876         multiarch strcspn for PPC64.
29877         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
29878         ifunc selector.
29879         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
29880         strcspn for POWER7.
29882 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
29884         * math/gen-libm-test.pl (generate_testfile): Expect only function
29885         name as argument to AUTO_TESTS_* and pass results for all rounding
29886         modes to parse_args.
29887         (parse_auto_input): Separate inputs of automatic tests from
29888         outputs before storing in %auto_tests.
29889         * math/libm-test.inc (acos_test_data): Update call to
29890         AUTO_TESTS_f_f.
29891         (acos_test): Use ALL_RM_TEST.
29892         (acos_tonearest_test_data): Remove.
29893         (acos_test_tonearest): Likewise.
29894         (acos_towardzero_test_data): Likewise.
29895         (acos_test_towardzero): Likewise.
29896         (acos_downward_test_data): Likewise.
29897         (acos_test_downward): Likewise.
29898         (acos_upward_test_data): Likewise.
29899         (acos_test_upward): Likewise.
29900         (acosh_test_data): Update call to AUTO_TESTS_f_f.
29901         (asin_test_data): Likewise.
29902         (asin_test): Use ALL_RM_TEST.
29903         (asin_tonearest_test_data): Remove.
29904         (asin_test_tonearest): Likewise.
29905         (asin_towardzero_test_data): Likewise.
29906         (asin_test_towardzero): Likewise.
29907         (asin_downward_test_data): Likewise.
29908         (asin_test_downward): Likewise.
29909         (asin_upward_test_data): Likewise.
29910         (asin_test_upward): Likewise.
29911         (asinh_test_data): Update call to AUTO_TESTS_f_f.
29912         (atan_test_data): Likewise.
29913         (atanh_test_data): Likewise.
29914         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
29915         (cabs_test_data): Update call to AUTO_TESTS_c_f.
29916         (carg_test_data): Likewise.
29917         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
29918         (ccos_test_data): Update call to AUTO_TESTS_c_c.
29919         (ccosh_test_data): Likewise.
29920         (cexp_test_data): Likewise.
29921         (clog_test_data): Likewise.
29922         (clog10_test_data): Likewise.
29923         (cos_test_data): Update call to AUTO_TESTS_f_f.
29924         (cos_test): Use ALL_RM_TEST.
29925         (cos_tonearest_test_data): Remove.
29926         (cos_test_tonearest): Likewise.
29927         (cos_towardzero_test_data): Likewise.
29928         (cos_test_towardzero): Likewise.
29929         (cos_downward_test_data): Likewise.
29930         (cos_test_downward): Likewise.
29931         (cos_upward_test_data): Likewise.
29932         (cos_test_upward): Likewise.
29933         (cosh_test_data): Update call to AUTO_TESTS_f_f.
29934         (cosh_test): Use ALL_RM_TEST.
29935         (cosh_tonearest_test_data): Remove.
29936         (cosh_test_tonearest): Likewise.
29937         (cosh_towardzero_test_data): Likewise.
29938         (cosh_test_towardzero): Likewise.
29939         (cosh_downward_test_data): Likewise.
29940         (cosh_test_downward): Likewise.
29941         (cosh_upward_test_data): Likewise.
29942         (cosh_test_upward): Likewise.
29943         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
29944         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
29945         (ctan_test_data): Likewise.
29946         (ctan_test): Use ALL_RM_TEST.
29947         (ctan_tonearest_test_data): Remove.
29948         (ctan_test_tonearest): Likewise.
29949         (ctan_towardzero_test_data): Likewise.
29950         (ctan_test_towardzero): Likewise.
29951         (ctan_downward_test_data): Likewise.
29952         (ctan_test_downward): Likewise.
29953         (ctan_upward_test_data): Likewise.
29954         (ctan_test_upward): Likewise.
29955         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
29956         (ctanh_test): Use ALL_RM_TEST.
29957         (ctanh_tonearest_test_data): Remove.
29958         (ctanh_test_tonearest): Likewise.
29959         (ctanh_towardzero_test_data): Likewise.
29960         (ctanh_test_towardzero): Likewise.
29961         (ctanh_downward_test_data): Likewise.
29962         (ctanh_test_downward): Likewise.
29963         (ctanh_upward_test_data): Likewise.
29964         (ctanh_test_upward): Likewise.
29965         (erf_test_data): Update call to AUTO_TESTS_f_f.
29966         (erfc_test_data): Likewise.
29967         (exp_test_data): Likewise.
29968         (exp_test): Use ALL_RM_TEST.
29969         (exp_tonearest_test_data): Remove.
29970         (exp_test_tonearest): Likewise.
29971         (exp_towardzero_test_data): Likewise.
29972         (exp_test_towardzero): Likewise.
29973         (exp_downward_test_data): Likewise.
29974         (exp_test_downward): Likewise.
29975         (exp_upward_test_data): Likewise.
29976         (exp_test_upward): Likewise.
29977         (exp10_test_data): Update call to AUTO_TESTS_f_f.
29978         (exp10_test): Use ALL_RM_TEST.
29979         (exp10_tonearest_test_data): Remove.
29980         (exp10_test_tonearest): Likewise.
29981         (exp10_towardzero_test_data): Likewise.
29982         (exp10_test_towardzero): Likewise.
29983         (exp10_downward_test_data): Likewise.
29984         (exp10_test_downward): Likewise.
29985         (exp10_upward_test_data): Likewise.
29986         (exp10_test_upward): Likewise.
29987         (exp2_test_data): Update call to AUTO_TESTS_f_f.
29988         (expm1_test_data): Likewise.
29989         (expm1_test): Use ALL_RM_TEST.
29990         (expm1_tonearest_test_data): Remove.
29991         (expm1_test_tonearest): Likewise.
29992         (expm1_towardzero_test_data): Likewise.
29993         (expm1_test_towardzero): Likewise.
29994         (expm1_downward_test_data): Likewise.
29995         (expm1_test_downward): Likewise.
29996         (expm1_upward_test_data): Likewise.
29997         (expm1_test_upward): Likewise.
29998         (fma_test_data): Update call to AUTO_TESTS_fff_f.
29999         (fma_test): Use ALL_RM_TEST.
30000         (fma_towardzero_test_data): Remove.
30001         (fma_test_towardzero): Likewise.
30002         (fma_downward_test_data): Likewise.
30003         (fma_test_downward): Likewise.
30004         (fma_upward_test_data): Likewise.
30005         (fma_test_upward): Likewise.
30006         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
30007         (j0_test_data): Update call to AUTO_TESTS_f_f.
30008         (j1_test_data): Likewise.
30009         (jn_test_data): Update call to AUTO_TESTS_if_f.
30010         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
30011         (log_test_data): Update call to AUTO_TESTS_f_f.
30012         (log10_test_data): Likewise.
30013         (log1p_test_data): Likewise.
30014         (log2_test_data): Likewise.
30015         (pow_test_data): Update call to AUTO_TESTS_ff_f.
30016         (pow_tonearest_test_data): Likewise.
30017         (sin_test_data): Update call to AUTO_TESTS_f_f.
30018         (sin_test): Use ALL_RM_TEST.
30019         (sin_tonearest_test_data): Remove.
30020         (sin_test_tonearest): Likewise.
30021         (sin_towardzero_test_data): Likewise.
30022         (sin_test_towardzero): Likewise.
30023         (sin_downward_test_data): Likewise.
30024         (sin_test_downward): Likewise.
30025         (sin_upward_test_data): Likewise.
30026         (sin_test_upward): Likewise.
30027         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
30028         (sinh_test_data): Update call to AUTO_TESTS_f_f.
30029         (sinh_test): Use ALL_RM_TEST.
30030         (sinh_tonearest_test_data): Remove.
30031         (sinh_test_tonearest): Likewise.
30032         (sinh_towardzero_test_data): Likewise.
30033         (sinh_test_towardzero): Likewise.
30034         (sinh_downward_test_data): Likewise.
30035         (sinh_test_downward): Likewise.
30036         (sinh_upward_test_data): Likewise.
30037         (sinh_test_upward): Likewise.
30038         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
30039         (sqrt_test): Use ALL_RM_TEST.
30040         (sqrt_tonearest_test_data): Remove.
30041         (sqrt_test_tonearest): Likewise.
30042         (sqrt_towardzero_test_data): Likewise.
30043         (sqrt_test_towardzero): Likewise.
30044         (sqrt_downward_test_data): Likewise.
30045         (sqrt_test_downward): Likewise.
30046         (sqrt_upward_test_data): Likewise.
30047         (sqrt_test_upward): Likewise.
30048         (tan_test_data): Update call to AUTO_TESTS_f_f.
30049         (tan_test): Use ALL_RM_TEST.
30050         (tan_tonearest_test_data): Remove.
30051         (tan_test_tonearest): Likewise.
30052         (tan_towardzero_test_data): Likewise.
30053         (tan_test_towardzero): Likewise.
30054         (tan_downward_test_data): Likewise.
30055         (tan_test_downward): Likewise.
30056         (tan_upward_test_data): Likewise.
30057         (tan_test_upward): Likewise.
30058         (tanh_test_data): Update call to AUTO_TESTS_f_f.
30059         (tgamma_test_data): Likewise.
30060         (y0_test_data): Likewise.
30061         (y1_test_data): Likewise.
30062         (yn_test_data): Update call to AUTO_TESTS_if_f.
30063         (main): Do not call removed functions.
30065 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
30067         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
30068         (ldexp_test_data): Remove.
30069         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
30070         scalbn_test_data.
30071         (scalb_test): Use ALL_RM_TEST.
30073 2014-03-19  Andreas Schwab  <schwab@suse.de>
30075         * nscd/nscd.service: Also invalidate netgroup cache on reload.
30077 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
30079         [BZ #16649]
30080         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
30081         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
30082         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
30083         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30084         (__ASSUME_PREADV): Undefine.
30085         (__ASSUME_PWRITEV): Likewise.
30087 2014-03-18  Roland McGrath  <roland@hack.frob.com>
30089         * bits/mman-linux.h: Add comment about non-Linux use.
30090         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
30091         bits/mman-linux.h resting place.
30093         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
30094         * bits/mman-linux.h: ... here.
30096 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30098         * conform/conformtest.pl: Add standard definition when calling C
30099         preprocessor on data files.
30100         (checknamespace): Remove unused variable.
30102 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
30104         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
30105         minus_oflow, plus_uflow and minus_uflow in expected results.
30106         * math/libm-test.inc (scalbn_test_data): Add more tests of
30107         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
30108         minus_uflow.
30109         (scalbn_test): Use ALL_RM_TEST.
30110         (scalbln_test_data): Add more tests of negative arguments.  Use
30111         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
30112         (scalbln_test): Use ALL_RM_TEST.
30114 2014-03-18  Roland McGrath  <roland@hack.frob.com>
30116         * scripts/abilist.awk: Ignore symbols marked with .hidden.
30118 2014-03-18  Will Newton  <will.newton@linaro.org>
30120         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
30121         inaccurate comment.
30123 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
30125         * Makerules [!subdir] (check-abi): Exit with error status if a
30126         test failed.
30128 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
30130         * math/libm-test.inc (nearbyint_test_data): Include all tests used
30131         for rint.  Include results for all rounding modes.
30132         (nearbyint_test): Use ALL_RM_TEST.
30133         (rint_test_data): Include all tests used for nearbyint.
30135 2014-03-17  Will Newton  <will.newton@linaro.org>
30137         * nptl/sysdeps/pthread/pthread.h: Revert previous
30138         change.
30140         * sysdeps/generic/ldsodefs.h: Revert previous
30141         change.
30143         * libio/genops.c: Revert previous change.
30144         * libio/libioP.h: Likewise.
30145         * stdio-common/vfprintf.c: Likewise.
30147         * sysdeps/generic/math_private.h: Revert previous
30148         change.
30150         * sysdeps/generic/math_private.h: Check whether
30151         HAVE_RM_CTX is defined with #ifdef rather
30152         than #if.
30154         * argp/argp-fmtstream.h: Check whether
30155         __STRICT_ANSI__ is defined with #ifdef rather
30156         than #if.
30157         * argp/argp.h: Likewise.
30159         * libio/genops.c: Check whether
30160         _IO_JUMPS_OFFSET is defined with #ifdef rather
30161         than #if.
30162         * libio/libioP.h: Likewise.
30163         * stdio-common/vfprintf.c: Likewise.
30165         * sysdeps/generic/ldsodefs.h: Check whether
30166         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
30167         than #if.
30169         * nptl/sysdeps/pthread/pthread.h: Check
30170         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
30171         its value.
30173 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
30175         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
30176         setting O_APPEND.
30177         * libio/tst-ftell-active-handler.c (do_append_test): Add a
30178         test case.
30180         [BZ #16680]
30181         * libio/fileops.c (_IO_file_open): Seek to end of file but
30182         don't cache the offset.
30183         (get_file_offset): Remove function.
30184         (do_ftell): Use cached offset when available.
30185         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
30186         don't cache the offset.
30187         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
30188         case.
30189         (do_one_test): Call it.
30190         (do_ftell_test): Fix up expected old offset for a+ mode.
30191         * libio/wfileops.c (do_ftell_wide): Used cached offset when
30192         available.
30194         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
30195         up test status with function return status.
30196         (do_write_test): Likewise.
30197         (do_append_test): Likewise.
30199         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
30200         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
30201         Remove.
30203 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
30205         * math/gen-libm-test.pl (parse_args): Handle results specified for
30206         each rounding mode separately.
30207         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
30208         tests and results from lrint_tonearest_test_data,
30209         lrint_towardzero_test_data, lrint_downward_test_data and
30210         lrint_upward_test_data.
30211         (lrint_test): Use ALL_RM_TEST.
30212         (lrint_tonearest_test_data): Remove.
30213         (lrint_test_tonearest): Likewise.
30214         (lrint_towardzero_test_data): Likewise.
30215         (lrint_test_towardzero): Likewise.
30216         (lrint_downward_test_data): Likewise.
30217         (lrint_test_downward): Likewise.
30218         (lrint_upward_test_data): Likewise.
30219         (lrint_test_upward): Likewise.
30220         (llrint_test_data): Merge in per-rounding-mode tests and results
30221         from llrint_tonearest_test_data, llrint_towardzero_test_data,
30222         llrint_downward_test_data and llrint_upward_test_data.
30223         (llrint_test): Use ALL_RM_TEST.
30224         (llrint_tonearest_test_data): Remove.
30225         (llrint_test_tonearest): Likewise.
30226         (llrint_towardzero_test_data): Likewise.
30227         (llrint_test_towardzero): Likewise.
30228         (llrint_downward_test_data): Likewise.
30229         (llrint_test_downward): Likewise.
30230         (llrint_upward_test_data): Likewise.
30231         (llrint_test_upward): Likewise.
30232         (rint_test_data): Merge in per-rounding-mode tests and results
30233         from rint_tonearest_test_data, rint_towardzero_test_data,
30234         rint_downward_test_data and rint_upward_test_data.  Add
30235         per-rounding-mode results for tests not in those arrays.
30236         (rint_test): Use ALL_RM_TEST.
30237         (rint_tonearest_test_data): Remove.
30238         (rint_test_tonearest): Likewise.
30239         (rint_towardzero_test_data): Likewise.
30240         (rint_test_towardzero): Likewise.
30241         (rint_downward_test_data): Likewise.
30242         (rint_test_downward): Likewise.
30243         (rint_upward_test_data): Likewise.
30244         (rint_test_upward): Likewise.
30245         (main): Don't call removed functions.
30247 2014-03-14  Roland McGrath  <roland@hack.frob.com>
30249         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
30250         "Compiled on ..." crapola.  It is anti-useful.
30252 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
30254         * scripts/evaluate-test.sh: Handle fourth argument to determine
30255         whether test run should stop on failure.
30256         * Makeconfig (stop-on-test-failure): New variable.
30257         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
30258         $(stop-on-test-failure).
30259         * Makefile (tests): Give a summary of results from testing and
30260         exit with failure status if they include an ERROR or FAIL.
30261         (xtests): Likewise.
30262         * manual/install.texi (Configuring and compiling): Mention
30263         stop-on-test-failure=y.
30264         * INSTALL: Regenerated.
30266 2014-03-14  Roland McGrath  <roland@hack.frob.com>
30268         * scripts/versionlist.awk: New file.
30269         * Makerules [$(build-shared) = yes]
30270         (postclean-generated): Add Versions.def, not Versions.def.v and
30271         Versions.def.v.i.
30272         ($(common-objpfx)Versions.def.v.i): Target removed.
30273         ($(common-objpfx)Versions.def): New target.
30274         ($(common-objpfx)Versions.all): Depend on that rather that
30275         $(common-objpfx)Versions.def.v.
30276         * Versions.def: File removed.
30278         * Makeconfig (+gccwarn): Add -Wundef.
30279         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
30280         a dl-sysdep.h breaking its contract.
30281         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
30282         * include/stackinfo.h: New file.
30283         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
30284         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
30285         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
30286         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
30287         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
30288         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
30289         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
30290         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
30291         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
30292         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
30293         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
30294         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
30295         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
30296         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
30297         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
30299 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30301         [BZ #16707]
30302         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
30303         implementation.
30304         * math/libm-test.inc (round_test_data): Add more tests.
30306         [BZ #16706]
30307         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
30308         implementation.
30309         * math/libm-test.inc (nearbyint_test_data): Add more tests.
30311         [BZ #16701]
30312         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
30313         implementation.
30314         * math/libm-test.inc (ceil_test_data): Add more tests.
30316         * math/libm-test.inc (trunc_test_data): Add more tests related to
30317         BZ#16414.
30319 2014-03-14  Roland McGrath  <roland@hack.frob.com>
30321         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
30322         with #if rather than #ifdef.
30323         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
30325 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
30327         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
30328         first.  Disable AVX-512 GCC support if assembler doesn't support
30329         it.
30330         * sysdeps/x86_64/configure: Regenerated.
30332 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
30334         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
30335         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
30336         (__old_pthread_attr_setstack): Likewise.
30337         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
30338         [!_STACK_GROWS_DOWN]: Likewise.
30340 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
30342         * config.make.in (have-bash2): Delete.
30343         * configure.ac (libc_cv_have_bash2): Delete.
30344         * configure: Regenerate.
30345         * elf/Makefile (common-ldd-rewrite): Rename to ...
30346         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
30347         (sh-ldd-rewrite): Delete.
30348         (bash-ldd-rewrite): Delete.
30349         (have-bash2): Delete checks.
30350         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
30351         ldd-rewrite.
30353         * config.make.in (have-ksh): Delete.
30354         (KSH): Delete.
30355         * configure.ac (libc_cv_have_ksh): Delete.
30356         * configure: Regenerate.
30358         * elf/Makefile: Delete $(have-ksh) check.
30359         ($(objpfx)sotruss): Change KSH to BASH.
30360         * elf/sotruss.ksh: Rename to ...
30361         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
30362         function style to match POSIX.  Drop ksh vim mode setting.
30364         * manual/time.texi (Specifying the Time Zone with TZ): Change
30365         Tuesday to Thursday.
30367         * debug/tst-longjmp_chk2.c: Update header comment.
30368         (stackoverflow_handler): Add comment.  Call assert on pass value.
30370 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
30372         [BZ #16194]
30373         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
30374         (HAVE_AVX512_ASM_SUPPORT): Likewise.
30375         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
30376         (La_x86_64_vector): Add zmm.
30377         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
30378         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
30379         ($(objpfx)tst-audit10): New target.
30380         ($(objpfx)tst-audit10.out): Likewise.
30381         (tst-audit10-ENV): New.
30382         (AVX512-CFLAGS): Likewise.
30383         (CFLAGS-tst-audit10.c): Likewise.
30384         (CFLAGS-tst-auditmod10a.c): Likewise.
30385         (CFLAGS-tst-auditmod10b.c): Likewise.
30386         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
30387         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
30388         * sysdeps/x86_64/configure: Regenerated.
30389         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
30390         AVX-512 zmm register support.
30391         (_dl_x86_64_save_sse): Likewise.
30392         (_dl_x86_64_restore_sse): Likewise.
30393         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
30394         size vector registers.
30395         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
30396         (ZMM_SIZE): Likewise.
30397         * sysdeps/x86_64/tst-audit10.c: New file.
30398         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
30399         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
30401 2014-03-13  Roland McGrath  <roland@hack.frob.com>
30403         * configure.ac (HAVE_EHDR_START): New check.
30404         * configure: Regenerated.
30405         * config.h.in (HAVE_EHDR_START): New #undef.
30406         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
30407         assuming the lowest-addressed segment maps the start of the file.
30409 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
30411         * INSTALL: Regenerated.
30413 2014-03-13  Will Newton  <will.newton@linaro.org>
30415         * manual/setjmp.texi (System V contexts): Improve
30416         clarity and grammar of documentation.
30418 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
30420         [BZ #16381]
30421         * elf/Makefile (tests): Add tst-pie2.
30422         (tests-pie): Add tst-pie2.
30423         * elf/tst-pie2.c: New file.
30424         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
30425         for ET_EXEC.
30426         * elf/rtld.c (map_doit): Load executable as lt_executable.
30427         (dl_main): Likewise.
30429 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
30431         [BZ #16642]
30432         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30433         (__ASSUME_PSELECT): Undefine.
30435 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30437         [BZ #16689]
30438         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
30439         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
30440         static build.
30441         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
30442         selector for static builds.
30444 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
30446         [BZ #16695]
30447         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
30448         key in the buffer.
30450 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30452         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
30453         IFUNC selector for static builds.
30455 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
30457         * sysdeps/mips/math_private.h [__mips_hard_float]
30458         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
30459         libc_feresetround_mips_ctx.
30460         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
30461         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
30462         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
30464         [BZ #16677]
30465         * math/s_nextafter.c (__nextafter): Do not return value from
30466         overflowing computation.
30467         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
30468         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
30469         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
30470         Likewise.
30471         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
30472         Likewise.
30473         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
30474         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
30476 2014-03-11  Roland McGrath  <roland@hack.frob.com>
30478         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
30479         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
30480         Move sfi_sp use from the load-multiple (that no longer sets sp) to
30481         the new mov targetting sp.
30483 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30485         [BZ #16683]
30486         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
30487         Define it for static builds as well.
30488         (NO_BZERO_IMPL): Likewise.
30490 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
30492         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
30493         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
30494         multiarch strspn for PPC64.
30495         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
30496         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
30497         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
30498         (__libc_ifunc_impl_list): Likewise.
30499         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
30500         multiarch optimizations
30501         * string/strspn.c (strspn): Using macro to redefine symbol name.
30503 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
30504             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30506         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
30507         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
30508         multiarch strncat for PPC64.
30509         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
30510         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
30511         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
30512         (__libc_ifunc_impl_list): Likewise.
30513         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
30514         multiarch optimizations
30516 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
30518         [BZ #16639]
30519         * nscd/nscd.service: Make service type forking.
30521 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30523         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
30524         sign in non default rounding modes.
30525         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
30527 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
30529         * math/libm-test.inc (ALL_RM_TEST): New macro.
30530         (ceil_test): Use ALL_RM_TEST.
30531         (cimag_test): Likewise.
30532         (conj_test): Likewise.
30533         (copysign_test): Likewise.
30534         (cproj_test): Likewise.
30535         (creal_test): Likewise.
30536         (fabs_test): Likewise.
30537         (floor_test): Likewise.
30538         (fmax_test): Likewise.
30539         (fmin_test): Likewise.
30540         (fmod_test): Likewise.
30541         (fpclassify_test): Likewise.
30542         (frexp_test): Likewise.
30543         (ilogb_test): Likewise.
30544         (isfinite_test): Likewise.
30545         (finite_test): Likewise.
30546         (isgreater_test): Likewise.
30547         (isgreaterequal_test): Likewise.
30548         (isinf_test): Likewise.
30549         (isless_test): Likewise.
30550         (islessequal_test): Likewise.
30551         (islessgreater_test): Likewise.
30552         (isnan_test): Likewise.
30553         (isnormal_test): Likewise.
30554         (issignaling_test): Likewise.
30555         (isunordered_test): Likewise.
30556         (logb_test): Likewise.
30557         (logb_downward_test_data): Remove.
30558         (logb_test_downward): Likewise.
30559         (lround_test): Use ALL_RM_TEST.
30560         (llround_test): Likewise.
30561         (modf_test): Likewise.
30562         (nexttoward_test): Likewise.
30563         (remainder_test): Likewise.
30564         (drem_test): Likewise.
30565         (remainder_tonearest_test_data): Likewise.
30566         (remainder_test_tonearest): Likewise.
30567         (drem_test_tonearest): Likewise.
30568         (remainder_towardzero_test_data): Likewise.
30569         (remainder_test_towardzero): Likewise.
30570         (drem_test_towardzero): Likewise.
30571         (remainder_downward_test_data): Likewise.
30572         (remainder_test_downward): Likewise.
30573         (drem_test_downward): Likewise.
30574         (remainder_upward_test_data): Likewise.
30575         (remainder_test_upward): Likewise.
30576         (drem_test_upward): Likewise.
30577         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
30578         (round_test): Use ALL_RM_TEST.
30579         (signbit_test): Likewise.
30580         (trunc_test): Likewise.
30581         (significand_test): Likewise.
30582         (main): Don't call removed functions.
30584 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
30586         [BZ #16674]
30587         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
30588         || __USE_XOPEN2K8].
30589         (ILL_ILLOPN): Likewise.
30590         (ILL_ILLADR): Likewise.
30591         (ILL_ILLTRP): Likewise.
30592         (ILL_PRVOPC): Likewise.
30593         (ILL_PRVREG): Likewise.
30594         (ILL_COPROC): Likewise.
30595         (ILL_BADSTK): Likewise.
30596         (FPE_INTDIV): Likewise.
30597         (FPE_INTOVF): Likewise.
30598         (FPE_FLTDIV): Likewise.
30599         (FPE_FLTOVF): Likewise.
30600         (FPE_FLTUND): Likewise.
30601         (FPE_FLTRES): Likewise.
30602         (FPE_FLTINV): Likewise.
30603         (FPE_FLTSUB): Likewise.
30604         (SEGV_MAPERR): Likewise.
30605         (SEGV_ACCERR): Likewise.
30606         (BUS_ADRALN): Likewise.
30607         (BUS_ADRERR): Likewise.
30608         (BUS_OBJERR): Likewise.
30609         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
30610         (TRAP_TRACE): Likewise.
30611         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
30612         __USE_XOPEN2K8].
30613         (CLD_KILLED): Likewise.
30614         (CLD_DUMPED): Likewise.
30615         (CLD_TRAPPED): Likewise.
30616         (CLD_STOPPED): Likewise.
30617         (CLD_CONTINUED): Likewise.
30618         (POLL_IN): Likewise.
30619         (POLL_OUT): Likewise.
30620         (POLL_MSG): Likewise.
30621         (POLL_ERR): Likewise.
30622         (POLL_PRI): Likewise.
30623         (POLL_HUP): Likewise.
30624         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
30625         Likewise.
30626         (ILL_ILLOPN): Likewise.
30627         (ILL_ILLADR): Likewise.
30628         (ILL_ILLTRP): Likewise.
30629         (ILL_PRVOPC): Likewise.
30630         (ILL_PRVREG): Likewise.
30631         (ILL_COPROC): Likewise.
30632         (ILL_BADSTK): Likewise.
30633         (FPE_INTDIV): Likewise.
30634         (FPE_INTOVF): Likewise.
30635         (FPE_FLTDIV): Likewise.
30636         (FPE_FLTOVF): Likewise.
30637         (FPE_FLTUND): Likewise.
30638         (FPE_FLTRES): Likewise.
30639         (FPE_FLTINV): Likewise.
30640         (FPE_FLTSUB): Likewise.
30641         (SEGV_MAPERR): Likewise.
30642         (SEGV_ACCERR): Likewise.
30643         (BUS_ADRALN): Likewise.
30644         (BUS_ADRERR): Likewise.
30645         (BUS_OBJERR): Likewise.
30646         (BUS_MCEERR_AR): Likewise.
30647         (BUS_MCEERR_AO): Likewise.
30648         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
30649         (TRAP_TRACE): Likewise.
30650         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
30651         __USE_XOPEN2K8].
30652         (CLD_KILLED): Likewise.
30653         (CLD_DUMPED): Likewise.
30654         (CLD_TRAPPED): Likewise.
30655         (CLD_STOPPED): Likewise.
30656         (CLD_CONTINUED): Likewise.
30657         (POLL_IN): Likewise.
30658         (POLL_OUT): Likewise.
30659         (POLL_MSG): Likewise.
30660         (POLL_ERR): Likewise.
30661         (POLL_PRI): Likewise.
30662         (POLL_HUP): Likewise.
30663         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
30664         (ILL_ILLOPN): Likewise.
30665         (ILL_ILLADR): Likewise.
30666         (ILL_ILLTRP): Likewise.
30667         (ILL_PRVOPC): Likewise.
30668         (ILL_PRVREG): Likewise.
30669         (ILL_COPROC): Likewise.
30670         (ILL_BADSTK): Likewise.
30671         (FPE_INTDIV): Likewise.
30672         (FPE_INTOVF): Likewise.
30673         (FPE_FLTDIV): Likewise.
30674         (FPE_FLTOVF): Likewise.
30675         (FPE_FLTUND): Likewise.
30676         (FPE_FLTRES): Likewise.
30677         (FPE_FLTINV): Likewise.
30678         (FPE_FLTSUB): Likewise.
30679         (SEGV_MAPERR): Likewise.
30680         (SEGV_ACCERR): Likewise.
30681         (BUS_ADRALN): Likewise.
30682         (BUS_ADRERR): Likewise.
30683         (BUS_OBJERR): Likewise.
30684         (BUS_MCEERR_AR): Likewise.
30685         (BUS_MCEERR_AO): Likewise.
30686         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
30687         (TRAP_TRACE): Likewise.
30688         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
30689         __USE_XOPEN2K8].
30690         (CLD_KILLED): Likewise.
30691         (CLD_DUMPED): Likewise.
30692         (CLD_TRAPPED): Likewise.
30693         (CLD_STOPPED): Likewise.
30694         (CLD_CONTINUED): Likewise.
30695         (POLL_IN): Likewise.
30696         (POLL_OUT): Likewise.
30697         (POLL_MSG): Likewise.
30698         (POLL_ERR): Likewise.
30699         (POLL_PRI): Likewise.
30700         (POLL_HUP): Likewise.
30701         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
30702         Likewise.
30703         (ILL_ILLOPN): Likewise.
30704         (ILL_ILLADR): Likewise.
30705         (ILL_ILLTRP): Likewise.
30706         (ILL_PRVOPC): Likewise.
30707         (ILL_PRVREG): Likewise.
30708         (ILL_COPROC): Likewise.
30709         (ILL_BADSTK): Likewise.
30710         (ILL_BADIADDR): Likewise.
30711         (ILL_BREAK): Likewise.
30712         (FPE_INTDIV): Likewise.
30713         (FPE_INTOVF): Likewise.
30714         (FPE_FLTDIV): Likewise.
30715         (FPE_FLTOVF): Likewise.
30716         (FPE_FLTUND): Likewise.
30717         (FPE_FLTRES): Likewise.
30718         (FPE_FLTINV): Likewise.
30719         (FPE_FLTSUB): Likewise.
30720         (FPE_DECOVF): Likewise.
30721         (FPE_DECDIV): Likewise.
30722         (FPE_DECERR): Likewise.
30723         (FPE_INVASC): Likewise.
30724         (FPE_INVDEC): Likewise.
30725         (SEGV_MAPERR): Likewise.
30726         (SEGV_ACCERR): Likewise.
30727         (SEGV_PSTKOVF): Likewise.
30728         (BUS_ADRALN): Likewise.
30729         (BUS_ADRERR): Likewise.
30730         (BUS_OBJERR): Likewise.
30731         (BUS_MCEERR_AR): Likewise.
30732         (BUS_MCEERR_AO): Likewise.
30733         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
30734         (TRAP_TRACE): Likewise.
30735         (TRAP_BRANCH): Likewise.
30736         (TRAP_HWBKPT): Likewise.
30737         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
30738         __USE_XOPEN2K8].
30739         (CLD_KILLED): Likewise.
30740         (CLD_DUMPED): Likewise.
30741         (CLD_TRAPPED): Likewise.
30742         (CLD_STOPPED): Likewise.
30743         (CLD_CONTINUED): Likewise.
30744         (POLL_IN): Likewise.
30745         (POLL_OUT): Likewise.
30746         (POLL_MSG): Likewise.
30747         (POLL_ERR): Likewise.
30748         (POLL_PRI): Likewise.
30749         (POLL_HUP): Likewise.
30750         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
30751         (ILL_ILLOPN): Likewise.
30752         (ILL_ILLADR): Likewise.
30753         (ILL_ILLTRP): Likewise.
30754         (ILL_PRVOPC): Likewise.
30755         (ILL_PRVREG): Likewise.
30756         (ILL_COPROC): Likewise.
30757         (ILL_BADSTK): Likewise.
30758         (FPE_INTDIV): Likewise.
30759         (FPE_INTOVF): Likewise.
30760         (FPE_FLTDIV): Likewise.
30761         (FPE_FLTOVF): Likewise.
30762         (FPE_FLTUND): Likewise.
30763         (FPE_FLTRES): Likewise.
30764         (FPE_FLTINV): Likewise.
30765         (FPE_FLTSUB): Likewise.
30766         (SEGV_MAPERR): Likewise.
30767         (SEGV_ACCERR): Likewise.
30768         (BUS_ADRALN): Likewise.
30769         (BUS_ADRERR): Likewise.
30770         (BUS_OBJERR): Likewise.
30771         (BUS_MCEERR_AR): Likewise.
30772         (BUS_MCEERR_AO): Likewise.
30773         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
30774         (TRAP_TRACE): Likewise.
30775         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
30776         __USE_XOPEN2K8].
30777         (CLD_KILLED): Likewise.
30778         (CLD_DUMPED): Likewise.
30779         (CLD_TRAPPED): Likewise.
30780         (CLD_STOPPED): Likewise.
30781         (CLD_CONTINUED): Likewise.
30782         (POLL_IN): Likewise.
30783         (POLL_OUT): Likewise.
30784         (POLL_MSG): Likewise.
30785         (POLL_ERR): Likewise.
30786         (POLL_PRI): Likewise.
30787         (POLL_HUP): Likewise.
30788         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
30789         (ILL_ILLOPN): Likewise.
30790         (ILL_ILLADR): Likewise.
30791         (ILL_ILLTRP): Likewise.
30792         (ILL_PRVOPC): Likewise.
30793         (ILL_PRVREG): Likewise.
30794         (ILL_COPROC): Likewise.
30795         (ILL_BADSTK): Likewise.
30796         (FPE_INTDIV): Likewise.
30797         (FPE_INTOVF): Likewise.
30798         (FPE_FLTDIV): Likewise.
30799         (FPE_FLTOVF): Likewise.
30800         (FPE_FLTUND): Likewise.
30801         (FPE_FLTRES): Likewise.
30802         (FPE_FLTINV): Likewise.
30803         (FPE_FLTSUB): Likewise.
30804         (SEGV_MAPERR): Likewise.
30805         (SEGV_ACCERR): Likewise.
30806         (BUS_ADRALN): Likewise.
30807         (BUS_ADRERR): Likewise.
30808         (BUS_OBJERR): Likewise.
30809         (BUS_MCEERR_AR): Likewise.
30810         (BUS_MCEERR_AO): Likewise.
30811         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
30812         (TRAP_TRACE): Likewise.
30813         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
30814         __USE_XOPEN2K8].
30815         (CLD_KILLED): Likewise.
30816         (CLD_DUMPED): Likewise.
30817         (CLD_TRAPPED): Likewise.
30818         (CLD_STOPPED): Likewise.
30819         (CLD_CONTINUED): Likewise.
30820         (POLL_IN): Likewise.
30821         (POLL_OUT): Likewise.
30822         (POLL_MSG): Likewise.
30823         (POLL_ERR): Likewise.
30824         (POLL_PRI): Likewise.
30825         (POLL_HUP): Likewise.
30826         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
30827         (ILL_ILLOPN): Likewise.
30828         (ILL_ILLADR): Likewise.
30829         (ILL_ILLTRP): Likewise.
30830         (ILL_PRVOPC): Likewise.
30831         (ILL_PRVREG): Likewise.
30832         (ILL_COPROC): Likewise.
30833         (ILL_BADSTK): Likewise.
30834         (FPE_INTDIV): Likewise.
30835         (FPE_INTOVF): Likewise.
30836         (FPE_FLTDIV): Likewise.
30837         (FPE_FLTOVF): Likewise.
30838         (FPE_FLTUND): Likewise.
30839         (FPE_FLTRES): Likewise.
30840         (FPE_FLTINV): Likewise.
30841         (FPE_FLTSUB): Likewise.
30842         (SEGV_MAPERR): Likewise.
30843         (SEGV_ACCERR): Likewise.
30844         (BUS_ADRALN): Likewise.
30845         (BUS_ADRERR): Likewise.
30846         (BUS_OBJERR): Likewise.
30847         (BUS_MCEERR_AR): Likewise.
30848         (BUS_MCEERR_AO): Likewise.
30849         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
30850         (TRAP_TRACE): Likewise.
30851         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
30852         __USE_XOPEN2K8].
30853         (CLD_KILLED): Likewise.
30854         (CLD_DUMPED): Likewise.
30855         (CLD_TRAPPED): Likewise.
30856         (CLD_STOPPED): Likewise.
30857         (CLD_CONTINUED): Likewise.
30858         (POLL_IN): Likewise.
30859         (POLL_OUT): Likewise.
30860         (POLL_MSG): Likewise.
30861         (POLL_ERR): Likewise.
30862         (POLL_PRI): Likewise.
30863         (POLL_HUP): Likewise.
30864         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
30865         (ILL_ILLOPN): Likewise.
30866         (ILL_ILLADR): Likewise.
30867         (ILL_ILLTRP): Likewise.
30868         (ILL_PRVOPC): Likewise.
30869         (ILL_PRVREG): Likewise.
30870         (ILL_COPROC): Likewise.
30871         (ILL_BADSTK): Likewise.
30872         (ILL_DBLFLT): Likewise.
30873         (ILL_HARDWALL): Likewise.
30874         (FPE_INTDIV): Likewise.
30875         (FPE_INTOVF): Likewise.
30876         (FPE_FLTDIV): Likewise.
30877         (FPE_FLTOVF): Likewise.
30878         (FPE_FLTUND): Likewise.
30879         (FPE_FLTRES): Likewise.
30880         (FPE_FLTINV): Likewise.
30881         (FPE_FLTSUB): Likewise.
30882         (SEGV_MAPERR): Likewise.
30883         (SEGV_ACCERR): Likewise.
30884         (BUS_ADRALN): Likewise.
30885         (BUS_ADRERR): Likewise.
30886         (BUS_OBJERR): Likewise.
30887         (BUS_MCEERR_AR): Likewise.
30888         (BUS_MCEERR_AO): Likewise.
30889         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
30890         (TRAP_TRACE): Likewise.
30891         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
30892         __USE_XOPEN2K8].
30893         (CLD_KILLED): Likewise.
30894         (CLD_DUMPED): Likewise.
30895         (CLD_TRAPPED): Likewise.
30896         (CLD_STOPPED): Likewise.
30897         (CLD_CONTINUED): Likewise.
30898         (POLL_IN): Likewise.
30899         (POLL_OUT): Likewise.
30900         (POLL_MSG): Likewise.
30901         (POLL_ERR): Likewise.
30902         (POLL_PRI): Likewise.
30903         (POLL_HUP): Likewise.
30904         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
30905         (ILL_ILLOPN): Likewise.
30906         (ILL_ILLADR): Likewise.
30907         (ILL_ILLTRP): Likewise.
30908         (ILL_PRVOPC): Likewise.
30909         (ILL_PRVREG): Likewise.
30910         (ILL_COPROC): Likewise.
30911         (ILL_BADSTK): Likewise.
30912         (FPE_INTDIV): Likewise.
30913         (FPE_INTOVF): Likewise.
30914         (FPE_FLTDIV): Likewise.
30915         (FPE_FLTOVF): Likewise.
30916         (FPE_FLTUND): Likewise.
30917         (FPE_FLTRES): Likewise.
30918         (FPE_FLTINV): Likewise.
30919         (FPE_FLTSUB): Likewise.
30920         (SEGV_MAPERR): Likewise.
30921         (SEGV_ACCERR): Likewise.
30922         (BUS_ADRALN): Likewise.
30923         (BUS_ADRERR): Likewise.
30924         (BUS_OBJERR): Likewise.
30925         (BUS_MCEERR_AR): Likewise.
30926         (BUS_MCEERR_AO): Likewise.
30927         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
30928         (TRAP_TRACE): Likewise.
30929         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
30930         __USE_XOPEN2K8].
30931         (CLD_KILLED): Likewise.
30932         (CLD_DUMPED): Likewise.
30933         (CLD_TRAPPED): Likewise.
30934         (CLD_STOPPED): Likewise.
30935         (CLD_CONTINUED): Likewise.
30936         (POLL_IN): Likewise.
30937         (POLL_OUT): Likewise.
30938         (POLL_MSG): Likewise.
30939         (POLL_ERR): Likewise.
30940         (POLL_PRI): Likewise.
30941         (POLL_HUP): Likewise.
30942         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
30943         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
30945         [BZ #16670]
30946         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
30947         before #include of <time.h>.
30948         [!__USE_XOPEN2K] (__need_timespec): Likewise.
30949         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
30950         (test-xfail-UNIX98/sched.h/conform): Likewise.
30952 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
30954         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
30955         error absence of trapping exception support.
30956         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
30958 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
30960         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
30961         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
30962         * timezone/Makefile (testdata): Move definition above include of
30963         Rules.
30964         (test-zones): New variable.
30965         (tests-special): Add zone files.
30966         (build-testdata): Use $(evaluate-test).
30968         * elf/Makefile (tests-special): Rename tests to end with .out.
30969         ($(objpfx)noload-mem): Likewise.
30970         ($(objpfx)tst-leaks1-mem): Likewise.
30971         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
30972         * iconv/Makefile (xtests-special): Change test-iconvconfig to
30973         $(objpfx)test-iconvconfig.out.
30974         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
30975         set -e inside subshell and redirect output to file.
30976         * iconvdata/Makefile (generated): Rename tests to end with .out.
30977         Correct type.
30978         (tests-special): Rename tests to end with .out.
30979         ($(objpfx)mtrace-tst-loading): Likewise.
30980         * intl/Makefile (generated): Likewise.
30981         (tests-special): Likewise.
30982         ($(objpfx)mtrace-tst-gettext): Likewise.
30983         * misc/Makefile (generated): Likewise.
30984         (tests-special): Likewise.
30985         ($(objpfx)tst-error1-mem): Likewise.
30986         * nptl/Makefile (tests-special): Likewise.
30987         ($(objpfx)tst-stack3-mem): Likewise.
30988         (generated): Likewise.
30989         * posix/Makefile (generated): Likewise.
30990         (tests-special): Likewise.
30991         (xtests-special): Likewise.
30992         ($(objpfx)tst-fnmatch-mem): Likewise.
30993         ($(objpfx)bug-regex2-mem): Likewise.
30994         ($(objpfx)bug-regex14-mem): Likewise.
30995         ($(objpfx)bug-regex21-mem): Likewise.
30996         ($(objpfx)bug-regex31-mem): Likewise.
30997         ($(objpfx)tst-vfork3-mem): Likewise.
30998         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
30999         ($(objpfx)tst-pcre-mem): Likewise.
31000         ($(objpfx)tst-boost-mem): Likewise.
31001         ($(objpfx)bug-ga2-mem): Likewise.
31002         ($(objpfx)bug-glob2-mem): Likewise.
31003         * resolv/Makefile (generate): Likewise.
31004         (tests-special): Likewise.
31005         (xtests-special): Likewise.
31006         (generated): Likewise.
31007         ($(objpfx)mtrace-tst-leaks): Likewise.
31008         ($(objpfx)mtrace-tst-leaks2): Likewise.
31010         * scripts/merge-test-results.sh: New file.
31011         * Makefile (tests-special-notdir): New variable.
31012         (tests): Run merge-test-results.sh.
31013         (xtests): Likewise.
31014         * Rules (tests-special-notdir): New variable.
31015         (xtests-special-notdir): Likewise.
31016         (tests): Run merge-test-results.sh
31017         (xtests): Likewise.
31019         * Makeconfig (test-xfail-name): New variable.
31020         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
31021         compute variable name for expected failures.
31022         * conform/Makefile (conformtest-headers-data): New variable.
31023         (conformtest-standards): Likewise.
31024         (conformtest-headers-ISO): Likewise.
31025         (conformtest-headers-ISO99): Likewise.
31026         (conformtest-headers-ISO11): Likewise.
31027         (conformtest-headers-POSIX): Likewise.
31028         (conformtest-headers-XPG3): Likewise.
31029         (conformtest-headers-XPG4): Likewise.
31030         (conformtest-headers-UNIX98): Likewise.
31031         (conformtest-headers-XOPEN2K): Likewise.
31032         (conformtest-headers-POSIX2008): Likewise.
31033         (conformtest-headers-XOPEN2K8): Likewise.
31034         (conformtest-header-list-base): Likewise.
31035         (conformtest-header-list-tests): Likewise.
31036         (conformtest-header-base): Likewise.
31037         (conformtest-header-tests): Likewise.
31038         (tests-special): Add $(conformtest-header-list-tests).  If
31039         [$(fast-check) && !$(cross-compiling)], add
31040         $(conformtest-header-tests) instead of
31041         $(objpfx)run-conformtest.out.
31042         (generated): Add $(conformtest-header-list-base).  If
31043         [$(fast-check) && !$(cross-compiling)], add
31044         $(conformtest-header-base).  Remove previous setting.
31045         ($(conformtest-header-list-tests)): New target.
31046         (test-xfail-run-conformtest): Remove variable.
31047         ($(objpfx)run-conformtest.out): Remove target.
31048         (test-xfail-ISO11/complex.h/conform): New variable.
31049         (test-xfail-ISO11/stdalign.h/conform): Likewise.
31050         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
31051         (test-xfail-XPG3/varargs.h/conform): Likewise.
31052         (test-xfail-XPG4/varargs.h/conform): Likewise.
31053         (test-xfail-UNIX98/varargs.h/conform): Likewise.
31054         (test-xfail-XPG4/ndbm.h/conform): Likewise.
31055         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
31056         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
31057         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
31058         (test-xfail-XPG3/fcntl.h/conform): Likewise.
31059         (test-xfail-XPG3/ftw.h/conform): Likewise.
31060         (test-xfail-XPG3/grp.h/conform): Likewise.
31061         (test-xfail-XPG3/langinfo.h/conform): Likewise.
31062         (test-xfail-XPG3/limits.h/conform): Likewise.
31063         (test-xfail-XPG3/pwd.h/conform): Likewise.
31064         (test-xfail-XPG3/search.h/conform): Likewise.
31065         (test-xfail-XPG3/signal.h/conform): Likewise.
31066         (test-xfail-XPG3/stdio.h/conform): Likewise.
31067         (test-xfail-XPG3/stdlib.h/conform): Likewise.
31068         (test-xfail-XPG3/string.h/conform): Likewise.
31069         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
31070         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
31071         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
31072         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
31073         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
31074         (test-xfail-XPG3/sys/types.h/conform): Likewise.
31075         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
31076         (test-xfail-XPG3/termios.h/conform): Likewise.
31077         (test-xfail-XPG3/time.h/conform): Likewise.
31078         (test-xfail-XPG3/unistd.h/conform): Likewise.
31079         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
31080         (test-xfail-XPG4/fcntl.h/conform): Likewise.
31081         (test-xfail-XPG4/langinfo.h/conform): Likewise.
31082         (test-xfail-XPG4/netdb.h/conform): Likewise.
31083         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
31084         (test-xfail-XPG4/signal.h/conform): Likewise.
31085         (test-xfail-XPG4/stdio.h/conform): Likewise.
31086         (test-xfail-XPG4/stdlib.h/conform): Likewise.
31087         (test-xfail-XPG4/stropts.h/conform): Likewise.
31088         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
31089         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
31090         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
31091         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
31092         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
31093         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
31094         (test-xfail-XPG4/sys/time.h/conform): Likewise.
31095         (test-xfail-XPG4/sys/types.h/conform): Likewise.
31096         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
31097         (test-xfail-XPG4/termios.h/conform): Likewise.
31098         (test-xfail-XPG4/ucontext.h/conform): Likewise.
31099         (test-xfail-XPG4/unistd.h/conform): Likewise.
31100         (test-xfail-XPG4/utmpx.h/conform): Likewise.
31101         (test-xfail-POSIX/sched.h/conform): Likewise.
31102         (test-xfail-POSIX/signal.h/conform): Likewise.
31103         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
31104         (test-xfail-POSIX/tar.h/conform): Likewise.
31105         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
31106         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
31107         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
31108         (test-xfail-UNIX98/netdb.h/conform): Likewise.
31109         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
31110         (test-xfail-UNIX98/sched.h/conform): Likewise.
31111         (test-xfail-UNIX98/signal.h/conform): Likewise.
31112         (test-xfail-UNIX98/stdio.h/conform): Likewise.
31113         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
31114         (test-xfail-UNIX98/stropts.h/conform): Likewise.
31115         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
31116         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
31117         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
31118         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
31119         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
31120         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
31121         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
31122         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
31123         (test-xfail-UNIX98/unistd.h/conform): Likewise.
31124         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
31125         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
31126         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
31127         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
31128         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
31129         (test-xfail-XOPEN2K/math.h/conform): Likewise.
31130         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
31131         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
31132         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
31133         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
31134         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
31135         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
31136         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
31137         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
31138         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
31139         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
31140         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
31141         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
31142         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
31143         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
31144         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
31145         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
31146         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
31147         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
31148         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
31149         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
31150         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
31151         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
31152         (test-xfail-POSIX2008/signal.h/conform): Likewise.
31153         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
31154         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
31155         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
31156         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
31157         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
31158         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
31159         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
31160         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
31161         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
31162         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
31163         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
31164         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
31165         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
31166         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
31167         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
31168         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
31169         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
31170         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
31171         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
31172         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
31173         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
31174         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
31175         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
31176         (conformtest-cc-flags): Likewise.
31177         ($(conformtest-header-tests): New target.
31178         * conform/check-header-lists.sh: New file.
31179         * conform/run-conformtest.sh: Remove.
31181         * conform/conformtest.pl: Allow ' and \ in values given for
31182         constants.
31183         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
31184         inclusion.
31185         [POSIX] (sys/types.h): Likewise.
31186         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
31187         inclusion.
31188         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
31189         inclusion.
31190         * conform/data/signal.h-data (SIGIO): Remove expectation.
31191         [XPG3] (SIGBUS): Do not expect.
31192         [POSIX || XPG3] (SIGPOLL): Likewise.
31193         [POSIX || XPG3] (SIGPROF): Likewise.
31194         [POSIX || XPG3] (SIGSYS): Likewise.
31195         [XPG3] (SIGTRAP): Likewise.
31196         [POSIX || XPG3] (SIGURG): Likewise.
31197         [POSIX || XPG3] (SIGVTALRM): Likewise.
31198         [POSIX || XPG3] (SIGXCPU): Likewise.
31199         [POSIX || XPG3] (SIGXFSZ): Likewise.
31200         [POSIX] (SA_SIGINFO): Expect.
31201         [XPG3] (siginfo_t): Do not expect type or contents.
31202         [POSIX] (si_pid): Do not expect element.
31203         [POSIX] (si_uid): Likewise.
31204         [POSIX] (si_addr): Likewise.
31205         [POSIX] (si_status): Likewise.
31206         [POSIX] (si_band): Likewise.
31207         [XPG4] (si_value): Likewise.
31208         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
31209         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
31210         [POSIX || XPG3] (ILL_ILLADR): Likewise.
31211         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
31212         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
31213         [POSIX || XPG3] (ILL_PRVREG): Likewise.
31214         [POSIX || XPG3] (ILL_COPROC): Likewise.
31215         [POSIX || XPG3] (ILL_BADSTK): Likewise.
31216         [POSIX || XPG3] (FPE_INTDIV): Likewise.
31217         [POSIX || XPG3] (FPE_INTOVF): Likewise.
31218         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
31219         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
31220         [POSIX || XPG3] (FPE_FLTUND): Likewise.
31221         [POSIX || XPG3] (FPE_FLTRES): Likewise.
31222         [POSIX || XPG3] (FPE_FLTINV): Likewise.
31223         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
31224         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
31225         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
31226         [POSIX || XPG3] (BUS_ADRALN): Likewise.
31227         [POSIX || XPG3] (BUS_ADRERR): Likewise.
31228         [POSIX || XPG3] (BUS_OBJERR): Likewise.
31229         [POSIX || XPG3] (CLD_EXITED): Likewise.
31230         [POSIX || XPG3] (CLD_KILLED): Likewise.
31231         [POSIX || XPG3] (CLD_DUMPED): Likewise.
31232         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
31233         [POSIX || XPG3] (CLD_STOPPED): Likewise.
31234         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
31235         [POSIX || XPG3] (POLL_IN): Likewise.
31236         [POSIX || XPG3] (POLL_OUT): Likewise.
31237         [POSIX || XPG3] (POLL_MSG): Likewise.
31238         [POSIX || XPG3] (POLL_ERR): Likewise.
31239         [POSIX || XPG3] (POLL_PRI): Likewise.
31240         [POSIX || XPG3] (POLL_HUP): Likewise.
31241         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
31242         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
31243         (SIG*): Do not allow.
31244         [XPG3] (si_*): Likewise.
31245         [XPG3] (SI_*): Likewise.
31246         [XPG3 || XPG4] (sigev_*): Likewise.
31247         [XPG3 || XPG4] (SIGEV_*): Likewise.
31248         [XPG3 || XPG4] (sival_*): Likewise.
31249         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
31250         [POSIX || XPG3] (BUS_*): Likewise.
31251         [POSIX || XPG3] (CLD_*): Likewise.
31252         [POSIX || XPG3] (FPE_*): Likewise.
31253         [POSIX || XPG3] (ILL_*): Likewise.
31254         [POSIX || XPG3] (POLL_*): Likewise.
31255         [POSIX || XPG3] (SEGV_*): Likewise.
31256         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
31257         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
31258         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
31259         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
31260         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
31261         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
31262         Specify type and value.
31263         (TVERSLEN): Likewise.
31264         (REGTYPE): Likewise.
31265         (AREGTYPE): Likewise.
31266         (LNKTYPE): Likewise.
31267         (SYMTYPE): Likewise.
31268         (CHRTYPE): Likewise.
31269         (BLKTYPE): Likewise.
31270         (DIRTYPE): Likewise.
31271         (FIFOTYPE): Likewise.
31272         (CONTTYPE): Likewise.
31273         (TSUID): Likewise.
31274         (TSGID): Likewise.
31275         (TSVTX): Likewise.
31276         (TUREAD): Likewise.
31277         (TUWRITE): Likewise.
31278         (TUEXEC): Likewise.
31279         (TGREAD): Likewise.
31280         (TGWRITE): Likewise.
31281         (TGEXEC): Likewise.
31282         (TOREAD): Likewise.
31283         (TOWRITE): Likewise.
31284         (TOEXEC): Likewise.
31285         [POSIX] (TSVTX): Expect constant.
31287 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
31289         * Makefile (tests): Change dependencies to ....
31290         (tests-special): ... additions to this variable.
31291         (tests): Depend on $(tests-special).
31292         * Makerules (check-abi-list): New variable.
31293         (check-abi): Depend on $(check-abi-list).
31294         [$(subdir) = elf] (tests-special): Add
31295         $(objpfx)check-abi-libc.out.
31296         [$(build-shared) = yes && subdir] (tests-special): Add
31297         $(check-abi-list).
31298         [$(build-shared) = yes && subdir] (tests): Do not depend on
31299         check-abi.
31300         * Rules (tests): Depend on $(tests-special).
31301         (xtests): Depend on $(xtests-special).
31302         * catgets/Makefile (tests): Change dependencies to ....
31303         (tests-special): ... additions to this variable.
31304         * conform/Makefile (tests): Change dependencies to ....
31305         (tests-special): ... additions to this variable.
31306         * elf/Makefile (tests): Change dependencies to ....
31307         (tests-special): ... additions to this variable.
31308         * grp/Makefile (tests): Change dependencies to ....
31309         (tests-special): ... additions to this variable.
31310         * iconv/Makefile (xtests): Change dependencies to ....
31311         (xtests-special): ... additions to this variable.
31312         * iconvdata/Makefile (tests): Change dependencies to ....
31313         (tests-special): ... additions to this variable.
31314         * intl/Makefile (tests): Change dependencies to ....
31315         (tests-special): ... additions to this variable.  Also add
31316         $(objpfx)tst-gettext.out.
31317         * io/Makefile (tests): Change dependencies to ....
31318         (tests-special): ... additions to this variable.
31319         * libio/Makefile (tests): Change dependencies to ....
31320         (tests-special): ... additions to this variable.
31321         * malloc/Makefile (tests): Change dependencies to ....
31322         (tests-special): ... additions to this variable.
31323         * misc/Makefile (tests): Change dependencies to ....
31324         (tests-special): ... additions to this variable.
31325         * nptl/Makefile (tests): Change dependencies to ....
31326         (tests-special): ... additions to this variable.
31327         * nptl_db/Makefile (tests): Change dependencies to ....
31328         (tests-special): ... additions to this variable.
31329         * posix/Makefile (tests): Change dependencies to ....
31330         (tests-special): ... additions to this variable.
31331         (xtests): Change dependencies to ....
31332         (xtests-special): ... additions to this variable.
31333         * resolv/Makefile (tests): Change dependencies to ....
31334         (tests-special): ... additions to this variable.
31335         (xtests): Change dependencies to ....
31336         (xtests-special): ... additions to this variable.
31337         * stdio-common/Makefile (tests): Change dependencies to ....
31338         (tests-special): ... additions to this variable.
31339         (do-tst-unbputc): Remove target.
31340         (do-tst-printf): Likewise.
31341         * stdlib/Makefile (tests): Change dependencies to ....
31342         (tests-special): ... additions to this variable.
31343         * string/Makefile (tests): Change dependencies to ....
31344         (tests-special): ... additions to this variable.
31345         * sysdeps/x86/Makefile (tests): Change dependencies to ....
31346         (tests-special): ... additions to this variable.
31348         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
31349         whole file.
31350         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
31351         whole file.
31352         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
31353         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
31355         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
31356         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
31357         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
31358         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
31359         * conform/data/libgen.h-data [XPG3]: Likewise.
31360         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
31361         * conform/data/ndbm.h-data [XPG3]: Likewise.
31362         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
31363         * conform/data/netdb.h-data [XPG3]: Likewise.
31364         * conform/data/netinet/in.h-data [XPG3]: Likewise.
31365         * conform/data/poll.h-data [XPG3]: Likewise.
31366         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
31367         * conform/data/strings.h-data [XPG3]: Likewise.
31368         * conform/data/stropts.h-data [XPG3]: Likewise.
31369         * conform/data/sys/mman.h-data [XPG3]: Likewise.
31370         * conform/data/sys/resource.h-data [XPG3]: Likewise.
31371         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
31372         Likewise.
31373         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
31374         * conform/data/sys/time.h-data [XPG3]: Likewise.
31375         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
31376         * conform/data/sys/uio.h-data [XPG3]: Likewise.
31377         * conform/data/sys/un.h-data [XPG3]: Likewise.
31378         * conform/data/syslog.h-data [XPG3]: Likewise.
31379         * conform/data/ucontext.h-data [XPG3]: Likewise.
31380         * conform/data/utmpx.h-data [XPG3]: Likewise.
31381         * conform/data/varargs.h-data [UNIX98]: Enable file.
31383         * manual/Makefile (INSTALL_INFO): Remove variable setting.
31385         * math/libm-test.inc (struct test_f_f_data): Move expected results
31386         into structure for each rounding mode.
31387         (struct test_ff_f_data): Likewise.
31388         (struct test_ff_f_data_nexttoward): Likewise.
31389         (struct test_fi_f_data): Likewise.
31390         (struct test_fl_f_data): Likewise.
31391         (struct test_if_f_data): Likewise.
31392         (struct test_fff_f_data): Likewise.
31393         (struct test_c_f_data): Likewise.
31394         (struct test_f_f1_data): Likewise.
31395         (struct test_fF_f1_data): Likewise.
31396         (struct test_ffI_f1_data): Likewise.
31397         (struct test_c_c_data): Likewise.
31398         (struct test_cc_c_data): Likewise.
31399         (struct test_f_i_data): Likewise.
31400         (struct test_ff_i_data): Likewise.
31401         (struct test_f_l_data): Likewise.
31402         (struct test_f_L_data): Likewise.
31403         (struct test_fFF_11_data): Likewise.
31404         (RM_): New macro.
31405         (RM_FE_DOWNWARD): Likewise.
31406         (RM_FE_TONEAREST): Likewise.
31407         (RM_FE_TOWARDZERO): Likewise.
31408         (RM_FE_UPWARD): Likewise.
31409         (RUN_TEST_LOOP_f_f): Update references to expected results.
31410         (RUN_TEST_LOOP_2_f): Likewise.
31411         (RUN_TEST_LOOP_fff_f): Likewise.
31412         (RUN_TEST_LOOP_c_f): Likewise.
31413         (RUN_TEST_LOOP_f_f1): Likewise.
31414         (RUN_TEST_LOOP_fF_f1): Likewise.
31415         (RUN_TEST_LOOP_fI_f1): Likewise.
31416         (RUN_TEST_LOOP_ffI_f1): Likewise.
31417         (RUN_TEST_LOOP_c_c): Likewise.
31418         (RUN_TEST_LOOP_cc_c): Likewise.
31419         (RUN_TEST_LOOP_f_i): Likewise.
31420         (RUN_TEST_LOOP_f_i_tg): Likewise.
31421         (RUN_TEST_LOOP_ff_i_tg): Likewise.
31422         (RUN_TEST_LOOP_f_b): Likewise.
31423         (RUN_TEST_LOOP_f_b_tg): Likewise.
31424         (RUN_TEST_LOOP_f_l): Likewise.
31425         (RUN_TEST_LOOP_f_L): Likewise.
31426         (RUN_TEST_LOOP_fFF_11): Likewise.
31427         * math/gen-libm-test.pl (parse_args): Output four copies of
31428         expected results for each test.
31430         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
31431         (__ASSUME_UTIMES): Remove.
31432         * sysdeps/unix/sysv/linux/tile/kernel-features.h
31433         (__ASSUME_UTIMES): Likewise.
31435         * math/gen-auto-libm-tests.c: Update comment on output format.
31436         (output_for_one_input_case): Generate before-rounding and
31437         after-rounding information as conditions on output flags not
31438         floating-point format.
31439         * math/auto-libm-test-out: Regenerated.
31440         * math/gen-libm-test.pl (cond_value): New function.
31441         (or_cond_value): Use cond_value.
31442         (generate_testfile): Handle conditional exceptions.
31444 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
31446         * math/libm-test.inc (max_valid_error): New variable.
31447         (init_max_error): Take new argument specifying whether function
31448         results are exactly determined.  Set max_valid_error and bound
31449         other variables for errors based on this argument.
31450         (set_max_error): Do not record results above max_valid_error.
31451         (check_float_internal): Only accept errors of up to 0.5ulps if
31452         also at most max_valid_error.
31453         (START): Take new argument EXACT and pass it to init_max_error.
31454         (acos_test): Update call to START.
31455         (acos_test_tonearest): Likewise.
31456         (acos_test_towardzero): Likewise.
31457         (acos_test_downward): Likewise.
31458         (acos_test_upward): Likewise.
31459         (acosh_test): Likewise.
31460         (asin_test): Likewise.
31461         (asin_test_tonearest): Likewise.
31462         (asin_test_towardzero): Likewise.
31463         (asin_test_downward): Likewise.
31464         (asin_test_upward): Likewise.
31465         (asinh_test): Likewise.
31466         (atan_test): Likewise.
31467         (atanh_test): Likewise.
31468         (atan2_test): Likewise.
31469         (cabs_test): Likewise.
31470         (cacos_test): Likewise.
31471         (cacosh_test): Likewise.
31472         (carg_test): Likewise.
31473         (casin_test): Likewise.
31474         (casinh_test): Likewise.
31475         (catan_test): Likewise.
31476         (catanh_test): Likewise.
31477         (cbrt_test): Likewise.
31478         (ccos_test): Likewise.
31479         (ccosh_test): Likewise.
31480         (ceil_test): Likewise.
31481         (cexp_test): Likewise.
31482         (cimag_test): Likewise.
31483         (clog_test): Likewise.
31484         (clog10_test): Likewise.
31485         (conj_test): Likewise.
31486         (copysign_test): Likewise.
31487         (cos_test): Likewise.
31488         (cos_test_tonearest): Likewise.
31489         (cos_test_towardzero): Likewise.
31490         (cos_test_downward): Likewise.
31491         (cos_test_upward): Likewise.
31492         (cosh_test): Likewise.
31493         (cosh_test_tonearest): Likewise.
31494         (cosh_test_towardzero): Likewise.
31495         (cosh_test_downward): Likewise.
31496         (cosh_test_upward): Likewise.
31497         (cpow_test): Likewise.
31498         (cproj_test): Likewise.
31499         (creal_test): Likewise.
31500         (csin_test): Likewise.
31501         (csinh_test): Likewise.
31502         (csqrt_test): Likewise.
31503         (ctan_test): Likewise.
31504         (ctan_test_tonearest): Likewise.
31505         (ctan_test_towardzero): Likewise.
31506         (ctan_test_downward): Likewise.
31507         (ctan_test_upward): Likewise.
31508         (ctanh_test): Likewise.
31509         (ctanh_test_tonearest): Likewise.
31510         (ctanh_test_towardzero): Likewise.
31511         (ctanh_test_downward): Likewise.
31512         (ctanh_test_upward): Likewise.
31513         (erf_test): Likewise.
31514         (erfc_test): Likewise.
31515         (exp_test): Likewise.
31516         (exp_test_tonearest): Likewise.
31517         (exp_test_towardzero): Likewise.
31518         (exp_test_downward): Likewise.
31519         (exp_test_upward): Likewise.
31520         (exp10_test): Likewise.
31521         (exp10_test_tonearest): Likewise.
31522         (exp10_test_towardzero): Likewise.
31523         (exp10_test_downward): Likewise.
31524         (exp10_test_upward): Likewise.
31525         (pow10_test): Likewise.
31526         (exp2_test): Likewise.
31527         (expm1_test): Likewise.
31528         (expm1_test_tonearest): Likewise.
31529         (expm1_test_towardzero): Likewise.
31530         (expm1_test_downward): Likewise.
31531         (expm1_test_upward): Likewise.
31532         (fabs_test): Likewise.
31533         (fdim_test): Likewise.
31534         (floor_test): Likewise.
31535         (fma_test): Likewise.
31536         (fma_test_towardzero): Likewise.
31537         (fma_test_downward): Likewise.
31538         (fma_test_upward): Likewise.
31539         (fmax_test): Likewise.
31540         (fmin_test): Likewise.
31541         (fmod_test): Likewise.
31542         (fpclassify_test): Likewise.
31543         (frexp_test): Likewise.
31544         (hypot_test): Likewise.
31545         (ilogb_test): Likewise.
31546         (isfinite_test): Likewise.
31547         (finite_test): Likewise.
31548         (isgreater_test): Likewise.
31549         (isgreaterequal_test): Likewise.
31550         (isinf_test): Likewise.
31551         (isless_test): Likewise.
31552         (islessequal_test): Likewise.
31553         (islessgreater_test): Likewise.
31554         (isnan_test): Likewise.
31555         (isnormal_test): Likewise.
31556         (issignaling_test): Likewise.
31557         (isunordered_test): Likewise.
31558         (j0_test): Likewise.
31559         (j1_test): Likewise.
31560         (jn_test): Likewise.
31561         (ldexp_test): Likewise.
31562         (lgamma_test): Likewise.
31563         (gamma_test): Likewise.
31564         (lrint_test): Likewise.
31565         (lrint_test_tonearest): Likewise.
31566         (lrint_test_towardzero): Likewise.
31567         (lrint_test_downward): Likewise.
31568         (lrint_test_upward): Likewise.
31569         (llrint_test): Likewise.
31570         (llrint_test_tonearest): Likewise.
31571         (llrint_test_towardzero): Likewise.
31572         (llrint_test_downward): Likewise.
31573         (llrint_test_upward): Likewise.
31574         (log_test): Likewise.
31575         (log10_test): Likewise.
31576         (log1p_test): Likewise.
31577         (log2_test): Likewise.
31578         (logb_test): Likewise.
31579         (logb_test_downward): Likewise.
31580         (lround_test): Likewise.
31581         (llround_test): Likewise.
31582         (modf_test): Likewise.
31583         (nearbyint_test): Likewise.
31584         (nextafter_test): Likewise.
31585         (nexttoward_test): Likewise.
31586         (pow_test): Likewise.
31587         (pow_test_tonearest): Likewise.
31588         (pow_test_towardzero): Likewise.
31589         (pow_test_downward): Likewise.
31590         (pow_test_upward): Likewise.
31591         (remainder_test): Likewise.
31592         (drem_test): Likewise.
31593         (remainder_test_tonearest): Likewise.
31594         (drem_test_tonearest): Likewise.
31595         (remainder_test_towardzero): Likewise.
31596         (drem_test_towardzero): Likewise.
31597         (remainder_test_downward): Likewise.
31598         (drem_test_downward): Likewise.
31599         (remainder_test_upward): Likewise.
31600         (drem_test_upward): Likewise.
31601         (remquo_test): Likewise.
31602         (rint_test): Likewise.
31603         (rint_test_tonearest): Likewise.
31604         (rint_test_towardzero): Likewise.
31605         (rint_test_downward): Likewise.
31606         (rint_test_upward): Likewise.
31607         (round_test): Likewise.
31608         (scalb_test): Likewise.
31609         (scalbn_test): Likewise.
31610         (scalbln_test): Likewise.
31611         (signbit_test): Likewise.
31612         (sin_test): Likewise.
31613         (sin_test_tonearest): Likewise.
31614         (sin_test_towardzero): Likewise.
31615         (sin_test_downward): Likewise.
31616         (sin_test_upward): Likewise.
31617         (sincos_test): Likewise.
31618         (sinh_test): Likewise.
31619         (sinh_test_tonearest): Likewise.
31620         (sinh_test_towardzero): Likewise.
31621         (sinh_test_downward): Likewise.
31622         (sinh_test_upward): Likewise.
31623         (sqrt_test): Likewise.
31624         (sqrt_test_tonearest): Likewise.
31625         (sqrt_test_towardzero): Likewise.
31626         (sqrt_test_downward): Likewise.
31627         (sqrt_test_upward): Likewise.
31628         (tan_test): Likewise.
31629         (tan_test_tonearest): Likewise.
31630         (tan_test_towardzero): Likewise.
31631         (tan_test_downward): Likewise.
31632         (tan_test_upward): Likewise.
31633         (tanh_test): Likewise.
31634         (tgamma_test): Likewise.
31635         (trunc_test): Likewise.
31636         (y0_test): Likewise.
31637         (y1_test): Likewise.
31638         (yn_test): Likewise.
31639         (significand_test): Likewise.
31641         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
31642         individual tests in comment.
31643         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
31644         (prev_max_error): New variable.
31645         (prev_real_max_error): Likewise.
31646         (prev_imag_max_error): Likewise.
31647         (compare_ulp_data): Don't refer to test names in comment.
31648         (find_test_ulps): Remove function.
31649         (find_function_ulps): Likewise.
31650         (find_complex_function_ulps): Likewise.
31651         (init_max_error): Take function name as argument.  Look up ulps
31652         for that function.
31653         (print_ulps): Remove function.
31654         (print_max_error): Use prev_max_error instead of calling
31655         find_function_ulps.
31656         (print_complex_max_error): Use prev_real_max_error and
31657         prev_imag_max_error instead of calling find_complex_function_ulps.
31658         (check_float_internal): Take max_ulp parameter instead of calling
31659         find_test_ulps.  Don't call print_ulps.
31660         (check_float): Update call to check_float_internal.
31661         (check_complex): Update calls to check_float_internal.
31662         (START): Pass argument to init_max_error.
31663         * math/gen-libm-test.pl (%results): Don't include "kind"
31664         information.
31665         (parse_ulps): Don't handle ulps of individual tests.
31666         (print_ulps_file): Likewise.
31667         (output_ulps): Likewise.
31668         * math/README.libm-test: Update.
31669         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
31670         individual tests.
31671         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
31672         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
31673         * sysdeps/arm/libm-test-ulps: Likewise.
31674         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
31675         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
31676         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
31677         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
31678         * sysdeps/microblaze/libm-test-ulps: Likewise.
31679         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
31680         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
31681         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31682         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
31683         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
31684         * sysdeps/sh/libm-test-ulps: Likewise.
31685         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
31686         * sysdeps/tile/libm-test-ulps: Likewise.
31687         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31689 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
31691         * math/libm-test.inc (print_complex_max_error): Check separately
31692         whether real and imaginary errors are within allowed range and
31693         pass 0 to print_complex_function_ulps instead of value within
31694         allowed range.
31696 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
31698         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
31699         formatting.
31700         (get_handles_fopen): Likewise.
31701         (do_write_test): Likewise.
31703         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
31705         * libio/fileops.c (do_ftell): Use cached offset when
31706         available.
31707         * libio/iofwide.c (do_ftell_wide): Likewise.
31708         * libio/iofdopen.c (_IO_new_fdopen): Don't use
31709         _IO_file_attach.
31710         * libio/wfileops.c (_IO_fwide): Don't cache offset.
31712         [BZ #16532]
31713         * libio/libioP.h (get_file_offset): New function.
31714         * libio/fileops.c (get_file_offset): Likewise.
31715         (do_ftell): Likewise.
31716         (_IO_new_file_seekoff): Split out ftell logic.
31717         * libio/wfileops.c (do_ftell_wide): Likewise.
31718         (_IO_wfile_seekoff): Split out ftell logic.
31719         * libio/tst-ftell-active-handler.c: New test case.
31720         * libio/Makefile (tests): Add it.
31722 2014-03-03  Roland McGrath  <roland@hack.frob.com>
31724         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
31725         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
31727 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
31729         [BZ #16639]
31730         * nscd/connections.c (nscd_init): Call do_exit.
31731         (start_threads): Call do_exit and notify_parent.
31732         (begin_drop_privileges): Call do_exit.
31733         (finish_drop_privileges): Likewise.
31734         * nscd/selinux.c (preserve_capabilities): Likewise.
31735         (install_real_capabilities): Likewise.
31736         (nscd_selinux_enabled): Likewise.
31737         (avc_create_thread): Likewise.
31738         (avc_alloc_lock): Likewise.
31739         (nscd_avc_init): Likewise.
31740         * nscd/nscd.c (parent_fd): New static variable.
31741         (main): Create a pipe between parent and child processes.
31742         Skip closing parent_fd.
31743         (monitor_child): New function.
31744         (do_exit): Likewise.
31745         (notify_parent): Likewise.
31746         * nscd/nscd.h (notify_parent): Likewise.
31747         (do_exit): Likewise.
31749 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
31751         * malloc/malloc.c (__libc_calloc): Revert last change.
31753 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31755         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31757 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
31759         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
31760         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
31761         implementation.
31762         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
31763         (__libc_ifunc_impl_list): Likewise.
31764         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
31765         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
31766         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
31767         * string/strrchr.c: Define STRRCHR.
31769 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
31771         * benchtest/bench-strtok.c (simple_strtok): Delete.
31772         (strtok_string): Use as benchmark.
31773         * string/strtok (STRTOK): New macro.
31775 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
31777         * manual/threads.texi: Add header and standard comments to all
31778         functions.
31780         * elf/dl-lookup.c (check_match): New function.
31781         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
31782         (do_lookup_x): Remove nested function check_match. Use non-nested
31783         function check_match.
31785 2014-02-28  Roland McGrath  <roland@hack.frob.com>
31787         * csu/Makefile (generated, before-compile): Use += rather than =.
31788         * catgets/Makefile (generated, generated-dirs): Likewise.
31789         * debug/Makefile (generated): Likewise.
31790         * dlfcn/Makefile (generated): Likewise.
31791         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
31792         * iconvdata/Makefile (before-compile, generated): Likewise.
31793         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
31794         * libio/Makefile (generated): Likewise.
31795         * malloc/Makefile (generated): Likewise.
31796         * manual/Makefile (generated, generated-dirs): Likewise.
31797         * misc/Makefile (generated): Likewise.
31798         * posix/Makefile (generated): Likewise.
31799         * resolv/Makefile (generated): Likewise.
31800         * sunrpc/Makefile (generated, generated-dirs): Likewise.
31801         * timezone/Makefile (generated, generated-dirs): Likewise.
31803         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
31805 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31807         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
31808         power8 implementation.
31809         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
31810         file: POWER8 llround ifunc implementation.
31811         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
31812         (__lllround): Add POWER8 implementation.
31813         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
31814         POWER8 llround implementation.
31816         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
31817         power8 implementation.
31818         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
31819         file: POWER8 llrint ifunc implementation.
31820         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
31821         Add POWER8 implementation.
31822         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
31823         POWER8 llrint implementation.
31825         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
31826         power8 implementation.
31827         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
31828         file: POWER8 finite ifunc implementation.
31829         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
31830         Add POWER8 implementation.
31831         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
31832         Likewise.
31833         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
31834         POWER8 finite implementation.
31835         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
31837         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
31838         power8 implementation.
31839         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
31840         file: POWER8 isinf ifunc implementation.
31841         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
31842         POWER8 implementation.
31843         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
31844         Likewise.
31845         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
31846         isinf implementation.
31847         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
31849         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
31850         (INIT_ARCH): Add hwcap2 initialization.
31851         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
31852         power8 implementation.
31853         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
31854         file: POWER8 isnan ifunc implementation.
31855         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
31856         POWER8 implementation.
31857         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
31858         Likewise.
31859         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
31860         isnan implementation.
31861         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
31863 2014-02-27  Joey Ye  <joey.ye@arm.com>
31865         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
31866         (_FP_NANFRAC_Q): Set to zero.
31868 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
31870         [BZ #16623]
31871         * math/auto-libm-test-in: New test inputs.
31872         * math/auto-libm-test-out: Regenerate.
31873         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
31874         and DA.
31875         (__cos): Likewise.
31876         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
31878 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
31880         * scripts/evaluate-test.sh: Take new argument indicating whether
31881         failure is expected.
31882         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
31883         indicating whether failure is expected.
31884         * conform/Makefile (test-xfail-run-conformtest): New variable.
31885         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
31886         level.
31887         * posix/Makefile (test-xfail-annexc): New variable.
31888         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
31890 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
31892         * argp/Makefile: Include Makeconfig immediately after defining
31893         subdir.
31894         * assert/Makefile: Likewise.
31895         * benchtests/Makefile: Likewise.
31896         * catgets/Makefile: Likewise.
31897         * conform/Makefile: Likewise.
31898         * crypt/Makefile: Likewise.
31899         * csu/Makefile: Likewise.
31900         (all): Remove target.
31901         * ctype/Makefile: Include Makeconfig immediately after defining
31902         subdir.
31903         * debug/Makefile: Likewise.
31904         * dirent/Makefile: Likewise.
31905         * dlfcn/Makefile: Likewise.
31906         * gmon/Makefile: Likewise.
31907         * gnulib/Makefile: Likewise.
31908         * grp/Makefile: Likewise.
31909         * gshadow/Makefile: Likewise.
31910         * hesiod/Makefile: Likewise.
31911         * hurd/Makefile: Likewise.
31912         (all): Remove target.
31913         * iconvdata/Makefile: Include Makeconfig immediately after
31914         defining subdir.
31915         * inet/Makefile: Likewise.
31916         * intl/Makefile: Likewise.
31917         * io/Makefile: Likewise.
31918         * libio/Makefile: Likewise.
31919         (all): Remove target.
31920         * locale/Makefile: Include Makeconfig immediately after defining
31921         subdir.
31922         * login/Makefile: Likewise.
31923         * mach/Makefile: Likewise.
31924         (all): Remove target.
31925         * malloc/Makefile: Include Makeconfig immediately after defining
31926         subdir.
31927         (all): Remove target.
31928         * manual/Makefile: Include Makeconfig immediately after defining
31929         subdir.
31930         * math/Makefile: Likewise.
31931         * misc/Makefile: Likewise.
31932         * nis/Makefile: Likewise.
31933         * nss/Makefile: Likewise.
31934         * po/Makefile: Likewise.
31935         (all): Remove target.
31936         * posix/Makefile: Include Makeconfig immediately after defining
31937         subdir.
31938         * pwd/Makefile: Likewise.
31939         * resolv/Makefile: Likewise.
31940         * resource/Makefile: Likewise.
31941         * rt/Makefile: Likewise.
31942         * setjmp/Makefile: Likewise.
31943         * shadow/Makefile: Likewise.
31944         * signal/Makefile: Likewise.
31945         * socket/Makefile: Likewise.
31946         * soft-fp/Makefile: Likewise.
31947         * stdio-common/Makefile: Likewise.
31948         * stdlib/Makefile: Likewise.
31949         * streams/Makefile: Likewise.
31950         * string/Makefile: Likewise.
31951         * sunrpc/Makefile: Likewise.
31952         (all): Remove target.
31953         * sysvipc/Makefile: Include Makeconfig immediately after defining
31954         subdir.
31955         * termios/Makefile: Likewise.
31956         * time/Makefile: Likewise.
31957         * timezone/Makefile: Likewise.
31958         (all): Remove target.
31959         * wcsmbs/Makefile: Include Makeconfig immediately after defining
31960         subdir.
31961         * wctype/Makefile: Likewise.
31963 2014-02-26  Steve Ellcey  <sellcey@mips.com>
31965         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
31966         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
31967         (libc_feholdexcept_setround_mips): Ditto.
31968         (libc_feholdsetround): New.
31969         (libc_feholdsetroundf): New.
31970         (libc_feholdsetroundl): New.
31971         (libc_feupdateenv_test_mips): New.
31972         (libc_feupdateenv_test): New.
31973         (libc_feupdateenv_testf): New.
31974         (libc_feupdateenv_testl): New.
31975         (libc_feresetround): New.
31976         (libc_feresetroundf): New.
31977         (libc_feresetroundl): New.
31978         (libc_fetestexcept_mips): New.
31979         (libc_fetestexcept): New.
31980         (libc_fetestexceptf): New.
31981         (libc_fetestexceptl): New.
31982         (HAVE_RM_CTX): New.
31983         (libc_feholdexcept_setround_mips_ctx): New.
31984         (libc_feholdexcept_setround_ctx): New.
31985         (libc_feholdexcept_setroundf_ctx): New.
31986         (libc_feholdexcept_setroundl_ctx): New.
31987         (libc_fesetenv_mips_ctx): New.
31988         (libc_fesetenv_ctx): New.
31989         (libc_fesetenv_ctxf): New.
31990         (libc_fesetenv_ctxl): New.
31991         (libc_feupdateenv_mips_ctx): New.
31992         (libc_feupdateenv_ctx): New.
31993         (libc_feupdateenvf_ctx): New.
31994         (libc_feupdateenvl_ctx): New.
31995         (libc_feholdsetround_mips_ctx): New.
31996         (libc_feholdsetround_ctx): New.
31997         (libc_feholdsetroundf_ctx): New.
31998         (libc_feholdsetroundl_ctx): New.
31999         (libc_feresetround_mips_ctx): New.
32000         (libc_feresetround_ctx): New.
32001         (libc_feresetroundf_ctx): New.
32002         (libc_feresetroundl_ctx): New.
32004 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
32006         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
32008         * manual/ipc.texi: New file.
32009         * manual/Makefile (chapters): Add ipc.
32010         * manual/job.texi: Add "Inter-Process Communication" to next.
32011         * manual/process.texi: Add "Inter-Process Communication" to prev.
32013 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32015         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32017 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
32019         * malloc/malloc.c (__libc_calloc): Simplify implementation.
32021         * manual/arith.texi: Fix spaces after sentences.
32022         * manual/charset.texi: Likewise.
32023         * manual/errno.texi: Likewise.
32024         * manual/install.texi: Likewise.
32025         * manual/llio.texi: Likewise.
32026         * manual/locale.texi: Likewise.
32027         * manual/maint.texi: Likewise.
32028         * manual/math.texi: Likewise.
32029         * manual/memory.texi: Likewise.
32030         * manual/message.texi: Likewise.
32031         * manual/probes.texi: Likewise.
32032         * manual/resource.texi: Likewise.
32033         * manual/signal.texi: Likewise.
32034         * manual/socket.texi: Likewise.
32035         * manual/stdio.texi: Likewise.
32036         * manual/string.texi: Likewise.
32037         * manual/time.texi: Likewise.
32038         * manual/users.texi: Likewise.
32040 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
32042         [BZ #16632]
32043         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
32044         _DEFAULT_SOURCE is defined.
32046 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
32047             Carlos O'Donell  <carlos@redhat.com>
32049         [BZ #16613]
32050         * elf/dl-tls.c (_dl_count_modids): New function.
32051         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
32052         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
32053         audit library and increment generation counter.
32054         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
32055         * elf/tst-audit9.c: New file.
32056         * elf/tst-auditmod9a.c: New file.
32057         * elf/tst-auditmod9b.c: New file.
32058         * elf/Makefile: Add rules to build and run tst-audit9.
32060 2014-02-25  Florian Weimer  <fweimer@redhat.com>
32062         [BZ #15347]
32063         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
32065 2014-02-25  Will Newton  <will.newton@linaro.org>
32067         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
32068         (__longjmp): Restore sp and lr before restoring callee
32069         saved registers.  Add longjmp and longjmp_target
32070         SystemTap probe point.
32071         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
32072         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
32073         Define to zero to match jmpbuf layout.
32074         * sysdeps/arm/setjmp.S: Include stap-probe.h.
32075         (__sigsetjmp): Save sp and lr before saving callee
32076         saved registers.  Add setjmp SystemTap probe point.
32078 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
32080         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
32082 2014-02-24  Andreas Schwab  <schwab@suse.de>
32084         [BZ #15804]
32085         * elf/pldd.c (wait_for_ptrace_stop): New function.
32086         (main): Call it after attaching.
32088 2014-02-22  Roland McGrath  <roland@hack.frob.com>
32090         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
32091         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
32092         Versions files is now verboten.
32093         * hurd/Versions (libc: GLIBC_2.0):
32094         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
32095         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
32096         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
32097         * mach/Versions: Likewise.
32099         * csu/Versions: Remove unused %include.
32100         * resolv/Versions: Likewise.
32102 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
32104         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
32105         ($(objpfx)check-local-headers.out): Likewise.
32106         ($(objpfx)begin-end-check.out): Likewise.
32107         * Makerules (check-abi-%.out): Likewise.
32108         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
32109         ($(objpfx)test2.cat): Likewise.
32110         ($(objpfx)de/libc.cat): Likewise.
32111         ($(objpfx)test-gencat.out): Likewise.
32112         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
32113         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
32114         ($(objpfx)noload-mem): Likewise.
32115         ($(objpfx)tst-pathopt.out): Likewise.
32116         ($(objpfx)tst-rtld-load-self.out): Likewise.
32117         ($(objpfx)tst-array1-cmp.out): Likewise.
32118         ($(objpfx)tst-array1-static-cmp.out): Likewise.
32119         ($(objpfx)tst-array2-cmp.out): Likewise.
32120         ($(objpfx)tst-array3-cmp.out): Likewise.
32121         ($(objpfx)tst-array4-cmp.out): Likewise.
32122         ($(objpfx)tst-array5-cmp.out): Likewise.
32123         ($(objpfx)tst-array5-static-cmp.out): Likewise.
32124         ($(objpfx)check-textrel.out): Likewise.
32125         ($(objpfx)check-execstack.out): Likewise.
32126         ($(objpfx)check-localplt.out): Likewise.
32127         ($(objpfx)order2-cmp.out): Likewise.
32128         ($(objpfx)tst-leaks1-mem): Likewise.
32129         ($(objpfx)tst-leaks1-static-mem): Likewise.
32130         ($(objpfx)tst-initorder-cmp.out): Likewise.
32131         ($(objpfx)tst-initorder2-cmp.out): Likewise.
32132         ($(objpfx)tst-unused-dep.out): Likewise.
32133         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
32134         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
32135         * iconv/Makefile (test-iconvconfig): Likewise.
32136         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
32137         ($(objpfx)iconv-test.out): Likewise.
32138         ($(objpfx)tst-tables.out): Likewise.
32139         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
32140         ($(objpfx)tst-gettext.out): Likewise.
32141         ($(objpfx)tst-translit.out): Likewise.
32142         ($(objpfx)tst-gettext2.out): Likewise.
32143         ($(objpfx)tst-gettext4.out): Likewise.
32144         ($(objpfx)tst-gettext6.out): Likewise.
32145         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
32146         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
32147         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
32148         ($(objpfx)tst-fopenloc-mem.out): Likewise.
32149         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
32150         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
32151         * posix/Makefile ($(objpfx)globtest.out): Likewise.
32152         ($(objpfx)wordexp-tst.out): Likewise.
32153         ($(objpfx)annexc.out): Likewise.
32154         ($(objpfx)tst-fnmatch-mem): Likewise.
32155         ($(objpfx)bug-regex2-mem): Likewise.
32156         ($(objpfx)bug-regex14-mem): Likewise.
32157         ($(objpfx)bug-regex21-mem): Likewise.
32158         ($(objpfx)bug-regex31-mem): Likewise.
32159         ($(objpfx)tst-vfork3-mem): Likewise.
32160         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
32161         ($(objpfx)tst-pcre-mem): Likewise.
32162         ($(objpfx)tst-boost-mem): Likewise.
32163         ($(objpfx)tst-getconf.out): Likewise.
32164         ($(objpfx)bug-ga2-mem): Likewise.
32165         ($(objpfx)bug-glob2-mem): Likewise.
32166         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
32167         ($(objpfx)mtrace-tst-leaks2): Likewise.
32168         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
32169         ($(objpfx)tst-printf.out): Likewise.
32170         ($(objpfx)tst-setvbuf1.out): Likewise.
32171         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
32172         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
32173         ($(objpfx)tst-fmtmsg.out): Likewise.
32174         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
32175         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
32177         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
32178         * bits/sigaction.h [__USE_MISC]: Likewise.
32179         * bits/waitstatus.h: Update #endif comments.
32180         * ctype/ctype.h: Likewise.
32181         * dirent/dirent.h: Likewise.
32182         [__USE_MISC]: Remove redundant conditionals.
32183         * grp/grp.h: Update #endif comments.
32184         [__USE_GNU]: Remove redundant conditionals.
32185         [__USE_MISC]: Likewise.
32186         * inet/netinet/in.h [__USE_GNU]: Likewise.
32187         * io/sys/stat.h [__USE_MISC]: Likewise.
32188         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
32189         * libio/bits/stdio.h: Update #endif comments.
32190         [__USE_MISC]: Remove redundant conditionals.
32191         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
32192         * libio/stdio.h: Update #endif comments.
32193         [__USE_MISC]: Remove redundant conditionals.
32194         * math/bits/math-finite.h [__USE_MISC]: Likewise.
32195         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
32196         * math/math.h: Update #else and #endif comments.
32197         [__USE_MISC]: Remove redundant conditionals.
32198         * misc/sys/uio.h: Update #endif comments.
32199         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
32200         * posix/glob.h [__USE_MISC]: Likewise.
32201         * posix/sys/types.h: Update #endif comments.
32202         [__USE_MISC]: Remove redundant conditionals.
32203         * posix/sys/wait.h: Update #endif comments.
32204         [__USE_MISC]: Remove redundant conditionals.
32205         * posix/unistd.h: Update #endif comments.
32206         [__USE_MISC]: Remove redundant conditionals.
32207         * pwd/pwd.h [__USE_GNU]: Likewise.
32208         [__USE_MISC]: Likewise.
32209         * resolv/netdb.h [__USE_GNU]: Likewise.
32210         * signal/signal.h: Update #endif comments.
32211         [__USE_MISC]: Remove redundant conditionals.
32212         * stdlib/stdlib.h: Update #else and #endif comments.
32213         [__USE_MISC]: Remove redundant conditionals.
32214         [__USE_GNU]: Likewise.
32215         * string/bits/string2.h [__USE_MISC]: Likewise.
32216         * string/string.h: Update #endif comments.
32217         [__USE_MISC]: Remove redundant conditionals.
32218         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
32219         Likewise.
32220         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
32221         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
32222         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
32223         Likewise.
32224         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
32225         Likewise.
32226         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
32227         comments.
32228         [__USE_MISC]: Remove redundant conditionals.
32229         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
32230         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
32231         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
32232         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
32233         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
32234         Likewise.
32235         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
32236         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
32237         Likewise.
32238         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
32239         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
32240         Likewise.
32241         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
32242         Likewise.
32243         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
32244         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
32245         Likewise.
32246         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
32247         Likewise.
32248         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
32249         * sysdeps/x86/bits/string.h: Update #endif comments.
32250         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
32251         conditionals.
32252         * time/sys/time.h: Update #endif comments.
32253         * time/time.h: Likewise.
32254         [__USE_MISC]: Remove redundant conditionals.
32256 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
32258         [BZ #16600]
32259         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
32261 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
32263         * Versions.def (librt): Add GLIBC_2.17.
32265 2014-02-21  Adam Conrad  <adconrad@0c3.net>
32267         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
32268         synonym for _SYS_AUXV_H to allow direct inclusion.
32269         * sysdeps/sparc/bits/hwcap.h: Likewise.
32270         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
32271         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
32272         * sysdeps/sparc/sysdep.h: Likewise.
32274 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
32276         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
32278 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
32280         * benchtests/bench-strrchr.c: Print length instead of position.
32282 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
32284         [BZ #16611]
32285         * sysdeps/unix/sysv/linux/kernel-features.h
32286         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
32287         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
32288         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
32289         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
32290         Likewise.
32291         [__i386__ || __powerpc__ || __sh__ || __sparc__]
32292         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
32293         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
32294         (__ASSUME_SENDMMSG): Define instead of using previous
32295         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
32296         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
32297         (__ASSUME_SENDMMSG_SYSCALL): Define.
32298         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
32299         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
32300         Likewise.
32301         * sysdeps/unix/sysv/linux/arm/kernel-features.h
32302         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
32303         Likewise.
32304         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
32305         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
32306         Likewise.
32307         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
32308         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
32309         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
32310         [__ASSUME_SENDMMSG]: Change conditionals to
32311         [__ASSUME_SENDMMSG_SOCKETCALL].
32312         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
32313         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
32314         Define.
32315         * sysdeps/unix/sysv/linux/mips/kernel-features.h
32316         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
32317         Likewise.
32318         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
32319         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
32320         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
32321         [!__ASSUME_SENDMMSG]: Change conditional to
32322         [!__ASSUME_SENDMMSG_SOCKETCALL].
32323         * sysdeps/unix/sysv/linux/tile/kernel-features.h
32324         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
32325         Define.
32327         [BZ #16610]
32328         * sysdeps/unix/sysv/linux/kernel-features.h
32329         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
32330         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
32331         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
32332         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
32333         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
32334         [__i386__ || __sparc__]
32335         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
32336         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
32337         (__ASSUME_RECVMMSG): Define instead of using previous
32338         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
32339         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
32340         (__ASSUME_RECVMMSG_SYSCALL): Define.
32341         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
32342         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
32343         Likewise.
32344         * sysdeps/unix/sysv/linux/arm/kernel-features.h
32345         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
32346         Likewise.
32347         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
32348         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
32349         Likewise.
32350         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
32351         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
32352         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
32353         [__ASSUME_RECVMMSG]: Change condition to
32354         [__ASSUME_RECVMMSG_SOCKETCALL].
32355         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
32356         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
32357         Define.
32358         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
32359         * sysdeps/unix/sysv/linux/mips/kernel-features.h
32360         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
32361         Likewise.
32362         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
32363         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
32364         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
32365         [!__ASSUME_RECVMMSG]: Change condition to
32366         [!__ASSUME_RECVMMSG_SOCKETCALL].
32367         * sysdeps/unix/sysv/linux/tile/kernel-features.h
32368         (__ASSUME_RECVMMSG_SYSCALL): Define.
32370         [BZ #16609]
32371         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
32372         __powerpc__ || __s390__ || __sh__ || __sparc__]
32373         (__ASSUME_SOCKETCALL): Define.
32374         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
32375         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
32376         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
32377         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
32378         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
32379         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
32380         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
32381         (__ASSUME_ACCEPT4): Define instead of using previous
32382         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
32383         __powerpc__ || __sparc__ || __s390__)] condition.
32384         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
32385         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
32386         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
32387         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
32388         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
32389         [!__ASSUME_ACCEPT4]: Change condition to
32390         [!__ASSUME_ACCEPT4_SOCKETCALL].
32391         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
32392         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
32393         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
32394         * sysdeps/unix/sysv/linux/arm/kernel-features.h
32395         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
32396         __ASSUME_ACCEPT4_SYSCALL.
32397         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
32398         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
32399         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
32400         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
32401         __ASSUME_ACCEPT4_SYSCALL.
32402         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
32403         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
32404         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
32405         [__ASSUME_ACCEPT4]: Change condition to
32406         [__ASSUME_ACCEPT4_SOCKETCALL].
32407         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
32408         (__ASSUME_SOCKETCALL): Define.
32409         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
32410         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
32411         (__ASSUME_SOCKETCALL): Define.
32412         (__ASSUME_ACCEPT4): Remove.
32413         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
32414         Define.
32415         * sysdeps/unix/sysv/linux/mips/kernel-features.h
32416         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
32417         Likewise.
32418         * sysdeps/unix/sysv/linux/tile/kernel-features.h
32419         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
32421         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
32422         macro.
32423         (HWCAP_ARM_LPAE): Likewise.
32424         (HWCAP_ARM_EVTSTRM): Likewise.
32425         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
32426         Add vpfd32, lpae and evtstrm.
32427         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
32428         Increase to 22.
32430 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
32432         * math/auto-libm-test-in: Add tests of clog10.
32433         * math/auto-libm-test-out: Regenerated.
32434         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
32435         * sysdeps/i386/fpu/libm-test-ulps: Update.
32436         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32438 2014-02-18  Andreas Schwab  <schwab@suse.de>
32440         [BZ #16574]
32441         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
32442         Store non-zero if the second buffer was newly allocated.
32443         (send_dg): Likewise.
32444         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
32445         to send_vc and send_dg.
32446         (res_nsend): Pass NULL for ansp2_malloced.
32447         * resolv/res_query.c (__libc_res_nquery): Add parameter
32448         answerp2_malloced and pass it down to __libc_res_nsend.
32449         (res_nquery): Pass additional NULL to __libc_res_nquery.
32450         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
32451         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
32452         second answer buffer if answerp2_malloced was set.
32453         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
32454         (__libc_res_nquerydomain): Add parameter
32455         answerp2_malloced and pass it down to __libc_res_nquery.
32456         (res_nquerydomain): Pass additional NULL to
32457         __libc_res_nquerydomain.
32458         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
32459         additional NULL to __libc_res_nsend and __libc_res_nquery.
32460         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
32461         additional NULL to __libc_res_nsearch.
32462         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
32463         parameter of __libc_res_nsearch to check for separately allocated
32464         second buffer.
32465         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
32466         __libc_res_nquery.
32467         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
32468         additional NULL to __libc_res_nquery.
32469         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
32470         __libc_res_nsearch.
32471         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
32472         * include/resolv.h: Update prototypes of __libc_res_nquery,
32473         __libc_res_nsearch, __libc_res_nsend.
32475 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
32477         * math/auto-libm-test-in: Add tests of fma.
32478         * math/auto-libm-test-out: Regenerated.
32479         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
32480         (fma_towardzero_test_data): Likewise.
32481         (fma_downward_test_data): Likewise.
32482         (fma_upward_test_data): Likewise.
32483         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
32484         mpc_mode.
32485         (rounding_modes): Add values for new field.
32486         (func_calc_method): Add value mpfr_fff_f.
32487         (func_calc_desc): Add mpfr_fff_f union field.
32488         (test_function): Add field exact_args.
32489         (FUNC): Add macro argument EXACT_ARGS.
32490         (FUNC_mpfr_f_f): Update call to FUNC.
32491         (FUNC_mpfr_f_f): Likewise.
32492         (FUNC_mpfr_ff_f): Likewise.
32493         (FUNC_mpfr_if_f): Likewise.
32494         (FUNC_mpc_c_f): Likewise.
32495         (FUNC_mpc_c_c): Likewise.
32496         (test_functions): Add fma.  Update calls to FUNC.
32497         (handle_input_arg): Add argument exact_args.
32498         (add_test): Update call to handle_input_arg.
32499         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
32500         (output_for_one_input_case): Update call to calc_generic_results.
32501         Recalculate exact zero results in each rounding mode.
32503         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
32504         non-negative before setting low bit.
32505         * math/auto-libm-test-in: Mark one asin test possibly having
32506         spurious underflow.
32507         * math/auto-libm-test-out: Regenerated.
32508         * sysdeps/i386/fpu/libm-test-ulps: Update.
32509         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32511 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
32513         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
32514         * sysdeps/unix/sysv/linux/microblaze: Move directory from
32515         ports/sysdeps/unix/sysv/linux/microblaze.
32516         * README: Add missing listing for microblaze*-*-linux-gnu.
32518 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
32520         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
32521         duplicate code
32523 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
32525         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
32526         * sysdeps/unix/sysv/linux/ia64: Move directory from
32527         ports/sysdeps/unix/sysv/linux/ia64.
32528         * README: Update listing for ia64-*-linux-gnu.
32530 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
32531             Joseph Myers  <joseph@codesourcery.com>
32533         * Makeconfig (test-name): New variable.
32534         (evaluate-test): Likewise.
32535         * Makerules (do-test-clean): Remove .test-result files.
32536         (common-mostlyclean): Likewise.
32537         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
32538         * scripts/evaluate-test.sh: New file.
32540 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
32542         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
32543         separate $(objpfx)tst-fopenloc-cmp.out and
32544         $(objpfx)tst-fopenloc-mem.out targets.
32545         (tests): Update dependencies.
32546         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
32547         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
32548         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
32549         (tst-rxspencer-no-utf8-ARGS): New variable.
32550         (tst-rxspencer-no-utf8-ENV): Likewise.
32551         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
32552         instead of $(objpfx)tst-rxspencer-mem.
32553         ($(objpfx)tst-rxspencer-mem): Change target to
32554         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
32555         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
32556         * posix/tst-rxspencer-no-utf8.c: New file.
32558         * elf/Makefile ($(objpfx)order.out): Remove rule.
32559         [$(run-built-tests) = yes] (tests): Depend on
32560         $(objpfx)order-cmp.out.
32561         ($(objpfx)order-cmp.out): New rule.
32562         [$(run-built-tests) = yes] (tests): Depend on
32563         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
32564         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
32565         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
32566         $(objpfx)tst-array5-static-cmp.out.
32567         ($(objpfx)tst-array1.out): Remove rule.
32568         ($(objpfx)tst-array1-cmp.out): New rule.
32569         ($(objpfx)tst-array1-static.out): Remove rule.
32570         ($(objpfx)tst-array1-static-cmp.out): New rule.
32571         ($(objpfx)tst-array2.out): Remove rule.
32572         ($(objpfx)tst-array2-cmp.out): New rule.
32573         ($(objpfx)tst-array3.out): Remove rule.
32574         ($(objpfx)tst-array3-cmp.out): New rule.
32575         ($(objpfx)tst-array4.out): Remove rule.
32576         ($(objpfx)tst-array4-cmp.out): New rule.
32577         ($(objpfx)tst-array5.out): Remove rule.
32578         ($(objpfx)tst-array5-cmp.out): New rule.
32579         ($(objpfx)tst-array5-static.out): Remove rule.
32580         ($(objpfx)tst-array5-static-cmp.out): New rule.
32581         [$(run-built-tests) = yes] (tests): Depend on
32582         $(objpfx)order2-cmp.out.
32583         ($(objpfx)order2.out): Remove rule.
32584         ($(objpfx)order2-cmp.out): New rule.
32585         ($(objpfx)tst-initorder.out): Remove rule.
32586         [$(run-built-tests) = yes] (tests): Depend on
32587         $(objpfx)tst-initorder-cmp.out.
32588         ($(objpfx)tst-initorder-cmp.out): New rule.
32589         ($(objpfx)tst-initorder2.out): Remove rule.
32590         [$(run-built-tests) = yes] (tests): Depend on
32591         $(objpfx)tst-initorder2-cmp.out.
32592         ($(objpfx)tst-initorder2-cmp.out): New rule.
32593         [$(run-built-tests) = yes] (tests): Depend on
32594         $(objpfx)tst-unused-dep-cmp.out.
32595         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
32596         ($(objpfx)tst-unused-dep-cmp.out): New rule.
32597         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
32598         on $(objpfx)tst-setvbuf1-cmp.out.
32599         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
32600         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
32601         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
32602         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
32603         ($(objpfx)tst-svc.out): Remove rule.
32604         ($(objpfx)tst-svc-cmp.out): New rule.
32606 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
32608         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
32609         * ctype/ctype.h [__USE_MISC]: Likewise.
32610         * dirent/dirent.h [__USE_MISC]: Likewise.
32611         * grp/grp.h [__USE_MISC]: Likewise.
32612         * io/fcntl.h [__USE_MISC]: Likewise.
32613         * io/sys/stat.h [__USE_MISC]: Likewise.
32614         * libio/stdio.h [__USE_MISC]: Likewise.
32615         * posix/unistd.h [__USE_MISC]: Likewise.
32616         * pwd/pwd.h [__USE_MISC]: Likewise.
32617         * stdlib.h [__USE_MISC]: Likewise.
32618         * string/bits/string2.h [__USE_MISC]: Likewise.
32619         * string/string.h [__USE_MISC]: Likewise.
32620         * time/time.h [__USE_MISC]: Likewise.
32622 2014-02-13  Andreas Schwab  <schwab@suse.de>
32624         [BZ #16574]
32625         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
32626         second answer buffer if it was separately allocated.
32628 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
32630         * sysdeps/mips/math-tests.h: Include <features.h>.
32631         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
32632         (ROUNDING_TESTS_long_double): Do not define.
32633         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
32634         (EXCEPTION_TESTS_long_double): Likewise.
32635         * sysdeps/mips/mips64/libm-test-ulps: Update.
32637         * include/features.h (__USE_BSD): Remove macro definitions.
32638         (__USE_SVID): Likewise.
32639         (_BSD_SOURCE): Likewise.
32640         (_SVID_SOURCE): Likewise.
32641         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
32642         from definition of _DEFAULT_SOURCE.
32643         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
32644         [_DEFAULT_SOURCE].
32645         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
32646         * bits/mman.h [__USE_BSD]: Likewise.
32647         * bits/termios.h [__USE_BSD]: Likewise.
32648         * bits/waitstatus.h [__USE_BSD]: Likewise.
32649         * ctype/ctype.h [__USE_SVID]: Likewise.
32650         * dirent/dirent.h [__USE_BSD]: Likewise.
32651         * grp/grp.h [__USE_SVID]: Likewise.
32652         [__USE_BSD]: Likewise.
32653         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
32654         * io/fcntl.h [__USE_BSD]: Likewise.
32655         * io/ftw.h [__USE_BSD]: Likewise.
32656         * io/sys/stat.h [__USE_BSD]: Likewise.
32657         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
32658         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
32659         * libio/stdio.h [__USE_SVID]: Likewise.
32660         [__USE_BSD]: Likewise.
32661         * math/math.h [__USE_SVID]: Likewise.
32662         [__USE_BSD]: Likewise.
32663         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
32664         * misc/bits/syslog.h [__USE_BSD]: Likewise.
32665         * misc/search.h [__USE_SVID]: Likewise.
32666         * misc/sys/mman.h [__USE_BSD]: Likewise.
32667         * misc/sys/syslog.h [__USE_BSD]: Likewise.
32668         * misc/sys/uio.h [__USE_BSD]: Likewise.
32669         * posix/bits/unistd.h [__USE_BSD]: Likewise.
32670         * posix/glob.h [__USE_BSD]: Likewise.
32671         * posix/regex.h [__USE_BSD]: Likewise.
32672         * posix/sys/types.h [__USE_BSD]: Likewise.
32673         [__USE_SVID]: Likewise.
32674         * posix/sys/utsname.h [__USE_SVID]: Likewise.
32675         * posix/sys/wait.h [__USE_BSD]: Likewise.
32676         [__USE_SVID]: Likewise.
32677         * posix/unistd.h [__USE_BSD]: Likewise.
32678         [__USE_SVID]: Likewise.
32679         * pwd/pwd.h [__USE_SVID]: Likewise.
32680         * resolv/netdb.h [__USE_BSD]: Likewise.
32681         * setjmp/setjmp.h [__USE_BSD]: Likewise.
32682         * signal/signal.h [__USE_BSD]: Likewise.
32683         [__USE_SVID]: Likewise.
32684         * socket/sys/socket.h [__USE_BSD]: Likewise.
32685         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
32686         * stdlib/stdlib.h [__USE_BSD]: Likewise.
32687         [__USE_SVID]: Likewise.
32688         * string/bits/string2.h [__USE_BSD]: Likewise.
32689         [__USE_SVID]: Likewise.
32690         * string/bits/string3.h [__USE_BSD]: Likewise.
32691         * string/endian.h [__USE_BSD]: Likewise.
32692         * string/string.h [__USE_SVID]: Likewise.
32693         [__USE_BSD]: Likewise.
32694         * string/strings.h [__USE_BSD]: Likewise.
32695         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
32696         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
32697         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
32698         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
32699         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
32700         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
32701         Likewise.
32702         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
32703         Likewise.
32704         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
32705         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
32706         Likewise.
32707         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
32708         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
32709         Likewise.
32710         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
32711         Likewise.
32712         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
32713         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
32714         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
32715         Likewise.
32716         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
32717         Likewise.
32718         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
32719         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
32720         * termios/termios.h [__USE_BSD]: Likewise.
32721         * time/sys/time.h [__USE_BSD]: Likewise.
32722         * time/time.h [__USE_BSD]: Likewise.
32723         [__USE_SVID]: Likewise.
32725         * Makefile (subdir_targets): Remove subdir_lint.out.
32727         * stdio-common/Makefile (do-tst-unbputc): Remove target.
32728         (do-tst-printf): Likewise.
32729         (tests): Depend directly on $(objpfx)tst-unbputc.out and
32730         $(objpfx)tst-printf.out.
32732         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
32734         * Makerules (check-abi-%): Change target to
32735         $(objpfx)check-abi-%.out.
32736         (check-abi target): Update dependencies.
32737         (check-abi-pattern variable): Redirect output of diff to $@.
32738         (check-abi variable): Likewise.
32739         * elf/Makefile (check-abi): Update dependencies.
32741         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
32742         unused.
32743         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
32744         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
32745         subnormal range.
32746         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
32747         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
32748         value has largest subnormal exponent.
32749         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
32750         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
32751         * sysdeps/aarch64/soft-fp/sfp-machine.h
32752         (_FP_TININESS_AFTER_ROUNDING): New macro.
32753         * sysdeps/alpha/soft-fp/sfp-machine.h
32754         (_FP_TININESS_AFTER_ROUNDING): Likewise.
32755         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
32756         Likewise.
32757         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
32758         (_FP_TININESS_AFTER_ROUNDING): Likewise.
32759         * sysdeps/mips/soft-fp/sfp-machine.h
32760         (_FP_TININESS_AFTER_ROUNDING): Likewise.
32761         * sysdeps/powerpc/soft-fp/sfp-machine.h
32762         (_FP_TININESS_AFTER_ROUNDING): Likewise.
32763         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
32764         Likewise.
32765         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
32766         (_FP_TININESS_AFTER_ROUNDING): Likewise.
32767         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
32768         (_FP_TININESS_AFTER_ROUNDING): Likewise.
32769         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
32770         Likewise.
32772 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
32774         [BZ #16545]
32775         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
32776         model 1.
32778 2014-02-12  Richard Henderson  <rth@redhat.com>
32780         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
32781         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
32782         * sysdeps/unix/sysv/linux/alpha: Move directory from
32783         ports/sysdeps/unix/sysv/linux/alpha.
32784         * README: Update listing for alpha-*-linux-gnu.
32786 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
32788         * include/features.h: Update comment documenting feature test
32789         macros.
32790         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
32791         _DEFAULT_SOURCE.
32792         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
32793         (_SVID_SOURCE): Likewise.
32794         (_DEFAULT_SOURCE): Update description of default features.
32795         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
32796         with _GNU_SOURCE.
32797         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
32798         (S_ISVTX): Likewise.
32799         * manual/math.texi (Mathematical Constants): Likewise.
32800         * manual/signal.texi (Interrupted Primitives): Likewise.
32801         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
32802         * math/test-matherr.c (_SVID_SOURCE): Do not define.
32803         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
32804         Don't refer to _SVID_SOURCE in warning text.
32806         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32808         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
32809         already defined.
32810         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
32811         * sysdeps/mips/dl-lookup.c: Remove.
32812         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
32814 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
32816         [BZ #16447]
32817         * math/auto-libm-test-in: Add testcase for expl.
32818         * math/auto-libm-test-out: Regenerate.
32819         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
32820         calculation of unsafe.
32821         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
32823 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
32825         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
32826         * sysdeps/unix/sysv/linux/aarch64: Move directory from
32827         ports/sysdeps/unix/sysv/linux/aarch64.
32828         * README: Update listing for aarch64*-*-linux-gnu.
32830 2014-02-11  Will Newton  <will.newton@linaro.org>
32832         * manual/probes.texi (Mathematical Function Probes): Use
32833         "triggered" instead of "hit".
32835         * manual/probes.texi (Internal Probes): Add documentation
32836         of setjmp, longjmp and longjmp_target probes.
32838         * include/stap-probe.h: Add comment about probe argument
32839         format.
32841         * malloc/mtrace.c (attribute_hidden): Remove unused macro
32842         definition.  (tr_where, tr_freehook, tr_mallochook,
32843         tr_reallochook, tr_memalignhook): Use ANSI protoype.
32845 2014-02-11  David S. Miller  <davem@davemloft.net>
32847         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
32848         processing int_tests.
32850 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
32852         * sysdeps/mips: Move directory from ports/sysdeps/mips.
32853         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
32854         * sysdeps/unix/sysv/linux/mips: Move directory from
32855         ports/sysdeps/unix/sysv/linux/mips.
32856         * README: Update listing for mips-*-linux-gnu and
32857         mips64-*-linux-gnu.
32859 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
32861         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
32862         * sysdeps/unix/sysv/linux/m68k: Move directory from
32863         ports/sysdeps/unix/sysv/linux/m68k.
32864         * README: Update listing for m68k-*-linux-gnu.
32866 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
32868         * sysdeps/tile: Move directory from ports/sysdeps/tile.
32869         * sysdeps/unix/sysv/linux/generic: Move directory from
32870         ports/sysdeps/unix/sysv/linux/generic.
32871         * sysdeps/unix/sysv/linux/tile: Move directory from
32872         ports/sysdeps/unix/sysv/linux/tile.
32873         * README: Update listing for tile*-*-linux-gnu.
32875 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
32877         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
32878         __builtin_expect.
32879         * benchtests/bench-memmem.c (simple_memmem): Likewise.
32880         * catgets/open_catalog.c (__open_catalog): Likewise.
32881         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
32882         * debug/confstr_chk.c: Likewise.
32883         * debug/fread_chk.c (__fread_chk): Likewise.
32884         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
32885         * debug/getgroups_chk.c: Likewise.
32886         * debug/mbsnrtowcs_chk.c: Likewise.
32887         * debug/mbsrtowcs_chk.c: Likewise.
32888         * debug/mbstowcs_chk.c: Likewise.
32889         * debug/memcpy_chk.c: Likewise.
32890         * debug/memmove_chk.c: Likewise.
32891         * debug/mempcpy_chk.c: Likewise.
32892         * debug/memset_chk.c: Likewise.
32893         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
32894         * debug/strcat_chk.c (__strcat_chk): Likewise.
32895         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
32896         * debug/strncat_chk.c (__strncat_chk): Likewise.
32897         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
32898         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
32899         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
32900         * debug/wcpncpy_chk.c: Likewise.
32901         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
32902         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
32903         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
32904         * debug/wcsncpy_chk.c: Likewise.
32905         * debug/wcsnrtombs_chk.c: Likewise.
32906         * debug/wcsrtombs_chk.c: Likewise.
32907         * debug/wcstombs_chk.c: Likewise.
32908         * debug/wmemcpy_chk.c: Likewise.
32909         * debug/wmemmove_chk.c: Likewise.
32910         * debug/wmempcpy_chk.c: Likewise.
32911         * debug/wmemset_chk.c: Likewise.
32912         * dirent/scandirat.c (SCANDIRAT): Likewise.
32913         * dlfcn/dladdr1.c (dladdr1): Likewise.
32914         * dlfcn/dladdr.c (dladdr): Likewise.
32915         * dlfcn/dlclose.c (dlclose_doit): Likewise.
32916         * dlfcn/dlerror.c (__dlerror): Likewise.
32917         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
32918         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
32919         * dlfcn/dlopen.c (dlopen_doit): Likewise.
32920         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
32921         * dlfcn/dlsym.c (dlsym_doit): Likewise.
32922         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
32923         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
32924         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
32925         Likewise.
32926         * elf/dl-conflict.c: Likewise.
32927         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
32928         * elf/dl-dst.h: Likewise.
32929         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
32930         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
32931         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
32932         * elf/dl-init.c (call_init, _dl_init): Likewise.
32933         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
32934         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
32935         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
32936         Likewise.
32937         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
32938         Likewise.
32939         * elf/dl-minimal.c (__libc_memalign): Likewise.
32940         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
32941         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
32942         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
32943         * elf/dl-sym.c (do_sym): Likewise.
32944         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
32945         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
32946         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
32947         * elf/dl-writev.h (_dl_writev): Likewise.
32948         * elf/ldconfig.c (search_dir): Likewise.
32949         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
32950         (dl_main): Likewise.
32951         * elf/setup-vdso.h (setup_vdso): Likewise.
32952         * grp/compat-initgroups.c (compat_call): Likewise.
32953         * grp/fgetgrent.c (fgetgrent): Likewise.
32954         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
32955         * grp/putgrent.c (putgrent): Likewise.
32956         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
32957         Likewise.
32958         * hurd/hurdinit.c: Likewise.
32959         * iconvdata/8bit-gap.c (struct): Likewise.
32960         * iconvdata/ansi_x3.110.c : Likewise.
32961         * iconvdata/big5.c : Likewise.
32962         * iconvdata/big5hkscs.c : Likewise.
32963         * iconvdata/cp1255.c: Likewise.
32964         * iconvdata/cp1258.c : Likewise.
32965         * iconvdata/cp932.c : Likewise.
32966         * iconvdata/euc-cn.c: Likewise.
32967         * iconvdata/euc-jisx0213.c : Likewise.
32968         * iconvdata/euc-jp.c: Likewise.
32969         * iconvdata/euc-jp-ms.c : Likewise.
32970         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
32971         * iconvdata/gb18030.c : Likewise.
32972         * iconvdata/gbbig5.c (const): Likewise.
32973         * iconvdata/gbgbk.c: Likewise.
32974         * iconvdata/gbk.c : Likewise.
32975         * iconvdata/ibm1364.c : Likewise.
32976         * iconvdata/ibm930.c : Likewise.
32977         * iconvdata/ibm932.c: Likewise.
32978         * iconvdata/ibm933.c : Likewise.
32979         * iconvdata/ibm935.c : Likewise.
32980         * iconvdata/ibm937.c : Likewise.
32981         * iconvdata/ibm939.c : Likewise.
32982         * iconvdata/ibm943.c: Likewise.
32983         * iconvdata/iso_11548-1.c: Likewise.
32984         * iconvdata/iso-2022-cn.c : Likewise.
32985         * iconvdata/iso-2022-cn-ext.c : Likewise.
32986         * iconvdata/iso-2022-jp-3.c: Likewise.
32987         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
32988         * iconvdata/iso-2022-kr.c : Likewise.
32989         * iconvdata/iso646.c (gconv_end): Likewise.
32990         * iconvdata/iso_6937-2.c : Likewise.
32991         * iconvdata/iso_6937.c : Likewise.
32992         * iconvdata/iso8859-1.c: Likewise.
32993         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
32994         * iconvdata/shift_jisx0213.c : Likewise.
32995         * iconvdata/sjis.c : Likewise.
32996         * iconvdata/t.61.c : Likewise.
32997         * iconvdata/tcvn5712-1.c : Likewise.
32998         * iconvdata/tscii.c: Likewise.
32999         * iconvdata/uhc.c : Likewise.
33000         * iconvdata/unicode.c (gconv_end): Likewise.
33001         * iconvdata/utf-16.c (gconv_end): Likewise.
33002         * iconvdata/utf-32.c (gconv_end): Likewise.
33003         * iconvdata/utf-7.c (base64): Likewise.
33004         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
33005         * iconv/gconv_close.c (__gconv_close): Likewise.
33006         * iconv/gconv_open.c (__gconv_open): Likewise.
33007         * iconv/gconv_simple.c (internal_ucs4_loop_single)
33008         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
33009         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
33010         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
33011         (ucs4le_internal_loop_single): Likewise.
33012         * iconv/iconv.c (iconv): Likewise.
33013         * iconv/iconv_close.c: Likewise.
33014         * iconv/loop.c (SINGLE): Likewise.
33015         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
33016         * include/atomic.h: Likewise.
33017         * inet/inet6_option.c (option_alloc): Likewise.
33018         * intl/bindtextdom.c (set_binding_values): Likewise.
33019         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
33020         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
33021         * intl/localealias.c (read_alias_file): Likewise.
33022         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
33023         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
33024         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
33025         * libio/fmemopen.c (fmemopen): Likewise.
33026         * libio/iofgets.c (_IO_fgets): Likewise.
33027         * libio/iofgets_u.c (fgets_unlocked): Likewise.
33028         * libio/iofgetws.c (fgetws): Likewise.
33029         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
33030         * libio/iogetdelim.c (_IO_getdelim): Likewise.
33031         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
33032         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
33033         * locale/findlocale.c (_nl_find_locale): Likewise.
33034         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
33035         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
33036         Likewise.
33037         * locale/setlocale.c (setlocale): Likewise.
33038         * login/programs/pt_chown.c (main): Likewise.
33039         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
33040         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
33041         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
33042         (mmap, mmap64, mremap, munmap): Likewise.
33043         * math/e_exp2l.c: Likewise.
33044         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
33045         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
33046         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
33047         * math/s_catan.c (__catan): Likewise.
33048         * math/s_catanf.c (__catanf): Likewise.
33049         * math/s_catanh.c (__catanh): Likewise.
33050         * math/s_catanhf.c (__catanhf): Likewise.
33051         * math/s_catanhl.c (__catanhl): Likewise.
33052         * math/s_catanl.c (__catanl): Likewise.
33053         * math/s_ccosh.c (__ccosh): Likewise.
33054         * math/s_ccoshf.c (__ccoshf): Likewise.
33055         * math/s_ccoshl.c (__ccoshl): Likewise.
33056         * math/s_cexp.c (__cexp): Likewise.
33057         * math/s_cexpf.c (__cexpf): Likewise.
33058         * math/s_cexpl.c (__cexpl): Likewise.
33059         * math/s_clog10.c (__clog10): Likewise.
33060         * math/s_clog10f.c (__clog10f): Likewise.
33061         * math/s_clog10l.c (__clog10l): Likewise.
33062         * math/s_clog.c (__clog): Likewise.
33063         * math/s_clogf.c (__clogf): Likewise.
33064         * math/s_clogl.c (__clogl): Likewise.
33065         * math/s_csin.c (__csin): Likewise.
33066         * math/s_csinf.c (__csinf): Likewise.
33067         * math/s_csinh.c (__csinh): Likewise.
33068         * math/s_csinhf.c (__csinhf): Likewise.
33069         * math/s_csinhl.c (__csinhl): Likewise.
33070         * math/s_csinl.c (__csinl): Likewise.
33071         * math/s_csqrt.c (__csqrt): Likewise.
33072         * math/s_csqrtf.c (__csqrtf): Likewise.
33073         * math/s_csqrtl.c (__csqrtl): Likewise.
33074         * math/s_ctan.c (__ctan): Likewise.
33075         * math/s_ctanf.c (__ctanf): Likewise.
33076         * math/s_ctanh.c (__ctanh): Likewise.
33077         * math/s_ctanhf.c (__ctanhf): Likewise.
33078         * math/s_ctanhl.c (__ctanhl): Likewise.
33079         * math/s_ctanl.c (__ctanl): Likewise.
33080         * math/w_pow.c: Likewise.
33081         * math/w_powf.c: Likewise.
33082         * math/w_powl.c: Likewise.
33083         * math/w_scalb.c (sysv_scalb): Likewise.
33084         * math/w_scalbf.c (sysv_scalbf): Likewise.
33085         * math/w_scalbl.c (sysv_scalbl): Likewise.
33086         * misc/error.c (error_tail): Likewise.
33087         * misc/pselect.c (__pselect): Likewise.
33088         * nis/nis_callback.c (__nis_create_callback): Likewise.
33089         * nis/nis_call.c (__nisfind_server): Likewise.
33090         * nis/nis_creategroup.c (nis_creategroup): Likewise.
33091         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
33092         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
33093         * nis/nis_getservlist.c (nis_getservlist): Likewise.
33094         * nis/nis_lookup.c (nis_lookup): Likewise.
33095         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
33096         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
33097         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
33098         * nis/nis_xdr.c (xdr_endpoint): Likewise.
33099         * nis/nss_compat/compat-grp.c (getgrent_next_file)
33100         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
33101         * nis/nss_compat/compat-initgroups.c (add_group)
33102         (internal_getgrent_r): Likewise.
33103         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
33104         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
33105         * nis/nss_compat/compat-spwd.c (getspent_next_file)
33106         (internal_getspnam_r): Likewise.
33107         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
33108         (_nss_nis_getaliasbyname_r): Likewise.
33109         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
33110         (_nss_nis_getntohost_r): Likewise.
33111         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
33112         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
33113         (_nss_nis_getgrgid_r): Likewise.
33114         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
33115         (internal_nis_gethostent_r, internal_gethostbyname2_r)
33116         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
33117         (_nss_nis_gethostbyname4_r): Likewise.
33118         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
33119         (initgroups_netid): Likewise.
33120         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
33121         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
33122         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
33123         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
33124         (_nss_nis_getprotobynumber_r): Likewise.
33125         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
33126         (_nss_nis_getsecretkey): Likewise.
33127         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
33128         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
33129         (_nss_nis_getpwuid_r): Likewise.
33130         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
33131         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
33132         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
33133         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
33134         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
33135         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
33136         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
33137         Likewise.
33138         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
33139         (_nss_nisplus_getntohost_r): Likewise.
33140         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
33141         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
33142         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
33143         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
33144         Likewise.
33145         * nis/nss_nisplus/nisplus-initgroups.c
33146         (_nss_nisplus_initgroups_dyn): Likewise.
33147         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
33148         (_nss_nisplus_getnetbyaddr_r): Likewise.
33149         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
33150         (_nss_nisplus_getprotobynumber_r): Likewise.
33151         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
33152         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
33153         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
33154         Likewise.
33155         * nis/nss_nisplus/nisplus-service.c
33156         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
33157         (_nss_nisplus_getservbyport_r): Likewise.
33158         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
33159         (_nss_nisplus_getspnam_r): Likewise.
33160         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
33161         Likewise.
33162         * nscd/aicache.c (addhstaiX): Likewise.
33163         * nscd/cache.c (cache_search, prune_cache): Likewise.
33164         * nscd/connections.c (register_traced_file, send_ro_fd)
33165         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
33166         (main_loop_epoll): Likewise.
33167         * nscd/grpcache.c (addgrbyX): Likewise.
33168         * nscd/hstcache.c (addhstbyX): Likewise.
33169         * nscd/initgrcache.c (addinitgroupsX): Likewise.
33170         * nscd/mem.c (gc, mempool_alloc): Likewise.
33171         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
33172         (addinnetgrX): Likewise.
33173         * nscd/nscd-client.h (__nscd_acquire_maplock)
33174         (__nscd_drop_map_ref): Likewise.
33175         * nscd/nscd_getai.c (__nscd_getai): Likewise.
33176         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
33177         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
33178         Likewise.
33179         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
33180         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
33181         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
33182         (__nscd_get_map_ref): Likewise.
33183         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
33184         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
33185         Likewise.
33186         * nscd/pwdcache.c (addpwbyX): Likewise.
33187         * nscd/selinux.c (preserve_capabilities): Likewise.
33188         * nscd/servicescache.c (addservbyX): Likewise.
33189         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
33190         * posix/fnmatch.c (fnmatch): Likewise.
33191         * posix/getopt.c (_getopt_internal_r): Likewise.
33192         * posix/glob.c (glob, glob_in_dir): Likewise.
33193         * posix/wordexp.c (exec_comm_child): Likewise.
33194         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
33195         (getanswer_r, gaih_getanswer_slice): Likewise.
33196         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
33197         * resolv/res_init.c: Likewise.
33198         * resolv/res_mkquery.c (res_nmkquery): Likewise.
33199         * resolv/res_query.c (__libc_res_nquery): Likewise.
33200         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
33201         Likewise.
33202         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
33203         * stdio-common/perror.c (perror): Likewise.
33204         * stdio-common/printf_fp.c (___printf_fp): Likewise.
33205         * stdio-common/tmpnam.c (tmpnam): Likewise.
33206         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
33207         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
33208         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
33209         Likewise.
33210         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
33211         * stdlib/putenv.c (putenv): Likewise.
33212         * stdlib/setenv.c (__add_to_environ): Likewise.
33213         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
33214         * stdlib/strtol_l.c (INTERNAL): Likewise.
33215         * string/memmem.c (memmem): Likewise.
33216         * string/strerror.c (strerror): Likewise.
33217         * string/strnlen.c (__strnlen): Likewise.
33218         * string/test-memmem.c (simple_memmem): Likewise.
33219         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
33220         * sunrpc/pm_getport.c (__get_socket): Likewise.
33221         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
33222         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
33223         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
33224         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
33225         Likewise.
33226         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
33227         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
33228         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
33229         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
33230         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
33231         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
33232         Likewise.
33233         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
33234         Likewise.
33235         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
33236         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
33237         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
33238         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
33239         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
33240         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
33241         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
33242         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
33243         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
33244         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
33245         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
33246         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
33247         Likewise.
33248         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
33249         Likewise.
33250         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
33251         Likewise.
33252         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
33253         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
33254         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
33255         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
33256         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
33257         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
33258         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
33259         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
33260         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
33261         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
33262         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
33263         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33264         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
33265         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
33266         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33267         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
33268         Likewise.
33269         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
33270         Likewise.
33271         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
33272         Likewise.
33273         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
33274         Likewise.
33275         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
33276         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33277         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
33278         Likewise.
33279         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
33280         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
33281         * sysdeps/posix/opendir.c (__opendirat): Likewise.
33282         * sysdeps/posix/sleep.c: Likewise.
33283         * sysdeps/posix/tempname.c: Likewise.
33284         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
33285         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
33286         Likewise.
33287         * sysdeps/powerpc/powerpc32/dl-machine.h
33288         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
33289         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
33290         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
33291         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
33292         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
33293         Likewise.
33294         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
33295         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
33296         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
33297         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
33298         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
33299         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
33300         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
33301         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
33302         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
33303         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
33304         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
33305         (elf_machine_lazy_rel): Likewise.
33306         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
33307         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
33308         (elf_machine_lazy_rel): Likewise.
33309         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
33310         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
33311         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
33312         * sysdeps/unix/grantpt.c (grantpt): Likewise.
33313         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
33314         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
33315         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
33316         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33317         Likewise.
33318         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
33319         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
33320         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
33321         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
33322         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
33323         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
33324         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
33325         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
33326         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
33327         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
33328         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
33329         Likewise.
33330         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
33331         (__posix_fallocate64_l64): Likewise.
33332         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
33333         (posix_fallocate): Likewise.
33334         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
33335         Likewise.
33336         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
33337         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
33338         (getifaddrs_internal): Likewise.
33339         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
33340         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
33341         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
33342         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
33343         * sysdeps/unix/sysv/linux/posix_fallocate64.c
33344         (__posix_fallocate64_l64): Likewise.
33345         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
33346         Likewise.
33347         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
33348         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
33349         (__get_clockfreq): Likewise.
33350         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
33351         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
33352         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
33353         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
33354         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
33355         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
33356         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
33357         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
33358         Likewise.
33359         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
33360         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
33361         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
33362         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
33363         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
33364         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
33365         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
33366         Likewise.
33367         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
33368         (posix_fallocate): Likewise.
33369         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
33370         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
33371         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
33372         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
33373         (elf_machine_rela, elf_machine_rela_relative)
33374         (elf_machine_lazy_rel): Likewise.
33375         * time/asctime.c (asctime_internal): Likewise.
33376         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
33377         * time/tzset.c (__tzset_parse_tz): Likewise.
33378         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
33379         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
33380         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
33381         * wcsmbs/wcsmbsload.h: Likewise.
33383         [BZ #15894]
33384         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
33386         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
33387         (arena_get2): Remove THREAD_STATS conditionals.
33388         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
33389         (__malloc_stats, int): Likewise.
33391 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
33393         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
33394         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
33396         * manual/setjmp.texi: Fix typos/grammar errors.
33398         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
33399         Only return early when n is <= 0.  Delete unused return statement.
33401         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
33402         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
33403         * debug/tst-longjmp_chk3.c: New file.
33405         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
33406         (test_main): Replace code with set_fortify_handler call.
33407         * debug/test-strcpy_chk.c: Likewise.
33408         * debug/tst-chk1.c: Likewise.
33409         * debug/tst-longjmp_chk.c: Likewise.
33410         * test-skeleton.c: Include fcntl.h & paths.h
33411         (set_fortify_handler): Define.
33413         * debug/tst-longjmp_chk.c: Add header comment and include
33414         ../test-skeleton.c.
33415         (do_test): Mark static.
33416         (TEST_FUNCTION): Define.
33418         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
33419         (IP_PMTUDISC_INTERFACE): Likewise.
33420         (IP_MULTICAST_IF): Likewise.
33421         (IP_MULTICAST_TTL): Likewise.
33422         (IP_MULTICAST_LOOP): Likewise.
33423         (IP_ADD_MEMBERSHIP): Likewise.
33424         (IP_DROP_MEMBERSHIP): Likewise.
33425         (IP_UNBLOCK_SOURCE): Likewise.
33426         (IP_BLOCK_SOURCE): Likewise.
33427         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
33428         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
33429         (IP_MSFILTER): Likewise.
33430         (MCAST_JOIN_GROUP): Likewise.
33431         (MCAST_BLOCK_SOURCE): Likewise.
33432         (MCAST_UNBLOCK_SOURCE): Likewise.
33433         (MCAST_LEAVE_GROUP): Likewise.
33434         (MCAST_JOIN_SOURCE_GROUP): Likewise.
33435         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
33436         (MCAST_MSFILTER): Likewise.
33437         (IP_MULTICAST_ALL): Likewise.
33438         (IP_UNICAST_IF): Likewise.
33440         * timezone/Makefile: Delete $(have-ksh) check.
33441         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
33442         * timezone/tzselect.ksh: Add +x mode bits.
33444         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
33445         (ANON_INODE_FS_MAGIC): Likewise.
33446         (BDEVFS_MAGIC): Likewise.
33447         (BINFMTFS_MAGIC): Likewise.
33448         (BTRFS_TEST_MAGIC): Likewise.
33449         (CRAMFS_MAGIC_WEND): Likewise.
33450         (DEBUGFS_MAGIC): Likewise.
33451         (ECRYPTFS_SUPER_MAGIC): Likewise.
33452         (EXT3_SUPER_MAGIC): Likewise.
33453         (EXT4_SUPER_MAGIC): Likewise.
33454         (FUTEXFS_SUPER_MAGIC): Likewise.
33455         (HOSTFS_SUPER_MAGIC): Likewise.
33456         (HUGETLBFS_MAGIC): Likewise.
33457         (MINIX3_SUPER_MAGIC): Likewise.
33458         (MTD_INODE_FS_MAGIC): Likewise.
33459         (NILFS_SUPER_MAGIC): Likewise.
33460         (OPENPROM_SUPER_MAGIC): Likewise.
33461         (PIPEFS_MAGIC): Likewise.
33462         (PSTOREFS_MAGIC): Likewise.
33463         (QNX6_SUPER_MAGIC): Likewise.
33464         (RAMFS_MAGIC): Likewise.
33465         (REISERFS_SUPER_MAGIC_STRING): Likewise.
33466         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
33467         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
33468         (SECURITYFS_MAGIC): Likewise.
33469         (SELINUX_MAGIC): Likewise.
33470         (SMACK_MAGIC): Likewise.
33471         (SOCKFS_MAGIC): Likewise.
33472         (SQUASHFS_MAGIC): Likewise.
33473         (STACK_END_MAGIC): Likewise.
33474         (TMPFS_MAGIC): Likewise.
33475         (USBDEVICE_SUPER_MAGIC): Likewise.
33476         (V9FS_MAGIC): Likewise.
33477         (XENFS_SUPER_MAGIC): Likewise.
33478         (CRAMFS_MAGIC): Fix typo in comment.
33479         (EXT2_SUPER_MAGIC): Update comment.
33480         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
33482 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
33484         * sysdeps/arm: Move directory from ports/sysdeps/arm.
33485         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
33486         * sysdeps/unix/sysv/linux/arm: Move directory from
33487         ports/sysdeps/unix/sysv/linux/arm.
33488         * README: Update listing for arm-*-linux-gnueabi.
33490         * README: Remove mention of am33.
33492 2014-02-07  Roland McGrath  <roland@hack.frob.com>
33494         * bits/sigset.h (__sigemptyset): Use a statement expression rather
33495         than the comma operator, to avoid "rhs of comma has no effect"
33496         compiler warnings.
33497         (__sigfillset, __sigandset, __sigorset): Likewise.
33498         * include/signal.h (__sigemptyset): Likewise.
33499         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
33501 2014-02-07  Allan McRae  <allan@archlinux.org>
33503         * version.h (RELEASE): Set to "development".
33504         (VERSION): Set to "2.19.90"
33505         * NEWS: Add 2.20 section.
33507 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
33509         [BZ #16529]
33510         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
33512 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
33514         * manual/contrib.texi: Update entry for Carlos O'Donell,
33515         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
33517 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
33519         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
33521         * sysdeps/unix/sysv/linux/kernel-features.h
33522         [__LINUX_KERNEL_VERSION >= 0x020621]
33523         (__ASSUME_PROC_PID_TASK_COMM): Define.
33525 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
33527         [BZ #16398]
33528         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
33529         conversion when destination buffer does not have enough space.
33530         * libio/tst-ftell-partial-wide.c: New test case.
33531         * libio/Makefile (tests): Add tst-ftell-partial-wide.
33533         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
33534         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
33535         Leonard and Allan McRae.
33537 2014-02-04  David S. Miller  <davem@davemloft.net>
33539         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
33540         32-bit.
33542 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
33545         New file
33546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
33547         New file
33548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
33549         New file.
33550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
33551         New file.
33552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
33553         New file.
33554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
33555         New file.
33556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
33557         New file.
33558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
33559         New file.
33560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
33561         New file.
33562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
33563         New file.
33564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
33565         New file.
33566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
33567         New file.
33568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
33569         New file.
33571 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33573         * nptl/shlib-versions: Change powerpc*le start to 2.17.
33574         * shlib-versions: Likewise.
33576 2014-02-04  Roland McGrath  <roland@hack.frob.com>
33577             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33579         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
33580         (abilist-pattern): New variable, set to %-le.abilist.
33582         * Makerules (abilist-pattern): New variable.
33583         (vpath): Use $(abilist-pattern) in place of %.abilist.
33584         (check-abi-% pattern rule): Likewise.
33585         (check-abi, update-abi): Likewise.
33587 2014-02-04  Eric Wong  <normalperson@yhbt.net>
33589         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33591 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
33593         * manual/startup.texi: Add next, previous, and top entries for
33594         the `Program Arguments' and `Environment Variables' nodes.
33596 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
33598         * manual/macros.texi: Add comments before MTASC-safety macros.
33600         * manual/users.texi: Document MTASC-safety properties.
33602         * manual/threads.texi (pthread_key_create, pthread_key_delete)
33603         (pthread_getspecific, pthread_setspecific): Format with
33604         @deftypefun, and add @safety note.
33605         * manual/signal.texi: Move comments that analyze the above
33606         functions to their home place.
33608 2014-02-03  Allan McRae  <allan@archlinux.org>
33610         * po/sl.po: Update Slovenian translation from translation project.
33612 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
33614         * manual/time.texi (timegm): Add missing blank after @c.
33615         Reported by Joseph Myers <joseph@codesourcery.com>.
33617 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
33619         * manual/check-safety.sh: New.
33620         * manual/Makefile ($(objpfx)stamp-summary): Run it.
33622         * manual/terminal.texi: Document MTASC-safety properties.
33624         * manual/filesys.texi: Document MTASC-safety properties.
33626         * manual/errno.texi: Document MTASC-safety properties.
33628         * manual/intro.texi: Document safety identifiers and
33629         conditionals.
33631         * manual/string.texi (wcstok): Fix prototype.
33632         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
33634         * manual/time.texi: Document MTASC-safety properties.
33636         * manual/string.texi: Document MTASC-safety properties.
33638         * manual/threads.texi: Document MTASC-safety properties.
33640         * manual/stdio.texi: Document MTASC-safety properties.
33642         * manual/syslog.texi: Document MTASC-safety properties.
33644         * manual/sysinfo.texi: Document MTASC-safety properties.
33646         * manual/startup.texi: Document MTASC-safety properties.
33648         * manual/socket.texi: Document MTASC-safety properties.
33650         * manual/signal.texi: Document MTASC-safety properties.
33652 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
33654         * manual/setjmp.texi: Document MTASC-safety properties.
33656         * manual/search.texi: Document MTASC-safety properties.
33658         * manual/resource.texi: Document MTASC-safety properties.
33660         * manual/process.texi: Document MTASC-safety properties.
33662         * manual/platform.texi: Document MTASC-safety properties.
33664         * manual/pipe.texi: Document MTASC-safety properties.
33666         * manual/pattern.texi: Document MTASC-safety properties.
33668         * manual/message.texi: Document MTASC-safety properties.
33670         [BZ #12751]
33671         * manual/memory.texi: Document MTASC-safety properties.
33673         * manual/math.texi: Document MTASC-safety properties.
33675         * manual/locale.texi: Document MTASC-safety properties.
33677         * manual/llio.texi: Document MTASC-safety properties.
33679         * manual/libdl.texi: New.
33681         * manual/lang.texi: Document MTASC-safety properties.
33683         * manual/job.texi: Document MTASC-safety properties.
33685         * manual/getopt.texi: Document MTASC-safety properties.
33687         * manual/ctype.texi: Document MTASC-safety properties.
33689 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
33691         [BZ #16046]
33692         * csu/libc-tls.c (static_map): Remove variable.
33693         (__libc_setup_tls): Use main executable's link map for TLS data.
33694         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
33695         casing for LM_ID_BASE and GL(dl_nns).
33696         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
33697         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
33698         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
33699         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
33700         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
33701         member.
33702         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
33703         l_phnum members.
33705 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
33707         * manual/debug.texi: Document MTASC-safety properties.
33709 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
33711         [BZ #16510]
33712         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
33713         of __x86_64__ when disabling x87 inline functions.
33715 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
33717         * manual/charset.texi: Document MTASC-safety properties.
33719         * manual/crypt.texi: Document MTASC-safety properties.
33721         * manual/conf.texi: Document MTASC-safety properties.
33723         * manual/arith.texi: Document MTASC-safety properties.
33725         * manual/argp.texi: Document MTASC-safety properties.
33727         * manual/macros.texi: Introduce macros to document multi
33728         thread, asynchronous signal and asynchronous cancellation
33729         safety properties.
33730         * manual/intro.texi: Introduce the properties themselves.
33732 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33734         * sysdeps/sh/sh4/Makefile: New file.
33736 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
33738         * math/gen-libm-test.pl ($srcdir): New variable.
33739         ($auto_input): Use it.
33741 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
33743         [BZ #16506]
33744         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
33745         access beyond array bounds when parsing netgroups file.
33747         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
33748         the old buffer before realloc.
33750 2014-01-27  Allan McRae  <allan@archlinux.org>
33752         * po/fr.po: Update French translation from translation project.
33754 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33756         * sysdeps/sh/libm-test-ulps: Regenerate.
33758 2014-01-24  David S. Miller  <davem@davemloft.net>
33760         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
33762 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33764         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
33765         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
33767 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
33769         [BZ #16474]
33770         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
33771         string pointers after reallocation.
33773 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33775         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
33776         __SH4A__ instead of __SH_FPU_ANY__.
33778 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33780         * sysdeps/sh/fpu_control.h: New file.
33781         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
33782         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
33783         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
33784         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
33785         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
33786         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
33787         * sysdeps/sh/sys/ucontext.h: Remove.
33788         * sysdeps/sh/sys: Remove directory.
33790 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33792         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
33793         s390/sys/ucontext.h.
33794         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
33795         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
33797 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
33799         [BZ #15605]
33800         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
33802 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33804         [BZ#16431]
33805         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
33806         Adjust the vDSO correctly for internal calls.
33807         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
33809 2014-01-20  Allan McRae  <allan@archlinux.org>
33811         * po/ca.po: Update Catalan translation from translation project.
33813 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
33815         * sysdeps/s390/sotruss-lib.c: New file.
33817 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33819         [BZ#16430]
33820         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
33821         (__GI___gettimeofday): Alias for a different internal symbol to avoid
33822         local calls issues by not having a PLT stub required for IFUNC calls.
33823         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
33825 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
33827         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
33828         * math/test-fpucw-static.c: Likewise.
33830 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
33832         [BZ #16453]
33833         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
33835 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33837         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
33838         implementation for powerpc.
33840 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
33842         [BZ #14782]
33843         * sysdeps/posix/system.c (__libc_system): Do not enable
33844         asynchronous cancellation.
33846 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33848         [BZ #16427]
33849         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
33850         handling only for numbers special also in the IEEE case.
33852 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33854         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
33856 2014-01-11  Allan McRae  <allan@archlinux.org>
33858         * po/bg.po: Update Bulgarian translation from translation project.
33860         * po/de.po: Update German translation from translation project.
33862 2014-01-10  Roland McGrath  <roland@hack.frob.com>
33864         * sysdeps/generic/gcc-compat.h: New file.
33866 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
33868         * benchtests/asin-inputs: Correct slow inputs.
33869         * benchtests/acos-inputs: Likewise.
33871 2014-01-10  Allan McRae  <allan@archlinux.org>
33873         * po:sv.po: Update Swedish translation from translation project.
33875         * po/vi.po: Update Vietnamese translation from translation project.
33877         * po/eo.po: Update Esperanto translation from translation project.
33879         * po/cs.po: Update Czech translation from translation project.
33881         * po/nl.po: Update Dutch translation from translation project.
33883         * po/pl.po: Update Polish translation from translation project.
33885         * po/ru.po: Update Russian translation from translation project.
33887         * po/uk.po: Update Ukrainian translation from translation project.
33889 2014-01-08  Brooks Moses  <bmoses@google.com>
33891         * elf/dl-load.c: Fix comment typo.
33893 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
33895         * po/header.pot: Rename to...
33896         * po/pot.header: ... this.
33897         * po/Makefile: Use pot.header.
33899 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
33900             Maxim Kuvyrkov  <maxim@kugelworks.com>
33902         [BZ #16394]
33903         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
33904         SRC and DEST against LEN.
33906 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33908         [BZ #16414]
33909         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
33910         implementation.
33911         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
33913 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33915         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33917 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
33919         [BZ #16408]
33920         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
33921         for large positive arguments.
33923 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
33925         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
33927         * math/auto-libm-test-in: Mark various tests with
33928         xfail-rounding:ldbl-128ibm.
33929         * math/auto-libm-test-out: Regenerated.
33931         [BZ #16407]
33932         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
33933         Increase overflow threshold.
33935 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
33937         [BZ #14286]
33938         * stdio-common/vfprintf.c: Check for integer overflow.
33940 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33942         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
33943         the first argument and return value of __tls_get_addr_internal.
33945 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33947         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
33948         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
33950 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33952         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
33953         * sysdeps/s390/rtld-global-offsets.sym: New file.
33954         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
33955         GLIBC_2.19 symbol.
33956         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
33957         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
33958         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
33959         ... this.
33960         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
33961         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
33962         ... this.
33963         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
33964         Regenerate.
33965         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
33966         Regenerate.
33967         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
33968         halfs of GPRs for high_gprs contexts.
33969         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
33970         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
33971         field.
33972         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
33973         uc_flags field.
33974         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
33975         64 bit versions:
33976         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
33977         for high GPRs (uc_high_gprs) and for future extensions
33978         (__reserved).
33979         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
33980         for future extensions (__reserved).
33981         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
33982         64 bit versions:
33983         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
33984         SC_HIGHGPRS offset definition.
33985         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
33986         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
33988         * Versions.def: Add GLIBC_2.19 for libpthread.
33989         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
33990         siglongjmp for libpthread with GLIBC_2.19 symver.
33991         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
33992         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
33993         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
33994         * sysdeps/s390/__longjmp.c: New file.
33995         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
33996         * sysdeps/s390/longjmp.c: New file.
33997         * sysdeps/s390/setjmp.S: New file.
33998         * sysdeps/s390/sigjmp.S: New file.
33999         * sysdeps/s390/v1-longjmp.c: New file.
34000         * sysdeps/s390/v1-setjmp.h: New file.
34001         * sysdeps/s390/v1-sigjmp.c: New file.
34002         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
34003         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
34004         GLIBC_2.19 version.
34005         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
34006         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
34007         versioned symbols for ____longjmp_chk.
34008         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
34009         Likewise.
34010         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
34011         Regenerate.
34012         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
34013         Regenerate.
34014         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
34015         Regenerate.
34016         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
34017         Regenerate.
34018         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
34019         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
34020         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
34021         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
34022         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
34023         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
34024         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
34025         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
34026         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
34027         * sysdeps/s390/rtld-__longjmp.c: New file.
34028         * sysdeps/s390/rtld-setjmp.S: New file.
34030 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
34032         [BZ #16400]
34033         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
34034         Return -__logl (x) for small positive arguments without evaluating
34035         a polynomial.
34037 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
34039         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
34040         Rename to ...
34041         (__ptrace_peeksiginfo_args): ... this.
34042         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34043         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34044         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34046 2014-01-06  Allan McRae  <allan@archlinux.org>
34048         * inet/netinet/in.h: Fix typo in comment.
34050 2014-01-05  Andreas Jaeger  <aj@suse.de>
34052         * sysdeps/i386/fpu/libm-test-ulps: Update.
34054 2014-01-05  Allan McRae  <allan@archlinux.org>
34056         * po/libc.pot: Regenerated.
34058         * malloc/memusagestat.c: Fix gettext call formatting.
34060 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
34062         * nscd/nscd.c: Improve usage() output.
34064 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
34066         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
34067         * sysdeps/unix/sysv/linux/configure: Regenerated.
34068         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
34069         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
34071 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
34073         [BZ #16390]
34074         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
34075         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
34077 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34079         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
34080         extra tokens at end of #undef directive.
34081         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
34082         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
34083         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
34085 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
34087         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
34089         * math/auto-libm-test-in: Mark various tests with
34090         xfail-rounding:ldbl-128ibm.
34091         * math/auto-libm-test-out: Regenerated.
34093 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
34095         [BZ #16386]
34096         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
34097         numbers with subnormal high part when calculating exponent.
34099         [BZ #16385]
34100         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
34101         fabs.
34103         [BZ #16384]
34104         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
34105         M_LN2l.
34106         (__ieee754_acoshl): Use __log1pl not __log1p.
34108 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
34110         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
34111         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
34112         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
34113         (grow_heap, heap_trim, _int_new_arena, get_free_list)
34114         (reused_arena, arena_get2): Convert to GNU style.
34115         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
34116         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
34117         (memalign_check, __malloc_set_state): Likewise.
34118         * malloc/mallocbug.c (main): Likewise.
34119         * malloc/malloc.c (__malloc_assert, malloc_init_state)
34120         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
34121         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
34122         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
34123         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
34124         (__posix_memalign, malloc_info): Likewise.
34125         * malloc/malloc.h: Likewise.
34126         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
34127         (mallochook, memalignhook, reallochook, mabort): Likewise.
34128         * malloc/mcheck.h: Likewise.
34129         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
34130         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
34131         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
34132         * malloc/morecore.c (__default_morecore): Likewise.
34133         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
34134         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
34135         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
34136         (print_and_abort): Likewise.
34137         * malloc/obstack.h: Likewise.
34138         * malloc/set-freeres.c (__libc_freeres): Likewise.
34139         * malloc/tst-mallocstate.c (main): Likewise.
34140         * malloc/tst-mtrace.c (main): Likewise.
34141         * malloc/tst-realloc.c (do_test): Likewise.
34143 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
34145         [BZ #16366]
34146         * nscd/netgroupcache.c (do_notfound): New function.
34147         (addgetnetgrentX): Use it.
34149         [BZ # 16365]
34150         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
34151         NSS_STATUS_NOTFOUND.
34153 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
34155         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
34156         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34158 2014-01-01  Allan McRae  <allan@archlinux.org>
34160         * scripts/update-copyrights: Update configure input file suffix.
34162         * NEWS: Update copyright year.
34163         * catgets/gencat.c: Likewise.
34164         * csu/version.c: Likewise.
34165         * debug/catchsegv.sh: Likewise.
34166         * debug/pcprofiledump.c: Likewise.
34167         * debug/xtrace.sh: Likewise.
34168         * elf/ldconfig.c: Likewise.
34169         * elf/ldd.bash.in: Likewise.
34170         * elf/pldd.c: Likewise.
34171         * elf/sotruss.ksh: Likewise.
34172         * elf/sprof.c: Likewise.
34173         * iconv/iconv_prog.c: Likewise.
34174         * iconv/iconvconfig.c: Likewise.
34175         * locale/programs/locale.c: Likewise.
34176         * locale/programs/localedef.c: Likewise.
34177         * login/programs/pt_chown.c: Likewise.
34178         * malloc/memusage.sh: Likewise.
34179         * malloc/memusagestat.c: Likewise.
34180         * malloc/mtrace.pl: Likewise.
34181         * manual/libc.texinfo: Likewise.
34182         * nscd/nscd.c: Likewise.
34183         * nss/getent.c: Likewise.
34184         * nss/makedb.c: Likewise.
34185         * posix/getconf.c: Likewise.
34186         * scripts/test-installation.pl: Likewise.
34188         * All files with FSF copyright notices: Update copyright dates
34189         using scripts/update-copyrights.
34190         * intl/plural.c: Regenerated.
34191         * locale/programs/charmap-kw.h: Likewise.
34192         * locale/programs/locfile-kw.h: Likewise.
34194 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
34196         * sysdeps/unix/sysv/linux/configure: Regenerated.
34197         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
34198         the linux/fanotify.h header.
34199         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
34200         HAVE_LINUX_FANOTIFY_H is defined.
34202 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
34204         * benchtests/cos-inputs: New inputs.
34205         * benchtests/sin-inputs: Likewise.
34207         * benchtests/atan-inputs: New inputs. Fix name of multiple
34208         precision fallback inputs.
34210         * benchtests/atanh-inputs: New inputs.
34211         * benchtests/tanh-inputs: Likewise.
34213         * benchtests/acosh-inputs: New inputs.
34214         * benchtests/asinh-inputs: Likewise.
34216         * benchtests/cosh-inputs: New inputs.
34217         * benchtests/sinh-inputs: Likewise.
34219         * benchtests/acos-inputs: Add more inputs.
34220         * benchtests/asin-inputs: Likewise.
34222 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
34224         [BZ #16375]
34225         * manual/arith.texi: Fix spelling.
34226         * manual/charset.texi: Likewise.
34227         * manual/errno.texi: Likewise.
34228         * manual/filesys.texi: Likewise.
34229         * manual/lang.texi: Likewise.
34230         * manual/llio.texi: Likewise.
34231         * manual/locale.texi: Likewise.
34232         * manual/message.texi: Likewise.
34233         * manual/resource.texi: Likewise.
34234         * manual/search.texi: Likewise.
34235         * manual/setjmp.texi: Likewise.
34236         * manual/stdio.texi: Likewise.
34237         * manual/string.texi: Likewise.
34238         * manual/sysinfo.texi: Likewise.
34239         * manual/time.texi: Likewise.
34241 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
34243         * po/sl.po: New file.
34245 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
34247         * .gitignore: Add core/.gdbinit/.gdb_history.
34249 2013-12-27  Allan McRae  <allan@archlinux.org>
34251         [BZ #16369]
34252         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
34253         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
34255 2013-12-24  Brooks Moses  <bmoses@google.com>
34257         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
34258         all compilers that claim C++98 compliance, not just GCC.
34259         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
34260         Likewise.
34262 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
34264         * NEWS: Restore accidentally deleted bug-fix entries.
34266 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
34267             Ondřej Bílka  <neleai@seznam.cz>
34269         [BZ #15073]
34270         * malloc/malloc.c (_int_free): Perform sanity check only if we
34271         have_lock.
34273 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
34275         [BZ #12986]
34276         * manual/stdio.texi (String Input Conversions): Clarify that character
34277         classes are not supported.
34279 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34281         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34283 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
34285         [BZ #16337]
34286         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
34287         Calculate results for small negative arguments directly rather
34288         than using reflection formula with special underflow handling.
34290         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
34291         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
34292         sysdeps/unix/bsd/bsd4.4/syscalls.list.
34293         (fchflags): Likewise.
34294         (revoke): Likewise.
34295         (setlogin): Likewise.
34296         (sigaltstack): Likewise.
34297         (wait4): Likewise.
34298         (sigblock): Remove.
34299         (sigsetmask): Likewise.
34300         (wait3): Likewise.
34301         (waitpid): Likewise.
34302         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
34303         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
34304         file.
34305         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
34306         * sysdeps/unix/bsd/Makefile: ... here.
34307         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
34308         * sysdeps/unix/bsd/Versions: ... here.
34309         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
34310         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
34311         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
34312         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
34313         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
34314         * sysdeps/unix/bsd/sigblock.c: ... here.
34315         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
34316         * sysdeps/unix/bsd/sigsetmask.c: ... here.
34317         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
34318         * sysdeps/unix/bsd/sigvec.c: ... here.
34319         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
34320         * sysdeps/unix/bsd/tcdrain.c: ... here.
34321         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
34322         * sysdeps/unix/bsd/tcgetattr.c: ... here.
34323         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
34324         * sysdeps/unix/bsd/tcsetattr.c: ... here.
34325         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
34326         * sysdeps/unix/bsd/wait.c: ... here.
34327         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
34328         * sysdeps/unix/bsd/wait3.c: ... here.
34329         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
34330         * sysdeps/unix/bsd/waitpid.c: ... here.
34332 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
34334         [BZ #16356]
34335         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
34336         round-to-nearest for [!USE_AS_EXPM1L].
34337         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
34338         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
34339         more tests of exp and exp10.  Expect some exp10 tests to miss
34340         exceptions or fail in directed rounding modes.
34341         * math/auto-libm-test-out: Regenerated.
34342         * math/libm-test.inc (exp10_tonearest_test_data): New array.
34343         (exp10_test_tonearest): New function.
34344         (exp10_towardzero_test_data): New array.
34345         (exp10_test_towardzero): New function.
34346         (exp10_downward_test_data): New array.
34347         (exp10_test_downward): New function.
34348         (exp10_upward_test_data): New array.
34349         (exp10_test_upward): New function.
34350         (main): Call the new functions.
34351         * sysdeps/i386/fpu/libm-test-ulps: Update.
34352         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34354 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
34356         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
34357         asinh, atan, atan2, atanh, cbrt, cos and cosh.
34358         * math/auto-libm-test-out: Regenerated.
34359         * math/libm-test.inc (acosh_test_data): Add more tests.
34360         (atanh_test_data): Likewise.
34361         (ceil_test_data): Likewise.
34362         (copysign_test_data): Likewise.
34363         * sysdeps/i386/fpu/libm-test-ulps: Update.
34364         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34366         * timezone/checktab.awk: Update from tzcode 2013i.
34367         * timezone/private.h: Likewise.
34368         * timezone/scheck.c: Likewise.
34369         * timezone/tzfile.h: Likewise.
34370         * timezone/tzselect.ksh: Likewise.
34371         * timezone/zdump.c: Likewise.
34372         * timezone/zic.c: Likewise.
34374         * math/auto-libm-test-in: Add tests of cpow.
34375         * math/auto-libm-test-out: Regenerated.
34376         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
34377         * math/gen-auto-libm-tests.c (func_calc_method): Add value
34378         mpc_cc_c.
34379         (func_calc_desc): Add mpc_cc_c union field.
34380         (test_functions): Add cpow.
34381         (special_fill_2pi): New function.
34382         (special_real_inputs): Add 2pi.
34383         (calc_generic_results): Handle mpc_cc_c.
34384         * sysdeps/i386/fpu/libm-test-ulps: Update.
34385         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34387         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
34388         csqrt, ctan and ctanh.
34389         * math/auto-libm-test-out: Regenerated.
34390         * math/libm-test.inc (TEST_COND_x86_64): New macro.
34391         (TEST_COND_x86): Likewise.
34392         (ccos_test_data): Use AUTO_TESTS_c_c.
34393         (ccosh_test_data): Likewise.
34394         (cexp_test_data): Likewise.
34395         (clog_test_data): Likewise.
34396         (csqrt_test_data): Likewise.
34397         (ctan_test_data): Likewise.
34398         (ctan_tonearest_test_data): Likewise.
34399         (ctan_towardzero_test_data): Likewise.
34400         (ctan_downward_test_data): Likewise.
34401         (ctan_upward_test_data): Likewise.
34402         (ctanh_test_data): Likewise.
34403         (ctanh_tonearest_test_data): Likewise.
34404         (ctanh_towardzero_test_data): Likewise.
34405         (ctanh_downward_test_data): Likewise.
34406         (ctanh_upward_test_data): Likewise.
34407         * math/gen-auto-libm-tests.c (func_calc_method): Add value
34408         mpc_c_c.
34409         (func_calc_desc): Add mpc_c_c union field.
34410         (FUNC_mpc_c_c): New macro.
34411         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
34412         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
34413         ctanh.
34414         (special_fill_min_subnorm_p120): New function.
34415         (special_real_inputs): Add min_subnorm_p120.
34416         (calc_generic_results): Handle mpc_c_c.
34417         * sysdeps/i386/fpu/libm-test-ulps: Update.
34418         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34420 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
34422         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
34423         (do_sin_slow): New functions.
34424         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
34425         (cslow2, csloww1, csloww2): Use the new functions.
34427         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
34428         Use M to change sign of result instead of X.  Assume X is
34429         positive.
34430         (csloww1): Likewise.
34431         (__sin): Adjust.
34432         (__cos): Adjust.
34434         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
34435         arguments A and DA.
34436         (__sin): Adjust.
34437         (__cos): Likewise.
34439         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
34440         (__cos): Likewise.
34441         (sloww1): Don't adjust sign of DX.
34442         (csloww1): Likewise.
34443         (sloww2): Use X directly and don't adjust sign of DX.
34444         (csloww2): Likewise.
34446 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
34448         * math/auto-libm-test-in: Add tests of cabs and carg.
34449         * math/auto-libm-test-out: Regenerated.
34450         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
34451         (carg_test_data): Likewise.
34452         * math/gen-auto-libm-tests.c (func_calc_method): Add value
34453         mpc_c_f.
34454         (func_calc_desc): Add mpc_c_f union field.
34455         (test_functions): Add cabs and carg.
34456         (calc_generic_results): Handle mpc_c_f.
34458         * sysdeps/powerpc/powerpc32/libgcc-compat.S
34459         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
34460         as a macro and a compat symbol.
34461         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
34462         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
34463         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
34464         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
34465         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
34466         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
34467         not use .hidden.
34468         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
34469         Likewise.
34470         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
34471         Likewise.
34472         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
34473         Likewise.
34474         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
34475         Likewise.
34476         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
34477         Likewise.
34478         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
34479         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
34480         from GLIBC_2.3.2.
34482 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34484         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34486 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
34488         * manual/texinfo.tex: Update to version 2013-11-26.10 with
34489         trailing whitespace removed.
34490         * scripts/config.guess: Update to version 2013-11-29.
34491         * scripts/config.sub: Update to version 2013-10-01.
34493         * math/auto-libm-test-in: Add tests of sincos.
34494         * math/auto-libm-test-out: Regenerated.
34495         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
34496         * math/gen-auto-libm-tests.c (func_calc_method): Add value
34497         mpfr_f_11.
34498         (func_calc_desc): Add mpfr_f_11 union field.
34499         (test_functions): Add sincos.
34500         (calc_generic_results): Handle mpfr_f_11.
34501         * sysdeps/i386/fpu/libm-test-ulps: Update.
34502         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34504 2013-12-19  Andreas Schwab  <schwab@suse.de>
34506         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
34507         CALL_MCOUNT.
34508         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
34509         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
34510         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
34512 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
34514         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
34515         * sysdeps/i386/fpu/libm-test-ulps: Update.
34516         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34518         [BZ #16293]
34519         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
34520         round-to-nearest mode when using frndint.
34521         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
34522         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
34523         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
34524         Likewise.
34525         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
34526         sinh test to fail.
34527         * math/auto-libm-test-out: Regenerated.
34528         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
34529         (TEST_COND_x86): Likewise.
34530         (expm1_tonearest_test_data): New array.
34531         (expm1_test_tonearest): New function.
34532         (expm1_towardzero_test_data): New array.
34533         (expm1_test_towardzero): New function.
34534         (expm1_downward_test_data): New array.
34535         (expm1_test_downward): New function.
34536         (expm1_upward_test_data): New array.
34537         (expm1_test_upward): New function.
34538         (main): Run the new test functions.
34539         * sysdeps/i386/fpu/libm-test-ulps: Update.
34540         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34542         * include/features.h: Update comment documenting feature test
34543         macros.  Mention _DEFAULT_SOURCE in comment.
34544         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
34545         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
34546         _BSD_SOURCE and _SVID_SOURCE.
34547         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
34548         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
34549         !_SVID_SOURCE]: Likewise.
34550         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
34551         (__USE_POSIX_IMPLICITLY): Define.
34552         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
34553         (_POSIX_SOURCE): Undefine and redefine.
34554         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
34555         (_POSIX_C_SOURCE): Likewise.
34556         * manual/creature.texi (_DEFAULT_SOURCE): Document.
34557         (Feature Test Macros): Update documentation of default features.
34559 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
34561         * benchtests/Makefile: Add bench-strtok.
34562         * benchtests/bench-strtok.c: New file: strtok benchtest.
34564 2013-12-19  Allan McRae  <allan@archlinux.org>
34566         * manual/install.texi: Suppress menu for plain text output.
34567         * INSTALL: Regenerated.
34569 2013-12-18  Brooks Moses  <bmoses@google.com>
34571         [BZ #15846]
34572         * misc/getauxval.c: Include errno.h.
34573         (__getauxval): Set errno to ENOENT if the requested type is not
34574         found.
34575         * misc/sys/auxv.h (getauxval): Document that it may set errno;
34576         don't declare with __attribute_const__.
34577         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
34578         * manual/startup.texi: Document that getauxval sets errno.
34580 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
34582         * math/auto-libm-test-in: Add tests of jn and yn.
34583         * math/auto-libm-test-out: Regenerated.
34584         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
34585         (yn_test_data): Likewise.
34586         * math/gen-auto-libm-tests.c (func_calc_method): Add value
34587         mpfr_if_f.
34588         (func_calc_desc): Add mpfr_if_f union field.
34589         (FUNC_mpfr_if_f): New macro.
34590         (test_functions): Add jn and yn.
34591         (calc_generic_results): Assert type of second input for
34592         mpfr_ff_f.  Handle mpfr_if_f.
34593         (output_for_one_input_case): Disable all checking for arguments
34594         fitting floating-point types in case of an integer argument.
34595         * sysdeps/i386/fpu/libm-test-ulps: Update.
34596         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34598         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
34599         Don't expect fegetround reference in libm.so.
34601 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
34603         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
34604         $(config-cflags-nofma).
34606 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
34608         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
34609         * math/auto-libm-test-out: Regenerated.
34611         [BZ #16338]
34612         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
34613         to determine exponent and adjust argument to have exponent of -1.
34614         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
34615         log2.
34616         * math/auto-libm-test-out: Regenerated.
34617         * sysdeps/i386/fpu/libm-test-ulps: Update.
34618         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34620 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
34622         * manual/probes.texi: Remove cases when per-thread arenas are
34623         disabled.
34625 2013-12-18  Andreas Schwab  <schwab@suse.de>
34627         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
34628         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
34629         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
34630         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
34631         * sysdeps/i386/i686/multiarch/Makefile: Update.
34632         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
34634 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
34636         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
34637         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
34639 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
34641         [BZ #15968]
34642         Support TZ transition times < 00:00:00.
34643         This is needed for version-3 tz-format files; it supports time
34644         stamps past 2037 for America/Godthab (the only entry in the tz
34645         database for which this change is relevant).
34646         * manual/time.texi (TZ Variable): Document transition times
34647         from -167:59:59 through -00:00:01.
34648         * time/tzset.c (tz_rule): Time of day is now signed.
34649         (__tzset_parse_tz): Parse negative time of day.
34651         Document TZ transition times >= 25:00:00.
34652         * manual/time.texi (TZ Variable): Document transition times from
34653         25:00:00 through 167:59:59.  These are already supported, and this
34654         support will help with version-3 tz-format files.
34656         * manual/time.texi (TZ Variable): Modernize North America example
34657         to reflect current (i.e., 2007-and-later) daylight saving rules.
34659         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
34661 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
34663         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
34664         * sysdeps/unix/bsd/bits/stat.h: Likewise.
34665         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
34666         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
34667         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
34668         * sysdeps/unix/bsd/bsdstat.h: Likewise.
34669         * sysdeps/unix/bsd/clock.c: Likewise.
34670         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
34671         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
34672         * sysdeps/unix/bsd/init-posix.c: Likewise.
34673         * sysdeps/unix/bsd/poll.c: Likewise.
34674         * sysdeps/unix/bsd/ptsname.c: Likewise.
34675         * sysdeps/unix/bsd/seekdir.c: Likewise.
34676         * sysdeps/unix/bsd/setegid.c: Likewise.
34677         * sysdeps/unix/bsd/seteuid.c: Likewise.
34678         * sysdeps/unix/bsd/setgid.c: Likewise.
34679         * sysdeps/unix/bsd/setrgid.c: Likewise.
34680         * sysdeps/unix/bsd/setruid.c: Likewise.
34681         * sysdeps/unix/bsd/setsid.c: Likewise.
34682         * sysdeps/unix/bsd/setuid.c: Likewise.
34683         * sysdeps/unix/bsd/sigaction.c: Likewise.
34684         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
34685         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
34686         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
34687         * sysdeps/unix/bsd/telldir.c: Likewise.
34688         * sysdeps/unix/bsd/times.c: Likewise.
34689         * sysdeps/unix/bsd/usleep.c: Likewise.
34691         * misc/Makefile (install-lib): Remove libbsd-compat.a.
34692         ($(objpfx)libbsd-compat.a): Remove rule.
34694         * include/features.h (__FAVOR_BSD): Do not define.
34695         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
34696         features conflicting with POSIX.
34697         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
34698         (_BSD_SOURCE): Remove description of not being a subset of other
34699         feature test macros.
34700         * manual/job.texi (getpgrp): Do not document BSD version.
34701         (getpgid): Do not document by reference to BSD getpgrp.
34702         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
34703         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
34704         * signal/signal.h [__FAVOR_BSD]: Likewise.
34705         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
34706         instead of making contents conditional on [__FAVOR_BSD].
34707         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
34709 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34711         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34713 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
34715         [BZ #16314]
34716         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
34717         values below 2**-450, not 2**-500.
34718         * math/auto-libm-test-in: Don't allow spurious underflow from
34719         hypot.
34720         * math/auto-libm-test-out: Regenerated.
34722         [BZ #16316]
34723         [BZ #16330]
34724         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
34725         values of ha and hb and sort them after adjusting subnormal
34726         arguments.
34727         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
34728         Likewise.
34729         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
34730         values of ea and eb and sort them after adjusting subnormal
34731         arguments.
34732         * math/auto-libm-test-in: Do not expect some hypot tests of
34733         subnormals to fail.  Add more hypot tests.
34734         * math/auto-libm-test-out: Regenerated.
34736 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34738         [BZ #13304]
34739         * sysdeps/sh/s_fma.c: New file.
34740         * sysdeps/sh/s_fmaf.c: New file.
34741         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
34742         version.
34743         * sysdeps/sh/Implies: Add sh/soft-fp.
34745 2013-12-16  Roland McGrath  <roland@hack.frob.com>
34747         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
34748         level of indirection to members `objname', `errstring', `malloced'.
34749         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
34750         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
34751         it as the __longjmp argument (just pass 1 instead).
34752         (_dl_catch_error): Initialize C with argument pointers and address of
34753         volatile local ERRCODE rather than copying values out of C at return.
34755 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
34757         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
34758         * math/auto-libm-test-out: Regenerated.
34759         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
34760         (hypot_test_data): Likewise.
34761         (pow_test_data): Likewise.
34762         (pow_tonearest_test_data): Likewise.
34763         * math/gen-auto-libm-tests.c (func_calc_method): Add value
34764         mpfr_ff_f.
34765         (func_calc_desc): Add mpfr_ff_f union field.
34766         (FUNC_mpfr_ff_f): New macro.
34767         (test_functions): Add atan2, hypot and pow.
34768         (special_fill_min): New function.
34769         (special_fill_minus_min): Likewise.
34770         (special_fill_min_subnorm): Likewise.
34771         (special_fill_minus_min_subnorm): Likewise.
34772         (special_real_inputs): Add min, -min, min_subnorm and
34773         -min_subnorm.
34774         (calc_generic_results): Handle mpfr_ff_f.
34775         * sysdeps/i386/fpu/libm-test-ulps: Update.
34776         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34778 2013-12-16  Will Newton  <will.newton@linaro.org>
34780         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
34781         (Aligned Memory Blocks): Add documentation for aligned_alloc
34782         and suggest it as an alternative to posix_memalign.
34783         (Hooks for Malloc): Document __memalign_hook is also called
34784         for aligned_alloc.  (Summary of Malloc): Add summary for
34785         aligned alloc.  Document __memalign_hook is also called
34786         for aligned_alloc.
34788 2013-12-16  Will Newton  <will.newton@linaro.org>
34790         * manual/memory.texi (Malloc Examples): Clarify default
34791         alignment documentation.  Suggest posix_memalign rather
34792         than memalign or valloc.
34793         (Aligned Memory Blocks): Remove suggestion to use memalign
34794         or valloc.  Remove obsolete comment about BSD.
34795         Document memalign errno values and mark the function obsolete.
34796         Document posix_memalign returned error codes.  Mark valloc
34797         as obsolete.  (Hooks for Malloc): __memalign_hook is also
34798         called for posix_memalign and valloc.
34799         (Summary of Malloc): Add posix_memalign to function summary.
34800         __memalign_hook is also called for posix_memalign and valloc.
34802 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
34804         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
34805         TAYLOR_SIN.
34806         (__sin): Adjust.
34807         (__cos): Likewise.
34808         (sloww): Use mynumber union.  Expand ternary operator into
34809         if-else statements.
34810         (cslow): use mynumber union.
34812 2013-12-16  Allan McRae  <allan@archlinux.org>
34814         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
34815         * configure: Regenerated.
34817         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
34819         [BZ #14120]
34820         * configure.ac: Added --enable-maintainer-mode. Check for
34821         autoconf when enabled.
34822         * configure: Regenerated.
34824         * nscd/nscd.service: New file.
34825         * nscd/nscd.tmpfiles: New file.
34827 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
34829         [BZ #12100]
34830         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
34831         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
34832         * sysdeps/x86_64/multiarch/strstr.c: ... here.
34833         (strstr): Add __strstr_sse2_unaligned ifunc.
34834         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
34835         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
34836         (strcasestr): Remove __strcasestr_sse42 ifunc.
34837         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
34838         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
34839         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
34841 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34843         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
34844         * sysdeps/sh/bits/fenv.h: ... here.
34845         * sysdeps/sh/sh4/fpu/bits: Remove directory.
34847 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34849         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
34851         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
34852         hypotf multiarch implementations.
34853         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
34854         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
34855         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
34856         multiarch hypot for PPC64.
34857         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
34858         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
34859         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
34860         multiarch hypotf for PPC64.
34862         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
34863         modff multiarch implementations.
34864         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
34865         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
34866         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
34867         multiarch modf for PPC64.
34868         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
34869         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
34870         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
34871         multiarch modff for PPC64.
34873         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
34874         and logl multiarch implementations.
34875         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
34876         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
34877         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
34878         multiarch logb for PPC64.
34879         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
34880         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
34881         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
34882         multiarch logb for PPC64.
34883         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
34884         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
34885         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
34886         multiarch logb for PPC64.
34888         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
34889         isinff multiarch implementation.
34890         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
34891         file.
34892         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
34893         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
34894         multiarch isinf for PPC64.
34895         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
34896         file.
34897         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
34898         multiarch isinff for PPC64.
34900         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
34901         finitef multiarch implementation.
34902         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
34903         file.
34904         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
34905         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
34906         multiarch finite for PPC64.
34907         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
34908         file.
34909         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
34910         multiarch finitef for PPC64.
34912         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
34913         lrint multiarch implementation.
34914         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
34915         file.
34916         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
34917         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
34918         multiarch llrint for PPC64.
34919         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
34920         multiarch lrint for PPC64.
34922         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
34923         copysignf multiarch implementation.
34924         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
34925         file.
34926         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
34927         file.
34928         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
34929         multiarch copysign for PPC64.
34930         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
34931         multiarch copysignf for PPC64.
34933         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
34934         multiarch implementation.
34935         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
34936         file.
34937         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
34938         file.
34939         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
34940         file.
34941         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
34942         file.
34943         multiarch llround for PPC64.
34944         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
34945         multiarch trunc for PPC64.
34946         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
34947         multiarch truncf for PPC64.
34949         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
34950         multiarch implementation.
34951         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
34952         file.
34953         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
34954         file.
34955         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
34956         file.
34957         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
34958         file.
34959         multiarch llround for PPC64.
34960         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
34961         multiarch round for PPC64.
34962         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
34963         multiarch roundf for PPC64.
34965         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
34966         multiarch implementation.
34967         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
34968         file.
34969         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
34970         file.
34971         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
34972         file.
34973         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
34974         file.
34975         multiarch llround for PPC64.
34976         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
34977         multiarch floor for PPC64.
34978         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
34979         multiarch floorf for PPC64.
34981         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
34982         multiarch implementation.
34983         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
34984         file.
34985         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
34986         file.
34987         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
34988         file.
34989         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
34990         file.
34991         multiarch llround for PPC64.
34992         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
34993         multiarch ceil for PPC64.
34994         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
34995         multiarch ceilf for PPC64.
34997         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
34998         multiarch implementation.
34999         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
35000         file.
35001         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
35002         file.
35003         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
35004         file.
35005         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
35006         multiarch llround for PPC64.
35007         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
35008         multiarch lround for PPC64.
35010         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
35011         multiarch implementation.
35012         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
35013         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
35014         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
35015         file.
35016         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
35017         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
35018         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
35019         multiarch isnan for PPC64.
35020         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
35021         multiarch isnanf for PPC64.
35023         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
35024         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
35025         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
35026         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
35027         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
35028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
35030         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
35031         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
35032         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
35033         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
35035         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
35036         multiarch implementations.
35037         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35038         (__libc_ifunc_impl_list): Likewise.
35039         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
35040         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
35041         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
35042         multiarch stpcpy for PPC64.
35044         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
35045         multiarch implementations.
35046         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35047         (__libc_ifunc_impl_list): Likewise.
35048         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
35049         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
35050         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
35051         multiarch strcpy for PPC64.
35053         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
35054         redefine function name.
35055         (_wordcopy_fwd_dest_aligned): Likewise.
35056         (_wordcopy_bwd_aligned): Likewise.
35057         (_wordcopy_bwd_dest_aligned): Likewise.
35058         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
35059         multiarch implementations.
35060         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35061         (__libc_ifunc_impl_list): Likewise.
35062         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
35063         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
35064         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
35065         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
35066         multiarch wcscpy for PPC64.
35068         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
35069         multiarch implementations.
35070         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35071         (__libc_ifunc_impl_list): Likewise.
35072         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
35073         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
35074         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
35075         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
35076         multiarch wcscpy for PPC64.
35078         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
35079         multiarch implementations.
35080         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35081         (__libc_ifunc_impl_list): Likewise.
35082         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
35083         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
35084         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
35085         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
35086         multiarch wcsrchr for PPC64.
35088         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
35089         multiarch implementations.
35090         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35091         (__libc_ifunc_impl_list): Likewise.
35092         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
35093         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
35094         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
35095         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
35096         multiarch wcschr for PPC64.
35098         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
35099         multiarch implementations.
35100         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35101         (__libc_ifunc_impl_list): Likewise.
35102         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
35103         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
35104         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
35105         multiarch strchrnul for PPC64.
35107         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
35108         implementations.
35109         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35110         (__libc_ifunc_impl_list): Likewise.
35111         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
35112         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
35113         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
35114         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
35115         strchr for PPC64.
35117         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
35118         implementations.
35119         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35120         (__libc_ifunc_impl_list): Likewise.
35121         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
35122         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
35123         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
35124         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
35125         strncmp for PPC64.
35127         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
35128         multiarch implementations.
35129         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35130         (__libc_ifunc_impl_list): Likewise.
35131         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
35132         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
35133         strncasecmp for PPC64.
35134         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
35135         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
35136         multiarch strncasecmp_l for PPC64.
35138         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
35139         multiarch implementations.
35140         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
35141         (__libc_ifunc_impl_list): Likewise.
35142         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
35143         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
35144         multiarch strcasecmp for PPC64.
35145         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
35146         file.
35147         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
35148         multiarch strcasecmp_l for PPC64.
35150         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
35151         implementations.
35152         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35153         (__libc_ifunc_impl_list): Likewise.
35154         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
35155         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
35156         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
35157         strnlen for PPC64.
35159         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
35160         implementations.
35161         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35162         (__libc_ifunc_impl_list): Likewise.
35163         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
35164         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
35165         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
35166         strlen for PPC64.
35168         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
35169         implementations.
35170         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35171         (__libc_ifunc_impl_list): Likewise.
35172         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
35173         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
35174         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
35175         rawmemrchr for PPC64.
35177         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
35178         implementation.
35179         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35180         (__libc_ifunc_impl_list): Likewise.
35181         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
35182         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
35183         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
35184         memrchr for PPC64.
35186         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
35187         implementation.
35188         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35189         (__libc_ifunc_impl_list): Likewise.
35190         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
35191         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
35192         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
35193         memchr for PPC64.
35195         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
35196         implementation.
35197         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35198         (__libc_ifunc_impl_list): Likewise.
35199         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
35200         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
35201         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
35202         mempcpy for PPC64.
35204         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
35205         avoid cretion of __bzero symbol.
35206         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
35207         Likewise.
35208         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
35209         Likewise.
35210         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
35211         Likewise.
35212         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
35213         multiarch implementations.
35214         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35215         (__libc_ifunc_impl_list): Likewise.
35216         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
35217         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
35218         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
35219         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
35220         bzero for PPC32.
35221         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
35222         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
35223         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
35224         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
35225         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
35226         memset for PPC64.
35227         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
35229         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
35230         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
35231         implementations.
35232         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35233         (__libc_ifunc_impl_list): Likewise.
35234         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
35235         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
35236         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
35237         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
35238         memcmp for PPC64.
35240         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
35241         multiarch for POWER/PPC64.
35242         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
35243         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
35244         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
35245         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
35246         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
35247         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
35248         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
35249         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
35250         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
35251         memcpy for PPC64.
35253         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
35254         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
35255         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
35256         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
35257         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
35258         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
35259         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
35260         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
35261         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
35262         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
35263         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
35264         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
35265         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
35266         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
35267         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
35268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
35269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
35270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
35271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
35272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
35273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
35274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
35276 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35278         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
35280 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
35282         * benchtests/Makefile (bench): Add exp2 and log2.
35283         (LDLIBS-bench-exp2): Add -lm.
35284         (LDLIBS-bench-log2): Likewise.
35285         * benchtests/exp2-inputs: New inputs file.
35286         * benchtests/log2-inputs: New inputs file.
35287         * benchtests/log-inputs: Add new inputs.
35288         * benchtests/tan-inputs: Likewise.
35290 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
35292         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
35293         definition...
35294         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
35295         (csloww2): ... from here.
35297         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
35298         instead of structures.
35299         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
35300         (POLYNOMIAL): Likewise.
35301         (TAYLOR_SLOW): Likewise.
35302         (__sin): Likewise.
35303         (__cos): Likewise.
35304         (slow1): Likewise.
35305         (slow2): Likewise.
35306         (sloww): Likewise.
35307         (sloww1); Likewise.
35308         (sloww2): Likewise.
35309         (bsloww1): Likewise.
35310         (bsloww2): Likewise.
35311         (cslow2): Likewise.
35312         (csloww): Likewise.
35313         (csloww1): Likewise.
35314         (csloww2): Likewise.
35316 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
35318         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
35319         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
35320         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
35321         * malloc/hooks.c (realloc_check): Likewise.
35323         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
35324         * malloc/arena.c: Remove PER_THREAD conditional.
35325         [!PER_THREAD]: Remove code.
35326         (ptmalloc_unlock_all2): Likewise.
35327         (ptmalloc_init): Likewise.
35328         (_int_new_arena): Likewise.
35329         (arena_get2): Likewise.
35330         * malloc/hooks.c (__malloc_get_state): Likewise.
35331         (__malloc_set_state): Likewise.
35332         * malloc/malloc.c: Likewise.
35333         (struct malloc_state): Likewise.
35334         (struct malloc_par): Likewise.
35335         (__libc_realloc): Likewise.
35336         (__libc_mallopt): Likewise.
35338 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35340         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
35342 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
35344         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
35345         macro to a function.  Check for zero perturb_byte.
35346         (_int_malloc, _int_free): Remove zero perturb_byte checks.
35348         * malloc/malloc.c: (force_reg): Remove.
35349         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
35350         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
35351         force_reg by atomic_forced_read.
35352         * malloc/arena.c (ptmalloc_init): Likewise.
35353         * malloc/hooks.c (top_check): Likewise.
35355 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35357         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35359 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
35361         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35363 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
35365         * math/auto-libm-test-in: Add tests of lgamma.
35366         * math/auto-libm-test-out: Regenerated.
35367         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
35368         (M_LOG_2_SQRT_PIl): Likewise.
35369         (lgamma_test_data): Use AUTO_TESTS_f_f1.
35370         * math/gen-auto-libm-tests.c (func_calc_method): Add value
35371         mpfr_f_f1.
35372         (func_calc_desc): Add mpfr_f_f1 union field.
35373         (ARGS1): New macro.
35374         (ARGS2): Likewise.
35375         (ARGS3): Likewise.
35376         (ARGS4): Likewise.
35377         (RET1): Likewise.
35378         (RET2): Likewise.
35379         (CALC): Likewise.
35380         (FUNC): Likewise.
35381         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
35382         (test_functions): Add lgamma.
35383         (calc_generic_results): Handle mpfr_f_f1.
35384         * sysdeps/i386/fpu/libm-test-ulps: Update.
35385         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35387 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35389         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
35390         __mpn_add_n for PowerPC64/POWER7.
35391         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
35392         __mpn_sub_n for PowerPC64/POWER7.
35394         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
35395         __mpn_addmul_1 for PowerPC64.
35396         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
35397         __mpn_submul_1 for PowerPC64.
35398         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
35399         for PowerPC64.
35400         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
35401         for PowerPC64.
35403 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
35405         [BZ #15089]
35406         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
35408 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35410         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
35412         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
35413         add multiarch folders.
35414         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
35415         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
35416         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
35417         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
35418         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
35419         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
35420         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
35421         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
35422         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
35423         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
35424         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
35425         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
35426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
35427         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
35428         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
35429         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
35430         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
35432         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
35433         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
35434         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
35435         New file.
35436         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
35437         New file.
35438         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
35439         multiarch __ieee754_hypot for PowerPC32.
35440         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
35441         New file.
35442         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
35443         New file.
35444         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
35445         multiarch __ieee754_hypotf for PowerPC32.
35447         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
35448         long_double_symbol only if __logbl is defined.
35449         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
35450         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
35451         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
35452         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
35453         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
35454         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
35455         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
35456         path for implementation.
35457         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
35458         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
35459         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
35460         logb, and logbl multiarch implementations for PowerPC32.
35461         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
35462         file.
35463         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
35464         file.
35465         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
35466         multiarch logb for PowerPC32.
35467         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
35468         file.
35469         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
35470         file.
35471         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
35472         multiarch logbf for PowerPC32.
35473         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
35474         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
35475         file.
35476         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
35477         multiarch logbl implementation for PowerPC32.
35479         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
35480         and modff multiarch implementations.
35481         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
35482         New file.
35483         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
35484         New file.
35485         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
35486         multiarch modf for PowerPC32.
35487         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
35488         New file.
35489         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
35490         New file.
35491         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
35492         multiarch modff for PowerPC32.
35494         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
35495         and lrintf multiarch implementations.
35496         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
35497         New file.
35498         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
35499         New file.
35500         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
35501         multiarch lrint for PowerPC32.
35502         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
35503         file: multiarch lrintf for PowerPC32.
35505         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
35506         and lroundf multiarch implementations.
35507         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
35508         New file.
35509         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
35510         New file.
35511         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
35512         New file.
35513         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
35514         multiarch lround for PowerPC32.
35515         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
35516         file: multiarch lroundf for PowerPC32.
35518         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
35519         copysign and copysignf multiarch implementations.
35520         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
35521         New file.
35522         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
35523         New file.
35524         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
35525         file: multiarch copysign for PowerPC32.
35526         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
35527         file: multiarch copysignf for PowerPC32.
35529         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
35530         and truncf multiarch implementations.
35531         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
35532         New file.
35533         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
35534         file.
35535         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
35536         multiarch trunc for PowerPC32.
35537         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
35538         New file.
35539         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
35540         New file.
35541         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
35542         multiarch truncf for PowerPC32.
35544         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
35545         and roundf multiarch implementations.
35546         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
35547         New file.
35548         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
35549         file.
35550         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
35551         multiarch round for PowerPC32.
35552         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
35553         New file.
35554         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
35555         New file.
35556         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
35557         multiarch roundf for PowerPC32.
35559         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
35560         and floorf multiarch implementations.
35561         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
35562         New file.
35563         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
35564         file.
35565         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
35566         multiarch floor for PowerPC32.
35567         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
35568         New file.
35569         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
35570         New file.
35571         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
35572         multiarch floorf for PowerPC32.
35574         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
35575         and ceilf multiarch implementations.
35576         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
35577         New file.
35578         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
35579         file.
35580         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
35581         multiarch ceil for PowerPC32.
35582         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
35583         New file.
35584         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
35585         file.
35586         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
35587         multiarch ceilf for PowerPC32.
35589         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
35590         is defined.
35591         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
35592         FINITEF is defined.
35593         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
35594         and finitef multiarch implementations.
35595         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
35596         New file.
35597         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
35598         file.
35599         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
35600         multiarch finite for PowerPC32.
35601         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
35602         New file.
35603         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
35604         file: multiarch finitef for PowerPC32.
35606         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
35607         and isinff multiarch implementations.
35608         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
35609         file.
35610         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
35611         file.
35612         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
35613         multiarch isinf for PowerPC32.
35614         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
35615         New file.
35616         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
35617         multiarch isinff for PowerPC32.
35619         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
35620         alias when __isnan is defined.
35621         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
35622         and isnanf multiarch implementations.
35623         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
35624         file.
35625         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
35626         file.
35627         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
35628         file.
35629         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
35630         file.
35631         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
35632         multiarch isnan for PowerPC32.
35633         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
35634         New file.
35635         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
35636         New file.
35637         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
35638         multiarch isnanf for PowerPC32.
35640         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
35641         and sqrtf multiarch implementations.
35642         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
35643         file.
35644         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
35645         file.
35646         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
35647         multiarch sqrt for PowerPC32.
35648         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
35649         file.
35650         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
35651         file.
35652         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
35653         multiarch sqrtf for PowerPC32.
35655         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
35656         and llroundf multiarch implementations.
35657         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
35658         New file.
35659         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
35660         New file.
35661         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
35662         New file.
35663         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
35664         file: multiarch llround for PowerPC32.
35665         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
35666         file: multiarch llroundf for PowerPC32.
35668         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
35669         multiarch PowerPC32 fpu implementations.
35670         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
35671         New file.
35672         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
35673         New file.
35674         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
35675         multiarch llrint for PowerPC32.
35676         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
35677         New file.
35678         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
35679         New file.
35680         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
35681         file.
35683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
35685         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
35686         file.
35687         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
35688         file.
35689         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
35690         file.
35691         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
35692         multiarch wordcopy for PPC32.
35693         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
35694         wordcopy objects.
35695         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35696         (__libc_ifunc_impl_list): Likewise.
35697         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
35698         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
35699         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
35700         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
35701         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
35702         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
35704         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
35705         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
35706         file.
35707         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
35708         file.
35709         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
35710         file.
35711         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
35712         multiarch wcscpy for PPC32.
35713         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
35714         multiarch objects.
35715         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35716         (__libc_ifunc_impl_list): Likewise.
35717         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
35718         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
35719         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
35720         sysdeps/powerpc/power6/wcscpy.c.
35722         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
35723         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
35724         file.
35725         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
35726         file.
35727         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
35728         file.
35729         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
35730         multiarch wcsrchr for PPC32.
35731         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
35732         multiarch objects.
35733         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35734         (__libc_ifunc_impl_list): Likewise.
35735         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
35736         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
35737         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
35738         sysdeps/powerpc/power6/wcsrchr.c.
35740         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
35741         file.
35742         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
35743         file.
35744         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
35745         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
35746         multiarch wcschr for PPc32.
35747         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
35748         multiarch objects.
35749         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35750         (__libc_ifunc_impl_list): Likewise.
35751         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
35752         * sysdeps/powerpc/power6/wcschr.c: ... to here.
35753         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
35754         sysdeps/powerpc/power6/wcschr.c.
35756         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
35757         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
35758         file.
35759         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
35760         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
35761         file: multiarch strchr for PPC32.
35762         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
35763         multiarch objects.
35764         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35765         (__libc_ifunc_impl_list): Likewise.
35767         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
35768         name.
35769         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
35770         file.
35771         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
35772         file.
35773         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
35774         multiarch strchrnul for PPC32.
35775         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
35776         multiarch objects.
35777         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35778         (__libc_ifunc_impl_list): Likewise.
35780         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
35781         file.
35782         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
35783         multiarch strncasecmp for PPC32.
35784         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
35785         file.
35786         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
35787         multiarch strncasecmp_l for PPC32.
35788         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
35789         strncasecmp multiarch objects.
35790         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35791         (__libc_ifunc_impl_list): Likewise.
35793         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
35794         file.
35795         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
35796         multiarch strncasecmp for PPC32.
35797         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
35798         New file.
35799         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
35800         multiarch strcasecmp_l for PPC32.
35801         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
35802         multiarch objects.
35803         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35804         (__libc_ifunc_impl_list): Likewise.
35806         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
35807         file.
35808         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
35809         file.
35810         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
35811         multiarch strncmp for PPC32.
35812         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
35813         multiarch objects.
35814         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35815         (__libc_ifunc_impl_list): Likewise.
35817         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
35818         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
35819         file.
35820         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
35821         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
35822         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
35823         multiarch objects.
35824         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35825         (__libc_ifunc_impl_list): Likewise.
35827         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
35828         file.
35829         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
35830         file.
35831         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
35832         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
35833         multiarch objects.
35834         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35835         (__libc_ifunc_impl_list): Likewise.
35837         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
35838         file.
35839         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
35840         file.
35841         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
35842         multiarch rawmemchr for PPC32.
35843         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
35844         multiarch objects.
35845         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35846         (__libc_ifunc_impl_list): Likewise.
35848         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
35849         file.
35850         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
35851         file.
35852         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
35853         file: memrchr multiarch for PPC32.
35854         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
35855         multiarch objects.
35856         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35857         (__libc_ifunc_impl_list): Likewise.
35859         * string/memchr.c (__memchr): Using macro to redefine symbol name.
35860         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
35861         file.
35862         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
35863         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
35864         multiarch memchr for PPC32.
35865         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
35866         multiarch objects.
35867         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
35868         (__libc_ifunc_impl_list): Likewise.
35870         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
35871         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
35872         file.
35873         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
35874         file.
35875         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
35876         file: multiarch mempcpy for PPC32.
35877         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
35878         multiarch objects.
35879         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
35880         (__libc_ifunc_impl_list): Likewise.
35882         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
35883         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
35884         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
35885         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
35886         multiarch bzero for PPC32.
35887         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
35888         file.
35889         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
35890         file.
35891         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
35892         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
35893         file: multiarch memset for PPC32.
35894         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
35895         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
35896         memset multiarch objects.
35897         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
35898         (__libc_ifunc_impl_list): Likewise.
35900         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
35901         file.
35902         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
35903         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
35904         memcmp for PPC32.
35905         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
35906         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
35907         multiarch objects.
35908         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
35909         (__libc_ifunc_impl_list): Likewise.
35911         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
35912         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
35913         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
35914         file.
35915         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
35916         file.
35917         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
35918         file.
35919         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
35920         multiarch memcpy for PPC32.
35921         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
35922         multiarch objects.
35923         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
35924         (__libc_ifunc_impl_list): Likewise.
35926         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
35927         support multiarch for POWER/PPC32.
35928         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
35929         Likewise.
35930         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
35931         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
35932         Implies file to make multiarch folder appers before the fpu and
35933         default folder for power4 configuration.
35935 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
35937         * scripts/bench.pl: Append volatile keyword to type.
35939 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35941         * sysdeps/sh/sotruss-lib.c: New file.
35942         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
35944 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35946         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35948 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
35950         [BZ #6810]
35951         * math/w_tgamma.c: Include <errno.h>.
35952         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
35953         * math/w_tgammaf.c: Include <errno.h>.
35954         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
35955         * math/w_tgammal.c: Include <errno.h>.
35956         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
35957         * math/auto-libm-test-in: Do not allow missing errno on tgamma
35958         underflow.  Add more tgamma tests.
35959         * math/auto-libm-test-out: Regenerated.
35960         * sysdeps/i386/fpu/libm-test-ulps: Update.
35961         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35963         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
35964         sin, sinh, tan, tanh, tgamma, y0 and y1.
35965         * math/auto-libm-test-out: Regenerated.
35966         * math/libm-test.inc (TEST_COND_x86_64): New macro.
35967         (TEST_COND_x86): Likewise.
35968         (M_E2l): Remove macro.
35969         (M_E3l): Likewise.
35970         (M_2_SQRT_PIl): Likewise.
35971         (M_SQRT_PIl): Likewise.
35972         (M_1_DIV_El): Likewise.
35973         (log_test_data): Use AUTO_TESTS_f_f.
35974         (log10_test_data): Likewise.
35975         (log1p_test_data): Likewise.
35976         (log2_test_data): Likewise.
35977         (sin_test_data): Likewise.
35978         (sin_tonearest_test_data): Likewise.
35979         (sin_towardzero_test_data): Likewise.
35980         (sin_downward_test_data): Likewise.
35981         (sin_upward_test_data): Likewise.
35982         (sinh_test_data): Likewise.
35983         (sinh_tonearest_test_data): Likewise.
35984         (sinh_towardzero_test_data): Likewise.
35985         (sinh_downward_test_data): Likewise.
35986         (sinh_upward_test_data): Likewise.
35987         (tan_test_data): Likewise.
35988         (tan_tonearest_test_data): Likewise.
35989         (tan_towardzero_test_data): Likewise.
35990         (tan_downward_test_data): Likewise.
35991         (tan_upward_test_data): Likewise.
35992         (tanh_test_data): Likewise.
35993         (tgamma_test_data): Likewise.
35994         (y0_test_data): Likewise.
35995         (y1_test_data): Likewise.
35996         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
35997         (special_real_inputs): Add pi/4.
35998         * sysdeps/i386/fpu/libm-test-ulps: Update.
35999         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36001 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36003         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
36004         "longjmp_target" static probes.
36005         (__longjmp): Rename to __longjmp_symbol.
36006         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
36007         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
36008         on which longjmp to generate.
36009         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
36010         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
36011         probe.
36012         (__sigsetjmp): Rename to __sigsetjmp_symbol.
36013         (__sigjmp_save): Rename to __sigjmp_save_symbol.
36014         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
36015         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
36016         and __sigjmp_save_symbol based on which sigsetjmp to generated.
36017         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
36018         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
36019         __longjmp_symbol based on which __longjmp to generate.
36020         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
36021         probe.
36022         (setjmp): Rename to setjmp_symbol.
36023         (__sigsetjmp): Rename to __sigsetjmp_symbol.
36024         (_setjmp): Rename to _setjmp_symbol.
36025         (__sigsetjmp): Rename to __sigsetjmp_symbol.
36026         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
36027         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
36028         which setjmp to generate.
36029         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
36030         "longjmp_target" static probes.
36032 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
36034         * benchtests/README: Add note about output arguments.
36035         * benchtests/bench-sincos.c: Remove file.
36036         * benchtests/sincos-inputs: New file.
36037         * scripts/bench.pl: Identify output arguments and define
36038         static variables for them.
36040         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
36042         [BZ #15941]
36043         * Makefile (INSTALL): Add install-plain.texi as the primary
36044         dependency.
36045         * manual/install-plain.texi: New file.
36046         * manual/install.texi: Include node directive only for
36047         non-plaintext output.
36049 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
36051         * stdlib/longlong.h: Update from GCC.
36053         [BZ #6807]
36054         [BZ #15901]
36055         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
36056         * math/w_j0f.c (y0f): Likewise.
36057         * math/w_j0l.c (__y0l): Likewise.
36058         * math/w_j1.c (y1): Likewise.
36059         * math/w_j1f.c (y1f): Likewise.
36060         * math/w_j1l.c (__y1l): Likewise
36061         * math/w_jn.c (yn): Likewise.
36062         * math/w_jnf.c (ynf): Likewise.
36063         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
36064         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
36065         value for Bessel function domain errors outside _SVID_ mode.
36066         Adjust sign of return value for yn (negative integer, 0).
36067         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
36068         by zero in return for negative x and set sign appropriately for
36069         negative n.
36070         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
36071         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
36072         * math/libm-test.inc (y0_test_data): Add more tests and adjust
36073         expectations in error cases.
36074         (y1_test_data): Likewise.
36075         (yn_test_data): Likewise.
36076         * sysdeps/i386/fpu/libm-test-ulps: Update.
36077         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36079 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
36081         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
36082         "64" to "64-v1".  Add "64-v2".
36083         (abi-64-options): Rename to ...
36084         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
36085         (abi-64-condition): Rename to ...
36086         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
36087         (abi-64-ld-soname): Rename to ...
36088         (abi-64-v1-ld-soname): ... this.
36089         (abi-64-v2-options): Define.
36090         (abi-64-v2-condition): Likewise.
36091         (abi-64-v2-ld-soname): Likewise.
36092         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
36093         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
36094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
36095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
36096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
36098 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
36099             Alan Modra  <amodra@gmail.com>
36101         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
36102         New versions for use with the ELFv2 ABI.
36103         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
36104         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
36105         declaration.
36106         (struct La_ppc64v2_retval): Likewise.
36107         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
36108         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
36109         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
36110         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
36111         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
36112         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
36113         Do not save or restore CR.
36114         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
36115         (_dl_profile_resolve): Do no save or restore CR.  Support extended
36116         return values for ELFv2 ABI.  Fix location of FPR return registers.
36117         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
36118         updated values for _CALL_ELF == 2.
36119         (La_regs, La_retval, int_retval): Likewise.
36121 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
36123         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
36124         (FRAME_MIN_SIZE_PARM): Likewise.
36125         (FRAME_BACKCHAIN): Likewise.
36126         (FRAME_CR_SAVE): Likewise.
36127         (FRAME_LR_SAVE): Likewise.
36128         (FRAME_TOC_SAVE): Likewise.
36129         (FRAME_PARM_SAVE): Likewise.
36130         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
36131         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
36132         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
36133         (call_mcount_parm_offset): New macro.
36134         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
36135         (PROF): Use symbolic stack frame offsets.
36136         (TAIL_CALL_SYSCALL_ERROR): Likewise.
36137         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
36138         Redefine in terms of FRAME_MIN_SIZE.
36139         (_dl_runtime_resolve): Use symbolic stack frame offsets.
36140         (_dl_profile_resolve): Likewise.  Update comment.
36141         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
36142         symbols stack frame offsets.
36143         (__sigsetjmp): Likewise.
36144         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
36145         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
36146         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
36147         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
36149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
36150         (FRAME_BACKCHAIN): Remove.
36151         (FRAME_CR_SAVE): Likewise.
36152         (FRAME_LR_SAVE): Likewise.
36153         (FRAME_COMPILER_DW): Likewise.
36154         (FRAME_LINKER_DW): Likewise.
36155         (FRAME_TOC_SAVE): Likewise.
36156         (FRAME_PARM_SAVE): Likewise.
36157         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
36158         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
36159         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
36160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
36161         (CHECK_SP): Use symbolic stack frame offsets.
36162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
36163         zone" instead of caller's parameter save area for temp storage.
36164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
36165         Likewise.  Also, use symbolic stack frame offsets.
36166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
36167         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
36168         our own stack frame instead of the caller's.
36169         (__socket): Use symbolic stack frame offsets.
36171 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
36172             Alan Modra  <amodra@gmail.com>
36174         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
36175         Define.
36176         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
36177         (PPC64_LOCAL_ENTRY_OFFSET): Define.
36178         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
36179         New function.
36180         (elf_machine_fixup_plt): Call it.
36181         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
36182         reloc arguments.
36183         (elf_machine_rela): Update call to elf_machine_plt_conflict.
36184         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
36185         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
36186         r2 before calling target.
36188 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
36189             Alan Modra  <amodra@gmail.com>
36191         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
36192         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
36193         versions of macros to support ELFv2 ABI.
36194         (LOCALENTRY): New macro.
36195         (ENTRY, EALIGN): Use it.
36196         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
36197         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
36198         fall through into ENTRY entry point.
36199         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
36200         Only define if _CALL_ELF != 2.
36202         (elf_machine_matches_host): Verify ABI version matches.
36203         (RTLD_START): Use LOCALENTRY.
36204         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
36205         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
36206         (PLT_ENTRY_WORDS): New macro.
36207         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
36208         (elf_machine_runtime_setup): Support ELFv2 ABI.
36209         (elf_machine_fixup_plt): Likewise.
36210         (elf_machine_plt_conflict): Likewise.
36211         (resolve_ifunc): Likewise.
36212         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
36213         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
36214         Likewise.
36215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
36216         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
36217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
36218         (makecontext): Support ELFv2 ABI.
36219         * elf/elf.h (EF_PPC64_ABI): Define.
36221 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
36223         * sysdeps/powerpc/powerpc64/sysdep.h
36224         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
36225         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
36226         (ENTRY) [ASSEMBLER]: ... but instead here ...
36227         (EALIGN) [ASSEMBLER]: ... and here.
36228         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
36229         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
36230         (ENTRY_2) [!ASSEMBLER]: Use it.
36231         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
36232         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
36233         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
36234         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
36235         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
36236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
36237         Use PPC64_LOAD_FUNCPTR.
36239         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
36241 2013-12-04  Alan Modra  <amodra@gmail.com>
36243         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
36244         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
36245         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
36246         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
36248         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
36249         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
36250         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
36251         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
36252         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
36253         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
36255 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
36257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
36258         (__makecontext): Fix incorrect CFI when backtracing out of
36259         context created via makecontext.
36260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
36261         (__setcontext): Fix incorrect CFI during switch to new context.
36262         (__novec_setcontext): Likewise.
36264 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
36266         [BZ #4772]
36267         * time/strptime_l.c (__strptime_internal): Allow modifiers
36268         in strptime.
36269         * time/tst-strptime.c (day_tests): Add testcase.
36271 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
36273         * scripts/bench.pl: Skip over blank lines.
36275 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
36277         [BZ #926]
36278         * manual/time.texi (Calendar Time): Clarify what timezone functions
36279         use.
36281 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36283         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36285 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
36287         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
36288         implementation.
36289         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
36290         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
36291         * debug/memset_chk.c (__memset_chk): Likewise.
36292         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
36293         * debug/strncpy_chk.c: Likewise.
36295 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
36297         [BZ #15268]
36298         [BZ #15425]
36299         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
36300         (__ieee754_exp): For possibly underflowing results, check size of
36301         result and force underflow exception if required.
36302         * math/auto-libm-test-in: Add more tests of exp.
36303         * math/auto-libm-test-out: Regenerated.
36304         * sysdeps/i386/fpu/libm-test-ulps: Update.
36305         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36307         [BZ #16283]
36308         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
36309         * math/w_exp2f.c (__exp2f): Likewise.
36310         * math/w_exp2l.c (__exp2l): Likewise.
36311         * math/auto-libm-test-in: Do not allow missing errno on exp2
36312         underflow.
36313         * math/auto-libm-test-out: Regenerated.
36315 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
36317         [BZ #16274]
36318         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
36319         handle filename validation.
36320         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
36321         (do_open): Delete.
36323 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
36325         [BZ #6786]
36326         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
36327         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
36328         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
36329         <float.h>.
36330         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
36331         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
36332         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
36333         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
36334         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
36335         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
36336         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
36337         * math/auto-libm-test-in: Don't allow missing errno from erfc.
36338         Add more erfc tests.
36339         * math/auto-libm-test-out: Regenerated.
36340         * sysdeps/i386/fpu/libm-test-ulps: Update.
36341         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36343         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
36344         exp2, expm1, j0 and j1.
36345         * math/auto-libm-test-out: Regenerated.
36346         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
36347         (erfc_test_data): Likewise.
36348         (exp_test_data): Likewise.
36349         (exp_tonearest_test_data): Likewise.
36350         (exp_towardzero_test_data): Likewise.
36351         (exp_downward_test_data): Likewise.
36352         (exp_upward_test_data): Likewise.
36353         (exp10_test_data): Likewise.
36354         (exp2_test_data): Likewise.
36355         (expm1_test_data): Likewise.
36356         (j0_test_data): Likewise.
36357         (j1_test_data): Likewise.
36358         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
36359         (input_flag_type): Add flag_xfail_rounding.
36360         (input_flags): Add xfail-rounding.
36361         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
36362         (output_for_one_input_case): Handle flag_xfail_rounding.
36363         * sysdeps/i386/fpu/libm-test-ulps: Update.
36364         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36366 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
36368         [BZ #16289]
36369         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
36370         division by 0.
36372 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
36374         [BZ #16195]
36375         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
36376         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
36377         (STAP_PROBE0): New macro.
36378         (STAP_PROBE1): Likewise.
36379         (STAP_PROBE2): Likewise.
36380         (STAP_PROBE3): Likewise.
36381         (STAP_PROBE4): Likewise.
36383 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
36385         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
36387 2013-12-02  Steve Ellcey  <sellcey@mips.com>
36389         * benchtests/Makefile (bench): Add sqrt.
36390         (LDLIBS-bench-sqrt): New.
36391         * benchtests/sqrt-input: New.
36393 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
36395         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
36396         (GAIH_EAI): Likewise.
36397         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
36398         (gaih_inet): Likewise.
36399         (getaddrinfo): Don't use GAIH_EAI.
36401         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
36402         (struct gaih): Remove definition.
36404 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
36406         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
36407         Use HERRNOP directly.
36409 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36411         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36413 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
36415         * math/gen-auto-libm-tests.c (test_functions): Add more
36416         single-argument functions.
36417         (special_fill_pi_2): New function.
36418         (special_fill_minus_pi_2): Likewise.
36419         (special_fill_pi_6): Likewise.
36420         (special_fill_minus_pi_6): Likewise.
36421         (special_fill_pi_3): Likewise.
36422         (special_fill_2pi_3): Likewise.
36423         (special_fill_e): Likewise.
36424         (special_fill_1_e): Likewise.
36425         (special_fill_e_minus_1): Likewise.
36426         (special_real_inputs): Add more special inputs.
36427         (output_for_one_input_case): Do not require ERANGE on underflow to
36428         zero if round-to-nearest result does not underflow to zero, unless
36429         exact results required.
36430         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
36431         atan, atanh, cbrt, cos and cosh.
36432         * math/auto-libm-test-out: Regenerated.
36433         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
36434         (acos_tonearest_test_data): Likewise.
36435         (acos_towardzero_test_data): Likewise.
36436         (acos_downward_test_data): Likewise.
36437         (acos_upward_test_data): Likewise.
36438         (acosh_test_data): Likewise.
36439         (asin_test_data): Likewise.
36440         (asin_tonearest_test_data): Likewise.
36441         (asin_towardzero_test_data): Likewise.
36442         (asin_upward_test_data): Likewise.
36443         (asinh_test_data): Likewise.
36444         (atan_test_data): Likewise.
36445         (atanh_test_data): Likewise.
36446         (cbrt_test_data): Likewise.
36447         (cos_test_data): Likewise.
36448         (cos_tonearest_test_data): Likewise.
36449         (cos_towardzero_test_data): Likewise.
36450         (cos_downward_test_data): Likewise.
36451         (cos_upward_test_data): Likewise.
36452         (cosh_test_data): Likewise.
36453         (cosh_tonearest_test_data): Likewise.
36454         (cosh_towardzero_test_data): Likewise.
36455         (cosh_downward_test_data): Likewise.
36456         (cosh_upward_test_data): Likewise.
36457         * sysdeps/i386/fpu/libm-test-ulps: Update.
36458         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36460 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
36462         [BZ #6787]
36463         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
36464         * math/w_exp10f.c (__exp10f): Likewise.
36465         * math/w_exp10l.c (__exp10l): Likewise.
36466         * math/libm-test.inc (exp10_test_data): Add more tests and expect
36467         errno settings in existing tests.
36469         [BZ #14032]
36470         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
36471         precision control set to double precision.
36472         * sysdeps/i386/fpu/w_sqrt.c: New file.
36473         * math/auto-libm-test-in: Add more tests.
36474         * math/auto-libm-test-out: Update.
36476         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
36477         (sqrt_test_tonearest): New function.
36478         (sqrt_towardzero_test_data): New variable.
36479         (sqrt_test_towardzero): New function.
36480         (sqrt_downward_test_data): New variable.
36481         (sqrt_test_downward): New function.
36482         (sqrt_upward_test_data): New variable.
36483         (sqrt_test_upward): New function.
36484         (main): Call the new functions.
36486         * math/gen-auto-libm-tests.c: New file.
36487         * math/auto-libm-test-in: Likewise.
36488         * math/auto-libm-test-out: New generated file.
36489         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
36490         variables.
36491         (%beautify): Add generated representations of zero.
36492         (top level): Set $auto_input and call parse_auto_input.
36493         (beautify): Remove trailing "f" from hex float constants.
36494         (parse_args): Handle XFAIL_TEST.
36495         (convert_condition): New function.
36496         (or_value): Likewise.
36497         (or_cond_value): Likewise.
36498         (generate_testfile): Handle AUTO_TESTS_* lines.
36499         (parse_auto_input): New function.
36500         * math/libm-test.inc (XFAIL_TEST): New macro.
36501         (ERRNO_UNCHANGED): Update value.
36502         (ERRNO_EDOM): Likewise.
36503         (ERRNO_ERANGE): Likewise.
36504         (IGNORE_RESULT): Likewise.
36505         (TEST_COND_flt_32): New macro.
36506         (TEST_COND_dbl_64): Likewise.
36507         (TEST_COND_ldbl_96_intel): Likewise.
36508         (TEST_COND_ldbl_96_m68k): Likewise.
36509         (TEST_COND_ldbl_128): Likewise.
36510         (TEST_COND_ldbl_128ibm): Likewise.
36511         (TEST_COND_long32): Likewise.
36512         (TEST_COND_long64): Likewise.
36513         (TEST_COND_before_rounding): Likewise.
36514         (TEST_COND_after_rounding): Likewise.
36515         (enable_test): Handle XFAIL_TEST flag.
36516         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
36517         with finite results.
36518         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
36519         auto-libm-test-out.
36521 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
36522             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36524         [BZ #16214]
36525         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
36526         __tls_get_addr_internal instead of __tls_get_offset in order to
36527         avoid GOT pointer dependency.  Make rtld export
36528         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
36529         __tls_get_addr since we are a __tls_get_offset platform.
36530         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
36531         GOT pointer being set up before.
36532         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
36534 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
36536         * manual/math.texi (Errors in Math Functions): Document accuracy
36537         goals.
36539         [BZ #15004]
36540         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
36541         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
36542         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
36543         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
36544         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
36545         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
36546         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
36547         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
36548         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
36549         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
36550         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
36551         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
36552         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
36553         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
36554         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
36555         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
36557         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
36558         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
36559         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
36560         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
36561         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
36562         Likewise.
36563         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
36564         Likewise.
36565         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
36566         Likewise.
36567         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
36568         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
36569         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
36570         atomic-feupdateenv and flt-rounds.
36571         * sysdeps/powerpc/nofpu/Versions (libc): Add
36572         __atomic_feholdexcept, __atomic_feclearexcept,
36573         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
36574         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
36575         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
36576         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
36577         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
36578         here.
36579         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
36580         Update.
36582         * manual/arith.texi (FP Exceptions): Document that exceptions may
36583         not be raised when matherr is used.
36584         (Math Error Reporting): Document overflow in directed rounding
36585         modes.  Document that errno may not be set when finite values are
36586         returned on overflow.  Document intent to set errno on underflow
36587         only for underflow to zero.
36589         [BZ #16271]
36590         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
36591         round-to-nearest then adjust result for other rounding modes.
36592         * include/fenv.h (fegetround): Use libm_hidden_proto.
36593         * math/fegetround.c (fegetround): Use libm_hidden_def.
36594         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
36595         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
36596         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
36597         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
36598         Likewise.
36599         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
36600         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
36601         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
36602         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
36604 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36606         [BZ #16077]
36607         * nss/Versions (libnss_files): Add
36608         _nss_files_gethostbyname3_r.
36609         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
36610         New function.
36611         (HOST_DB_LOOKUP): Remove macro.
36612         (_nss_files_gethostbyname_r): Implement function without the
36613         HOST_DB_LOOKUP macro.
36614         (_nss_files_gethostbyname2_r): Likewise.
36616 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
36618         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
36620 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
36622         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
36623         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
36624         warning.
36626 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36628         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
36629         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
36630         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
36631         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
36632         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
36633         __fe_nomask_env_priv and attribute_hidden.
36634         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
36635         (libc_feupdateenv_test_ppc): Likewise.
36636         (libc_feresetround_ppc): Likewise.
36637         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
36638         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
36639         compat_symbol macro.
36640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
36641         (__fe_nomask_env): Likewise.
36642         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
36644 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
36646         * string/Makefile: Remove ifunc tests.
36647         * string/test-string.h: Define TEST_IFUNC.
36648         * string/test-bcopy-ifunc.c: Remove.
36649         * string/test-bzero-ifunc.c: Likewise.
36650         * string/test-memccpy-ifunc.c: Likewise.
36651         * string/test-memchr-ifunc.c: Likewise.
36652         * string/test-memcmp-ifunc.c: Likewise.
36653         * string/test-memcpy-ifunc.c: Likewise.
36654         * string/test-memmem-ifunc.c: Likewise.
36655         * string/test-memmove-ifunc.c: Likewise.
36656         * string/test-mempcpy-ifunc.c: Likewise.
36657         * string/test-memrchr-ifunc.c: Likewise.
36658         * string/test-memset-ifunc.c: Likewise.
36659         * string/test-rawmemchr-ifunc.c: Likewise.
36660         * string/test-stpcpy-ifunc.c: Likewise.
36661         * string/test-stpncpy-ifunc.c: Likewise.
36662         * string/test-strcasecmp-ifunc.c: Likewise.
36663         * string/test-strcasestr-ifunc.c: Likewise.
36664         * string/test-strcat-ifunc.c: Likewise.
36665         * string/test-strchr-ifunc.c: Likewise.
36666         * string/test-strchrnul-ifunc.c: Likewise.
36667         * string/test-strcmp-ifunc.c: Likewise.
36668         * string/test-strcpy-ifunc.c: Likewise.
36669         * string/test-strcspn-ifunc.c: Likewise.
36670         * string/test-strlen-ifunc.c: Likewise.
36671         * string/test-strncasecmp-ifunc.c: Likewise.
36672         * string/test-strncat-ifunc.c: Likewise.
36673         * string/test-strncmp-ifunc.c: Likewise.
36674         * string/test-strncpy-ifunc.c: Likewise.
36675         * string/test-strnlen-ifunc.c: Likewise.
36676         * string/test-strpbrk-ifunc.c: Likewise.
36677         * string/test-strrchr-ifunc.c: Likewise.
36678         * string/test-strspn-ifunc.c: Likewise.
36679         * string/test-strstr-ifunc.c: Likewise.
36681 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
36683         * benchtests/Makefile: Remove ifunc tests.
36684         * benchtests/bench-string.h: Define TEST_IFUNC.
36685         * benchtests/bench-bcopy-ifunc.c: Remove.
36686         * benchtests/bench-bzero-ifunc.c: Likewise.
36687         * benchtests/bench-memccpy-ifunc.c: Likewise.
36688         * benchtests/bench-memchr-ifunc.c: Likewise.
36689         * benchtests/bench-memcmp-ifunc.c: Likewise.
36690         * benchtests/bench-memcpy-ifunc.c: Likewise.
36691         * benchtests/bench-memmem-ifunc.c: Likewise.
36692         * benchtests/bench-memmove-ifunc.c: Likewise.
36693         * benchtests/bench-mempcpy-ifunc.c: Likewise.
36694         * benchtests/bench-memrchr-ifunc.c: Likewise.
36695         * benchtests/bench-memset-ifunc.c: Likewise.
36696         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
36697         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
36698         * benchtests/bench-stpcpy-ifunc.c: Likewise.
36699         * benchtests/bench-stpncpy-ifunc.c: Likewise.
36700         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
36701         * benchtests/bench-strcasestr-ifunc.c: Likewise.
36702         * benchtests/bench-strcat-ifunc.c: Likewise.
36703         * benchtests/bench-strchr-ifunc.c: Likewise.
36704         * benchtests/bench-strchrnul-ifunc.c: Likewise.
36705         * benchtests/bench-strcmp-ifunc.c: Likewise.
36706         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
36707         * benchtests/bench-strcpy-ifunc.c: Likewise.
36708         * benchtests/bench-strcspn-ifunc.c: Likewise.
36709         * benchtests/bench-strlen-ifunc.c: Likewise.
36710         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
36711         * benchtests/bench-strncat-ifunc.c: Likewise.
36712         * benchtests/bench-strncmp-ifunc.c: Likewise.
36713         * benchtests/bench-strncpy-ifunc.c: Likewise.
36714         * benchtests/bench-strnlen-ifunc.c: Likewise.
36715         * benchtests/bench-strpbrk-ifunc.c: Likewise.
36716         * benchtests/bench-strrchr-ifunc.c: Likewise.
36717         * benchtests/bench-strsep-ifunc.c: Likewise.
36718         * benchtests/bench-strspn-ifunc.c: Likewise.
36719         * benchtests/bench-strstr-ifunc.c: Likewise.
36721 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
36723         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
36725 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
36727         * resolv/netdb.h: Use __glibc_reserved instead __unused.
36728         * rt/aio.h: Likewise.
36729         * sysdeps/gnu/bits/utmp.h: Likewise.
36730         * sysdeps/gnu/bits/utmpx.h: Likewise.
36731         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
36732         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
36733         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
36734         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
36735         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
36736         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
36737         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
36738         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
36739         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
36740         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
36741         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
36742         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
36743         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
36744         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
36745         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
36746         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
36747         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
36748         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
36749         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
36750         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
36751         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
36752         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
36753         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
36754         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
36755         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
36756         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36757         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
36758         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
36759         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
36760         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
36761         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
36762         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
36763         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
36764         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
36765         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
36766         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
36767         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
36768         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
36769         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
36770         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
36771         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
36772         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
36774 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
36776         [BZ #16245]
36777         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
36778         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
36780 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
36782         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
36783         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
36784         Likewise.
36786 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36788         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
36789         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
36790         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
36791         (__fesetround): Remove define.
36792         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
36793         rounding and exceptions handling.
36794         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
36795         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
36796         (__fe_nomask_env): Likewise.
36797         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
36798         __fegetround instead of fegetround.
36799         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
36800         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
36802 2013-11-21  Roland McGrath  <roland@hack.frob.com>
36804         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
36805         it's there.
36807         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
36809 2013-11-21  Meador Inge  <meadori@codesourcery.com>
36811         [BZ #11157]
36812         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
36813         (encrypt_r): Likewise.
36814         * malloc/obstack.h (obstack_free): Likewise.
36815         * posix/unistd.h (encrypt): Likewise.
36817 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
36819         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
36820         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
36821         DL_CALL_DT_FINI() that call the functions directly.
36822         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
36823         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
36824         * elf/dl-fini.c: Likewise.
36826 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
36828         * malloc/hooks.c (memalign_check): Add alignment rounding.
36829         * malloc/malloc.c (_mid_memalign): New function.
36830         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
36831         Implement by calling _mid_memalign.
36832         * manual/probes.texi (Memory Allocation Probes): Remove
36833         memory_valloc_retry and memory_pvalloc_retry.
36835 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
36837         * locale/programs/locarchive.c (open_archive): Add const
36838         qualifier to ARCHIVEFNAME and copy default fname to
36839         DEFAULT_FNAME.
36841         [BZ #15601]
36842         * libio/tst-widetext.input: Rename Oriya to Odia.
36843         * locale/iso-639.def: Likewise.
36845         * manual/probes.texi (Mathematical Function Probes): Add
36846         documentation for sin, cos, asin and acos probes.
36847         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
36848         (__sin32): Add slowasin probe.
36849         (__cos32): Add slowacos probe.
36850         (__mpsin): Add slowsin probe.
36851         (__mpcos): Add slowcos probe.
36853 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
36855         [BZ #15483]
36856         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
36857         thread-local __sim_exceptions_thread and global
36858         __sim_exceptions_global.
36859         (__sim_disabled_exceptions): Change to thread-local
36860         __sim_disabled_exceptions_thread and global
36861         __sim_disabled_exceptions_global.
36862         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
36863         and global __sim_round_mode_global.
36864         (__simulate_exceptions): Use thread-local floating-point state and
36865         set global state from it as needed.
36866         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
36867         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
36868         __sim_round_mode_thread.
36869         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
36870         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
36871         and global __sim_exceptions_global.
36872         (__sim_disabled_exceptions): Change to thread-local
36873         __sim_disabled_exceptions_thread and global
36874         __sim_disabled_exceptions_global.
36875         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
36876         and global __sim_round_mode_global.
36877         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
36878         (SIM_SET_GLOBAL): Likewise.
36879         * sysdeps/powerpc/soft-fp/sfp-machine.h
36880         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
36881         __sim_round_mode_thread.
36882         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
36883         __sim_disabled_exceptions_thread.
36884         (__sim_exceptions): Change to __sim_exceptions_thread.
36885         (__sim_disabled_exceptions): Change to
36886         __sim_disabled_exceptions_thread.
36887         (__sim_round_mode): Change to __sim_round_mode_thread.
36888         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
36889         thread-local floating-point state and set global state from it as
36890         needed.
36891         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
36892         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
36893         (__sim_disabled_exceptions): Remove extern declaration.
36894         (feenableexcept): Use thread-local floating-point state and set
36895         global state from it as needed.
36896         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
36897         extern declaration.
36898         (__sim_disabled_exceptions): Likewise.
36899         (__sim_round_mode): Likewise.
36900         (__fegetenv): Use thread-local floating-point state.
36901         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
36902         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
36903         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
36904         floating-point state and set global state from it as needed.
36905         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
36906         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
36907         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
36908         Likewise.
36909         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
36910         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
36911         Likewise.
36912         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
36913         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
36914         Use __sim_round_mode_thread.
36915         * math/test-fenv-tls.c: New file.
36916         * math/Makefile (tests): Add test-fenv-tls.
36917         ($(objpfx)test-fenv-tls): Depend on
36918         $(common-objpfx)nptl/libpthread.so.
36920 2013-11-19  Andreas Schwab  <schwab@suse.de>
36922         * locale/programs/locale.c (show_info): Decode wordarray elements.
36923         * locale/categories.def (LC_MONETARY): Add element for
36924         _NL_MONETARY_CRNCYSTR.
36925         * locale/C-monetary.c (conversion_rate): New variable.
36926         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
36927         element.
36929 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
36931         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
36932         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
36934 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
36936         * elf/Makefile (tst-auxv): New test.
36937         * elf/tst-auxv.c: New
36938         * elf/rtld.c (dl_main): Adjust AT_EXECFN
36940 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
36942         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
36943         (hidden_proto): Caller changed.
36944         (hidden_tls_proto): New macro.
36945         (libc_hidden_tls_proto): Likewise.
36946         (rtld_hidden_tls_proto): Likewise.
36947         (libm_hidden_tls_proto): Likewise.
36948         (libresolv_hidden_tls_proto): Likewise.
36949         (librt_hidden_tls_proto): Likewise.
36950         (libdl_hidden_tls_proto): Likewise.
36951         (libnss_files_hidden_tls_proto): Likewise.
36952         (libnsl_hidden_tls_proto): Likewise.
36953         (libnss_nisplus_hidden_tls_proto): Likewise.
36954         (libutil_hidden_tls_proto): Likewise.
36956 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
36958         [BZ #10253]
36959         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
36960         (decompose_rpath): Defer expansion to fillin_rpath.
36961         (_dl_init_paths): Pass linkmap to fillin_rpath.
36963 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
36965         * benchtests/Makefile: Add strsep.
36966         * benchtests/bench-strsep.c: New file: strsep benchtest.
36967         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
36969 2013-11-18  Andreas Schwab  <schwab@suse.de>
36971         * locale/programs/locale.c (show_info) [case byte]: Check for
36972         '\377' instead of '\177'.
36973         * locale/C-monetary.c (not_available): Always use "\377".
36974         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
36975         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
36976         detect unavailable sign_posn locale elements.
36977         * locale/localeconv.c (__localeconv): For grouping and
36978         mon_grouping handle "\177" and "\377" like no grouping.
36979         (INT_ELEM): New macro.  Use it to set all numeric members.
36980         * locale/programs/ld-monetary.c (monetary_read)
36981         <tok_mon_grouping>: Normalize single -1 to the empty string.
36982         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
36983         Likewise.
36985 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
36987         [BZ #16055]
36988         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
36989         when we match (nil).
36990         * stdio-common/tst-sscanf.c (struct test): Add testcase.
36992 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
36994         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
36995         (NO_TEST_INLINE): Update value.
36996         (ERRNO_UNCHANGED): Likewise.
36997         (ERRNO_EDOM): Likewise.
36998         (ERRNO_ERANGE): Likewise.
36999         (IGNORE_RESULT): Likewise.
37000         (check_float_internal): Check signs of NaN results if
37001         TEST_NAN_SIGN used.
37002         (check_complex): Pass TEST_NAN_SIGN flag through to second
37003         check_float_internal call.
37004         (copysign_test_data): Add tests with quiet NaNs as second
37005         argument.  Use TEST_NAN_SIGN.
37006         (fabs_test_data): Add test of negative quiet NaN argument.  Use
37007         TEST_NAN_SIGN.
37008         (signbit_test_data): Add tests of quiet NaN argument.
37009         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
37011         * math/gen-libm-test.pl (show_exceptions): Take extra argument
37012         $ignore_result.
37013         (parse_args): Handle function results specified as IGNORE.
37014         * math/libm-test.inc (IGNORE_RESULT): New macro.
37015         (check_float_internal): Do not check numerical result if flag
37016         IGNORE_RESULT set.
37017         (check_complex): Pass through IGNORE_RESULT to second
37018         check_float_internal call.
37019         (check_int): Do not check numerical result if flag IGNORE_RESULT
37020         set.
37021         (check_long): Likewise.
37022         (check_bool): Likewise.
37023         (check_longlong): Likewise.
37024         (lrint_test_data): Add tests of infinite and NaN arguments.
37025         (lrint_tonearest_test_data): Likewise.
37026         (lrint_towardzero_test_data): Likewise.
37027         (lrint_downward_test_data): Likewise.
37028         (lrint_upward_test_data): Likewise.
37029         (llrint_test_data): Likewise.
37030         (llrint_tonearest_test_data): Likewise.
37031         (llrint_towardzero_test_data): Likewise.
37032         (llrint_downward_test_data): Likewise.
37033         (llrint_upward_test_data): Likewise.
37034         (lround_test_data): Likewise.
37035         (llround_test_data): Likewise.
37037         * math/libm-test.inc (NO_TEST_INLINE): New macro.
37038         (ERRNO_UNCHANGED): Update value.
37039         (ERRNO_EDOM): Likewise.
37040         (ERRNO_ERANGE): Likewise.
37041         (NO_TEST_INLINE_FLOAT): New macro.
37042         (NO_TEST_INLINE_DOUBLE): Likewise.
37043         (enable_test): New function.
37044         (RUN_TEST_f_f): Check enable_test before running test.
37045         (RUN_TEST_2_f): Likewise.
37046         (RUN_TEST_fff_f): Likewise.
37047         (RUN_TEST_c_f): Likewise.
37048         (RUN_TEST_f_f1): Likewise.
37049         (RUN_TEST_fF_f1): Likewise.
37050         (RUN_TEST_fI_f1): Likewise.
37051         (RUN_TEST_ffI_f1): Likewise.
37052         (RUN_TEST_c_c): Likewise.
37053         (RUN_TEST_cc_c): Likewise.
37054         (RUN_TEST_f_i): Likewise.
37055         (RUN_TEST_f_i_tg): Likewise.
37056         (RUN_TEST_ff_i_tg): Likewise.
37057         (RUN_TEST_f_b): Likewise.
37058         (RUN_TEST_f_b_tg): Likewise.
37059         (RUN_TEST_f_l): Likewise.
37060         (RUN_TEST_f_L): Likewise.
37061         (RUN_TEST_fFF_11): Likewise.
37062         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
37063         conditionals.
37064         (cosh_test_data): Likewise.
37065         (exp_test_data): Likewise.
37066         (expm1_test_data): Likewise.
37067         (hypot_test_data): Likewise.
37068         (pow_test_data): Likewise.
37069         (sinh_test_data): Likewise.
37070         (tanh_test_data): Likewise.
37071         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
37072         flags argument.
37074         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
37075         tests with quiet NaN input and output.
37076         (acosh_test_data): Likewise.
37077         (asin_test_data): Likewise.
37078         (asinh_test_data): Likewise.
37079         (atan_test_data): Likewise.
37080         (atanh_test_data): Likewise.
37081         (atan2_test_data): Likewise.
37082         (cbrt_test_data): Likewise.
37083         (cos_test_data): Likewise.
37084         (cosh_test_data): Likewise.
37085         (erf_test_data): Likewise.
37086         (erfc_test_data): Likewise.
37087         (exp_test_data): Likewise.
37088         (exp10_test_data): Likewise.
37089         (exp2_test_data): Likewise.
37090         (expm1_test_data): Likewise.
37091         (hypot_test_data): Likewise.
37092         (j0_test_data): Likewise.
37093         (j1_test_data): Likewise.
37094         (jn_test_data): Likewise.
37095         (lgamma_test_data): Likewise.
37096         (log_test_data): Likewise.
37097         (log10_test_data): Likewise.
37098         (log1p_test_data): Likewise.
37099         (log2_test_data): Likewise.
37100         (pow_test_data): Likewise.
37101         (scalb_test_data): Likewise.
37102         (sin_test_data): Likewise.
37103         (sincos_test_data): Likewise.
37104         (sinh_test_data): Likewise.
37105         (tan_test_data): Likewise.
37106         (tanh_test_data): Likewise.
37107         (tgamma_test_data): Likewise.
37108         (y0_test_data): Likewise.
37109         (y1_test_data): Likewise.
37110         (yn_test_data): Likewise.
37112         [BZ #16167]
37113         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
37114         argument being NaN and avoid computations with second argument in
37115         that case.
37116         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
37117         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
37118         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
37120 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
37122         * locale/iso-639.def: Add Chitwani Tharu (the).
37124 2013-11-14  Andreas Schwab  <schwab@suse.de>
37126         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
37127         word instead of empty string.
37129 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37131         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
37132         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
37133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
37134         (__fe_nomask_env): Likewise.
37136 2013-11-13  Steve Ellcey  <sellcey@mips.com>
37138         * benchtests/bench-timing.h: Include time.h.
37140 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
37142         [BZ #15997]
37143         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
37144         to 3.4.0 for x32.
37145         * sysdeps/unix/sysv/linux/configure: Regenerated.
37147 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
37149         [BZ #16151]
37150         * stdlib/strtod_l.c (round_and_return): Do not consider
37151         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
37152         exponent one less than half the least subnormal exponent.
37153         * stdlib/test-strtod-round-data: Add more tests.
37154         * stdlib/tst-strtod-round.c (tests): Regenerated.
37156 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37158         [BZ #14143]
37159         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
37160         (__fe_mask_env): Likewise.
37161         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
37162         libm_hidden_proto and add function prototype.
37163         (__fe_mask_env): Add function prototype.
37164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
37165         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
37166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
37167         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
37168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
37169         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
37171 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
37173         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
37174         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
37176 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
37178         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
37179         of htab_find_slot().
37181 2013-11-11  David S. Miller  <davem@davemloft.net>
37183         [BZ #16150]
37184         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
37185         symbol in the non-vis3 case in static builds.
37186         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
37187         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
37188         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
37189         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
37191 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
37193         [BZ #387]
37194         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
37195         it is empty.
37197 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37199         * benchtests/Makefile: Add bench-strtod.
37200         * benchtests/bench-strtod.c: New file: strtod benchtest
37202 2013-11-11  Andreas Schwab  <schwab@suse.de>
37204         [BZ #16153]
37205         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
37206         terminating NUL in key length.
37208 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37210         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
37211         Add artificial ODP entry for vDSO symbol for PPC64.
37212         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
37213         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
37215 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
37217         [BZ #15374]
37218         * nss/getent.c (services_keys): Recognize services starting with digit.
37220 2013-11-06  David S. Miller  <davem@davemloft.net>
37222         [BZ #15985]
37223         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
37224         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
37226 2013-11-06  Will Newton  <will.newton@linaro.org>
37228         * manual/memory.texi (Malloc Examples): Remove register
37229         keyword from examples.
37231 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
37233         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
37235 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
37237         [BZ #6981]
37238         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
37239         depending on [__GCC_IEC_559 > 0].
37240         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
37241         depending on [__GCC_IEC_559_COMPLEX > 0].
37243 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
37245         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
37246         to iso-639.def.
37248 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
37250         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
37252 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
37254         [BZ #16112]
37255         * malloc/malloc (malloc_info): Do not handle first bin as
37256         special case.
37258 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
37260         * locale/iso-639.def: Add Central Nahuatl (nhn).
37262 2013-11-01  Bruno Haible  <bruno@clisp.org>
37264         [BZ #7003]
37265         * manual/math.texi (BSD Random): Specify range upper bound as
37266         in POSIX.
37268 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
37270         * locale/iso-639.def: Add Meadow Mari (mhr).
37272 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
37274         [BZ #14752], [BZ #15763]
37275         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
37276         Validate name.
37277         * rt/tst_shm.c: Add test for escaping directory.
37279 2013-10-31  Andreas Schwab  <schwab@suse.de>
37281         [BZ #15917]
37282         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
37283         followed by 'x' as part of digit sequence.
37284         * stdio-common/tst-sscanf.c (double_tests2): New tests.
37286 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
37288         [BZ #16037]
37289         * configure.ac: allow GNU Make 4.0 and greater.
37290         * configure: Regenerated.
37292 2013-10-30  Will Newton  <will.newton@linaro.org>
37294         [BZ #16038]
37295         * malloc/hooks.c (memalign_check): Limit alignment to the
37296         maximum representable power of two.
37297         * malloc/malloc.c (__libc_memalign): Likewise.
37298         * malloc/tst-memalign.c (do_test): Add test for very
37299         large alignment values.
37300         * malloc/tst-posix_memalign.c (do_test): Likewise.
37302 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
37304         [BZ #11087]
37305         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
37306         (munmap_chunk): Likewise.
37307         (mremap_chunk): Likewise.
37309 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
37311         [BZ #15799]
37312         * stdlib/div.c (div): Remove obsolete code.
37313         * stdlib/ldiv.c (ldiv): Likewise.
37314         * stdlib/lldiv.c (lldiv): Likewise.
37316 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
37318         [BZ #16071]
37319         * nss/nss_files/files-XXX.c (get_contents_ret): New
37320         enumerator.
37321         (get_contents): New function.
37322         (internal_getent): Use it.  Expand size of LINEBUFLEN.
37324 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
37326         * configure.in: Moved to ...
37327         * configure.ac: ... here. Change reference to configure.in
37328         to configure.ac.
37329         * sysdeps/arm/preconfigure.ac: ... here.
37330         configure.in to configure.ac.
37331         * sysdeps/gnu/configure.in: Moved to ...
37332         * sysdeps/gnu/configure.ac: ... here.
37333         * sysdeps/i386/configure.in: Moved to ...
37334         * sysdeps/i386/configure.ac: ... here.
37335         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
37336         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
37337         * sysdeps/mach/configure.in: Moved to ...
37338         * sysdeps/mach/configure.ac: ... here.
37339         * sysdeps/mach/hurd/configure.in: Moved to ...
37340         * sysdeps/mach/hurd/configure.ac: ... here.
37341         * sysdeps/powerpc/configure.in: Moved to ...
37342         * sysdeps/powerpc/configure.ac: ... here.
37343         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
37344         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
37345         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
37346         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
37347         * sysdeps/s390/s390-32/configure.in: Moved to ...
37348         * sysdeps/s390/s390-32/configure.ac: ... here.
37349         * sysdeps/s390/s390-64/configure.in: Moved to ...
37350         * sysdeps/s390/s390-64/configure.ac: ... here.
37351         * sysdeps/sh/configure.in: Moved to ...
37352         * sysdeps/sh/configure.ac: ... here.
37353         * sysdeps/sparc/configure.in: Moved to ...
37354         * sysdeps/sparc/configure.ac: ... here.
37355         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
37356         * sysdeps/unix/sysv/linux/configure.ac: ... here.
37357         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
37358         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
37359         * sysdeps/x86_64/configure.in: Moved to ...
37360         * sysdeps/x86_64/configure.ac: ... here.
37361         * sysdeps/x86_64/preconfigure.in: Moved to ...
37362         * sysdeps/x86_64/preconfigure.ac: ... here.
37363         * aclocal.m4: Change reference to configure.in to configure.ac.
37364         * config.h.in: Likewise.
37365         * manual/install.texi: Likewise.
37366         * manual/maint.texi: Likewise.
37367         * Makefile: Likewise.
37368         * malloc/Makefile: Likewise.
37369         * nscd/Makefile: Likewise.
37370         * Makeconfig: Change reference to configure.in and
37371         preconfigure.in to configure.ac and preconfigure.ac
37372         respectively.
37373         * INSTALL: Regenerated.
37374         * configure: Likewise.
37375         * sysdeps/gnu/configure: Likewise.
37376         * sysdeps/i386/configure: Likewise.
37377         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
37378         * sysdeps/mach/configure: Likewise.
37379         * sysdeps/mach/hurd/configure: Likewise.
37380         * sysdeps/powerpc/configure: Likewise.
37381         * sysdeps/powerpc/powerpc32/configure: Likewise.
37382         * sysdeps/powerpc/powerpc64/configure: Likewise.
37383         * sysdeps/s390/s390-32/configure: Likewise.
37384         * sysdeps/s390/s390-64/configure: Likewise.
37385         * sysdeps/sh/configure: Likewise.
37386         * sysdeps/sparc/configure: Likewise.
37387         * sysdeps/unix/sysv/linux/configure: Likewise.
37388         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
37389         * sysdeps/x86_64/configure: Likewise.
37390         * sysdeps/x86_64/preconfigure: Likewise.
37392 2013-10-29  Andreas Schwab  <schwab@suse.de>
37394         * stdio-common/Makefile (tst-swscanf-ENV): Define.
37396 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
37398         * benchtests/pow-inputs: Add new inputs.
37400         * benchtests/exp-inputs: Add new inputs.
37402         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
37403         conditional check for return value.
37404         (__cos32): Likewise.
37406 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37408         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
37409         to provide a boost for large inputs with word alignment.
37410         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
37411         implementation based on optimized PPC64 strcpy.
37412         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
37413         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
37414         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
37415         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
37417 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
37419         [BZ #2801]
37420         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
37422 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
37424         [BZ #14876]
37425         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
37426         * time/tst-strptime.c (day_tests): Add testcase.
37428 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
37430         [BZ #14029]
37431         * manual/pattern.texi: Acknowledge that fnmatch can fail.
37433 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
37435         [BZ #16074]
37436         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
37437         MAP_FAILED on error.
37439 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
37441         [BZ #16072]
37442         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
37443         heap for large requests.
37445 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
37447         [BZ #9954]
37448         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
37449         result if the result has no associated interface.
37450         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
37451         interface for all 127.X.Y.Z addresses.
37453 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
37455         * locale/iso-639.def: Add Ligurian (lij)
37457 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
37459         [BZ #15825]
37460         * sunrpc/rpc_main.c: Document rpcgen -5.
37462 2013-10-19  Michael Stahl  <mstahl@redhat.com>
37464         * elf/rtld.c (do_preload): Print the reason why preloading failed.
37466 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
37468         [BZ #10278]
37469         * posix/glob.c: Match only directories when trailing slash is present.
37470         * posix/tst-gnuglob.c (my_opendir): Do not open files.
37471         (main): Add testcase.
37473 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
37475         [BZ #15670]
37476         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
37478 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
37480         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
37481         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
37482         AUTH_DES and cindex for FIPS 140-2.
37483         (DES Encryption): Add cindex FIPS 46-3.
37485         * locale/locarchive.h (struct locarhandle): Add fname.
37486         * locale/programs/localedef.c (main): Pass ARGV[remaining]
37487         if an optional argument was specified to --list-archive,
37488         otherwise NULL.
37489         * locale/programs/locarchive.c (show_archive_content): Take new
37490         argument fname and pass it via ah.fname to open_archive.
37491         * locale/programs/localedef.h: Update decl.
37492         (open_archive): If AH->fname is non-null, open that file
37493         rather than the default file name, and don't ignore ENOENT.
37494         (create_archive): Set AH.fname to NULL.
37495         (delete_locales_from_archive): Likewise.
37496         (add_locales_to_archive): Likewise.
37497         * locale/programs/locfile.c (write_all_categories): Likewise.
37499 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
37500             Aldy Hernandez  <aldyh@redhat.com>
37502         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
37503         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
37504         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
37505         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
37506         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
37507         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
37508         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
37509         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
37510         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
37511         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
37512         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
37513         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
37514         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
37515         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
37516         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
37517         Likewise.
37518         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
37519         Likewise.
37520         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
37521         Likewise.
37522         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
37523         Likewise.
37524         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
37525         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
37526         Likewise.
37527         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
37528         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
37529         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
37530         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
37531         Likewise.
37532         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
37533         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
37534         * sysdeps/powerpc/preconfigure: Likewise.
37535         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
37536         Likewise.
37537         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
37538         Replace contents of file by #include of <fenv_libc.h>.
37539         * sysdeps/powerpc/soft-fp/sfp-machine.h
37540         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
37541         and <sys/prctl.h>.
37542         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
37543         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
37544         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
37545         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
37546         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
37547         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
37548         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
37549         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
37550         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
37551         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
37552         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
37553         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
37554         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
37555         Allow copysignl PLT reference to be missing.
37557 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
37558             Joseph Myers  <joseph@codesourcery.com
37560         [BZ #15948]
37561         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
37562         single character.
37563         (add_to_tablewc): Assert sequence of wide characters is nonempty.
37565 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
37567         * elf/tst-tls-dlinfo.c: Don't include tls.h.
37568         * elf/tst-tls1.c: Likewise.
37569         * elf/tst-tls10.h: Likewise.
37570         * elf/tst-tls14.c: Likewise.
37571         * elf/tst-tls2.c: Likewise.
37572         * elf/tst-tls3.c: Likewise.
37573         * elf/tst-tls4.c: Likewise.
37574         * elf/tst-tls5.c: Likewise.
37575         * elf/tst-tls6.c: Likewise.
37576         * elf/tst-tls7.c: Likewise.
37577         * elf/tst-tls8.c: Likewise.
37578         * elf/tst-tls9.c: Likewise.
37579         * elf/tst-tlsmod1.c: Likewise.
37580         * elf/tst-tlsmod13.c: Likewise.
37581         * elf/tst-tlsmod13a.c: Likewise.
37582         * elf/tst-tlsmod14a.c: Likewise.
37583         * elf/tst-tlsmod16a.c: Likewise.
37584         * elf/tst-tlsmod16b.c: Likewise.
37585         * elf/tst-tlsmod2.c: Likewise.
37586         * elf/tst-tlsmod3.c: Likewise.
37587         * elf/tst-tlsmod4.c: Likewise.
37588         * elf/tst-tlsmod5.c: Likewise.
37589         * elf/tst-tlsmod6.c: Likewise.
37591 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
37593         [BZ #12486]
37594         * malloc/malloc.c: remove checks for statistics.
37596 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
37598         [BZ #15277]
37599         * inet/inet_net.c (inet_network): Detect additional invalid strings.
37600         * inet/tst-network.c: Add testcase.
37602 2013-10-17  Andreas Schwab  <schwab@suse.de>
37604         [BZ #15218]
37605         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
37606         to determine canonical name.
37608 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
37610         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
37611         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
37612         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37613         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
37614         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37615         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
37616         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
37617         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
37618         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
37619         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
37620         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
37621         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37622         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
37623         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
37624         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
37625         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
37626         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37627         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
37628         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
37629         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
37630         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37631         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37632         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
37633         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
37634         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
37635         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
37636         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
37637         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
37638         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
37639         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
37640         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
37641         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37642         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
37643         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
37644         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
37645         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
37646         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
37647         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
37648         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
37649         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37650         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
37651         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
37652         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
37653         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
37654         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
37655         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
37656         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
37657         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
37658         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
37659         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
37660         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
37661         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
37662         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
37663         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
37664         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37665         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
37666         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37667         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
37669 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
37671         [BZ #16041]
37672         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
37673         make result into a quiet NaN.
37675 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
37677         * soft-fp/adddf3.c: Fix horizontal whitespace.
37678         * soft-fp/addsf3.c: Likewise.
37679         * soft-fp/addtf3.c: Likewise.
37680         * soft-fp/divdf3.c: Likewise.
37681         * soft-fp/divsf3.c: Likewise.
37682         * soft-fp/divtf3.c: Likewise.
37683         * soft-fp/double.h: Likewise.
37684         * soft-fp/eqdf2.c: Likewise.
37685         * soft-fp/eqsf2.c: Likewise.
37686         * soft-fp/eqtf2.c: Likewise.
37687         * soft-fp/extenddftf2.c: Likewise.
37688         * soft-fp/extended.h: Likewise.
37689         * soft-fp/extendsfdf2.c: Likewise.
37690         * soft-fp/extendsftf2.c: Likewise.
37691         * soft-fp/extendxftf2.c: Likewise.
37692         * soft-fp/fixdfdi.c: Likewise.
37693         * soft-fp/fixdfsi.c: Likewise.
37694         * soft-fp/fixdfti.c: Likewise.
37695         * soft-fp/fixsfdi.c: Likewise.
37696         * soft-fp/fixsfsi.c: Likewise.
37697         * soft-fp/fixsfti.c: Likewise.
37698         * soft-fp/fixtfdi.c: Likewise.
37699         * soft-fp/fixtfsi.c: Likewise.
37700         * soft-fp/fixtfti.c: Likewise.
37701         * soft-fp/fixunsdfdi.c: Likewise.
37702         * soft-fp/fixunsdfsi.c: Likewise.
37703         * soft-fp/fixunsdfti.c: Likewise.
37704         * soft-fp/fixunssfdi.c: Likewise.
37705         * soft-fp/fixunssfsi.c: Likewise.
37706         * soft-fp/fixunssfti.c: Likewise.
37707         * soft-fp/fixunstfdi.c: Likewise.
37708         * soft-fp/fixunstfsi.c: Likewise.
37709         * soft-fp/fixunstfti.c: Likewise.
37710         * soft-fp/floatdidf.c: Likewise.
37711         * soft-fp/floatdisf.c: Likewise.
37712         * soft-fp/floatditf.c: Likewise.
37713         * soft-fp/floatsidf.c: Likewise.
37714         * soft-fp/floatsisf.c: Likewise.
37715         * soft-fp/floatsitf.c: Likewise.
37716         * soft-fp/floattidf.c: Likewise.
37717         * soft-fp/floattisf.c: Likewise.
37718         * soft-fp/floattitf.c: Likewise.
37719         * soft-fp/floatundidf.c: Likewise.
37720         * soft-fp/floatundisf.c: Likewise.
37721         * soft-fp/floatunditf.c: Likewise.
37722         * soft-fp/floatunsidf.c: Likewise.
37723         * soft-fp/floatunsisf.c: Likewise.
37724         * soft-fp/floatunsitf.c: Likewise.
37725         * soft-fp/floatuntidf.c: Likewise.
37726         * soft-fp/floatuntisf.c: Likewise.
37727         * soft-fp/floatuntitf.c: Likewise.
37728         * soft-fp/fmadf4.c: Likewise.
37729         * soft-fp/fmasf4.c: Likewise.
37730         * soft-fp/fmatf4.c: Likewise.
37731         * soft-fp/gedf2.c: Likewise.
37732         * soft-fp/gesf2.c: Likewise.
37733         * soft-fp/getf2.c: Likewise.
37734         * soft-fp/ledf2.c: Likewise.
37735         * soft-fp/lesf2.c: Likewise.
37736         * soft-fp/letf2.c: Likewise.
37737         * soft-fp/muldf3.c: Likewise.
37738         * soft-fp/mulsf3.c: Likewise.
37739         * soft-fp/multf3.c: Likewise.
37740         * soft-fp/negdf2.c: Likewise.
37741         * soft-fp/negsf2.c: Likewise.
37742         * soft-fp/negtf2.c: Likewise.
37743         * soft-fp/op-1.h: Likewise.
37744         * soft-fp/op-2.h: Likewise.
37745         * soft-fp/op-4.h: Likewise.
37746         * soft-fp/op-8.h: Likewise.
37747         * soft-fp/op-common.h: Likewise.
37748         * soft-fp/quad.h: Likewise.
37749         * soft-fp/single.h: Likewise.
37750         * soft-fp/soft-fp.h: Likewise.
37751         * soft-fp/sqrtdf2.c: Likewise.
37752         * soft-fp/sqrtsf2.c: Likewise.
37753         * soft-fp/sqrttf2.c: Likewise.
37754         * soft-fp/subdf3.c: Likewise.
37755         * soft-fp/subsf3.c: Likewise.
37756         * soft-fp/subtf3.c: Likewise.
37757         * soft-fp/truncdfsf2.c: Likewise.
37758         * soft-fp/trunctfdf2.c: Likewise.
37759         * soft-fp/trunctfsf2.c: Likewise.
37760         * soft-fp/trunctfxf2.c: Likewise.
37761         * soft-fp/unorddf2.c: Likewise.
37762         * soft-fp/unordsf2.c: Likewise.
37763         * soft-fp/unordtf2.c: Likewise.
37765 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
37767         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
37768         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
37770 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
37772         * elf/dl-libc.c: Clear initfini list after freeing.
37774 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
37776         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
37777         * soft-fp/addsf3.c: Likewise.
37778         * soft-fp/addtf3.c: Likewise.
37779         * soft-fp/divdf3.c: Likewise.
37780         * soft-fp/divsf3.c: Likewise.
37781         * soft-fp/divtf3.c: Likewise.
37782         * soft-fp/double.h: Likewise.
37783         * soft-fp/eqdf2.c: Likewise.
37784         * soft-fp/eqsf2.c: Likewise.
37785         * soft-fp/eqtf2.c: Likewise.
37786         * soft-fp/extenddftf2.c: Likewise.
37787         * soft-fp/extended.h: Likewise.
37788         * soft-fp/extendsfdf2.c: Likewise.
37789         * soft-fp/extendsftf2.c: Likewise.
37790         * soft-fp/extendxftf2.c: Likewise.
37791         * soft-fp/fixdfdi.c: Likewise.
37792         * soft-fp/fixdfsi.c: Likewise.
37793         * soft-fp/fixdfti.c: Likewise.
37794         * soft-fp/fixsfdi.c: Likewise.
37795         * soft-fp/fixsfsi.c: Likewise.
37796         * soft-fp/fixsfti.c: Likewise.
37797         * soft-fp/fixtfdi.c: Likewise.
37798         * soft-fp/fixtfsi.c: Likewise.
37799         * soft-fp/fixtfti.c: Likewise.
37800         * soft-fp/fixunsdfdi.c: Likewise.
37801         * soft-fp/fixunsdfsi.c: Likewise.
37802         * soft-fp/fixunsdfti.c: Likewise.
37803         * soft-fp/fixunssfdi.c: Likewise.
37804         * soft-fp/fixunssfsi.c: Likewise.
37805         * soft-fp/fixunssfti.c: Likewise.
37806         * soft-fp/fixunstfdi.c: Likewise.
37807         * soft-fp/fixunstfsi.c: Likewise.
37808         * soft-fp/fixunstfti.c: Likewise.
37809         * soft-fp/floatdidf.c: Likewise.
37810         * soft-fp/floatdisf.c: Likewise.
37811         * soft-fp/floatditf.c: Likewise.
37812         * soft-fp/floatsidf.c: Likewise.
37813         * soft-fp/floatsisf.c: Likewise.
37814         * soft-fp/floatsitf.c: Likewise.
37815         * soft-fp/floattidf.c: Likewise.
37816         * soft-fp/floattisf.c: Likewise.
37817         * soft-fp/floattitf.c: Likewise.
37818         * soft-fp/floatundidf.c: Likewise.
37819         * soft-fp/floatundisf.c: Likewise.
37820         * soft-fp/floatunsidf.c: Likewise.
37821         * soft-fp/floatunsisf.c: Likewise.
37822         * soft-fp/floatuntidf.c: Likewise.
37823         * soft-fp/floatuntisf.c: Likewise.
37824         * soft-fp/floatuntitf.c: Likewise.
37825         * soft-fp/fmadf4.c: Likewise.
37826         * soft-fp/fmasf4.c: Likewise.
37827         * soft-fp/fmatf4.c: Likewise.
37828         * soft-fp/gedf2.c: Likewise.
37829         * soft-fp/gesf2.c: Likewise.
37830         * soft-fp/getf2.c: Likewise.
37831         * soft-fp/ledf2.c: Likewise.
37832         * soft-fp/lesf2.c: Likewise.
37833         * soft-fp/letf2.c: Likewise.
37834         * soft-fp/muldf3.c: Likewise.
37835         * soft-fp/mulsf3.c: Likewise.
37836         * soft-fp/multf3.c: Likewise.
37837         * soft-fp/negdf2.c: Likewise.
37838         * soft-fp/negsf2.c: Likewise.
37839         * soft-fp/negtf2.c: Likewise.
37840         * soft-fp/op-1.h: Likewise.
37841         * soft-fp/op-2.h: Likewise.
37842         * soft-fp/op-4.h: Likewise.
37843         * soft-fp/op-8.h: Likewise.
37844         * soft-fp/op-common.h: Likewise.
37845         * soft-fp/quad.h: Likewise.
37846         * soft-fp/single.h: Likewise.
37847         * soft-fp/soft-fp.h: Likewise.
37848         * soft-fp/sqrtdf2.c: Likewise.
37849         * soft-fp/sqrtsf2.c: Likewise.
37850         * soft-fp/sqrttf2.c: Likewise.
37851         * soft-fp/subdf3.c: Likewise.
37852         * soft-fp/subsf3.c: Likewise.
37853         * soft-fp/subtf3.c: Likewise.
37854         * soft-fp/truncdfsf2.c: Likewise.
37855         * soft-fp/trunctfdf2.c: Likewise.
37856         * soft-fp/trunctfsf2.c: Likewise.
37857         * soft-fp/trunctfxf2.c: Likewise.
37858         * soft-fp/unorddf2.c: Likewise.
37859         * soft-fp/unordsf2.c: Likewise.
37860         * soft-fp/unordtf2.c: Likewise.
37862 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
37864         [BZ #15672]
37865         * misc/error.c (error_tail): Fix possible buffer overflow.
37867 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
37869         [BZ #13028]
37870         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
37871         address.
37873 2013-10-14  P. J. McDermott  <pj@pehjota.net>
37875         [BZ #832]
37876         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
37877         testing pipefail option.
37879 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
37881         * soft-fp/double.h: Indent preprocessor directives inside #if.
37882         * soft-fp/extended.h: Likewise.
37883         * soft-fp/op-2.h: Likewise.
37884         * soft-fp/op-4.h: Likewise.
37885         * soft-fp/op-common.h: Likewise.
37886         * soft-fp/quad.h: Likewise.
37887         * soft-fp/single.h: Likewise.
37888         * soft-fp/soft-fp.h: Likewise.
37890 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
37892         * iconv/iconv_prog.c: Fix typos.
37893         * stdio-common/psiginfo-data.h: Likewise.
37895 2013-10-12   Reuben Thomas <rrt@sc3d.org>
37897         [BZ #15764]
37898         * locale/setlocale.c: Fix typo.
37900 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
37902         [BZ #16036]
37903         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
37904         signaling NaN arguments.
37905         * soft-fp/unordsf2.c (__unordsf2): Likewise.
37906         * soft-fp/unordtf2.c (__unordtf2): Likewise.
37908         [BZ #14910]
37909         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
37910         unordered operands.
37911         * soft-fp/gesf2.c (__gesf2): Likewise.
37912         * soft-fp/getf2.c (__getf2): Likewise.
37913         * soft-fp/ledf2.c (__ledf2): Likewise.
37914         * soft-fp/lesf2.c (__lesf2): Likewise.
37915         * soft-fp/letf2.c (__letf2): Likewise.
37917         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
37918         * soft-fp/eqsf2.c (__eqsf2): Likewise.
37919         * soft-fp/eqtf2.c (__eqtf2): Likewise.
37920         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
37921         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
37922         * soft-fp/fixdfti.c (__fixdfti): Likewise.
37923         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
37924         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
37925         * soft-fp/fixsfti.c (__fixsfti): Likewise.
37926         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
37927         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
37928         * soft-fp/fixtfti.c (__fixtfti): Likewise.
37929         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
37930         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
37931         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
37932         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
37933         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
37934         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
37935         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
37936         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
37937         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
37938         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
37939         * soft-fp/floatdisf.c (__floatdisf): Likewise.
37940         * soft-fp/floatsisf.c (__floatsisf): Likewise.
37941         * soft-fp/floattidf.c (__floattidf): Likewise.
37942         * soft-fp/floattisf.c (__floattisf): Likewise.
37943         * soft-fp/floattitf.c (__floattitf): Likewise.
37944         * soft-fp/floatundidf.c (__floatundidf): Likewise.
37945         * soft-fp/floatundisf.c (__floatundisf): Likewise.
37946         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
37947         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
37948         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
37949         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
37950         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
37951         * soft-fp/gesf2.c (__gesf2): Likewise.
37952         * soft-fp/getf2.c (__getf2): Likewise.
37953         * soft-fp/ledf2.c (__ledf2): Likewise.
37954         * soft-fp/lesf2.c (__lesf2): Likewise.
37955         * soft-fp/letf2.c (__letf2): Likewise.
37957         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
37958         Undefine and redefine.
37959         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
37960         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
37961         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
37962         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
37963         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
37964         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
37965         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
37966         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
37967         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
37968         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
37969         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
37970         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
37971         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
37972         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
37973         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
37975         [BZ #16032]
37976         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
37977         without decrementing exponent if mantissa >= that for the
37978         denominator, not >.
37979         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
37980         denominator, not >.  Decrement exponent in < case instead of
37981         incrementing in >= case.
37982         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
37983         without decrementing exponent if mantissa >= that for the
37984         denominator, not >.
37986         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
37987         computing saturated result for unsigned overflow.
37989 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
37990             Jeff Law  <law@redhat.com>
37992         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
37993         (atan2Mp): Add systemtap probe marker.
37994         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
37995         (__ieee754_log): Add systemtap probe marker.
37996         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
37997         (atanMp): Add systemtap probe marker.
37998         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
37999         (tanMp): Add systemtap probe marker.
38000         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
38001         (__slowexp): Add systemtap probe marker.
38002         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
38003         (__slowpow): Add systemtap probe marker.
38004         * manual/probes.texi: Document probes.
38006 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
38008         [BZ #15362]
38009         * libio/fileops.c (_IO_new_file_write): Return count of bytes
38010         written.
38011         (_IO_new_file_xsputn): Don't return EOF if nothing has been
38012         written.
38013         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
38014         written to buffer but not flushed.
38015         * libio/iofwrite_u.c:  Likewise.
38016         * libio/iopadn.c:  Return bytes returned even if EOF was
38017         encountered.
38018         * libio/iowpadn.c:  Likewise.
38019         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
38020         if _IO_padn does not write the whole buffer.
38021         [!COMPILE_WPRINTF] (PAD): Likewise.
38023 2013-10-10  David S. Miller  <davem@davemloft.net>
38025         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
38026         directory block.
38028 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
38030         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
38031         instead of FSF address.
38032         * soft-fp/fixdfti.c: Likewise.
38033         * soft-fp/fixsfti.c: Likewise.
38034         * soft-fp/fixtfti.c: Likewise.
38035         * soft-fp/fixunsdfti.c: Likewise.
38036         * soft-fp/fixunssfti.c: Likewise.
38037         * soft-fp/fixunstfti.c: Likewise.
38038         * soft-fp/floattidf.c: Likewise.
38039         * soft-fp/floattisf.c: Likewise.
38040         * soft-fp/floattitf.c: Likewise.
38041         * soft-fp/floatuntidf.c: Likewise.
38042         * soft-fp/floatuntisf.c: Likewise.
38043         * soft-fp/floatuntitf.c: Likewise.
38044         * soft-fp/trunctfxf2.c: Likewise.
38046         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
38047         * soft-fp/fixdfti.c: Likewise.
38048         * soft-fp/fixsfti.c: Likewise.
38049         * soft-fp/fixtfti.c: Likewise.
38050         * soft-fp/fixunsdfti.c: Likewise.
38051         * soft-fp/fixunssfti.c: Likewise.
38052         * soft-fp/fixunstfti.c: Likewise.
38053         * soft-fp/floattidf.c: Likewise.
38054         * soft-fp/floattisf.c: Likewise.
38055         * soft-fp/floattitf.c: Likewise.
38056         * soft-fp/floatuntidf.c: Likewise.
38057         * soft-fp/floatuntisf.c: Likewise.
38058         * soft-fp/floatuntitf.c: Likewise.
38059         * soft-fp/trunctfxf2.c: Likewise.
38061 2013-10-10  David S. Miller  <davem@davemloft.net>
38063         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38065 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
38067         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
38068         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
38069         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
38070         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
38071         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
38072         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
38073         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
38075         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
38076         for NaNs before doing comparisons on argument.
38077         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
38078         Likewise.
38080 2013-10-10  Will Newton  <will.newton@linaro.org>
38082         * malloc/hooks.c (memalign_check): Ensure the value of bytes
38083         passed to _int_memalign does not overflow.
38085 2013-10-10  Torvald Riegel  <triegel@redhat.com>
38087         * scripts/bench.pl: Add include-sources directive.
38088         * benchtests/README: Update documentation.
38090 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
38092         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
38093         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
38094         instead of FP_INIT_ROUNDMODE.
38095         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
38096         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
38098         [BZ #16034]
38099         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
38100         copy class of input value.
38101         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
38102         not handle exceptions.
38103         * soft-fp/negsf2.c (__negsf2): Likewise.
38104         * soft-fp/negtf2.c (__negtf2): Likewise.
38105         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
38107 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
38109         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
38110         semicolon.  From Linux kernel.
38112 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
38114         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
38116 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
38118         [BZ #156]
38119         * manual/socket.texi: Added statement about buffer
38120         for gethostbyname2_r.
38122 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
38124         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
38125         Use .p2align directive instead, throughout.
38126         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
38127         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
38128         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
38129         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
38130         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
38131         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
38132         * sysdeps/x86_64/strchr.S: Likewise.
38133         * sysdeps/x86_64/strrchr.S: Likewise.
38135 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
38137         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
38139         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
38141         * sysdeps/generic/math_private.h (__mpsin1): Remove
38142         declaration.
38143         (__mpcos1): Likewise.
38144         (__mpsin): New argument __range_reduce.
38145         (__mpcos): Likewise.
38146         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38147         (slow): Use __mpsin and __mpcos.
38148         (slow1): Likewise.
38149         (slow2): Likewise.
38150         (sloww): Likewise.
38151         (sloww1): Likewise.
38152         (sloww2): Likewise.
38153         (bsloww): Likewise.
38154         (bsloww1): Likewise.
38155         (bsloww2): Likewise.
38156         (cslow2): Likewise.
38157         (csloww): Likewise.
38158         (csloww1): Likewise.
38159         (csloww2): Likewise.
38160         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
38161         range_reduce.  Merge in __mpsin1.
38162         (__mpcos): Likewise.
38163         (__mpsin1): Remove.
38164         (__mpcos1): Likewise.
38166 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
38168         * locale/loadlocale.c (_nl_intern_locale_data): Use
38169         LOCFILE_ALIGNED_P.
38170         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
38171         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
38172         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
38173         obstack data is appropriately aligned.
38174         (obstack_int32_grow_fast): Likewise.
38175         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
38176         * locale/programs/locfile.c (add_locale_uint32): Likewise.
38177         (add_locale_uint32_array): Likewise.
38179 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
38181         * benchtests/Makefile: Remove ARGLIST and RET variables.
38182         ($(objpfx)bench-%.c): Pass only function name to the script.
38183         * benchtests/README: Update documentation.
38184         * benchtests/acos-inputs: Add new directives.
38185         * benchtests/acosh-inputs: Likewise.
38186         * benchtests/asin-inputs: Likewise.
38187         * benchtests/asinh-inputs: Likewise.
38188         * benchtests/atan-inputs: Likewise.
38189         * benchtests/atanh-inputs: Likewise.
38190         * benchtests/cos-inputs: Likewise.
38191         * benchtests/cosh-inputs: Likewise.
38192         * benchtests/exp-inputs: Likewise.
38193         * benchtests/log-inputs: Likewise.
38194         * benchtests/pow-inputs: Likewise.
38195         * benchtests/rint-inputs: Likewise.
38196         * benchtests/sin-inputs: Likewise.
38197         * benchtests/sinh-inputs: Likewise.
38198         * benchtests/tan-inputs: Likewise.
38199         * benchtests/tanh-inputs: Likewise.
38200         * scripts/bench.pl: Add support for new directives.
38202 2013-10-07  Alan Modra  <amodra@gmail.com>
38204         * README: Fix careless merge.
38206 2013-10-05  Alan Modra  <amodra@gmail.com>
38208         * NEWS: Mention powerpc64le support and bugs fixed.
38209         * README: Both big-endian and little-endian powerpc64 supported.
38211 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38213         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
38214         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
38215         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
38216         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
38218 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
38220         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
38221         match prototype.
38223 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
38225         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
38226         Move -mhard-float appending from
38227         ports/sysdeps/powerpc/powerpc32/Makefile.
38228         [$(with-fp) = yes] (ASFLAGS): Likewise.
38229         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
38230         * sysdeps/powerpc/nofpu: Move directory from
38231         ports/sysdeps/powerpc/nofpu.
38232         * sysdeps/powerpc/soft-fp: Move directory from
38233         ports/sysdeps/powerpc/soft-fp.
38234         * sysdeps/powerpc/powerpc32/405: Move directory from
38235         ports/sysdeps/powerpc/powerpc32/405.
38236         * sysdeps/powerpc/powerpc32/440: Move directory from
38237         ports/sysdeps/powerpc/powerpc32/440.
38238         * sysdeps/powerpc/powerpc32/464: Move directory from
38239         ports/sysdeps/powerpc/powerpc32/464.
38240         * sysdeps/powerpc/powerpc32/476: Move directory from
38241         ports/sysdeps/powerpc/powerpc32/476.
38242         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
38243         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
38244         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
38245         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
38246         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
38247         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
38248         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
38249         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
38250         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
38251         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
38252         * README: Update for powerpc-*-linux-gnu software floating point
38253         support in libc.
38255         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
38256         case to powerpc/powerpc32*.
38257         * sysdeps/unix/sysv/linux/configure: Regenerated.
38259         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
38260         (_FPU_MASK_OM): Define as 0x04.
38261         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
38262         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
38263         0x00c10080.
38264         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
38265         0x0000003c.
38266         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
38268         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
38269         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
38270         getcontext_e500.
38271         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
38272         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
38273         setcontext_e500.
38274         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
38275         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
38276         and setcontext_e500.
38278 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
38280         * locale/iso-3166.def: Update iso-1366.def and related occurrences
38282 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
38284         * manual/threads.texi (Default Thread Attributes): Fix typo.
38286 2013-10-04  Will Newton  <will.newton@linaro.org>
38288         * malloc/Makefile: Add tst-memalign.
38289         * malloc/tst-memalign.c: New file.
38291         * malloc/tst-posix_memalign.c: Add comments.
38292         (do_test): Add comments and call free on all potentially
38293         allocated pointers. Add space after cast.
38295         * malloc/tst-pvalloc.c: Add comments.
38296         (do_test): Add comments and call free on all potentially
38297         allocated pointers. Remove duplicate check for NULL pointer.
38298         Add space after cast.
38300         * malloc/tst-valloc.c: Add comments.
38301         (do_test): Add comments and call free on all potentially
38302         allocated pointers. Remove duplicate check for NULL pointer.
38303         Add space after cast.
38305 2013-10-04  Alan Modra  <amodra@gmail.com>
38307         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
38308         Use stdint types in rather than __attribute__((mode())).
38309         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
38311 2013-10-04  Alan Modra  <amodra@gmail.com>
38313         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
38314         Correct handling of unaligned relocs for little-endian.
38315         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
38317 2013-10-04  Alan Modra  <amodra@gmail.com>
38319         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
38320         * configure: Regenerate.
38321         * nptl/shlib-versions: Powerpc*le starts at 2.18.
38322         * shlib-versions: Likewise.
38324 2013-10-04  Alan Modra  <amodra@gmail.com>
38326         * string/tester.c (test_memrchr): Increment reported test cycle.
38328 2013-10-04  Alan Modra  <amodra@gmail.com>
38330         * string/test-memcpy.c (do_one_test): When reporting errors, print
38331         string address and don't overrun end of string.
38333 2013-10-04  Alan Modra  <amodra@gmail.com>
38335         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
38336         insrdi.  Make better use of reg selection to speed exit slightly.
38337         Schedule entry path a little better.  Remove useless "are we done"
38338         checks on entry to main loop.  Handle wrapping around zero address.
38339         Correct main loop count.  Handle single left-over word from main
38340         loop inline rather than by using loop_small.  Remove extra word
38341         case in loop_small caused by wrong loop count.  Add little-endian
38342         support.
38343         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
38344         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
38345         cache hint.
38346         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
38347         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
38348         support.  Avoid rlwimi.
38349         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
38351 2013-10-04  Alan Modra  <amodra@gmail.com>
38353         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
38354         insrdi.  Formatting.
38355         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
38356         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
38357         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
38358         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
38359         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
38360         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
38362 2013-10-04  Alan Modra  <amodra@gmail.com>
38364         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
38365         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
38366         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
38367         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
38368         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
38369         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
38370         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
38371         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
38372         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
38373         use of regs.  Use power7 mtocrf.  Tidy function tails.
38375 2013-10-04  Alan Modra  <amodra@gmail.com>
38377         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
38378         Formatting.  Consistently use rXXX register defines or rN defines.
38379         Use early exit labels that avoid restoring unused non-volatile regs.
38380         Make cr field use more consistent with rWORDn compares.  Rename
38381         regs used as shift registers for unaligned loop, using rN defines
38382         for short lifetime/multiple use regs.
38383         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
38384         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
38385         addi 1,1,64 to pop stack frame.  Simplify return value code.
38386         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
38388 2013-10-04  Alan Modra  <amodra@gmail.com>
38390         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
38391         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
38392         rather than rlwimi.
38393         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
38394         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
38395         little-endian support.  Correct typos.
38396         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
38397         rather than rlwimi.
38398         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
38399         in loop and entry code to keep "and." results.
38400         (strchr): Add little-endian support.  Comment.  Move cntlzd
38401         earlier in tail.
38402         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
38404 2013-10-04  Alan Modra  <amodra@gmail.com>
38406         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
38407         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
38408         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
38409         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
38411 2013-10-04  Alan Modra  <amodra@gmail.com>
38413         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
38414         (rTMP): Define as r11.
38415         (strcmp): Add little-endian support.  Optimise tail.
38416         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
38417         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
38418         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
38419         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
38420         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
38421         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
38422         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
38424 2013-10-04  Alan Modra  <amodra@gmail.com>
38426         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
38427         little-endian support.  Remove unnecessary "are we done" tests.
38428         Handle "s" wrapping around zero and extremely large "size".
38429         Correct main loop count.  Handle single left-over word from main
38430         loop inline rather than by using small_loop.  Correct comments.
38431         Delete "zero" tail, use "end_max" instead.
38432         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
38434 2013-10-04  Alan Modra  <amodra@gmail.com>
38436         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
38437         support.  Don't branch over align.
38438         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
38439         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
38440         support.  Rearrange tmp reg use to suit.  Comment.
38441         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
38443 2013-10-04  Alan Modra  <amodra@gmail.com>
38445         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
38447 2013-10-04  Alan Modra  <amodra@gmail.com>
38449         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
38450         conditional form of branch and link when obtaining pc.
38451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
38453 2013-10-04  Alan Modra  <amodra@gmail.com>
38455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
38456         HIWORD/LOWORD.
38457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
38458         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
38460 2013-10-04  Alan Modra  <amodra@gmail.com>
38462         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
38463         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
38464         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
38465         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
38466         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
38467         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
38468         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
38469         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
38470         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
38471         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
38473 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
38474             Alistair Popple <alistair@ozlabs.au.ibm.com>
38475             Alan Modra <amodra@gmail.com>
38477         [BZ #15723]
38478         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
38479         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
38480         _dl_hwcap access for little-endian.
38481         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
38482         destroy vmx regs when saving unaligned.
38483         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
38484         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
38485         destroy vmx regs when saving unaligned.
38487 2013-10-04  Alan Modra  <amodra@gmail.com>
38489         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
38490         Don't use a union to pack hi/low value.
38492 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
38494         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
38495         for little-endian.
38496         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
38497         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
38498         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
38499         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
38500         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
38502 2013-10-04  Alan Modra  <amodra@gmail.com>
38504         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
38505         constants to usual value for .cst8 section, and remove redundant
38506         high address load.
38507         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
38508         constant for 0x1p52.  Load little-endian words of double from
38509         correct stack offsets.
38511 2013-10-04  Alan Modra  <amodra@gmail.com>
38513         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
38514         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
38515         words of double from correct stack offsets.
38516         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
38517         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
38518         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
38519         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
38520         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
38521         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
38522         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
38523         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
38524         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
38525         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
38526         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
38527         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
38528         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
38529         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
38530         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
38531         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
38532         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
38534 2013-10-04  Alan Modra  <amodra@gmail.com>
38536         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
38537         64-bit int/double union.
38538         (_FPU_SETCW): Likewise.
38539         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
38540         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
38542 2013-10-04  Alan Modra  <amodra@gmail.com>
38544         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
38545         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
38547 2013-10-04  Alan Modra  <amodra@gmail.com>
38549         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
38550         use vector int constants.
38551         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
38553 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
38555         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
38556         array with long long.
38557         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
38558         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
38559         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
38560         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
38561         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
38562         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
38563         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
38564         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
38565         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
38566         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
38567         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
38568         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
38569         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
38571 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
38573         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
38574         (__signbit): Likewise.  Correct for little-endian.
38575         (__signbitl): Call __signbit.
38576         (lrint): Correct for little-endian.
38577         (lrintf): Call lrint.
38579 2013-10-04  Alan Modra  <amodra@gmail.com>
38581         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
38582         union 32-bit int array member with 64-bit int array.
38583         (t515, tm256): Double rather than long double.
38584         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
38586 2013-10-04  Alan Modra  <amodra@gmail.com>
38588         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
38589         Delete.
38590         (IEEE854_LONG_DOUBLE_BIAS): Delete.
38591         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
38592         version of math_ldbl.h.
38594 2013-10-04  Alan Modra  <amodra@gmail.com>
38596         [BZ #15734], [BZ #15735]
38597         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
38598         all uses of ieee875 long double macros and unions.  Simplify test
38599         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
38600         ldbl_extract_mantissa value for ix,iy exponents.  Properly
38601         normalize after ldbl_extract_mantissa, and don't add hidden bit
38602         already handled.  Don't treat low word of ieee854 mantissa like
38603         low word of IBM long double and mask off bit when testing for
38604         zero.
38605         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
38606         all uses of ieee875 long double macros and unions.  Simplify tests
38607         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
38608         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
38609         two1022, instead use their values.  Recognise that tests for large
38610         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
38611         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
38612         Rewrite all uses of ieee875 long double macros and unions.  Simplify
38613         test for 0.0L and nan.  Correct negation.
38614         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
38615         ieee875 long double macros and unions.  Correct output for large
38616         magnitude x.  Correct absolute value calculation.
38617         (__erfcl): Likewise.
38618         * math/libm-test.inc: Add tests for errors discovered in IBM long
38619         double versions of fmodl, remainderl, erfl and erfcl.
38621 2013-10-04  Alan Modra  <amodra@gmail.com>
38623         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
38624         all uses of ieee854 long double macros and unions.  Simplify tests
38625         for long doubles that are fully specified by the high double.
38626         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
38627         Likewise.
38628         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
38629         Remove dead code too.
38630         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
38631         (__ieee754_ynl): Likewise.
38632         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
38633         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
38634         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
38635         Remove dead code too.
38636         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
38637         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
38638         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
38639         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
38640         Simplify.
38641         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
38642         Simplify.
38643         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
38644         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
38645         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
38646         Comment on variable precision.
38647         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
38648         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
38649         Likewise.
38650         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
38651         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
38652         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
38653         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
38654         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
38656 2013-10-04  Alan Modra  <amodra@gmail.com>
38658         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
38659         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
38660         all uses of ieee854 long double macros and unions.
38661         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
38662         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
38663         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
38664         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
38665         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
38666         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
38667         Likewise.
38668         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
38669         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
38670         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
38671         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
38672         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
38673         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
38674         Simplify sign and nan test too.
38675         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
38676         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
38677         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
38678         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
38679         Likewise.
38680         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
38681         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
38682         Likewise.
38683         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
38684         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
38685         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
38686         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
38687         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
38688         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
38690 2013-10-04  Alan Modra  <amodra@gmail.com>
38692         * stdio-common/printf_size.c (__printf_size): Don't use
38693         union ieee854_long_double in fpnum union.
38694         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
38695         signbit macro to retrieve sign from long double.
38696         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
38697         retrieve sign from long double.
38698         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
38699         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
38700         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
38701         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
38702         * math/test-misc.c (main): Don't use union ieee854_long_double.
38704 2013-10-04  Alan Modra  <amodra@gmail.com>
38706         [BZ #15680]
38707         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
38708         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
38709         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
38710         calculation.  Remove unnecessary test for denormal exponent.
38711         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
38712         Correct handling of denormals.  Avoid undefined shift behaviour.
38713         Correct normalisation of low mantissa when low double is denormal.
38714         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
38715         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
38716         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
38717         Correct normalisation of low mantissa.  Test for overflow of high
38718         mantissa and normalise.
38719         (ldbl_nearbyint): Use more readable constant for two52.
38720         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
38721         (__mpn_construct_long_double): Fix test for overflow of high
38722         mantissa and correct normalisation.  Avoid undefined shift.
38724 2013-10-04  Alan Modra  <amodra@gmail.com>
38726         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
38727         (union ibm_extended_long_double): Define as an array of ieee754_double.
38728         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
38729         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
38730         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
38731         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
38732         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
38733         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
38734         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
38735         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
38736         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
38737         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
38738         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
38740 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
38742         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
38743         page size instead of calling getpagesize.
38745         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
38746         (LOCFILE_ALIGN_MASK): Likewise.
38747         (LOCFILE_ALIGN_UP): Likewise.
38748         (LOCFILE_ALIGNED_P): Likewise.
38749         * locale/programs/ld-collate.c (collate_output): Use the new
38750         macros instead of __alignof__ (int32_t).
38751         * locale/weight.h (findidx): Likewise.
38753 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
38755         [BZ #431]
38756         * manual/string.texi: Fix strncat and wcsncat.
38758 2013-10-03  Brooks Moses  <bmoses@google.com>
38760         [BZ #15915]
38761         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
38762         * Makerules: ...here, and adjust associated comments.
38764 2013-10-02  Will Newton  <will.newton@linaro.org>
38766         * malloc/Makefile: Add tst-pvalloc.
38767         * malloc/tst-pvalloc.c: New file.
38769 2013-10-02  Will Newton  <will.newton@linaro.org>
38771         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
38772         improve test coverage.
38774 2013-10-02  Will Newton  <will.newton@linaro.org>
38776         * malloc/Makefile: Add tst-posix_memalign.
38777         * malloc/tst-posix_memalign.c: New file.
38779 2013-10-01  Eric Blake  <eblake@redhat.com>
38781         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
38782         Use __THROWNL rather than __THROW on static functions.
38784 2013-09-30  Petr Machata  <pmachata@redhat.com>
38786         * elf/elf.h (R_AARCH64_ABS16): New macro.
38787         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
38788         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
38789         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
38790         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
38791         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
38792         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
38793         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
38794         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
38795         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
38796         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
38797         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
38798         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
38799         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
38800         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
38801         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
38802         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
38803         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
38804         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
38805         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
38806         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
38807         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
38808         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
38809         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
38810         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
38811         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
38812         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
38813         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
38814         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
38815         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
38816         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
38817         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
38818         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
38819         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
38820         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
38821         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
38822         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
38823         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
38824         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
38825         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
38826         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
38827         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
38828         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
38829         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
38830         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
38831         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
38832         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
38833         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
38834         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
38835         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
38836         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
38837         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
38838         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
38839         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
38840         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
38841         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
38842         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
38843         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
38844         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
38845         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
38846         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
38847         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
38848         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
38849         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
38850         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
38851         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
38852         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
38853         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
38854         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
38855         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
38856         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
38857         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
38858         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
38859         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
38860         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
38861         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
38862         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
38863         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
38864         (R_AARCH64_TLSDESC_LDR): Likewise.
38865         (R_AARCH64_TLSDESC_ADD): Likewise.
38866         (R_AARCH64_TLSDESC_CALL): Likewise.
38868 2013-09-30  Andreas Schwab  <schwab@suse.de>
38870         [BZ #15048]
38871         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
38872         the nss database lookup.
38873         * nscd/initgrcache.c (addinitgroupsX): Likewise.
38874         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
38876 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
38878         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
38880 2013-09-28  P. J. McDermott  <pj@pehjota.net>
38882         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
38883         ${Bash-specific parameter/pattern/string} parameter expansion.
38884         * sysdeps/unix/make-syscalls.sh: Likewise.
38886 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38888         * sysdeps/sh/stackguard-macros.h: New file.
38890 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
38892         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
38893         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
38894         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
38895         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
38896         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
38897         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
38899 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38901         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
38902         Fix thread ID register.
38904 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
38906         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
38907         [POSIX || UNIX98]: Require rather than permitting all symbols from
38908         <time.h>.
38909         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
38910         element of struct sched_param.
38911         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
38912         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
38913         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
38914         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
38915         constant.
38917 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
38919         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
38920         argument calculation.
38922 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
38924         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
38925         Expect macro.
38926         [POSIX] (pthread_attr_t): Do not require type.
38927         [POSIX] (pthread_cond_t): Likewise.
38928         [POSIX] (pthread_condattr_t): Likewise.
38929         [POSIX] (pthread_key_t): Likewise.
38930         [POSIX] (pthread_mutex_t): Likewise.
38931         [POSIX] (pthread_mutexattr_t): Likewise.
38932         [POSIX] (pthread_once_t): Likewise.
38933         [POSIX] (pthread_t): Likewise.
38934         [POSIX-based standards] (pthread_atfork): Expect function.
38936 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
38937             Richard Sandiford  <richard@codesourcery.com>
38939         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
38940         (swap_endianness_p): New extern variable.
38941         (set_big_endian): New inline function.
38942         (maybe_swap_uint32): Likewise.
38943         (maybe_swap_uint32_array): Likewise.
38944         (maybe_swap_uint32_obstack): Likewise.
38945         * locale/programs/locfile.c: Include <stdbool.h>.
38946         (swap_endianness_p): New variable.
38947         (add_locale_uint32): Call maybe_swap_uint32.
38948         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
38949         (write_locale_data): Call maybe_swap_uint32_array.
38950         * locale/programs/ld-collate.c (obstack_int32_grow): Call
38951         maybe_swap_uint32.
38952         (obstack_int32_grow_fast): Likewise.
38953         (output_weightwc): Call maybe_swap_uint32_obstack.
38954         (collate_output): Likewise.
38955         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
38956         (OPT_LITTLE_ENDIAN): Likewise.
38957         (options): Add --little-endian and --big-endian options.
38958         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
38959         * locale/programs/locarchive.c: Include "locfile.h".
38960         (GET): New macro.
38961         (SET): Likewise.
38962         (INC): Likewise.
38963         (create_archive): Use the new macros to access fields of
38964         structures directly mapped from or written to locale archives.
38965         (oldlocrecentcmp): Likewise.
38966         (enlarge_archive): Likewise.
38967         (insert_name): Likewise.
38968         (add_alias): Likewise.
38969         (add_locale): Likewise.
38970         (delete_locales_from_archive): Likewise.
38971         (show_archive_content): Likewise.
38972         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
38973         locale data.
38975 2013-09-24  Roland McGrath  <roland@hack.frob.com>
38977         * manual/freemanuals.texi: Updated from (newly) canonical copy at
38978         http://www.gnu.org/doc/freemanuals.texi.
38979         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
38981 2013-09-24  Will Newton  <will.newton@linaro.org>
38983         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
38984         macro.
38986 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
38988         * locale/hashval.h (compute_hashval): Interpret bytes of key as
38989         unsigned char.
38991 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
38993         * manual/threads.texi (POSIX Threads): Fix a typo.
38995 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
38997         [BZ #14547]
38998         * string/tst-strcoll-overflow.c: New test case.
38999         * string/Makefile (xtests): Add tst-strcoll-overflow.
39000         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
39001         cache if string sizes may cause integer overflow.
39003         [BZ #14547]
39004         * string/strcoll_l.c (coll_seq): New members rule, idx,
39005         save_idx and back_us.
39006         (get_next_seq_nocache): New function.
39007         (do_compare_nocache): New function.
39008         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
39009         when malloc fails.
39011 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
39013         [BZ #15754]
39014         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
39015         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
39016         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
39018         [BZ #15754]
39019         * elf/Makefile (tests): Add tst-ptrguard1.
39020         (tests-static): Add tst-ptrguard1-static.
39021         (tst-ptrguard1-ARGS): Define.
39022         (tst-ptrguard1-static-ARGS): Define.
39023         * elf/tst-ptrguard1.c: New file.
39024         * elf/tst-ptrguard1-static.c: New file.
39025         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
39026         * sysdeps/i386/stackguard-macros.h: Likewise.
39027         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
39028         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
39029         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
39030         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
39031         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
39032         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
39034 2013-09-23  Hector Marco  <hecmargi@upv.es>
39035             Ismael Ripoll  <iripoll@disca.upv.es>
39036             Carlos O'Donell  <carlos@redhat.com>
39038         [BZ #15754]
39039         * sysdeps/generic/stackguard-macros.h: Define
39040         __pointer_chk_guard_local and POINTER_CHK_GUARD.
39041         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
39042         Define __pointer_chk_guard_local.
39043         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
39044         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
39046 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
39048         [BZ #15859]
39049         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
39051 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
39053         * include/string.h (__ffs): Declare as hidden.
39054         * string/ffs.c (__ffs): Define as hidden.
39055         * sysdeps/i386/ffs.c (__ffs): Likewise.
39056         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
39057         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
39058         * sysdeps/s390/ffs.c (__ffs): Likewise.
39059         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
39061 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
39063         * NEWS: Mention malloc probes.
39065         * malloc/arena.c (new_heap): New memory_heap_new probe.
39066         (grow_heap): New memory_heap_more probe.
39067         (shrink_heap): New memory_heap_less probe.
39068         (heap_trim): New memory_heap_free probe.
39069         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
39070         (systrim): New memory_sbrk_less probe.
39071         * manual/probes.texi: Document them.
39073         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
39074         * manual/probes.texi: Document it.
39076         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
39077         (__libc_realloc): Add memory_realloc_retry probe.
39078         (__libc_memalign): Add memory_memalign_retry probe.
39079         (__libc_valloc): Add memory_valloc_retry probe.
39080         (__libc_pvalloc): Add memory_pvalloc_retry probe.
39081         (__libc_calloc): Add memory_calloc_retry probe.
39082         * manual/probes.texi: Document them.
39084         * malloc/arena.c (get_free_list): Add probe
39085         memory_arena_reuse_free_list.
39086         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
39087         and memory_arena_reuse.
39088         (arena_get2) [!PER_THREAD]: Likewise.
39089         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
39090         memory_arena_reuse_realloc.
39091         * manual/probes.texi: Document them.
39093         * malloc/malloc.c (__libc_free): Add
39094         memory_mallopt_free_dyn_thresholds probe.
39095         (__libc_mallopt): Add multiple memory_mallopt probes.
39096         * manual/probes.texi: Document them.
39098         * malloc/malloc.c: Include stap-probe.h.
39099         (__libc_mallopt): Add memory_mallopt probe.
39100         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
39101         * manual/probes.texi: New.
39102         * manual/Makefile (chapters): Add probes.
39103         * manual/threads.texi: Set next node.
39105 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
39107         [BZ #15963, #13985]
39108         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
39109         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
39110         Add `Chinese' to `nan' entry name.
39112 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
39114         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
39115         (POLYNOMIAL): Likewise.
39116         (TAYLOR_SINCOS): Likewise.
39117         (TAYLOR_SLOW): Likewise.
39118         (__sin): Use TAYLOR_SINCOS.
39119         (__cos): Likewise.
39120         (slow): Use TAYLOR_SLOW.
39121         (sloww): Likewise.
39122         (bsloww): Likewise.
39123         (csloww): Likewise.
39125 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
39127         * stdlib/strtod_l.c: Fix buffer overrun.
39129 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
39131         * benchtests/Makefile (bench): Add sincos.
39132         * benchtests/bench-sincos.c: New file.
39134         * math/libm-test.inc (cos_test_data): New test inputs.
39135         (sin_test_data): Likewise.
39137         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
39138         macro.
39139         (__sin): Use it.
39140         (__cos): Likewise.
39141         (slow1): Likewise.
39142         (slow2): Likewise.
39143         (sloww1): Likewise.
39144         (sloww2): Likewise.
39145         (bsloww1): Likewise.
39146         (bsloww2): Likewise.
39147         (cslow2): Likewise.
39148         (csloww1): Likewise.
39149         (csloww2): Likewise.
39151         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
39152         function.
39153         (__sin): Use it.
39154         (__cos): Likewise.
39156         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
39157         gotos.
39158         (__cos): Likewise.
39160 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
39162         * config.h.in (HAVE_MIPS_NAN2008): New macro.
39163         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
39164         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
39165         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
39166         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
39167         * elf/cache.c (print_entry): Handle the new cache flags.
39169 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
39170             Aldy Hernandez  <aldyh@redhat.com>
39172         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
39173         Change condition to [_SOFT_FLOAT].
39174         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
39175         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
39176         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
39177         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
39178         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
39179         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
39180         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
39181         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
39182         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
39183         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
39184         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
39185         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
39186         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
39187         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
39188         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
39189         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
39190         declaration.
39192 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
39194         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
39195         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
39196         (__longjmp): Use LOAD_GP to load saved GPRs.
39197         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
39198         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
39199         (__sigsetjmp): Use SAVE_GP to save GPRs.
39201         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
39202         Do not append -msoft-float.
39203         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
39205 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
39207         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
39209 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
39211         [BZ #15966]
39212         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
39213         (_FPU_GETCW): Use initial "__" on variable and field names but not
39214         on macro parameter name.
39215         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
39216         parentheses around reference to macro parameter.
39218 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
39220         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
39221         prototype.
39222         (ctype_startup): Use uint32_t in cast and sizeof for
39223         ctype->charnames.
39225 2013-09-11  Jia Liu  <proljc@gmail.com>
39227         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
39228         __daddr_t_defined.
39229         [__FreeBSD__]: Likewise.
39231 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
39233         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
39234         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
39235         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
39236         (strchr): Remove __strchr_sse42 ifunc selection.
39237         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
39238         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
39240 2013-09-11  Will Newton  <will.newton@linaro.org>
39242         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
39243         parameter to RES. Remove hardcoded 1000 value.
39244         * benchtests/bench-skeleton.c (main): Pass RES parameter
39245         to TIMING_INIT and multiply result by 1000.
39247 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39249         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39251 2013-09-11  Andreas Schwab  <schwab@suse.de>
39253         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
39254         if not defined.
39255         (O_TMPFILE) [__USE_GNU]: Define.
39256         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
39257         Define.
39259 2013-09-11  Will Newton  <will.newton@linaro.org>
39261         [BZ #15857]
39262         * malloc/malloc.c (__libc_memalign): Check the value of bytes
39263         does not overflow.
39265 2013-09-11  Will Newton  <will.newton@linaro.org>
39267         [BZ #15856]
39268         * malloc/malloc.c (__libc_valloc): Check the value of bytes
39269         does not overflow.
39271 2013-09-11  Will Newton  <will.newton@linaro.org>
39273         [BZ #15855]
39274         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
39275         does not overflow.
39277 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
39279         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
39280         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
39281         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
39282         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
39283         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
39285 2013-09-10  Allan McRae  <allan@archlinux.org>
39287         [BZ #15748]
39288         * manual/arith.texi (Parsing of Floats): Clarify
39289         cross-reference.
39291         [BZ #15849]
39292         * manual/install.texi (Running make install): Mention
39293         --enable-pt-chown.
39294         * INSTALL: Regenerated.
39296 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
39298         * csu/init-first.c (_init): Remove the !SHARED condition around
39299         FPU control word initialization.
39300         * elf/dl-support.c (_dl_fpu_control): New variable.
39301         (_dl_aux_init) <AT_FPUCW>: Initialize it.
39302         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
39303         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
39304         * math/test-fpucw-static.c: New file.
39305         * math/test-fpucw-ieee.c: New file.
39306         * math/test-fpucw-ieee-static.c: New file.
39307         * math/Makefile (tests): Add `test-fpucw-ieee' and
39308         `$(tests-static)'.
39309         (tests-static): New variable.
39310         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
39311         dependency to...
39312         [($(build-shared),yes)]
39313         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
39314         ... this.
39315         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
39316         New dependency.
39318 2013-09-09  Allan McRae  <allan@archlinux.org>
39320         [BZ #15939]
39321         * manual/string.texi (Collation Functions): Fix typo in
39322         strcoll example.
39323         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
39325         [BZ #15893]
39326         * stdlib/isomac.c (get_null_defines): Fix memory leak.
39328         [BZ #15892]
39329         * libio/memstream.c (open_memstream): Fix memory leak.
39330         * libio/wmemstream.c (open_wmemstream): Likewise.
39332         [BZ #15895]
39333         * nscd/netgroupcache.c: Fix nesting of ifdefs.
39335 2013-09-09  Will Newton  <will.newton@linaro.org>
39337         * malloc/Makefile: Add tst-realloc to tests.
39338         * malloc/tst-realloc.c: New file.
39340 2013-09-09  Allan McRae  <allan@archlinux.org>
39342         [BZ #15844]
39343         * COPYING: Update from GNU website to fix FSF address.
39344         * COPYING.LIB: Likewise.
39346 2013-09-06  David S. Miller  <davem@davemloft.net>
39348         * po/zh_TW.po: Update Chinese (traditional) translation from
39349         translation project.
39351 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
39352             Joseph Myers  <joseph@codesourcery.com>
39354         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
39355         "localeinfo.h".
39356         (obstack_chunk_alloc): New macro.
39357         (obstack_chunk_free): Likewise.
39358         (record_offset): New function.
39359         (init_locale_data): Likewise.
39360         (align_locale_data): Likewise.
39361         (add_locale_empty): Likewise.
39362         (add_locale_raw_data): Likewise.
39363         (add_locale_raw_obstack): Likewise.
39364         (add_locale_string): Likewise.
39365         (add_locale_wstring): Likewise.
39366         (add_locale_uint32): Likewise.
39367         (add_locale_uint32_array): Likewise.
39368         (add_locale_char): Likewise.
39369         (start_locale_structure): Likewise.
39370         (end_locale_structure): Likewise.
39371         (start_locale_prelude): Likewise.
39372         (end_locale_prelude): Likewise.
39373         (write_locale_data): Take locale_file structure rather than an
39374         iovec.
39375         * locale/programs/locfile.h: Include "obstack.h".
39376         (struct locale_file): Change to store locale file contents instead
39377         of header.
39378         (init_locale_data): New prototype.
39379         (align_locale_data): Likewise.
39380         (add_locale_empty): Likewise.
39381         (add_locale_raw_data): Likewise.
39382         (add_locale_raw_obstack): Likewise.
39383         (add_locale_string): Likewise.
39384         (add_locale_wstring): Likewise.
39385         (add_locale_uint32): Likewise.
39386         (add_locale_uint32_array): Likewise.
39387         (add_locale_char): Likewise.
39388         (start_locale_structure): Likewise.
39389         (end_locale_structure): Likewise.
39390         (start_locale_prelude): Likewise.
39391         (end_locale_prelude): Likewise.
39392         (write_locale_data): Update prototype.
39393         * locale/programs/3level.h (struct TABLE): Remove result field.
39394         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
39395         Use new locale_file interface.
39396         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
39397         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
39398         * locale/programs/ld-address.c (address_output): Use new
39399         locale_file interface.
39400         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
39401         NO_ADD_LOCALE.
39402         (collate_finish): Don't call collseq_table_finalize.
39403         (collate_output): Use new locale_file interface.
39404         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
39405         in file.
39406         (NO_FINALIZE): Change to NO_ADD_LOCALE.
39407         (TABLE): Move defines earlier in file.
39408         (ELEMENT): Likewise.
39409         (DEFAULT): Likewise.
39410         (wctrans_table_add): Move macro and inline function earlier in
39411         file.
39412         (struct wctype_table): Move type earlier in file.
39413         (add_locale_wctype_table): New static prototype.
39414         (struct locale_ctype_t): Use logical types instead of struct iovec
39415         pointers for members.
39416         (ctype_output): Use new locale_file interface.
39417         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
39418         new locale_file interface.
39419         (allocate_arrays): Update for use of new locale_file interface.
39420         * locale/programs/ld-identification.c (identification_output): Use
39421         new locale_file interface.
39422         * locale/programs/ld-measurement.c (measurement_output): Likewise.
39423         * locale/programs/ld-messages.c (messages_output): Likewise.
39424         * locale/programs/ld-monetary.c (monetary_output): Likewise.
39425         * locale/programs/ld-name.c (name_output): Likewise.
39426         * locale/programs/ld-numeric.c (numeric_output): Likewise.
39427         * locale/programs/ld-paper.c (paper_output): Likewise.
39428         * locale/programs/ld-telephone.c (telephone_output): Likewise.
39429         * locale/programs/ld-time.c (time_output): Likewise.
39431 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39433         * benchtests/Makefile: Add memrchr benchmark.
39434         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
39435         benchmark as memrchr.
39436         * benchtests/bench-memrchr-ifunc.c: New file.
39437         * benchtests/bench-memrchr.c: New file.
39439 2013-09-06   Will Newton  <will.newton@linaro.org>
39441         * benchtests/Makefile (string-bench): Add memcpy.
39443 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
39444             Cong Wang  <amwang@redhat.com>
39446         [BZ #15850]
39447         * sysdeps/unix/sysv/linux/bits/in.h
39448         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
39449         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
39450         before __USE_KERNEL_IPV6_DEFS uses.
39451         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
39452         IPPROTO_BEETPH.
39453         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
39454         sockaddr_in6, or ipv6_mreq.
39456 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39458         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
39459         memory access for final bytes in some large inputs.
39460         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
39462 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39464         * string/test-memrchr.c: New file.
39465         * string/test-memrchr-ifunc.c: New file.
39466         * string/Makefile: Add new memrchr testcase.
39468 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
39470         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
39471         fanotify_init returns EPERM.
39473 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
39475         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
39476         errors.
39477         (top level): Treat second token from macro or constant entries for
39478         allowed headers as allowed.
39479         * include/complex.h: Condition internal declarations on
39480         [!_ISOMAC].
39481         * include/fenv.h: Condition include of <stdbool.h> and internal
39482         declarations on [!_ISOMAC].
39484 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
39486         [BZ #15923]
39487         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
39489 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
39491         * configure.in (--enable-versioning): Remove configure option.
39492         (libc_cv_asm_symver_directive): Remove configure test.
39493         (libc_cv_ld_version_script_option): Likewise.
39494         (VERSIONING): Remove variable and AC_SUBST.
39495         (DO_VERSIONING): Remove AC_DEFINE.
39496         * configure: Regenerated.
39497         * config.h.in (DO_VERSIONING): Remove macro.
39498         * Makerules [$(versioning) = yes]: Change conditionals to
39499         [$(build-shared) = yes].
39500         * config.make.in (versioning): Remove variable.
39501         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
39502         [$(build-shared) = yes].
39503         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
39504         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
39505         * elf/Makefile [$(versioning) = yes]: Change conditionals to
39506         [$(build-shared) = yes].
39507         * extra-lib.mk [$(versioning) = yes]: Likewise.
39508         * hurd/Makefile [$(versioning) = yes]: Likewise.
39509         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
39510         [SHARED].
39511         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
39512         [SHARED].
39513         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
39514         [SHARED && !NO_HIDDEN].
39515         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
39516         [SHARED].
39517         [SHARED && DO_VERSIONING]: Likewise..
39518         * libio/Makefile [$(versioning) = yes]: Change conditionals to
39519         [$(build-shared) = yes].
39520         * manual/install.texi (--disable-versioning): Remove
39521         documentation.
39522         * INSTALL: Regenerated.
39523         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
39524         to [SHARED].
39525         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
39526         [$(build-shared) = yes].
39527         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
39528         * sysdeps/i386/i686/multiarch/strstr-c.c
39529         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
39530         [SHARED && !NO_HIDDEN].
39531         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
39532         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
39533         * sysdeps/powerpc/powerpc32/dl-machine.c
39534         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
39535         * sysdeps/powerpc/powerpc32/sysdep.h
39536         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
39537         to [SHARED && PIC && !NO_HIDDEN].
39538         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
39539         conditional to [SHARED].
39541 2013-09-04   Will Newton  <will.newton@linaro.org>
39543         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
39544         * benchtests/bench-string.h: Include bench-timing.h instead
39545         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
39546         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
39547         call to HP_TIMING_DIFF_INIT.
39548         * benchtests/bench-memccpy.c: Use bench-timing.h macros
39549         instead of hp-timing.h macros.
39550         * benchtests/bench-memchr.c: Likewise.
39551         * benchtests/bench-memcmp.c: Likewise.
39552         * benchtests/bench-memcpy.c: Likewise.
39553         * benchtests/bench-memmem.c: Likewise.
39554         * benchtests/bench-memmove.c: Likewise.
39555         * benchtests/bench-memset.c: Likewise.
39556         * benchtests/bench-rawmemchr.c: Likewise.
39557         * benchtests/bench-strcasecmp.c: Likewise.
39558         * benchtests/bench-strcasestr.c: Likewise.
39559         * benchtests/bench-strcat.c: Likewise.
39560         * benchtests/bench-strchr.c: Likewise.
39561         * benchtests/bench-strcmp.c: Likewise.
39562         * benchtests/bench-strcpy.c: Likewise.
39563         * benchtests/bench-strcpy_chk.c: Likewise.
39564         * benchtests/bench-strlen.c: Likewise.
39565         * benchtests/bench-strncasecmp.c: Likewise.
39566         * benchtests/bench-strncat.c: Likewise.
39567         * benchtests/bench-strncmp.c: Likewise.
39568         * benchtests/bench-strncpy.c: Likewise.
39569         * benchtests/bench-strnlen.c: Likewise.
39570         * benchtests/bench-strpbrk.c: Likewise.
39571         * benchtests/bench-strrchr.c: Likewise.
39572         * benchtests/bench-strspn.c: Likewise.
39573         * benchtests/bench-strstr.c: Likewise.
39575 2013-09-04  Will Newton  <will.newton@linaro.org>
39577         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
39579 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
39581         [BZ #15427]
39582         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
39583         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
39584         * math/libm-test.inc (lgamma_test_data): Add more tests.
39585         * sysdeps/i386/fpu/libm-test-ulps: Update.
39586         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39588 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
39590         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
39591         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
39592         Add ifunc.
39593         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
39594         Add strcmp-sse2-unaligned
39595         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
39597 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
39599         * Versions.def (libc): Add GLIBC_2.19.
39601 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
39603         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
39604         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
39606 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
39608         [BZ #14155]
39609         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
39610         intermediate calculations in recurrence.
39611         (__ieee754_ynf): Likewise.
39612         * math/libm-test.inc (jn_test_data): Do not allow spurious
39613         underflow exception.  Add more tests.
39614         (yn_test_data): Add more tests.
39615         * sysdeps/i386/fpu/libm-test-ulps: Update.
39616         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39618 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
39620         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
39622 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
39624         * csu/init-first.c: Fix then/than typos.
39625         * locale/programs/ld-collate.c: Likewise.
39626         * locale/programs/linereader.h: Likewise.
39627         * manual/charset.texi: Likewise.
39628         * manual/filesys.texi: Likewise.
39629         * manual/stdio.texi: Likewise.
39630         * manual/string.texi: Likewise.
39631         * stdlib/fmtmsg.c: Likewise.
39632         * sysdeps/i386/stpncpy.S: Likewise.
39633         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
39634         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
39635         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
39636         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
39638 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
39640         * elf/dl-open.c: Fix typos.
39641         * iconvdata/gbbig5.c: Likewise.
39642         * iconvdata/iso-2022-jp.c: Likewise.
39643         * iconv/gconv_int.h: Likewise.
39644         * iconv/loop.c: Likewise.
39645         * nis/rpcsvc/nis.h: Likewise.
39646         * resolv/ns_name.c: Likewise.
39647         * stdio-common/vfscanf.c: Likewise.
39648         * streams/stropts.h: Likewise.
39649         * sunrpc/rpc_thread.c: Likewise.
39650         * sysdeps/i386/strpbrk.S: Likewise.
39651         * sysdeps/ieee754/k_standard.c: Likewise.
39652         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
39653         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
39654         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
39655         * sysdeps/mach/hurd/profil.c: Likewise.
39656         * sysdeps/s390/dl-procinfo.h: Likewise.
39657         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
39658         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
39659         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
39660         * sysdeps/x86_64/dl-trampoline.S: Likewise.
39661         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
39663 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
39665         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
39666         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
39668 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
39670         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
39671         aix specific files.
39672         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
39673         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
39674         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
39675         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
39676         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
39677         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
39678         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
39679         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
39681 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
39682             Roland McGrath  <roland@hack.frob.com>
39684         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
39685         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
39687 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39689         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
39690         __executable_start symbol instead of _start.
39692 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
39694         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
39695         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
39696         Move macros to...
39697         * sysdeps/gnu/ldsodefs.h: ... this new file.
39699         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
39700         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
39701         instead of ELFOSABI_LINUX.
39703         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
39704         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
39705         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
39706         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
39707         Likewise.
39708         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
39709         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
39710         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
39711         Likewise.
39712         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
39713         (ibm_extended_long_double): Add ieee_nan member.
39714         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
39715         (do_test): New function.
39717         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
39718         TEST_TRUNC.
39719         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
39720         functions, renamed from truncdfsf_test, trunctfsf_test,
39721         trunctfdf_test.
39722         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
39723         functions.
39724         (do_test): Run all these.
39726 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
39728         * argp/argp-help.c: Fix typos.
39729         * argp/argp-parse.c: Likewise.
39730         * debug/backtracesyms.c: Likewise.
39731         * elf/elf.h: Likewise.
39732         * malloc/malloc.c: Likewise.
39733         * nis/nis_print.c: Likewise.
39734         * resolv/res_comp.c: Likewise.
39735         * stdlib/stdlib.h: Likewise.
39736         * sunrpc/clnt_tcp.c: Likewise.
39737         * sunrpc/clnt_udp.c: Likewise.
39738         * sunrpc/clnt_unix.c: Likewise.
39739         * sysdeps/unix/bsd/ptsname.c: Likewise.
39740         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
39741         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
39742         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
39743         Likewise.
39744         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
39745         Likewise.
39746         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
39747         Likewise.
39748         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
39750 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
39752         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
39753         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
39755 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
39757         [BZ #15897]
39758         * dlfcn/Makefile (tests): Add bug-dl-leaf.
39759         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
39760         ($(objpfx)bug-dl-leaf): New rule.
39761         ($(objpfx)bug-dl-leaf.so): Likewise.
39762         ($(objpfx)bug-dl-leaf.out): Likewise.
39763         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
39764         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
39765         * dlfcn/bug-dl-leaf.c: New test.
39766         * dlfcn/bug-dl-leaf-lib.c: Likewise.
39767         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
39768         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
39769         (dlclose): Likewise.
39770         (dlmopen): Likewise.
39772 2013-08-27  Roland McGrath  <roland@hack.frob.com>
39774         * include/netdb.h [!_ISOMAC]:
39775         Don't include <tls.h>.
39776         (h_errno, __libc_h_errno): Move declaration and macros out of
39777         [_LIBC_REENTRANT].
39779         * include/resolv.h [_RESOLV_H_]:
39780         Don't include <tls.h>.
39781         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
39782         * resolv/res_libc.c: Don't include <tls.h>.
39783         (_res): Use __attribute__ ((nocommon)) in place of
39784         __attribute__ ((section (".bss"))).
39786         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
39787         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
39789         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
39791         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
39792         only under [SIOCGIFCONF && SIOCGIFNETMASK].
39794         * resolv/res_mkquery.c: Include <sys/time.h>.
39796         * inet/ifreq.c: Moved to ...
39797         * sysdeps/unix/ifreq.c: ... here.
39798         * inet/ifreq.c: New file, true stub version.
39800         * socket/sa_len.c: New file.
39801         * socket/Makefile (aux): Add it.
39802         * sysdeps/unix/sysv/linux/Makefile
39803         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
39804         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
39805         and #include <socket/sa_len.c>.
39806         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
39807         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
39809         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
39810         * bits/socket.h: ... here.
39812         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
39813         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
39814         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
39816 2013-08-27  Andreas Schwab  <schwab@suse.de>
39818         [BZ #15736]
39819         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
39820         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
39821         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
39822         * string/test-strcasecmp.c (test_main): Run tests in several
39823         locales.
39824         * string/test-strncasecmp.c (test_main): Likewise.
39826         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
39827         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
39828         to __strcasecmp_nonascii and __strncasecmp_nonascii.
39829         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
39830         (__strncasecmp_ssse3) [PIC]: Likewise.
39832 2013-08-26  Roland McGrath  <roland@hack.frob.com>
39834         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
39836         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
39837         instead of explicitly declaring xdecrypt.
39838         * nis/nss_nis/nis-publickey.c: Likewise.
39840 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
39842         [BZ #15890]
39843         * nscd/aicache.c: Include res_hconf.h.
39844         (addhstaiX): Initialize res_hconf.
39846 2013-08-26  Andreas Schwab  <schwab@suse.de>
39848         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
39849         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
39851 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
39853         * nscd/aicache.c (addhstaiX): Fix indentation.
39855 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
39857         * configure.ac: Quote $build_pt_chown test.
39858         * configure: Regenerated.
39860 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
39862         [BZ #15532]
39863         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
39864         * math/s_cexpf.c (__cexpf): Likewise.
39865         * math/s_cexpl.c (__cexpl): Likewise.
39866         * math/libm-test.inc (cexp_test_data): Correct expected return
39867         value for NaN + i0.  Add another test.
39869 2013-08-22  David S. Miller  <davem@davemloft.net>
39871         * po/ca.po: Update Catalan translation from translation project.
39872         * po/uk.po: Add Ukrainian translations from translation project.
39874 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
39876         [BZ #15797]
39877         * math/s_fdim.c (__fdim): Check for infinite arguments if result
39878         is infinite, not alongside NaN test.
39879         * math/s_fdimf.c (__fdimf): Likewise.
39880         * math/s_fdiml.c (__fdiml): Likewise.
39881         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
39882         errno is unchanged.
39884 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
39886         * argp/argp-help.c: Fix typos.
39887         * crypt/speeds.c: Likewise.
39888         * csu/check_fds.c: Likewise.
39889         * elf/dl-load.c: Likewise.
39890         * elf/dl-open.c: Likewise.
39891         * elf/reldep3.c: Likewise.
39892         * elf/reldep.c: Likewise.
39893         * elf/sprof.c: Likewise.
39894         * iconv/iconv_charmap.c: Likewise.
39895         * iconv/skeleton.c: Likewise.
39896         * iconv/strtab.c: Likewise.
39897         * io/lockf64.c: Likewise.
39898         * libio/libioP.h: Likewise.
39899         * resolv/gai_notify.c: Likewise.
39900         * resolv/ns_name.c: Likewise.
39901         * resolv/ns_samedomain.c: Likewise.
39902         * resolv/res_send.c: Likewise.
39903         * stdlib/random.c: Likewise.
39904         * sunrpc/rpc/xdr.h: Likewise.
39905         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
39906         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
39907         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
39908         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
39909         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
39910         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
39911         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
39912         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
39913         * sysdeps/mach/hurd/check_fds.c: Likewise.
39914         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
39915         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
39916         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
39917         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
39918         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
39919         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
39920         * sysdeps/pthread/aio_notify.c: Likewise.
39921         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
39922         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
39923         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
39924         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
39925         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
39927 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
39929         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
39930         version if bit_Slow_SSE4_2 is set.
39931         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
39932         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
39934 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39936         [BZ #15867]
39937         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
39938         trampoline stack frame information.
39939         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
39940         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
39941         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
39942         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
39943         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
39944         * sysdeps/unix/sysv/linux/powerpc/init-first.c
39945         (_libc_vdso_platform_setup): Initialize the signal trampolines.
39946         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
39947         sa_flags value.
39948         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
39949         interrupting a syscall and set with option SA_SIGINFO.
39951 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
39953         [BZ #15531]
39954         * math/s_cproj.c (__cproj): Only return an infinity if one part of
39955         argument is infinite.
39956         * math/s_cprojf.c (__cprojf): Likewise.
39957         * math/s_cprojl.c (__cprojl): Likewise.
39958         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
39959         * math/libm-test.inc (cproj_test_data): Add more tests.
39961         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
39963         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
39964         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
39965         size.  Use __ffs to determine corresponding shift.
39967 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
39968             Roland McGrath  <roland@hack.frob.com>
39970         * Makefile (INSTALL): Remove trailing blank lines from output of
39971         makeinfo.
39973 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39975         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
39976         Align 32 bit compat elf_greg to 8 bytes.
39978 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
39980         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
39982 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
39984         * string/strcoll_l.c (coll_seq): New structure.
39985         (get_next_seq_cached): New function.
39986         (get_next_seq): New function.
39987         (do_compare): New function.
39988         (STRCOLL): Use GNU style definition.  Simplify implementation
39989         by using get_next_seq, get_next_seq_cached and do_compare.
39991 2013-08-16  Florian Weimer  <fweimer@redhat.com>
39993         [BZ #14699]
39994         CVE-2013-4237
39995         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
39996         member.
39997         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
39998         member.
39999         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
40000         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
40001         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
40002         conditional.
40003         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
40004         GETDENTS_64BIT_ALIGNED.
40005         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
40006         * manual/filesys.texi (Reading/Closing Directory): Document
40007         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
40008         strongly.
40009         * manual/conf.texi (Limits for Files): Add portability note to
40010         NAME_MAX, PATH_MAX.
40011         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
40013 2013-08-13  Andreas Schwab  <schwab@suse.de>
40015         [BZ #15749]
40016         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
40017         of fabs.
40018         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
40019         LDBL_MAX_EXP >= 16384]: Add tests for it.
40021 2013-08-12  David S. Miller  <davem@davemloft.net>
40023         * version.h (RELEASE): Set to "development".
40024         (VERSION): Set to "2.18.90".
40025         * NEWS: Add 2.19 section.
40027 2013-08-03  David S. Miller  <davem@davemloft.net>
40029         * po/ko.po: Update Korean translation from translation project.
40031 2013-08-01  David S. Miller  <davem@davemloft.net>
40033         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
40034         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
40035         Bilka.
40037 2013-07-30  David S. Miller  <davem@davemloft.net>
40039         * po/fr.po: Update French translation from translation project.
40041 2013-07-28  David S. Miller  <davem@davemloft.net>
40043         * po/cs.po: Update Czech translation from translation project.
40045         * po/sv.po: Update Swedish translation from translation project.
40047 2013-07-27  David S. Miller  <davem@davemloft.net>
40049         * po/eo.po: Update Esperanto translation from translation project.
40051         * po/vi.po: Update Vietnamese translation from translation project.
40053         * po/de.po: Update German translation from translation project.
40055 2013-07-26  David S. Miller  <davem@davemloft.net>
40057         * po/bg.po: Update Bulgarian translation from translation project.
40059         * po/nl.po: Update Dutch translation from translation project.
40060         * po/pl.po: Update Polish translation from translation project.
40061         * po/ru.po: Update Russian translation from translation project.
40063 2013-07-24  David S. Miller  <davem@davemloft.net>
40065         * po/libc.pot: Update.
40067 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40069         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
40070         variable page size.
40071         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
40072         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
40073         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
40075 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40077         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
40079 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
40080             Andreas Schwab  <schwab@suse.de>
40081             Roland McGrath  <roland@hack.frob.com>
40082             Joseph Myers  <joseph@codesourcery.com>
40083             Carlos O'Donell  <carlos@redhat.com>
40085         [BZ #15755]
40086         * config.h.in: Define HAVE_PT_CHOWN.
40087         * config.make.in (build-pt-chown): New variable.
40088         * configure.in (--enable-pt_chown): New configure option.
40089         * configure: Regenerate.
40090         * login/Makefile: Include Makeconfig.  Build pt_chown only if
40091         build-pt-chown is enabled.
40092         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
40093         pt_chown to fix pty ownership.
40094         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
40095         CLOSE_ALL_FDS.
40096         * manual/install.texi (Configuring and compiling): Mention
40097         --enable-pt_chown. Add @findex for grantpt.
40098         * INSTALL: Regenerate.
40100 2013-07-20  David S. Miller  <davem@davemloft.net>
40102         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
40103         difference between 32-bit and 64-bit.
40105 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
40107         [BZ #15711]
40108         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
40109         Avoid system header dependency with -ffreestanding.
40110         ($(objpfx)bits/syscall%d): Likewise.
40112 2013-07-13  David S. Miller  <davem@davemloft.net>
40114         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
40115         underflows from atanl/atan2l due to bug 15319.
40116         (casinh_test_data): Likewise.
40118 2013-07-07  David S. Miller  <davem@davemloft.net>
40120         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
40122 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
40124         * sysdeps/i386/fpu/libm-test-ulps: Update.
40125         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40127 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
40129         * configure.in (--enable-lock-elision): Fix message text.
40130         * INSTALL: Regenerate.
40131         * configure: Regenerate.
40133 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40135         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40137 2013-07-03  Andreas Jaeger  <aj@suse.de>
40139         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
40140         define.
40141         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
40142         (ptrace_peeksiginfo_args): Add.
40143         (__ptrace_peeksiginfo_flags): Add.
40144         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
40145         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
40146         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
40148 2013-07-03  Allan McRae  <allan@archlinux.org>
40150         * sysdeps/i386/fpu/libm-test-ulps: Update.
40152 2013-07-02  David S. Miller  <davem@davemloft.net>
40154         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40156 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
40158         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40160 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
40162         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
40163         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40165 2013-07-02  Andi Kleen <ak@linux.intel.com>
40167         * config.h.in (ENABLE_LOCK_ELISION): Add.
40168         * configure.in (--enable-lock-elision): Add option.
40169         * manual/install.texi: Document --enable lock elision.
40170         * configure: Regenerate
40171         * INSTALL: Regenerate.
40173 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
40175         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
40176         SSE4.2 strcasecmp for libc.a.
40177         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
40179 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
40181         [BZ #13304]
40182         * soft-fp/op-common.h (_FP_FMA): New macro.
40183         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
40184         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
40185         (_FP_MUL_MEAT_1_imm): ... here.
40186         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
40187         (_FP_MUL_MEAT_1_wide): ... here.
40188         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
40189         (_FP_MUL_MEAT_1_hard): ... here.
40190         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
40191         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
40192         (_FP_MUL_MEAT_2_wide): ... here.
40193         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
40194         (_FP_MUL_MEAT_2_wide_3mul): ... here.
40195         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
40196         (_FP_MUL_MEAT_2_gmp): ... here.
40197         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
40198         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
40199         (_FP_MUL_MEAT_4_wide): ... here.
40200         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
40201         (_FP_MUL_MEAT_4_gmp): ... here.
40202         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
40203         (_FP_WFRACBITS_DW_S): Likewise.
40204         (_FP_WFRACXBITS_DW_S): Likewise.
40205         (_FP_HIGHBIT_DW_S): Likewise.
40206         (FP_FMA_S): Likewise.
40207         (_FP_FRAC_HIGH_DW_S): Likewise.
40208         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
40209         (_FP_WFRACBITS_DW_D): Likewise.
40210         (_FP_WFRACXBITS_DW_D): Likewise.
40211         (_FP_HIGHBIT_DW_D): Likewise.
40212         (FP_FMA_D): Likewise.
40213         (_FP_FRAC_HIGH_DW_D): Likewise.
40214         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
40215         (_FP_WFRACBITS_DW_E): Likewise.
40216         (_FP_WFRACXBITS_DW_E): Likewise.
40217         (_FP_HIGHBIT_DW_E): Likewise.
40218         (FP_FMA_E): Likewise.
40219         (_FP_FRAC_HIGH_DW_E): Likewise.
40220         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
40221         (_FP_WFRACBITS_DW_Q): Likewise.
40222         (_FP_WFRACXBITS_DW_Q): Likewise.
40223         (_FP_HIGHBIT_DW_Q): Likewise.
40224         (FP_FMA_Q): Likewise.
40225         (_FP_FRAC_HIGH_DW_Q): Likewise.
40226         * soft-fp/fmasf4.c: New file.
40227         * soft-fp/fmadf4.c: Likewise.
40228         * soft-fp/fmatf4.c: Likewise.
40230 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
40232         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
40233         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
40234         Silvermont.
40235         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
40236         macro.
40237         (index_Slow_SSE4_2): Likewise.
40238         (index_Prefer_PMINUB_for_stringop): Likewise.
40239         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
40240         bit_Slow_SSE4_2 is set.
40241         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
40242         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
40244 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
40246         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
40247         rtld_global._dl_hwcap2.
40248         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
40249         POWER8.
40250         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
40251         POWER8 feature descriptions defined in _dl_hwcap2.
40252         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
40253         string handling for POWER8 feature bits.
40254         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
40255         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
40256         _dl_powerpc_cap_flags.
40257         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
40258         * sysdeps/powerpc/rtld-global-offsets.sym
40259         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
40260         _dl_hwcap2 in the rtld_global_ro structure.
40262 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
40264         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
40265         hardware capabilities in support of AT_HWCAP2.
40266         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
40267         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
40268         GLRO(dl_hwcap2).
40269         (_dl_show_auxv): Add support for calling _dl_procinfo to display
40270         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
40271         explicitly the unknown a_type display mechanism is used.
40272         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
40273         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
40274         struct member.
40275         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
40276         to macro prototype for AT_HWCAP2 support.
40277         * sysdeps/i386/dl-procinfo.h: Likewise.
40278         * sysdeps/s390/dl-procinfo.h: Likewise.
40279         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
40280         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
40281         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
40282         return -1 for unknown a_type display fallback.
40283         * sysdeps/sparc/dl-procinfo.h: Likewise.
40284         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
40285         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
40287 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
40289         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
40290         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
40292 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
40294         [BZ #12492]
40295         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
40296         mprotect making __stack_prot writable.
40298 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
40299             Joseph Myers  <joseph@codesourcery.com>
40301         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
40302         as being properly aligned.
40304 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
40306         * dlfcn/modstatic5.c: New file.
40307         * dlfcn/tststatic5.c: New file.
40308         * dlfcn/Makefile (tests): Add tststatic5.
40309         (tests-static): Likewise.
40310         (modules-names): Add modstatic5.
40311         (tststatic5-ENV): New variable.
40312         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
40314         [BZ #15022]
40315         * elf/dl-support.c (_dl_main_map): New variable.
40316         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
40317         (_dl_nns, _dl_load_adds): Set to 1.
40318         (_dl_initial_searchlist): Refer to _dl_main_map.
40319         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
40320         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
40321         call to _dl_get_origin.
40322         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
40323         around call_map.
40324         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
40325         * dlfcn/modstatic3.c: New file.
40326         * dlfcn/tststatic3.c: New file.
40327         * dlfcn/tststatic4.c: New file.
40328         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
40329         (tests-static): Likewise.
40330         (modules-names): Add modstatic3.
40331         (tststatic3-ENV, tststatic4-ENV): New variables.
40332         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
40333         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
40335 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
40337         * configure.in (CC): Require GCC version 4.4 or later.
40338         * configure: Regenerated.
40339         * manual/install.texi (Tools for Compilation): Update GCC version
40340         requirement.
40341         * INSTALL: Regenerated.
40343 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
40345         [BZ #15674]
40346         * string/test-memcmp.c (check2): New.
40347         (main): Call check2.
40349         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
40351 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
40353         [BZ #15022]
40354         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
40355         over to...
40356         (dl_open_worker) [!SHARED]: ... here.
40358 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
40360         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
40362 2013-06-25  Richard Henderson  <rth@redhat.com>
40364         * locale/programs/locarchive.c: Include <libc-internal.h>
40366 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
40368         * manual/texinfo.tex: Update to version 2013-06-21.17, with
40369         trailing whitespace removed.
40371 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
40373         [BZ #10283]
40374         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
40375         * locale/programs/locarchive.c: Include libc-mmap.h.
40376         (prepare_address_space): Take two new outputs (the mmap base and len).
40377         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
40378         values.
40379         (create_archive): Declare new mmap base and len values for
40380         prepare_address_space, and store the result in ah.
40381         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
40382         (enlarge_archive): If ah->mmap_base is not NULL, use that and
40383         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
40384         Declare new mmap base and len values for
40385         prepare_address_space, and store the result in new_ah.
40386         (open_archive): Declare new mmap base and len values for
40387         prepare_address_space, and store the result in ah.
40388         (close_archive): If ah->mmap_base is not NULL, use that and
40389         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
40390         * sysdeps/generic/libc-mmap.h: New file.
40392 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
40394         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
40395         (ALIGN_UP): Likewise.
40396         (PTR_ALIGN_DOWN): Likewise.
40397         (PTR_ALIGN_UP): Likewise.
40399 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
40401         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
40402         entry mapped to PPC_PLATFORM_POWER8.
40403         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
40404         POWER8.
40405         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
40406         (_dl_string_platform): Add case for exporting platform position for
40407         POWER8.
40408         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
40409         search path to sysdeps/powerpc/powerpc32/power8 directory.
40410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
40411         search path to sysdeps/powerpc/powerpc64/power8 directory.
40412         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
40413         power7 directories.
40414         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
40415         power7 directories.
40417 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
40419         * INSTALL: Regenerate.
40421         * nscd/connections.c (nscd_init): Fix comment.
40423 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
40425         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
40427         [BZ #15667]
40428         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
40429         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
40431 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
40433         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
40434         DL_DST_REQ_STATIC.
40435         (DL_DST_REQ_STATIC): Remove macro.
40437 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
40439         [BZ #7006]
40440         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
40441         with a shift of 0 bits.
40443 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
40445         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
40446         $(tststatic-ENV).
40448 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40450         [BZ #15655]
40451         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
40453 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40455         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
40456         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
40457         accepts -fno-tree-loop-distribute-patterns.
40458         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
40459         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
40460         recursive call.
40461         * string/memset.c (memset): Likewise.
40462         * string/test-memmove.c (simple_memmove): Disable loop transformation
40463         to library calls.
40464         * string/test-memset.c (simple_memset): Likewise.
40465         * benchtests/bench-memmove.c (simple_memmove): Likewise.
40466         * benchtests/bench-memset.c (simple_memset): Likewise.
40467         * configure: Regenerated.
40469 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
40471         * math/test-misc.c (main): Ignore fesetround failure when failures
40472         of subsequent rounding tests would be ignored.
40474         [BZ #15654]
40475         * math/fedisblxcpt.c (fedisableexcept): Return 0.
40476         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
40477         * math/fegetenv.c (__fegetenv): Return 0.
40478         * math/fegetexcept.c (fegetexcept): Return 0.
40479         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
40480         FE_TONEAREST.
40481         * math/feholdexcpt.c (feholdexcept): Return 0.
40482         * math/fesetenv.c (__fesetenv): Return 0.
40483         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
40484         argument FE_TONEAREST.
40485         * math/feupdateenv.c (__feupdateenv): Return 0.
40486         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
40488 2013-06-18  Roland McGrath  <roland@hack.frob.com>
40490         * elf/rtld-Rules (rtld-compile-command.S): New variable.
40491         (rtld-compile-command.s, rtld-compile-command.c): New variables.
40492         ($(objpfx)rtld-%.os rules): Use them.
40494 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40496         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
40497         fields.
40499 2013-06-17  Roland McGrath  <roland@hack.frob.com>
40501         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
40502         length of target pattern, then descending length of dependency pattern.
40503         * configure.in (AWK): Require gawk 3.1.2 or newer.
40504         * manual/install.texi (Tools for Compilation): Say that we do.
40505         * configure: Regenerated.
40507         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
40508         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
40509         * scripts/sysd-rules.awk: ... this new script.
40510         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
40511         than a glob-style pattern.
40513 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
40515         * math/test-misc.c (main): Do not treat incorrectly rounded
40516         conversions as failure unless ROUNDING_TESTS passes.
40518 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
40520         [BZ #15631]
40521         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
40522         restore exception state around main square root computation, then
40523         check for inexactness explicitly.
40525         * math/libm-test.inc (fma_test_data): Add another test.
40527 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
40529         * manual/threads.texi (Non-POSIX Extensions): New document
40530         node.  Document pthread_getattr_default_np and
40531         pthread_setattr_default_np.
40533         * Versions.def (libpthread): Add GLIBC_2.18.
40534         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
40535         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
40536         Likewise.
40537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
40538         Likewise.
40539         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
40540         Likewise.
40541         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
40542         Likewise.
40543         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
40544         Likewise.
40545         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
40546         Likewise.
40547         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
40548         Likewise.
40549         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
40550         Likewise.
40551         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
40552         Likewise.
40554 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
40556         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40557         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
40559 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
40560             H.J. Lu  <hjl.tools@gmail.com>
40562         [BZ #15627]
40563         * sysdeps/x86_64/rtld-memset.c: Remove file.
40564         * sysdeps/x86_64/rtld-memset.S: New file.
40566 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
40568         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
40569         (test_in_one_mode): Take arguments for whether the rounding mode
40570         is supported for each floating-point type.
40571         (do_test): Pass new arguments to test_in_one_mode using
40572         ROUNDING_TESTS.
40574 2013-06-13  Roland McGrath  <roland@hack.frob.com>
40576         * posix/tst-waitid.c (do_test): Distinguish different instances of
40577         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
40578         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
40579         before entering the kernel for waitpid.
40581 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
40583         * NEWS: Fix note on clock function precision.  Text by Roland
40584         McGrath.
40586 2013-06-13  Roland McGrath  <roland@hack.frob.com>
40588         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
40589         it into place only when and if the sanity check passes.
40591 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
40593         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
40594         output for whether conversion result is exact.  Take argument
40595         indicating whether type is IBM long double.
40596         (round_for_all): Change need_exact field to ibm_ld.
40597         * stdlib/tst-strtod-round.c (struct exactness): New type.
40598         (struct test): Change bool ld_ok field to struct exactness exact.
40599         (TEST): Update all definitions for change to field.
40600         (tests): Regenerate array contents.
40601         (test_in_one_mode): Take pointer to new field instead of old ld_ok
40602         field value.  Check for IBM long double here.
40603         (do_test): Update calls to test_in_one_mode.
40605 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
40607         [BZ #12515]
40608         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
40609         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
40611 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40613         [BZ #15605]
40614         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
40615         generated by the compiler on loop optimizations.
40616         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
40617         general definitions.
40619 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
40621         * math/bug-nextafter.c: Include <math-tests.h>.
40622         (main): Only test for exceptions if EXCEPTION_TESTS is true for
40623         the relevant type.
40624         * math/bug-nexttoward.c: Include <math-tests.h>.
40625         (main): Only test for exceptions if EXCEPTION_TESTS is true for
40626         the relevant type.
40627         * math/test-misc.c: Include <math-tests.h>.
40628         (main): Only test for exceptions if EXCEPTION_TESTS is true for
40629         the relevant type.
40631 2013-06-12  Andreas Jaeger  <aj@suse.de>
40633         * po/ia.po: Update Interlingua translation from translation
40634         project.
40636 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
40638         * include/fenv.h: Include stdbool.h.
40639         (struct rm_ctx): New structure.
40640         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
40641         Define macro.
40642         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
40643         (SET_RESTORE_ROUNDF): Likewise.
40644         (SET_RESTORE_ROUNDL): Likewise.
40645         (SET_RESTORE_ROUND_NOEX): Likewise.
40646         (SET_RESTORE_ROUND_NOEXF): Likewise.
40647         (SET_RESTORE_ROUND_NOEXL): Likewise.
40648         (SET_RESTORE_ROUND_53BIT): Likewise.
40649         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
40650         (libc_feresetround_noexf_ctx): Likewise.
40651         (libc_feresetround_noexl_ctx): Likewise.
40652         (libc_feholdsetround_53bit_ctx): Likewise.
40653         (libc_feresetround_53bit_ctx): Likewise.
40654         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
40655         (libc_feholdexcept_setround_sse_ctx): New function.
40656         (libc_fesetenv_sse_ctx): Likewise.
40657         (libc_feupdateenv_sse_ctx): Likewise.
40658         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
40659         (libc_feholdexcept_setround_387_ctx): Likewise.
40660         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
40661         (libc_feholdsetround_387_prec_ctx): Likewise.
40662         (libc_feholdsetround_387_ctx): Likewise.
40663         (libc_feholdsetround_387_53bit_ctx): Likewise.
40664         (libc_feholdsetround_sse_ctx): Likewise.
40665         (libc_feresetround_sse_ctx): Likewise.
40666         (libc_feresetround_387_ctx): Likewise.
40667         (libc_feupdateenv_387_ctx): Likewise.
40668         (libc_feholdexcept_setroundf_ctx): Define macro.
40669         (libc_fesetenvf_ctx): Likewise.
40670         (libc_feupdateenvf_ctx): Likewise.
40671         (libc_feholdsetroundf_ctx): Likewise.
40672         (libc_feresetroundf_ctx): Likewise.
40673         (libc_feholdexcept_setround_ctx): Likewise.
40674         (libc_fesetenv_ctx): Likewise.
40675         (libc_feupdateenv_ctx): Likewise.
40676         (libc_feholdsetround_ctx): Likewise.
40677         (libc_feresetround_ctx): Likewise.
40678         (libc_feholdexcept_setroundl_ctx): Likewise.
40679         (libc_feupdateenvl_ctx): Likewise.
40680         (libc_feholdsetroundl_ctx): Likewise.
40681         (libc_feresetroundl_ctx): Likewise.
40682         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
40683         (libc_feresetround_53bit_ctx): Likewise.
40685 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
40687         * locale/iso-639.def: Convert to UTF-8.
40689 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
40691         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
40692         (EXCEPTION_TESTS_double): Likewise.
40693         (EXCEPTION_TESTS_long_double): Likewise.
40694         (EXCEPTION_TESTS): Likewise.
40695         * math/libm-test.inc (test_exceptions): Only test exceptions if
40696         EXCEPTION_TESTS (FLOAT).
40698 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
40700         * benchtests/Makefile (string-bench): Add strcpy_chk and
40701         stpcpy_chk.
40702         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
40703         * benchtests/bench-stpcpy_chk.c: New file.
40704         * benchtests/bench-strcpy_chk-ifunc.c: New file.
40705         * benchtests/bench-strcpy_chk.c: New file.
40706         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
40707         code.
40708         (do_test): Likewise.
40710 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
40712         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
40713         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
40714         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
40715         with tabs where appropriate.
40716         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
40717         dl-procinfo.h.
40718         [PPC_PLATFORM_PPC440]: Likewise.
40719         [PPC_PLATFORM_PPC464]: Likewise.
40720         [PPC_PLATFORM_PPC476]: Likewise.
40721         (_dl_string_platform): Add support for detecting ppc405, ppc440,
40722         ppc464, and ppc476 platform strings merging from ports/
40723         dl-procinfo.h.
40725 2013-06-11  Andreas Schwab  <schwab@suse.de>
40727         [BZ #14991]
40728         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
40729         (from_ucs4_idx): Regenerate.
40730         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
40731         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
40732         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
40733         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
40734         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
40735         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
40736         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
40737         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
40738         from FROM_LOOP and TO_LOOP specific macros.
40739         (BODY): Handle combining characters.
40740         * iconvdata/BIG5HKSCS.irreversible: Update.
40741         * iconvdata/BIG5HKSCS.precomposed: New file.
40742         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
40743         characters.
40744         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
40746 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
40748         * include/sys/time.h: Fix indentation and add copyright header.
40750         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
40751         (do_test): Likewise.
40752         * string/test-memchr.c (do_one_test): Likewise.
40753         (do_test): Likewise.
40754         * string/test-memcmp.c (do_one_test): Likewise.
40755         (do_test): Likewise.
40756         * string/test-memcpy.c (do_one_test): Likewise.
40757         (do_test): Likewise.
40758         * string/test-memmem.c (do_one_test): Likewise.
40759         (do_test): Likewise.
40760         (do_random_tests): Likewise.
40761         * string/test-memmove.c (do_one_test): Likewise.
40762         (do_test): Likewise.
40763         * string/test-memset.c (do_one_test): Likewise.
40764         (do_test): Likewise.
40765         * string/test-rawmemchr.c (do_one_test): Likewise.
40766         (do_test): Likewise.
40767         * string/test-strcasecmp.c (do_one_test): Likewise.
40768         (do_test): Likewise.
40769         * string/test-strcasestr.c (do_one_test): Likewise.
40770         (do_test): Likewise.
40771         * string/test-strcat.c (do_one_test): Likewise.
40772         (do_test): Likewise.
40773         * string/test-strchr.c (do_one_test): Likewise.
40774         (do_test): Likewise.
40775         * string/test-strcmp.c (do_one_test): Likewise.
40776         (do_test): Likewise.
40777         * string/test-strcpy.c (do_one_test): Likewise.
40778         (do_test): Likewise.
40779         * string/test-string.h: Likewise.
40780         (test_init): Likewise.
40781         * string/test-strlen.c (do_one_test): Likewise.
40782         (do_test): Likewise.
40783         * string/test-strncasecmp.c (do_one_test): Likewise.
40784         (do_test): Likewise.
40785         * string/test-strncat.c (do_one_test): Likewise.
40786         (do_test): Likewise.
40787         * string/test-strncmp.c (do_one_test): Likewise.
40788         (do_test_limit): Likewise.
40789         (do_test): Likewise.
40790         * string/test-strncpy.c (do_one_test): Likewise.
40791         (do_test): Likewise.
40792         * string/test-strnlen.c (do_one_test): Likewise.
40793         (do_test): Likewise.
40794         * string/test-strpbrk.c (do_one_test): Likewise.
40795         (do_test): Likewise.
40796         * string/test-strrchr.c (do_one_test): Likewise.
40797         (do_test): Likewise.
40798         * string/test-strspn.c (do_one_test): Likewise.
40799         (do_test): Likewise.
40800         * string/test-strstr.c (do_one_test): Likewise.
40801         (do_test): Likewise.
40803         * benchtests/Makefile (string-bench): Add string benchmarks.
40804         * benchtests/bench-bcopy-ifunc.c: New file.
40805         * benchtests/bench-bcopy.c: New file.
40806         * benchtests/bench-bzero-ifunc.c: New file.
40807         * benchtests/bench-bzero.c: New file.
40808         * benchtests/bench-memccpy-ifunc.c: New file.
40809         * benchtests/bench-memccpy.c: New file.
40810         * benchtests/bench-memchr-ifunc.c: New file.
40811         * benchtests/bench-memchr.c: New file.
40812         * benchtests/bench-memcmp-ifunc.c: New file.
40813         * benchtests/bench-memcmp.c: New file.
40814         * benchtests/bench-memmem-ifunc.c: New file.
40815         * benchtests/bench-memmem.c: New file.
40816         * benchtests/bench-memmove-ifunc.c: New file.
40817         * benchtests/bench-memmove.c: New file.
40818         * benchtests/bench-mempcpy-ifunc.c: New file.
40819         * benchtests/bench-mempcpy.c: New file.
40820         * benchtests/bench-memset-ifunc.c: New file.
40821         * benchtests/bench-memset.c: New file.
40822         * benchtests/bench-rawmemchr-ifunc.c: New file.
40823         * benchtests/bench-rawmemchr.c: New file.
40824         * benchtests/bench-stpcpy-ifunc.c: New file.
40825         * benchtests/bench-stpcpy.c: New file.
40826         * benchtests/bench-stpncpy-ifunc.c: New file.
40827         * benchtests/bench-stpncpy.c: New file.
40828         * benchtests/bench-strcasecmp-ifunc.c: New file.
40829         * benchtests/bench-strcasecmp.c: New file.
40830         * benchtests/bench-strcasestr-ifunc.c: New file.
40831         * benchtests/bench-strcasestr.c: New file.
40832         * benchtests/bench-strcat-ifunc.c: New file.
40833         * benchtests/bench-strcat.c: New file.
40834         * benchtests/bench-strchr-ifunc.c: New file.
40835         * benchtests/bench-strchr.c: New file.
40836         * benchtests/bench-strchrnul-ifunc.c: New file.
40837         * benchtests/bench-strchrnul.c: New file.
40838         * benchtests/bench-strcmp-ifunc.c: New file.
40839         * benchtests/bench-strcmp.c: New file.
40840         * benchtests/bench-strcpy-ifunc.c: New file.
40841         * benchtests/bench-strcpy.c: New file.
40842         * benchtests/bench-strcspn-ifunc.c: New file.
40843         * benchtests/bench-strcspn.c: New file.
40844         * benchtests/bench-strlen-ifunc.c: New file.
40845         * benchtests/bench-strlen.c: New file.
40846         * benchtests/bench-strncasecmp-ifunc.c: New file.
40847         * benchtests/bench-strncasecmp.c: New file.
40848         * benchtests/bench-strncat-ifunc.c: New file.
40849         * benchtests/bench-strncat.c: New file.
40850         * benchtests/bench-strncmp-ifunc.c: New file.
40851         * benchtests/bench-strncmp.c: New file.
40852         * benchtests/bench-strncpy-ifunc.c: New file.
40853         * benchtests/bench-strncpy.c: New file.
40854         * benchtests/bench-strnlen-ifunc.c: New file.
40855         * benchtests/bench-strnlen.c: New file.
40856         * benchtests/bench-strpbrk-ifunc.c: New file.
40857         * benchtests/bench-strpbrk.c: New file.
40858         * benchtests/bench-strrchr-ifunc.c: New file.
40859         * benchtests/bench-strrchr.c: New file.
40860         * benchtests/bench-strspn-ifunc.c: New file.
40861         * benchtests/bench-strspn.c: New file.
40862         * benchtests/bench-strstr-ifunc.c: New file.
40863         * benchtests/bench-strstr.c: New file.
40865         * benchtests/Makefile: Disable parallel execution of targets.
40866         (string-bench): Add memcpy.
40867         (benchset): New variable to store a list of benchmark sets.
40868         (bench-func): Renamed from bench.
40869         (bench-set): New target.
40870         (bench): Depend on bench-func and bench-set.
40871         * benchtests/README: Add section on benchmark sets.
40872         * benchtests/bench-memcpy-ifunc.c: New file.
40873         * benchtests/bench-memcpy.c: New file.
40874         * benchtests/bench-string.h: New file.
40876 2013-06-11  Andreas Schwab  <schwab@suse.de>
40878         [BZ #15577]
40879         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
40880         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
40881         values in the triple.
40882         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
40883         terminator in the group key.
40885 2013-06-11  Andreas Jaeger  <aj@suse.de>
40887         * po/zh_TW.po: Update Chinese (traditional) translation from
40888         translation project.
40890 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
40892         * include/time.h (__clock_gettime): Add libc_hidden_proto.
40893         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
40894         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
40895         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
40896         (clock_getcpuclockid): Likewise.
40897         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
40898         Add weak_alias and libc_hidden_def.
40899         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
40900         * rt/clock_gettime.c (clock_gettime): Rename to
40901         __clock_gettime.  Add weak_alias and libc_hidden_def.
40902         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
40903         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
40904         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
40905         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
40906         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
40907         Likewise.
40908         * rt/clock_settime.c (clock_settime): Rename to
40909         __clock_settime.  Add weak_alias and libc_hidden_def.
40910         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
40912 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
40914         * mach/err_boot.sub: Remove trailing whitespace.
40915         * mach/err_ipc.sub: Likewise.
40916         * mach/err_mach.sub: Likewise.
40918         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
40919         (ROUNDING_TESTS_double): Likewise.
40920         (ROUNDING_TESTS_long_double): Likewise.
40921         (ROUNDING_TESTS): Likewise.
40922         * math/libm-test.inc: Include <math-tests.h>.
40923         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
40924         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
40925         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
40926         (IF_ROUND_INIT_FE_UPWARD): Likewise.
40928 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
40930         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
40931         of assigning.
40933 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
40935         * sysdeps/gnu/errlist.awk: Do not generate space at end of
40936         otherwise empty TRANS lines.
40937         * sysdeps/gnu/errlist.c: Regenerated.
40939         * catgets/gencat.c (error_print): Use (void) in function
40940         definition.
40941         * crypt/crypt_util.c (__init_des): Likewise.
40942         * crypt/speeds.c (Stop): Likewise.
40943         (main): Likewise.
40944         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
40945         * inet/ruserpass.c (token): Likewise.
40946         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
40947         * intl/localealias.c (extend_alias_table): Likewise.
40948         * intl/plural-exp.c (init_germanic_plural): Likewise.
40949         * libio/fcloseall.c (__fcloseall): Likewise.
40950         * libio/genops.c (_IO_flush_all): Likewise.
40951         (_IO_flush_all_linebuffered): Likewise.
40952         (_IO_cleanup): Likewise.
40953         (_IO_iter_begin): Likewise.
40954         (_IO_iter_end): Likewise.
40955         (_IO_list_lock): Likewise.
40956         (_IO_list_unlock): Likewise.
40957         (_IO_list_resetlock): Likewise.
40958         * libio/getchar.c (getchar): Likewise.
40959         * libio/getchar_u.c (getchar_unlocked): Likewise.
40960         * libio/getwchar.c (getwchar): Likewise.
40961         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
40962         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
40963         * login/getpt.c (__getpt): Likewise.
40964         * login/tst-utmp.c (main): Likewise.
40965         * malloc/hooks.c (__malloc_check_init): Likewise.
40966         * malloc/malloc.c (__malloc_stats): Likewise.
40967         * malloc/mtrace.c (tr_break): Likewise.
40968         (mtrace): Likewise.
40969         (muntrace): Likewise.
40970         * misc/fstab.c (endfsent): Likewise.
40971         * misc/getclktck.c (__getclktck): Likewise.
40972         * misc/getdtsz.c (__getdtablesize): Likewise.
40973         * misc/gethostid.c (gethostid): Likewise.
40974         * misc/getpagesize.c (__getpagesize): Likewise.
40975         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
40976         (__get_nprocs): Likewise.
40977         (__get_phys_pages): Likewise.
40978         (__get_avphys_pages): Likewise.
40979         * misc/getttyent.c (getttyent): Likewise.
40980         (setttyent): Likewise.
40981         (endttyent): Likewise.
40982         * misc/getusershell.c (getusershell): Likewise.
40983         (endusershell): Likewise.
40984         (setusershell): Likewise.
40985         (initshells): Likewise.
40986         * misc/hsearch.c (__hdestroy): Likewise.
40987         * misc/sync.c (sync): Likewise.
40988         * misc/syslog.c (closelog_internal): Likewise.
40989         (closelog): Likewise.
40990         * misc/ttyslot.c (ttyslot): Likewise.
40991         * misc/vhangup.c (vhangup): Likewise.
40992         * posix/fork.c (__fork): Likewise.
40993         * posix/getegid.c (__getegid): Likewise.
40994         * posix/geteuid.c (__geteuid): Likewise.
40995         * posix/getgid.c (__getgid): Likewise.
40996         * posix/getpid.c (__getpid): Likewise.
40997         * posix/getppid.c (__getppid): Likewise.
40998         * posix/getuid.c (__getuid): Likewise.
40999         * posix/pause.c (pause): Likewise.
41000         * posix/setpgrp.c (setpgrp): Likewise.
41001         * posix/setsid.c (__setsid): Likewise.
41002         * posix/test-vfork.c (noop): Likewise.
41003         * resolv/gethnamaddr.c (_endhtent): Likewise.
41004         (_gethtent): Likewise.
41005         (ht_endhostent): Likewise.
41006         (gethostent): Likewise.
41007         (dns_service): Likewise.
41008         * stdlib/drand48.c (drand48): Likewise.
41009         * stdlib/lrand48.c (lrand48): Likewise.
41010         * stdlib/mrand48.c (mrand48): Likewise.
41011         * stdlib/rand.c (rand): Likewise.
41012         * stdlib/random.c (__random): Likewise.
41013         * stdlib/setenv.c (clearenv): Likewise.
41014         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
41015         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
41016         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
41017         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
41018         (__get_nprocs): Likewise.
41019         (__get_phys_pages): Likewise.
41020         (__get_avphys_pages): Likewise.
41021         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
41022         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
41023         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
41024         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
41025         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
41026         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
41027         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
41028         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
41029         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
41030         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
41031         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
41032         * sysdeps/mach/hurd/sync.c (sync): Likewise.
41033         * sysdeps/posix/clock.c (clock): Likewise.
41034         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
41035         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
41036         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
41037         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
41038         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
41039         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
41040         (__get_nprocs_conf): Likewise.
41041         (__get_phys_pages): Likewise.
41042         (__get_avphys_pages): Likewise.
41043         * time/clock.c (clock): Likewise.
41044         * time/tzset.c (__tzname_max): Likewise.
41046 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
41048         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
41049         (__bswap_32): Do not use "register".
41050         * crypt/crypt.c (_ufc_doit_r): Likewise.
41051         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
41052         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
41053         * gmon/gmon.c (__monstartup): Likewise.
41054         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
41055         * hurd/hurdmalloc.c (more_memory): Likewise.
41056         (malloc): Likewise.
41057         (free): Likewise.
41058         (realloc): Likewise.
41059         (malloc_fork_prepare): Likewise.
41060         (malloc_fork_parent): Likewise.
41061         (malloc_fork_child): Likewise.
41062         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
41063         (_svcauth_des): Likewise.
41064         * inet/inet_lnaof.c (inet_lnaof): Likewise.
41065         * inet/inet_net.c (inet_network): Likewise.
41066         * inet/inet_netof.c (inet_netof): Likewise.
41067         * inet/rcmd.c (__validuser2_sa): Likewise.
41068         * io/fts.c (fts_open): Likewise.
41069         (fts_load): Likewise.
41070         (fts_close): Likewise.
41071         (fts_read): Likewise.
41072         (fts_children): Likewise.
41073         (fts_build): Likewise.
41074         (fts_stat): Likewise.
41075         (fts_sort): Likewise.
41076         (fts_alloc): Likewise.
41077         (fts_lfree): Likewise.
41078         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
41079         (_IO_file_xsgetn): Likewise.
41080         (_IO_file_xsgetn_mmap): Likewise.
41081         * libio/iofopncook.c (_IO_cookie_read): Likewise.
41082         (_IO_cookie_write): Likewise.
41083         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
41084         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
41085         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
41086         * malloc/obstack.c (_obstack_begin): Likewise.
41087         (_obstack_begin_1): Likewise.
41088         (_obstack_newchunk): Likewise.
41089         (_obstack_allocated_p): Likewise.
41090         (obstack_free): Likewise.
41091         (_obstack_memory_used): Likewise.
41092         * misc/getttyent.c (getttynam): Likewise.
41093         (getttyent): Likewise.
41094         (skip): Likewise.
41095         (value): Likewise.
41096         * misc/getusershell.c (initshells): Likewise.
41097         * misc/syslog.c (__vsyslog_chk): Likewise.
41098         * misc/ttyslot.c (ttyslot): Likewise.
41099         * nis/nis_hash.c (__nis_hash): Likewise.
41100         * posix/fnmatch_loop.c (FCT): Likewise.
41101         * posix/getconf.c (print_all): Likewise.
41102         (main): Likewise.
41103         * posix/getopt.c (exchange): Likewise.
41104         * posix/glob.c (globfree): Likewise.
41105         (prefix_array): Likewise.
41106         (__glob_pattern_type): Likewise.
41107         * resolv/arpa/nameser.h (NS_GET16): Likewise.
41108         (NS_GET32): Likewise.
41109         (NS_PUT16): Likewise.
41110         (NS_PUT32): Likewise.
41111         * resolv/gethnamaddr.c (getanswer): Likewise.
41112         (gethostbyname2): Likewise.
41113         (gethostbyaddr): Likewise.
41114         (_gethtent): Likewise.
41115         (_gethtbyname2): Likewise.
41116         (_gethtbyaddr): Likewise.
41117         * resolv/ns_print.c (dst_s_get_int16): Likewise.
41118         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
41119         * resolv/res_init.c (__res_vinit): Likewise.
41120         (net_mask): Likewise.
41121         * resolv/res_mkquery.c (outchar): Likewise.
41122         (PRINT): Likewise.
41123         * stdio-common/printf_fp.c (outchar): Likewise.
41124         (PRINT): Likewise.
41125         * stdio-common/printf_fphex.c (outchar): Likewise.
41126         (PRINT): Likewise.
41127         * stdio-common/printf_size.c (outchar): Likewise.
41128         (PRINT): Likewise.
41129         * stdio-common/test_rdwr.c (main): Likewise.
41130         * stdio-common/tfformat.c (matches): Likewise.
41131         * stdio-common/vfprintf.c (outchar): Likewise.
41132         (printf_unknown): Likewise.
41133         (buffered_vfprintf): Likewise.
41134         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
41135         * stdio-common/xbug.c (AppendToBuffer): Likewise.
41136         (ReadFile): Likewise.
41137         * stdlib/qsort.c (SWAP): Likewise.
41138         (_quicksort): Likewise.
41139         * stdlib/setenv.c (__add_to_environ): Likewise.
41140         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
41141         * stdlib/strtol_l.c (__strtol_l): Likewise.
41142         * stdlib/tst-strtod.c (main): Likewise.
41143         * stdlib/tst-strtol.c (main): Likewise.
41144         * stdlib/tst-strtoll.c (main): Likewise.
41145         * string/bits/string2.h (__strcmp_cc): Likewise.
41146         (__strcmp_cg): Likewise.
41147         (__strcspn_c1): Likewise.
41148         (__strcspn_c2): Likewise.
41149         (__strcspn_c3): Likewise.
41150         (__strspn_c1): Likewise.
41151         (__strspn_c2): Likewise.
41152         (__strspn_c3): Likewise.
41153         (__strsep_1c): Likewise.
41154         (__strsep_2c): Likewise.
41155         (__strsep_3c): Likewise.
41156         * string/memccpy.c (__memccpy): Likewise.
41157         * string/stpcpy.c (__stpcpy): Likewise.
41158         * string/strcmp.c (strcmp): Likewise.
41159         * string/strrchr.c (strrchr): Likewise.
41160         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
41161         Likewise.
41162         * sysdeps/mach/hurd/getcwd.c
41163         (_hurd_canonicalize_directory_name_internal): Likewise.
41164         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
41165         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
41166         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
41167         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
41168         Likewise, in both definitions.
41169         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
41170         definitions.
41171         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
41172         64] (__bswap_64): Likewise.
41173         * time/test_time.c (main): Likewise.
41174         * time/tzfile.c (__tzfile_read): Likewise.
41175         (__tzfile_compute): Likewise.
41176         * time/tzset.c (__tzset_parse_tz): Likewise.
41177         (tzset_internal): Likewise.
41178         (compute_change): Likewise.
41179         * wcsmbs/wcscat.c (__wcscat): Likewise.
41180         * wcsmbs/wcschr.c (wcschr): Likewise.
41181         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
41182         * wcsmbs/wcscspn.c (wcscspn): Likewise.
41183         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
41184         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
41185         * wcsmbs/wcsspn.c (wcsspn): Likewise.
41186         * wcsmbs/wcsstr.c (wcsstr): Likewise.
41187         * wcsmbs/wmemchr.c (wmemchr): Likewise.
41188         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
41189         * wcsmbs/wmemset.c (wmemset): Likewise.
41191 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
41193         * scripts/config.guess: Update to version 2013-05-16.
41194         * scripts/config.sub: Update to version 2013-04-24.
41195         * scripts/install-sh: Update to version 2011-11-20.07.
41196         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
41197         * scripts/move-if-change: Update to version 2012-01-06 07:23.
41199 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
41201         * debug/fgetws_u_chk.c: Fix leading whitespaces.
41202         * elf/sln.c: Likewise.
41203         * hurd/hurd/ioctl.h: Likewise.
41204         * hurd/hurdmalloc.c: Likewise.
41205         * hurd/xattr.c: Likewise.
41206         * include/shlib-compat.h: Likewise.
41207         * inet/ruserpass.c: Likewise.
41208         * libio/iofgets_u.c: Likewise.
41209         * libio/iofgetws_u.c: Likewise.
41210         * locale/programs/ld-identification.c: Likewise.
41211         * locale/programs/ld-time.c: Likewise.
41212         * mach/msg-destroy.c: Likewise.
41213         * nss/nss_files/files-netgrp.c: Likewise.
41214         * resolv/res_data.c: Likewise.
41215         * soft-fp/op-1.h: Likewise.
41216         * soft-fp/op-2.h: Likewise.
41217         * soft-fp/op-4.h: Likewise.
41218         * soft-fp/op-common.h: Likewise.
41219         * stdio-common/printf_fphex.c: Likewise.
41220         * stdlib/strtod_l.c: Likewise.
41221         * sunrpc/rpc/clnt.h: Likewise.
41222         * sysdeps/generic/framestate.c: Likewise.
41223         * sysdeps/i386/bsd-_setjmp.S: Likewise.
41224         * sysdeps/i386/bsd-setjmp.S: Likewise.
41225         * sysdeps/i386/__longjmp.S: Likewise.
41226         * sysdeps/i386/setjmp.S: Likewise.
41227         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
41228         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
41229         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
41230         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
41231         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
41232         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
41233         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
41234         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
41235         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
41236         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
41237         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
41238         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
41239         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
41240         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
41241         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
41242         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
41243         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
41244         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
41245         * sysdeps/ieee754/support.c: Likewise.
41246         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
41247         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
41248         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
41249         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
41250         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
41251         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
41252         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
41253         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
41254         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
41255         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
41256         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
41257         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
41258         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
41259         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
41260         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
41261         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
41262         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
41263         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
41265 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
41267         * posix/transbug.c: Remove executable mode.
41269 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
41271         * crypt/speeds.c: Remove trailing whitespace.
41272         * dlfcn/default.c: Likewise.
41273         * elf/ifuncdep2.c: Likewise.
41274         * elf/ifuncmain1.c: Likewise.
41275         * elf/ifuncmain1vis.c: Likewise.
41276         * elf/testobj.h: Likewise.
41277         * elf/tst-stackguard1.c: Likewise.
41278         * gmon/sys/gmon.h: Likewise.
41279         * hurd/hurdmsg.c: Likewise.
41280         * hurd/new-fd.c: Likewise.
41281         * hurd/ports-get.c: Likewise.
41282         * iconvdata/ibm1008_420.c: Likewise.
41283         * inet/tst-getni1.c: Likewise.
41284         * inet/tst-getni2.c: Likewise.
41285         * libio/ioungetc.c: Likewise.
41286         * libio/wfiledoalloc.c: Likewise.
41287         * manual/libm-err-tab.pl: Likewise.
41288         * math/w_dremf.c: Likewise.
41289         * misc/ftruncate.c: Likewise.
41290         * posix/bug-glob2.c: Likewise.
41291         * posix/tst-pcre.c: Likewise.
41292         * posix/wait4.c: Likewise.
41293         * resolv/README: Likewise.
41294         * resolv/res_debug.h: Likewise.
41295         * resolv/tst-inet_ntop.c: Likewise.
41296         * setjmp/bug269-setjmp.c: Likewise.
41297         * soft-fp/extended.h: Likewise.
41298         * soft-fp/op-1.h: Likewise.
41299         * soft-fp/op-2.h: Likewise.
41300         * soft-fp/op-4.h: Likewise.
41301         * soft-fp/op-8.h: Likewise.
41302         * soft-fp/testit.c: Likewise.
41303         * stdio-common/bug16.c: Likewise.
41304         * stdlib/random.c: Likewise.
41305         * sunrpc/rpcsvc/rquota.x: Likewise.
41306         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
41307         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
41308         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
41309         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
41310         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
41311         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
41312         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
41313         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
41314         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
41315         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
41316         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
41317         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
41318         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
41319         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
41320         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
41321         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
41322         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
41323         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
41324         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
41325         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
41326         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
41327         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
41328         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
41329         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
41330         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
41331         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
41332         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
41333         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
41334         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
41335         * sysdeps/ieee754/s_lib_version.c: Likewise.
41336         * sysdeps/mach/hurd/check_fds.c: Likewise.
41337         * sysdeps/mach/hurd/getsockname.c: Likewise.
41338         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
41339         * sysdeps/mach/hurd/recvfrom.c: Likewise.
41340         * sysdeps/powerpc/bits/link.h: Likewise.
41341         * sysdeps/powerpc/dl-procinfo.c: Likewise.
41342         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
41343         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
41344         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
41345         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
41346         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
41347         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
41348         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
41349         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
41350         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
41351         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
41352         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
41353         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
41354         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
41355         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
41356         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
41357         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
41358         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
41359         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
41360         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
41361         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
41362         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
41363         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
41364         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
41365         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
41366         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
41367         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
41368         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
41369         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
41370         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
41371         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
41372         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
41373         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
41374         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
41375         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
41376         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
41377         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
41378         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
41379         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
41380         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
41381         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
41382         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
41383         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
41384         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
41385         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
41386         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
41387         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
41388         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
41389         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
41390         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
41391         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
41392         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
41393         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
41394         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
41395         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
41396         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
41397         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
41398         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
41399         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
41400         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
41401         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
41402         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
41403         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
41404         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
41405         * sysdeps/powerpc/sysdep.h: Likewise.
41406         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
41407         * sysdeps/s390/s390-64/sub_n.S: Likewise.
41408         * sysdeps/sh/dl-trampoline.S: Likewise.
41409         * sysdeps/sh/memset.S: Likewise.
41410         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
41411         * sysdeps/sh/strlen.S: Likewise.
41412         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
41413         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
41414         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
41415         * sysdeps/sparc/sparc32/rem.S: Likewise.
41416         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
41417         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
41418         * sysdeps/sparc/sparc32/strchr.S: Likewise.
41419         * sysdeps/sparc/sparc32/udiv.S: Likewise.
41420         * sysdeps/sparc/sparc32/urem.S: Likewise.
41421         * sysdeps/sparc/sparc64/add_n.S: Likewise.
41422         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
41423         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
41424         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
41425         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
41426         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
41427         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
41428         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
41429         * sysdeps/unix/bsd/times.c: Likewise.
41430         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
41431         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
41432         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
41433         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
41434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
41435         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
41436         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
41437         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
41438         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
41439         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
41440         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
41441         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
41442         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
41443         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
41444         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
41445         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
41446         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
41447         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
41448         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
41449         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
41450         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
41451         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
41452         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
41453         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
41454         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
41455         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
41456         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
41457         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
41458         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
41459         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
41460         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
41461         * sysdeps/x86_64/strcspn.S: Likewise.
41463 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
41465         * locale/C-translit.h: Revert #include <stdint.h> because this is a
41466         generated file.  Regenerate properly from gen-translit.pl.
41467         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
41468         locale/C-translit.h.
41470 2013-06-05  Andreas Schwab  <schwab@suse.de>
41472         [BZ #15100]
41473         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
41474         week as 6 instead of -1.
41475         * time/tst-strptime.c (day_tests): Add test case.
41477 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
41479         * sysdeps/generic/math_private.h
41480         (libc_feholdexcept_setround_53bit): Replace with
41481         libc_feholdsetround_53bit.
41482         (libc_feupdateenv_53bit): Replace with
41483         libc_feresetround_53bit.
41484         (SET_RESTORE_ROUND_53BIT): Adjust.
41486 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
41488         * string/test-strchrnul.c: Add copyright header.
41490         * posix/tst-getaddrinfo4.c: Increase test timeout.
41492 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
41494         [BZ #15536]
41495         * math/libm-test.inc (MAX_EXP): Remove
41496         (MIN_EXP): Define.
41497         (ulp): Use MIN_EXP - MANT_DIG.
41498         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
41500 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
41502         * po/be.po: Revert last change.
41503         * po/zh_CN.po: Likewise.
41504         * po/header.pot: Likewise.
41506 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
41508         * Makefile ($(common-objpfx)linkobj/libc.so): Define
41509         link-libc-deps to empty as target-specific variable.
41510         * Makerules (link-libc-args): New variable.
41511         (libc-for-link): Likewise.
41512         (link-libc-deps): Likewise.
41513         (lib%.so): Depend on $(link-libc-deps).  Link with
41514         $(link-libc-args).
41515         (build-module): Link with $(link-libc-args).
41516         (build-module-asneeded): Likewise.
41517         (build-module-helper-objlist): Filter out $(link-libc-deps) from
41518         list of objects.
41519         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
41520         target-specific variable.
41521         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
41522         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
41523         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
41524         libc.
41525         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
41526         libc and ld.so.
41527         ($(objpfx)libpcprofile.so): Likewise.
41528         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
41529         libc_nonshared.a.
41530         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
41531         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
41532         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
41533         $(link-libc-deps).
41534         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
41535         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
41536         * login/Makefile ($(objpfx)libutil.so): Likewise.
41537         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
41538         * math/Makefile ($(objpfx)libm.so): Likewise.
41539         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
41540         $(objpfx)libnsl.so): Define libc-for-link as target-specific
41541         variable instead of depending directly on libc.
41542         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
41543         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
41544         $(link-libc-deps).
41545         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
41546         libc.
41547         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
41548         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
41549         ($(objpfx)libanl.so): Likewise.
41550         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
41551         ld.so.
41552         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
41553         $(link-libc-deps).
41554         * sysdeps/i386/fpu/Makefile: Remove file.
41555         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
41556         ($(objpfx)libm.so): Remove dependency on ld.so.
41558 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
41560         [BZ # 15553]
41561         * nis/yp_xdr.c (XDRMAXNAME): Define.
41562         (XDRMAXRECORD): Define.
41563         (xdr_domainname): Use XDRMAXNAME.
41564         (xdr_mapname): Likewise.
41565         (xdr_peername): Likewise.
41566         (xdr_keydat): Use XDRMAXRECORD.
41567         (xdr_valdat): Likewise.
41569 2013-05-30  Jeff Law  <law@redhat.com>
41571         [BZ #14256]
41572         * manual/errno.texi (ESTALE): Update to account for more than
41573         just NFS file systems.
41574         * sysdeps/gnu/errlist.c: Regenerated.
41576 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
41578         [BZ #15465]
41579         * elf/Makefile (tests): Add tst-null-argv.
41580         (modules-names):  Add tst-null-argv-lib.
41581         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
41582         (tst-null-argv-ENV): Set environment for tst-null-argv.
41583         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
41584         (RTLD_PROGNAME): New macro.
41585         * elf/tst-null-argv.c: New test case.
41586         * elf/tst-null-argv-lib.c: Library for test case.
41587         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
41588         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
41589         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
41590         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
41591         * elf/dl-init.c (call_init): Likewise.
41592         (_dl_init): Likewise.
41593         * elf/dl-load.c (print_search_path): Likewise.
41594         (_dl_map_object): Likewise.
41595         * elf/dl-lookup.c (do_lookup_x): Likewise.
41596         (add_dependency): Likewise.
41597         (_dl_lookup_symbol_x): Likewise.
41598         (_dl_debug_bindings): Likewise.
41599         * elf/dl-open.c (_dl_show_scope): Likewise.
41600         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
41601         * elf/dl-version.c (match_symbol): Likewise.
41602         (_dl_check_map_versions): Likewise.
41603         * elf/rtld.c (dl_main): Likewise.
41604         (print_unresolved): Use RTLD_PROGNAME.
41605         (print_missing_version): Likewise.
41606         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
41607         (elf_machine_rela): Likewise.
41608         * sysdeps/powerpc/powerpc32/dl-machine.c
41609         (__process_machine_rela): Likewise.
41610         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
41611         Likewise.
41612         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
41613         Likewise.
41614         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
41615         Likewise.
41616         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
41617         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
41618         Likewise.
41619         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
41620         Likewise.
41621         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
41623 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
41625         * po/be.po: Add descriptive title.
41626         * po/zh_CN.po: Likewise.
41627         * po/header.pot: Likewise.
41629 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
41631         * locale/programs/locarchive.c (create_archive): Inlucde fname in
41632         error message.
41633         (enlarge_archive): Likewise.
41635 2013-05-28  Ben North  <ben@redfrontdoor.org>
41637         * manual/arith.texi (frexp): It is the magnitude of the return
41638         value which lies in [0.5, 1), not the return value itself.
41640 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41642         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41644 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
41646         * stdio-common/bug26.c (main): Correct fscanf template.
41648         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
41649         declare _dl_skip_args.
41651         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
41652         Don't declare.
41654         * manual/platform.texi: Add missing @end deftypefun.
41656 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
41658         [BZ #15529]
41659         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
41660         bit of mantissa of 2^16382.
41661         * math/libm-test.inc (hypot_test_data): Add more tests.
41663         * math/libm-test.inc: Add drem and pow10 to list of tested
41664         functions.
41665         (pow10_test): New function.
41666         (drem_test): Likewise.
41667         (drem_test_tonearest): Likewise.
41668         (drem_test_towardzero): Likewise.
41669         (drem_test_downward): Likewise.
41670         (drem_test_upward): Likewise.
41671         (main): Call the new functions.
41673         * math/libm-test.inc (finite_test_data): Remove.
41674         (finite_test): Run tests from isfinite_test_data.
41675         (gamma_test_data): Remove.
41676         (gamma_test): Run tests from lgamma_test_data.
41677         * sysdeps/i386/fpu/libm-test-ulps: Update.
41678         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41680 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41682         * manual/platform.texi: Add PowerPC PPR function set documentation.
41683         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
41684         implementation.
41686 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
41688         * math/libm-test.inc (MAX_EXP): Define.
41689         (ULPDIFF): Define.
41690         (ulp): New function.
41691         (check_float_internal): Use ULPDIFF.
41692         (cpow_test): Disable failing test.
41693         (check_ulp): Test ulp() implemetnation.
41694         (main): Call check_ulp before starting tests.
41696 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
41698         * math/gen-libm-test.pl (generate_testfile): Do not handle
41699         START_DATA and END_DATA.
41700         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
41701         END_DATA.
41702         (acos_tonearest_test_data): Likewise.
41703         (acos_towardzero_test_data): Likewise.
41704         (acos_downward_test_data): Likewise.
41705         (acos_upward_test_data): Likewise.
41706         (acosh_test_data): Likewise.
41707         (asin_test_data): Likewise.
41708         (asin_tonearest_test_data): Likewise.
41709         (asin_towardzero_test_data): Likewise.
41710         (asin_downward_test_data): Likewise.
41711         (asin_upward_test_data): Likewise.
41712         (asinh_test_data): Likewise.
41713         (atan_test_data): Likewise.
41714         (atanh_test_data): Likewise.
41715         (atan2_test_data): Likewise.
41716         (cabs_test_data): Likewise.
41717         (cacos_test_data): Likewise.
41718         (cacosh_test_data): Likewise.
41719         (carg_test_data): Likewise.
41720         (casin_test_data): Likewise.
41721         (casinh_test_data): Likewise.
41722         (catan_test_data): Likewise.
41723         (catanh_test_data): Likewise.
41724         (cbrt_test_data): Likewise.
41725         (ccos_test_data): Likewise.
41726         (ccosh_test_data): Likewise.
41727         (ceil_test_data): Likewise.
41728         (cexp_test_data): Likewise.
41729         (cimag_test_data): Likewise.
41730         (clog_test_data): Likewise.
41731         (clog10_test_data): Likewise.
41732         (conj_test_data): Likewise.
41733         (copysign_test_data): Likewise.
41734         (cos_test_data): Likewise.
41735         (cos_tonearest_test_data): Likewise.
41736         (cos_towardzero_test_data): Likewise.
41737         (cos_downward_test_data): Likewise.
41738         (cos_upward_test_data): Likewise.
41739         (cosh_test_data): Likewise.
41740         (cosh_tonearest_test_data): Likewise.
41741         (cosh_towardzero_test_data): Likewise.
41742         (cosh_downward_test_data): Likewise.
41743         (cosh_upward_test_data): Likewise.
41744         (cpow_test_data): Likewise.
41745         (cproj_test_data): Likewise.
41746         (creal_test_data): Likewise.
41747         (csin_test_data): Likewise.
41748         (csinh_test_data): Likewise.
41749         (csqrt_test_data): Likewise.
41750         (ctan_test_data): Likewise.
41751         (ctan_tonearest_test_data): Likewise.
41752         (ctan_towardzero_test_data): Likewise.
41753         (ctan_downward_test_data): Likewise.
41754         (ctan_upward_test_data): Likewise.
41755         (ctanh_test_data): Likewise.
41756         (ctanh_tonearest_test_data): Likewise.
41757         (ctanh_towardzero_test_data): Likewise.
41758         (ctanh_downward_test_data): Likewise.
41759         (ctanh_upward_test_data): Likewise.
41760         (erf_test_data): Likewise.
41761         (erfc_test_data): Likewise.
41762         (exp_test_data): Likewise.
41763         (exp_tonearest_test_data): Likewise.
41764         (exp_towardzero_test_data): Likewise.
41765         (exp_downward_test_data): Likewise.
41766         (exp_upward_test_data): Likewise.
41767         (exp10_test_data): Likewise.
41768         (exp2_test_data): Likewise.
41769         (expm1_test_data): Likewise.
41770         (fabs_test_data): Likewise.
41771         (fdim_test_data): Likewise.
41772         (finite_test_data): Likewise.
41773         (floor_test_data): Likewise.
41774         (fma_test_data): Likewise.
41775         (fma_towardzero_test_data): Likewise.
41776         (fma_downward_test_data): Likewise.
41777         (fma_upward_test_data): Likewise.
41778         (fmax_test_data): Likewise.
41779         (fmin_test_data): Likewise.
41780         (fmod_test_data): Likewise.
41781         (fpclassify_test_data): Likewise.
41782         (frexp_test_data): Likewise.
41783         (gamma_test_data): Likewise.
41784         (hypot_test_data): Likewise.
41785         (ilogb_test_data): Likewise.
41786         (isfinite_test_data): Likewise.
41787         (isgreater_test_data): Likewise.
41788         (isgreaterequal_test_data): Likewise.
41789         (isinf_test_data): Likewise.
41790         (isless_test_data): Likewise.
41791         (islessequal_test_data): Likewise.
41792         (islessgreater_test_data): Likewise.
41793         (isnan_test_data): Likewise.
41794         (isnormal_test_data): Likewise.
41795         (issignaling_test_data): Likewise.
41796         (isunordered_test_data): Likewise.
41797         (j0_test_data): Likewise.
41798         (j1_test_data): Likewise.
41799         (jn_test_data): Likewise.
41800         (ldexp_test_data): Likewise.
41801         (lgamma_test_data): Likewise.
41802         (lrint_test_data): Likewise.
41803         (lrint_tonearest_test_data): Likewise.
41804         (lrint_towardzero_test_data): Likewise.
41805         (lrint_downward_test_data): Likewise.
41806         (lrint_upward_test_data): Likewise.
41807         (llrint_test_data): Likewise.
41808         (llrint_tonearest_test_data): Likewise.
41809         (llrint_towardzero_test_data): Likewise.
41810         (llrint_downward_test_data): Likewise.
41811         (llrint_upward_test_data): Likewise.
41812         (log_test_data): Likewise.
41813         (log10_test_data): Likewise.
41814         (log1p_test_data): Likewise.
41815         (log2_test_data): Likewise.
41816         (logb_test_data): Likewise.
41817         (logb_downward_test_data): Likewise.
41818         (lround_test_data): Likewise.
41819         (llround_test_data): Likewise.
41820         (modf_test_data): Likewise.
41821         (nearbyint_test_data): Likewise.
41822         (nextafter_test_data): Likewise.
41823         (nexttoward_test_data): Likewise.
41824         (pow_test_data): Likewise.
41825         (pow_tonearest_test_data): Likewise.
41826         (pow_towardzero_test_data): Likewise.
41827         (pow_downward_test_data): Likewise.
41828         (pow_upward_test_data): Likewise.
41829         (remainder_test_data): Likewise.
41830         (remainder_tonearest_test_data): Likewise.
41831         (remainder_towardzero_test_data): Likewise.
41832         (remainder_downward_test_data): Likewise.
41833         (remainder_upward_test_data): Likewise.
41834         (remquo_test_data): Likewise.
41835         (rint_test_data): Likewise.
41836         (rint_tonearest_test_data): Likewise.
41837         (rint_towardzero_test_data): Likewise.
41838         (rint_downward_test_data): Likewise.
41839         (rint_upward_test_data): Likewise.
41840         (round_test_data): Likewise.
41841         (scalb_test_data): Likewise.
41842         (scalbn_test_data): Likewise.
41843         (scalbln_test_data): Likewise.
41844         (signbit_test_data): Likewise.
41845         (sin_test_data): Likewise.
41846         (sin_tonearest_test_data): Likewise.
41847         (sin_towardzero_test_data): Likewise.
41848         (sin_downward_test_data): Likewise.
41849         (sin_upward_test_data): Likewise.
41850         (sincos_test_data): Likewise.
41851         (sinh_test_data): Likewise.
41852         (sinh_tonearest_test_data): Likewise.
41853         (sinh_towardzero_test_data): Likewise.
41854         (sinh_downward_test_data): Likewise.
41855         (sinh_upward_test_data): Likewise.
41856         (sqrt_test_data): Likewise.
41857         (tan_test_data): Likewise.
41858         (tan_tonearest_test_data): Likewise.
41859         (tan_towardzero_test_data): Likewise.
41860         (tan_downward_test_data): Likewise.
41861         (tan_upward_test_data): Likewise.
41862         (tanh_test_data): Likewise.
41863         (tgamma_test_data): Likewise.
41864         (trunc_test_data): Likewise.
41865         (y0_test_data): Likewise.
41866         (y1_test_data): Likewise.
41867         (yn_test_data): Likewise.
41868         (significand_test_data): Likewise.
41870         * math/gen-libm-test.pl (@functions): Remove variable.
41871         (generate_testfile): Don't handle START and END lines.
41872         * math/libm-test.inc (START): New macro.
41873         (END): Likewise.
41874         (END_COMPLEX): Likewise.
41875         (acos_test): Use END macro without arguments.
41876         (acos_test_tonearest): Likewise.
41877         (acos_test_towardzero): Likewise.
41878         (acos_test_downward): Likewise.
41879         (acos_test_upward): Likewise.
41880         (acosh_test): Likewise.
41881         (asin_test): Likewise.
41882         (asin_test_tonearest): Likewise.
41883         (asin_test_towardzero): Likewise.
41884         (asin_test_downward): Likewise.
41885         (asin_test_upward): Likewise.
41886         (asinh_test): Likewise.
41887         (atan_test): Likewise.
41888         (atanh_test): Likewise.
41889         (atan2_test): Likewise.
41890         (cabs_test): Likewise.
41891         (cacos_test): Use END_COMPLEX macro without arguments.
41892         (cacosh_test): Likewise.
41893         (carg_test): Use END macro without arguments.
41894         (casin_test): Use END_COMPLEX macro without arguments.
41895         (casinh_test): Likewise.
41896         (catan_test): Likewise.
41897         (catanh_test): Likewise.
41898         (cbrt_test): Use END macro without arguments.
41899         (ccos_test): Use END_COMPLEX macro without arguments.
41900         (ccosh_test): Likewise.
41901         (ceil_test): Use END macro without arguments.
41902         (cexp_test): Use END_COMPLEX macro without arguments.
41903         (cimag_test): Use END macro without arguments.
41904         (clog_test): Use END_COMPLEX macro without arguments.
41905         (clog10_test): Likewise.
41906         (conj_test): Likewise.
41907         (copysign_test): Use END macro without arguments.
41908         (cos_test): Likewise.
41909         (cos_test_tonearest): Likewise.
41910         (cos_test_towardzero): Likewise.
41911         (cos_test_downward): Likewise.
41912         (cos_test_upward): Likewise.
41913         (cosh_test): Likewise.
41914         (cosh_test_tonearest): Likewise.
41915         (cosh_test_towardzero): Likewise.
41916         (cosh_test_downward): Likewise.
41917         (cosh_test_upward): Likewise.
41918         (cpow_test): Use END_COMPLEX macro without arguments.
41919         (cproj_test): Likewise.
41920         (creal_test): Use END macro without arguments.
41921         (csin_test): Use END_COMPLEX macro without arguments.
41922         (csinh_test): Likewise.
41923         (csqrt_test): Likewise.
41924         (ctan_test): Likewise.
41925         (ctan_test_tonearest): Likewise.
41926         (ctan_test_towardzero): Likewise.
41927         (ctan_test_downward): Likewise.
41928         (ctan_test_upward): Likewise.
41929         (ctanh_test): Likewise.
41930         (ctanh_test_tonearest): Likewise.
41931         (ctanh_test_towardzero): Likewise.
41932         (ctanh_test_downward): Likewise.
41933         (ctanh_test_upward): Likewise.
41934         (erf_test): Use END macro without arguments.
41935         (erfc_test): Likewise.
41936         (exp_test): Likewise.
41937         (exp_test_tonearest): Likewise.
41938         (exp_test_towardzero): Likewise.
41939         (exp_test_downward): Likewise.
41940         (exp_test_upward): Likewise.
41941         (exp10_test): Likewise.
41942         (exp2_test): Likewise.
41943         (expm1_test): Likewise.
41944         (fabs_test): Likewise.
41945         (fdim_test): Likewise.
41946         (finite_test): Likewise.
41947         (floor_test): Likewise.
41948         (fma_test): Likewise.
41949         (fma_test_towardzero): Likewise.
41950         (fma_test_downward): Likewise.
41951         (fma_test_upward): Likewise.
41952         (fmax_test): Likewise.
41953         (fmin_test): Likewise.
41954         (fmod_test): Likewise.
41955         (fpclassify_test): Likewise.
41956         (frexp_test): Likewise.
41957         (gamma_test): Likewise.
41958         (hypot_test): Likewise.
41959         (ilogb_test): Likewise.
41960         (isfinite_test): Likewise.
41961         (isgreater_test): Likewise.
41962         (isgreaterequal_test): Likewise.
41963         (isinf_test): Likewise.
41964         (isless_test): Likewise.
41965         (islessequal_test): Likewise.
41966         (islessgreater_test): Likewise.
41967         (isnan_test): Likewise.
41968         (isnormal_test): Likewise.
41969         (issignaling_test): Likewise.
41970         (isunordered_test): Likewise.
41971         (j0_test): Likewise.
41972         (j1_test): Likewise.
41973         (jn_test): Likewise.
41974         (ldexp_test): Likewise.
41975         (lgamma_test): Likewise.
41976         (lrint_test): Likewise.
41977         (lrint_test_tonearest): Likewise.
41978         (lrint_test_towardzero): Likewise.
41979         (lrint_test_downward): Likewise.
41980         (lrint_test_upward): Likewise.
41981         (llrint_test): Likewise.
41982         (llrint_test_tonearest): Likewise.
41983         (llrint_test_towardzero): Likewise.
41984         (llrint_test_downward): Likewise.
41985         (llrint_test_upward): Likewise.
41986         (log_test): Likewise.
41987         (log10_test): Likewise.
41988         (log1p_test): Likewise.
41989         (log2_test): Likewise.
41990         (logb_test): Likewise.
41991         (logb_test_downward): Likewise.
41992         (lround_test): Likewise.
41993         (llround_test): Likewise.
41994         (modf_test): Likewise.
41995         (nearbyint_test): Likewise.
41996         (nextafter_test): Likewise.
41997         (nexttoward_test): Likewise.
41998         (pow_test): Likewise.
41999         (pow_test_tonearest): Likewise.
42000         (pow_test_towardzero): Likewise.
42001         (pow_test_downward): Likewise.
42002         (pow_test_upward): Likewise.
42003         (remainder_test): Likewise.
42004         (remainder_test_tonearest): Likewise.
42005         (remainder_test_towardzero): Likewise.
42006         (remainder_test_downward): Likewise.
42007         (remainder_test_upward): Likewise.
42008         (remquo_test): Likewise.
42009         (rint_test): Likewise.
42010         (rint_test_tonearest): Likewise.
42011         (rint_test_towardzero): Likewise.
42012         (rint_test_downward): Likewise.
42013         (rint_test_upward): Likewise.
42014         (round_test): Likewise.
42015         (scalb_test): Likewise.
42016         (scalbn_test): Likewise.
42017         (scalbln_test): Likewise.
42018         (signbit_test): Likewise.
42019         (sin_test): Likewise.
42020         (sin_test_tonearest): Likewise.
42021         (sin_test_towardzero): Likewise.
42022         (sin_test_downward): Likewise.
42023         (sin_test_upward): Likewise.
42024         (sincos_test): Likewise.
42025         (sinh_test): Likewise.
42026         (sinh_test_tonearest): Likewise.
42027         (sinh_test_towardzero): Likewise.
42028         (sinh_test_downward): Likewise.
42029         (sinh_test_upward): Likewise.
42030         (sqrt_test): Likewise.
42031         (tan_test): Likewise.
42032         (tan_test_tonearest): Likewise.
42033         (tan_test_towardzero): Likewise.
42034         (tan_test_downward): Likewise.
42035         (tan_test_upward): Likewise.
42036         (tanh_test): Likewise.
42037         (tgamma_test): Likewise.
42038         (trunc_test): Likewise.
42039         (y0_test): Likewise.
42040         (y1_test): Likewise.
42041         (yn_test): Likewise.
42042         (significand_test): Likewise.
42044 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
42046         [BZ #15381]
42047         * libio/genops.c (_IO_no_init): Initialize wide struct info.
42049 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
42051         [BZ #14894]
42052         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
42053         __ppc_mdoio and __ppc_mdoom.
42054         * manual/platform.texi: Document new functions __ppc_yield,
42055         __ppc_mdoio and __ppc_mdoom.
42057 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
42059         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
42060         (main): Mention "tls" pseudo-hwcap is legacy.
42061         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
42063 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
42065         * math/gen-libm-test.pl (parse_args): Output only string of
42066         arguments as text for test name, not full call or descriptions of
42067         tests for extra outputs.
42068         (generate_testfile): Do not pass function name to parse_args.
42069         Generate this_func variable from START.
42070         * math/libm-test.inc (struct test_f_f_data): Rename test_name
42071         field to arg_str.
42072         (struct test_ff_f_data): Likewise.
42073         (test_ff_f_data_nexttoward): Likewise.
42074         (struct test_fi_f_data): Likewise.
42075         (struct test_fl_f_data): Likewise.
42076         (struct test_if_f_data): Likewise.
42077         (struct test_fff_f_data): Likewise.
42078         (struct test_c_f_data): Likewise.
42079         (struct test_f_f1_data): Likewise.  Remove field extra_name.
42080         (struct test_fF_f1_data): Likewise.
42081         (struct test_ffI_f1_data): Likewise.
42082         (struct test_c_c_data): Rename test_name field to arg_str.
42083         (struct test_cc_c_data): Likewise.
42084         (struct test_f_i_data): Likewise.
42085         (struct test_ff_i_data): Likewise.
42086         (struct test_f_l_data): Likewise.
42087         (struct test_f_L_data): Likewise.
42088         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
42089         and extra2_name.
42090         (COMMON_TEST_SETUP): New macro.
42091         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
42092         (COMMON_TEST_CLEANUP): Likewise.
42093         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
42094         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
42095         macros.
42096         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
42097         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
42098         macros.
42099         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
42100         (RUN_TEST_fff_f): Take argument string.  Call new setup and
42101         cleanup macros.
42102         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
42103         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
42104         macros.
42105         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
42106         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
42107         macros.
42108         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
42109         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
42110         cleanup macros.
42111         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
42112         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
42113         cleanup macros.
42114         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
42115         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
42116         cleanup macros.
42117         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
42118         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
42119         macros.
42120         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
42121         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
42122         macros.
42123         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
42124         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
42125         macros.
42126         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
42127         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
42128         cleanup macros.
42129         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
42130         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
42131         cleanup macros.
42132         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
42133         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
42134         macros.
42135         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
42136         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
42137         cleanup macros.
42138         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
42139         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
42140         macros.
42141         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
42142         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
42143         macros.
42144         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
42145         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
42146         cleanup macros.
42147         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
42149 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
42151         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
42152         to _sifields.sigfault.
42153         (si_addr_lsb): Define new macro.
42154         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
42155         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
42156         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
42158 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
42160         [BZ #15441]
42161         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
42162         returns -1.
42163         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
42164         null return -1.
42165         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
42166         loading the domain.
42168 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
42170         * math/gen-libm-test.pl (parse_args): Do not include expected
42171         result in test name.
42172         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
42173         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42174         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
42175         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
42176         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
42177         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42179 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
42181         * benchtests/Makefile: Sort function entries.
42183         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
42184         tanh, asinh, acosh, atanh.
42185         * benchtests/acos-inputs: New file.
42186         * benchtests/acosh-inputs: New file.
42187         * benchtests/asin-inputs: New file.
42188         * benchtests/asinh-inputs: New file.
42189         * benchtests/atanh-inputs: New file.
42190         * benchtests/cosh-inputs: New file.
42191         * benchtests/log-inputs: New file.
42192         * benchtests/sinh-inputs: New file.
42193         * benchtests/tanh-inputs: New file.
42195 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
42197         [BZ #15339]
42198         * posix/tst-getaddrinfo4.c: New test.
42199         * posix/Makefile (tests): Add it.
42201 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
42203         [BZ #15339]
42204         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
42205         when no services were used.
42206         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
42207         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
42209 2013-05-21  Andreas Schwab  <schwab@suse.de>
42211         [BZ #15014]
42212         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
42213         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
42214         successful.
42215         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
42216         redundant variable declarations and reallocation of buffer when
42217         parsing as IPv6 address.  Always set NSS status when called from
42218         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
42219         buffer too small.  Correct computation of needed size.
42220         * nss/Makefile (tests): Add test-digits-dots.
42221         * nss/test-digits-dots.c: New test.
42223 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
42225         * benchtests/Makefile: Remove instructions for adding
42226         benchmark tests.
42227         * benchtests/README: New file to explain how to execute and
42228         enhance the benchmark tests.
42230 2013-05-21  Andreas Schwab  <schwab@suse.de>
42232         [BZ #15493]
42233         * setjmp/Makefile (tests): Add tst-sigsetjmp.
42234         * setjmp/tst-sigsetjmp.c: New test.
42236 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
42238         * sysdeps/x86_64/memset.S (memset): New implementation.
42239         (__bzero): Likewise.
42240         (__memset_tail): New function.
42242 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
42244         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
42245         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
42246         __memcpy_sse2_unaligned ifunc selection.
42247         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
42248         Add memcpy-sse2-unaligned.S.
42249         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
42250         Add: __memcpy_sse2_unaligned.
42252 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
42254         [BZ #15490]
42255         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
42256         math_force_eval before restoring floating-point envrionment.
42257         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
42258         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
42259         Likewise.
42260         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
42261         <math_private.h>.
42262         (__nearbyintl): Use math_force_eval before restoring
42263         floating-point environment.
42264         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
42266         * math/gen-libm-test.pl (special_functions): Remove.
42267         (parse_args): Don't handle TEST_extra.  Handle functions with no
42268         return value.
42269         * math/libm-test.inc (struct test_sincos_data): Replace with
42270         struct test_fFF_11_data.
42271         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
42272         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
42273         (sincos_test_data): Change element type to struct
42274         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
42275         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
42276         RUN_TEST_LOOP_sincos.
42277         * math/README.libm-test: Don't mention special handling of
42278         individual functions.
42279         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
42280         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42281         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
42282         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
42283         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
42284         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42286         * math/gen-libm-test.pl (get_variable): Remove function.
42287         (parse_args): Don't show pointer parameters to call in test
42288         names.  Use "extra output N" in test names for extra outputs
42289         rather than naming variables.
42291 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
42293         [BZ #15488]
42294         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
42295         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
42296         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
42297         double tests.
42298         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
42299         disable.
42300         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
42301         check_long_double.
42303         * math/gen-libm-test.pl (@tests): Remove variable.
42304         ($count): Likewise.
42305         (new_test): Remove function.
42306         (show_exceptions): New function.
42307         (special_functions): Use show_exceptions instead of new_test.
42308         (parse_args): Likewise.
42309         (generate_testfile): Pass only function name in generated call to
42310         print_max_error or print_complex_max_error.
42311         (get_ulps): Do not handle complex tests specially.
42312         (output_test): Rename to ...
42313         (get_all_ulps_for_test): ... this.  Return a string rather than
42314         printing to a file.  Require ulps to be present.
42315         (output_ulps): Generate arrays rather than #defines.
42316         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
42317         (struct ulp_data): New type.
42318         (BUILD_COMPLEX_ULP): Remove macro.
42319         (compare_ulp_data): New function.
42320         (find_ulps): Likewise.
42321         (find_test_ulps): Likewise.
42322         (find_function_ulps): Likewise.
42323         (find_complex_function_ulps): Likewise.
42324         (print_max_error): Determine allowed ulps using
42325         find_function_ulps.
42326         (print_complex_max_error): Determine allowed ulps using
42327         find_complex_function_ulps.
42328         (check_float_internal): Determine max ulps using find_test_ulps.
42329         (check_float): Do not take max_ulp parameter.  Update call to
42330         check_float_internal.
42331         (check_complex): Likewise.
42332         (check_int): Do not take max_ulp parameter.
42333         (check_long): Likewise.
42334         (check_bool): Likewise.
42335         (check_longlong): Likewise.
42336         (struct test_f_f_data): Remove max_ulp field.
42337         (struct test_ff_f_data): Likewise.
42338         (struct test_ff_f_data_nexttoward): Likewise.
42339         (struct test_fi_f_data): Likewise.
42340         (struct test_fl_f_data): Likewise.
42341         (struct test_if_f_data): Likewise.
42342         (struct test_fff_f_data): Likewise.
42343         (struct test_c_f_data): Likewise.
42344         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
42345         (struct test_fF_f1_data): Likewise.
42346         (struct test_ffI_f1_data): Likewise.
42347         (struct test_c_c_data): Remove max_ulp field.
42348         (struct test_cc_c_data): Likewise.
42349         (struct test_f_i_data): Likewise.
42350         (struct test_ff_i_data): Likewise.
42351         (struct test_f_l_data): Likewise.
42352         (struct test_f_L_data): Likewise.
42353         (struct test_sincos_data): Likewise.
42354         (RUN_TEST_f_f): Do not handle ulps.
42355         (RUN_TEST_LOOP_f_f): Likewise.
42356         (RUN_TEST_2_f): Likewise.
42357         (RUN_TEST_LOOP_2_f): Likewise.
42358         (RUN_TEST_fff_f): Likewise.
42359         (RUN_TEST_LOOP_fff_f): Likewise.
42360         (RUN_TEST_c_f): Likewise.
42361         (RUN_TEST_LOOP_c_f): Likewise.
42362         (RUN_TEST_f_f1): Likewise.
42363         (RUN_TEST_LOOP_f_f1): Likewise.
42364         (RUN_TEST_fF_f1): Likewise.
42365         (RUN_TEST_LOOP_fF_f1): Likewise.
42366         (RUN_TEST_fI_f1): Likewise.
42367         (RUN_TEST_LOOP_fI_f1): Likewise.
42368         (RUN_TEST_ffI_f1): Likewise.
42369         (RUN_TEST_LOOP_ffI_f1): Likewise.
42370         (RUN_TEST_c_c): Likewise.
42371         (RUN_TEST_LOOP_c_c): Likewise.
42372         (RUN_TEST_cc_c): Likewise.
42373         (RUN_TEST_LOOP_cc_c): Likewise.
42374         (RUN_TEST_f_i): Likewise.
42375         (RUN_TEST_LOOP_f_i): Likewise.
42376         (RUN_TEST_f_i_tg): Likewise.
42377         (RUN_TEST_LOOP_f_i_tg): Likewise.
42378         (RUN_TEST_ff_i_tg): Likewise.
42379         (RUN_TEST_LOOP_ff_i_tg): Likewise.
42380         (RUN_TEST_f_b): Likewise.
42381         (RUN_TEST_LOOP_f_b): Likewise.
42382         (RUN_TEST_f_b_tg): Likewise.
42383         (RUN_TEST_LOOP_f_b_tg): Likewise.
42384         (RUN_TEST_f_l): Likewise.
42385         (RUN_TEST_LOOP_f_l): Likewise.
42386         (RUN_TEST_f_L): Likewise.
42387         (RUN_TEST_LOOP_f_L): Likewise.
42388         (RUN_TEST_sincos): Likewise.
42389         (RUN_TEST_LOOP_sincos): Likewise.
42391 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
42393         [BZ #15480]
42394         [BZ #15485]
42395         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
42396         main case of finite arguments, set rounding mode to FE_TONEAREST
42397         and discard exceptions.
42398         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
42399         exceptions.
42400         (remainder_tonearest_test_data): New variable.
42401         (remainder_test_tonearest): New function.
42402         (remainder_towardzero_test_data): New variable.
42403         (remainder_test_towardzero): New function.
42404         (remainder_downward_test_data): New variable.
42405         (remainder_test_downward): New function.
42406         (remainder_upward_test_data): New variable.
42407         (remainder_test_upward): New function.
42408         (main): Call the new test functions.
42410         * math/libm-test.inc (struct test_f_f1_data): Remove field
42411         extra_init.
42412         (struct test_fF_f1_data): Likewise.
42413         (struct test_ffI_f1_data): Likewise.
42414         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
42415         based on value of EXTRA_EXPECTED.
42416         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
42417         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
42418         EXTRA_VAR based on value of EXTRA_EXPECTED.
42419         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
42420         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
42421         EXTRA_VAR based on value of EXTRA_EXPECTED.
42422         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
42423         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
42424         EXTRA_VAR based on value of EXTRA_EXPECTED.
42425         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
42426         * math/gen-libm-test.pl (parse_args): Don't output initializers
42427         for extra output values.
42429         * math/libm-test.inc (check_int): Expect result to be exactly
42430         equal to expected value and do not handle ulps.
42431         (check_long): Likewise.
42432         (check_longlong): Likewise.
42434         * math/libm-test.inc (ceil_test_data): Test for "inexact"
42435         exceptions.
42436         (cimag_test_data): Likewise.
42437         (conj_test_data): Likewise.
42438         (copysign_test_data): Likewise.
42439         (cproj_test_data): Likewise.
42440         (creal_test_data): Likewise.
42441         (fabs_test_data): Likewise.
42442         (fdim_test_data): Likewise.
42443         (finite_test_data): Likewise.
42444         (floor_test_data): Likewise.
42445         (fmax_test_data): Likewise.
42446         (fmin_test_data): Likewise.
42447         (fmod_test_data): Likewise.
42448         (fpclassify_test_data): Likewise.
42449         (frexp_test_data): Likewise.
42450         (ilogb_test_data): Likewise.
42451         (isfinite_test_data): Likewise.
42452         (isgreater_test_data): Likewise.
42453         (isgreaterequal_test_data): Likewise.
42454         (isinf_test_data): Likewise.
42455         (isless_test_data): Likewise.
42456         (islessequal_test_data): Likewise.
42457         (islessgreater_test_data): Likewise.
42458         (isnan_test_data): Likewise.
42459         (isnormal_test_data): Likewise.
42460         (issignaling_test_data): Likewise.
42461         (isunordered_test_data): Likewise.
42462         (ldexp_test_data): Likewise.
42463         (lrint_test_data): Likewise.
42464         (lrint_test_data) [TEST_FLOAT]: Disable one test.
42465         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
42466         (lrint_tonearest_test_data): Test for "inexact" exceptions.
42467         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
42468         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
42469         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
42470         test input.
42471         (lrint_towardzero_test_data): Test for "inexact" exceptions.
42472         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
42473         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
42474         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
42475         that test input.
42476         (lrint_downward_test_data): Test for "inexact" exceptions.
42477         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
42478         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
42479         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
42480         test input.
42481         (lrint_upward_test_data): Test for "inexact" exceptions.
42482         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
42483         test input.
42484         (llrint_test_data): Test for "inexact" exceptions.
42485         (llrint_test_data) [TEST_FLOAT]: Disable one test.
42486         (llrint_tonearest_test_data): Test for "inexact" exceptions.
42487         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
42488         (llrint_towardzero_test_data): Test for "inexact" exceptions.
42489         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
42490         (llrint_downward_test_data): Test for "inexact" exceptions.
42491         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
42492         (llrint_upward_test_data): Test for "inexact" exceptions.
42493         (logb_test_data): Likewise.
42494         (logb_downward_test_data): Likewise.
42495         (nextafter_test_data): Likewise.
42496         (nexttoward_test_data): Likewise.
42497         (remainder_test_data): Likewise.
42498         (remquo_test_data): Likewise.
42499         (scalbn_test_data): Likewise.
42500         (scalbln_test_data): Likewise.
42501         (signbit_test_data): Likewise.
42502         (sqrt_test_data): Likewise.
42503         (significand_test_data): Likewise.
42505 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
42507         [BZ #15424]
42508         * benchtests/bench-modf.c (struct args): Mark arg0 as
42509         volatile.
42510         * scripts/bench.pl: Mark members of struct args as volatile.
42512 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42514         [BZ # 15497]
42515         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
42516         negative infinity on POWER6 or lower.
42517         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
42519 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
42521         [BZ #15442]
42522         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
42523         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
42524         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
42525         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
42526         (_FP_SETQNAN): New macro.
42527         (_FP_SETQNAN_SEMIRAW): Likewise.
42528         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
42529         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
42530         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
42531         (FP_EXTEND): Use _FP_FRAC_SNANP.
42532         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
42533         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
42534         into account.
42535         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
42536         New macro.
42537         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
42538         Likewise.
42540 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
42542         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
42543         with DIVIDE_BY_ZERO_EXCEPTION.
42544         (gamma_test_data): Likewise.
42545         (lgamma_test_data): Likewise.
42546         (log_test_data): Likewise.
42547         (log10_test_data): Likewise.
42548         (log2_test_data): Likewise.
42549         (tgamma_test_data): Likewise.
42551         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
42552         (acos_test_tonearest): Likewise.
42553         (acos_test_towardzero): Likewise.
42554         (acos_test_downward): Likewise.
42555         (acos_test_upward): Likewise.
42556         (acosh_test): Likewise.
42557         (asin_test): Likewise.
42558         (asin_test_tonearest): Likewise.
42559         (asin_test_towardzero): Likewise.
42560         (asin_test_downward): Likewise.
42561         (asin_test_upward): Likewise.
42562         (asinh_test): Likewise.
42563         (atan_test): Likewise.
42564         (atanh_test): Likewise.
42565         (atan2_test): Likewise.
42566         (cabs_test): Likewise.
42567         (cacos_test): Likewise.
42568         (cacosh_test): Likewise.
42569         (casin_test): Likewise.
42570         (casinh_test): Likewise.
42571         (catan_test): Likewise.
42572         (catanh_test): Likewise.
42573         (cbrt_test): Likewise.
42574         (ccos_test): Likewise.
42575         (ccosh_test): Likewise.
42576         (cexp_test): Likewise.
42577         (clog_test): Likewise.
42578         (clog10_test): Likewise.
42579         (cos_test): Likewise.
42580         (cos_test_tonearest): Likewise.
42581         (cos_test_towardzero): Likewise.
42582         (cos_test_downward): Likewise.
42583         (cos_test_upward): Likewise.
42584         (cosh_test): Likewise.
42585         (cosh_test_tonearest): Likewise.
42586         (cosh_test_towardzero): Likewise.
42587         (cosh_test_downward): Likewise.
42588         (cosh_test_upward): Likewise.
42589         (cpow_test): Likewise.
42590         (csin_test): Likewise.
42591         (csinh_test): Likewise.
42592         (csqrt_test): Likewise.
42593         (ctan_test): Likewise.
42594         (ctan_test_tonearest): Likewise.
42595         (ctan_test_towardzero): Likewise.
42596         (ctan_test_downward): Likewise.
42597         (ctan_test_upward): Likewise.
42598         (ctanh_test): Likewise.
42599         (ctanh_test_tonearest): Likewise.
42600         (ctanh_test_towardzero): Likewise.
42601         (ctanh_test_downward): Likewise.
42602         (ctanh_test_upward): Likewise.
42603         (erf_test): Likewise.
42604         (erfc_test): Likewise.
42605         (exp_test): Likewise.
42606         (exp_test_tonearest): Likewise.
42607         (exp_test_towardzero): Likewise.
42608         (exp_test_downward): Likewise.
42609         (exp_test_upward): Likewise.
42610         (exp10_test): Likewise.
42611         (exp2_test): Likewise.
42612         (expm1_test): Likewise.
42613         (fmod_test): Likewise.
42614         (gamma_test): Likewise.
42615         (hypot_test): Likewise.
42616         (j0_test): Likewise.
42617         (j1_test): Likewise.
42618         (jn_test): Likewise.
42619         (lgamma_test): Likewise.
42620         (log_test): Likewise.
42621         (log10_test): Likewise.
42622         (log1p_test): Likewise.
42623         (log2_test): Likewise.
42624         (logb_test_downward): Likewise.
42625         (pow_test): Likewise.
42626         (pow_test_tonearest): Likewise.
42627         (pow_test_towardzero): Likewise.
42628         (pow_test_downward): Likewise.
42629         (pow_test_upward): Likewise.
42630         (remainder_test): Likewise.
42631         (remquo_test): Likewise.
42632         (sin_test): Likewise.
42633         (sin_test_tonearest): Likewise.
42634         (sin_test_towardzero): Likewise.
42635         (sin_test_downward): Likewise.
42636         (sin_test_upward): Likewise.
42637         (sincos_test): Likewise.
42638         (sinh_test): Likewise.
42639         (sinh_test_tonearest): Likewise.
42640         (sinh_test_towardzero): Likewise.
42641         (sinh_test_downward): Likewise.
42642         (sinh_test_upward): Likewise.
42643         (sqrt_test): Likewise.
42644         (tan_test): Likewise.
42645         (tan_test_tonearest): Likewise.
42646         (tan_test_towardzero): Likewise.
42647         (tan_test_downward): Likewise.
42648         (tan_test_upward): Likewise.
42649         (tanh_test): Likewise.
42650         (tgamma_test): Likewise.
42651         (y0_test): Likewise.
42652         (y1_test): Likewise.
42653         (yn_test): Likewise.
42655         * math/gen-libm-test.pl (adjust_arg): Remove function.
42656         (special_function): Remove argument $in_func.  Only handle
42657         generating output for tables of tests, not inside functions.
42658         (parse_args): Likewise.
42659         (generate_testfile): Remove variable $in_func.  Update call to
42660         parse_args.
42661         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
42662         (MINUS_ZERO_INIT): Rename macro to minus_zero.
42663         (PLUS_INFTY_INIT): Rename macro to plus_infty.
42664         (MINUS_INFTY_INIT): Rename macro to minus_infty.
42665         (QNAN_VALUE_INIT): Rename macro to qnan_value.
42666         (MAX_VALUE_INIT): Rename macro to max_value.
42667         (MIN_VALUE_INIT): Rename macro to min_value.
42668         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
42669         (plus_zero): Remove variable.
42670         (minus_zero): Likewise.
42671         (plus_infty): Likewise.
42672         (minus_infty): Likewise.
42673         (qnan_value): Likewise.
42674         (max_value): Likewise.
42675         (min_value): Likewise.
42676         (min_subnorm_value): Likewise.
42678 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
42680         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
42681         uint64_t or uint32_t usage.
42682         * crypt/sha256-block.c: Likewise.
42683         * crypt/sha256-crypt.c: Likewise.
42684         * crypt/sha256.c: Likewise.
42685         * crypt/sha512-block.c: Likewise.
42686         * crypt/sha512-crypt.c: Likewise.
42687         * crypt/sha512.c: Likewise.
42688         * debug/backtrace-tst.c: Likewise.
42689         * debug/pcprofiledump.c: Likewise.
42690         * elf/cache.c: Likewise.
42691         * elf/dl-cache.c: Likewise.
42692         * elf/dl-misc.c: Likewise.
42693         * elf/dl-profile.c: Likewise.
42694         * elf/dl-support.c: Likewise.
42695         * elf/ldconfig.c: Likewise.
42696         * elf/sprof.c: Likewise.
42697         * iconv/dummy-repertoire.c: Likewise.
42698         * iconv/iconv_charmap.c: Likewise.
42699         * iconv/skeleton.c: Likewise.
42700         * iconvdata/8bit-generic.c: Likewise.
42701         * iconvdata/cp737.h: Likewise.
42702         * iconvdata/cp775.h: Likewise.
42703         * iconvdata/ibm1008.h: Likewise.
42704         * iconvdata/ibm1025.h: Likewise.
42705         * iconvdata/ibm1046.h: Likewise.
42706         * iconvdata/ibm1097.h: Likewise.
42707         * iconvdata/ibm1112.h: Likewise.
42708         * iconvdata/ibm1122.h: Likewise.
42709         * iconvdata/ibm1123.h: Likewise.
42710         * iconvdata/ibm1124.h: Likewise.
42711         * iconvdata/ibm1129.h: Likewise.
42712         * iconvdata/ibm1130.h: Likewise.
42713         * iconvdata/ibm1132.h: Likewise.
42714         * iconvdata/ibm1133.h: Likewise.
42715         * iconvdata/ibm1137.h: Likewise.
42716         * iconvdata/ibm1140.h: Likewise.
42717         * iconvdata/ibm1141.h: Likewise.
42718         * iconvdata/ibm1142.h: Likewise.
42719         * iconvdata/ibm1143.h: Likewise.
42720         * iconvdata/ibm1144.h: Likewise.
42721         * iconvdata/ibm1145.h: Likewise.
42722         * iconvdata/ibm1146.h: Likewise.
42723         * iconvdata/ibm1147.h: Likewise.
42724         * iconvdata/ibm1148.h: Likewise.
42725         * iconvdata/ibm1149.h: Likewise.
42726         * iconvdata/ibm1153.h: Likewise.
42727         * iconvdata/ibm1154.h: Likewise.
42728         * iconvdata/ibm1155.h: Likewise.
42729         * iconvdata/ibm1156.h: Likewise.
42730         * iconvdata/ibm1157.h: Likewise.
42731         * iconvdata/ibm1158.h: Likewise.
42732         * iconvdata/ibm1160.h: Likewise.
42733         * iconvdata/ibm1161.h: Likewise.
42734         * iconvdata/ibm1162.h: Likewise.
42735         * iconvdata/ibm1163.h: Likewise.
42736         * iconvdata/ibm1164.h: Likewise.
42737         * iconvdata/ibm1166.h: Likewise.
42738         * iconvdata/ibm1167.h: Likewise.
42739         * iconvdata/ibm12712.h: Likewise.
42740         * iconvdata/ibm1390.h: Likewise.
42741         * iconvdata/ibm1399.h: Likewise.
42742         * iconvdata/ibm16804.h: Likewise.
42743         * iconvdata/ibm4517.h: Likewise.
42744         * iconvdata/ibm4899.h: Likewise.
42745         * iconvdata/ibm4909.h: Likewise.
42746         * iconvdata/ibm4971.h: Likewise.
42747         * iconvdata/ibm5347.h: Likewise.
42748         * iconvdata/ibm803.h: Likewise.
42749         * iconvdata/ibm856.h: Likewise.
42750         * iconvdata/ibm901.h: Likewise.
42751         * iconvdata/ibm902.h: Likewise.
42752         * iconvdata/ibm9030.h: Likewise.
42753         * iconvdata/ibm9066.h: Likewise.
42754         * iconvdata/ibm921.h: Likewise.
42755         * iconvdata/ibm922.h: Likewise.
42756         * iconvdata/ibm9448.h: Likewise.
42757         * iconvdata/isiri-3342.h: Likewise.
42758         * iconvdata/jis0201.h: Likewise.
42759         * include/link.h: Likewise.
42760         * include/netdb.h: Likewise.
42761         * inet/check_native.c: Likewise.
42762         * inet/check_pf.c: Likewise.
42763         * inet/getipv4sourcefilter.c: Likewise.
42764         * inet/getnameinfo.c: Likewise.
42765         * inet/getsourcefilter.c: Likewise.
42766         * inet/htonl.c: Likewise.
42767         * inet/setipv4sourcefilter.c: Likewise.
42768         * inet/setsourcefilter.c: Likewise.
42769         * inet/test-inet6_opt.c: Likewise.
42770         * inet/tst-network.c: Likewise.
42771         * locale/C-collate.c: Likewise.
42772         * locale/C-ctype.c: Likewise.
42773         * locale/C-time.c: Likewise.
42774         * locale/C-translit.h: Likewise.
42775         * locale/loadarchive.c: Likewise.
42776         * locale/programs/3level.h: Likewise.
42777         * locale/programs/charmap.c: Likewise.
42778         * locale/programs/charmap.h: Likewise.
42779         * locale/programs/ld-address.c: Likewise.
42780         * locale/programs/ld-collate.c: Likewise.
42781         * locale/programs/ld-ctype.c: Likewise.
42782         * locale/programs/ld-identification.c: Likewise.
42783         * locale/programs/ld-measurement.c: Likewise.
42784         * locale/programs/ld-messages.c: Likewise.
42785         * locale/programs/ld-monetary.c: Likewise.
42786         * locale/programs/ld-name.c: Likewise.
42787         * locale/programs/ld-numeric.c: Likewise.
42788         * locale/programs/ld-paper.c: Likewise.
42789         * locale/programs/ld-telephone.c: Likewise.
42790         * locale/programs/ld-time.c: Likewise.
42791         * locale/programs/linereader.c: Likewise.
42792         * locale/programs/locale.c: Likewise.
42793         * locale/programs/locarchive.c: Likewise.
42794         * locale/programs/locfile.h: Likewise.
42795         * locale/programs/repertoire.c: Likewise.
42796         * locale/programs/simple-hash.c: Likewise.
42797         * locale/programs/simple-hash.h: Likewise.
42798         * malloc/memusage.c: Likewise.
42799         * malloc/memusagestat.c: Likewise.
42800         * nis/nis_defaults.c: Likewise.
42801         * nis/nis_hash.c: Likewise.
42802         * nis/nis_print.c: Likewise.
42803         * nis/nis_xdr.c: Likewise.
42804         * nscd/connections.c: Likewise.
42805         * nscd/hstcache.c: Likewise.
42806         * nscd/nscd_gethst_r.c: Likewise.
42807         * nscd/nscd_getserv_r.c: Likewise.
42808         * nscd/nscd_helper.c: Likewise.
42809         * nscd/servicescache.c: Likewise.
42810         * nss/makedb.c: Likewise.
42811         * nss/nss_db/db-XXX.c: Likewise.
42812         * nss/nss_db/db-initgroups.c: Likewise.
42813         * nss/nss_db/db-netgrp.c: Likewise.
42814         * nss/nss_files/files-network.c: Likewise.
42815         * nss/nss_files/files-parse.c: Likewise.
42816         * posix/bug-regex5.c: Likewise.
42817         * posix/fnmatch_loop.c: Likewise.
42818         * posix/regcomp.c: Likewise.
42819         * posix/regexec.c: Likewise.
42820         * posix/tst-rfc3484-2.c: Likewise.
42821         * posix/tst-rfc3484-3.c: Likewise.
42822         * posix/tst-rfc3484.c: Likewise.
42823         * resolv/nss_dns/dns-canon.c: Likewise.
42824         * resolv/nss_dns/dns-network.c: Likewise.
42825         * resolv/res_init.c: Likewise.
42826         * resolv/res_mkquery.c: Likewise.
42827         * resolv/tst-aton.c: Likewise.
42828         * stdlib/cxa_atexit.c: Likewise.
42829         * stdlib/cxa_finalize.c: Likewise.
42830         * stdlib/gen-fpioconst.c: Likewise.
42831         * stdlib/strtol_l.c: Likewise.
42832         * string/tst-endian.c: Likewise.
42833         * sunrpc/auth_des.c: Likewise.
42834         * sunrpc/clnt_udp.c: Likewise.
42835         * sunrpc/rtime.c: Likewise.
42836         * sunrpc/svcauth_des.c: Likewise.
42837         * sunrpc/xdr.c: Likewise.
42838         * sunrpc/xdr_intXX_t.c: Likewise.
42839         * sunrpc/xdr_rec.c: Likewise.
42840         * sysdeps/generic/ldconfig.h: Likewise.
42841         * sysdeps/generic/ldsodefs.h: Likewise.
42842         * sysdeps/generic/memusage.h: Likewise.
42843         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
42844         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
42845         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
42846         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
42847         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42848         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
42849         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
42850         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
42851         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
42852         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
42853         * sysdeps/posix/getaddrinfo.c: Likewise.
42854         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
42855         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
42856         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
42857         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
42858         * sysdeps/powerpc/test-gettimebase.c: Likewise.
42859         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
42860         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
42861         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
42862         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
42863         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
42864         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
42865         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
42866         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
42867         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
42868         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
42869         * sysdeps/x86_64/dl-tls.h: Likewise.
42870         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
42871         * time/alt_digit.c: Likewise.
42872         * time/era.c: Likewise.
42873         * wcsmbs/tst-c16c32-1.c: Likewise.
42875 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
42877         * math/libm-test.inc (struct test_sincos_data): New type.
42878         (RUN_TEST_LOOP_sincos): New macro.
42879         (sincos_test_data): New variable.
42880         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
42882 2013-05-16  Richard Henderson  <rth@redhat.com>
42884         * math/atest-exp2.c (LIMB64): New macro.
42885         (CONSTSZ): New macro.
42886         (mp_exp1, mp_exp_m1, mp_log2): New variables.
42887         (hexdig): Move ...
42888         (print_mpn_fp): ... to function scope.
42889         (read_mpn_hex): Remove.
42890         (get_log2): Remove.
42891         (exp2_mpn): Use mp_log2.
42892         (main): Use mp_exp1.
42894 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
42896         * math/libm-test.inc: Remove comment about not testing "inexact"
42897         exceptions.
42898         (INEXACT_EXCEPTION): New macro.
42899         (NO_INEXACT_EXCEPTION): Likewise.
42900         (INVALID_EXCEPTION_OK): Update value.
42901         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
42902         (OVERFLOW_EXCEPTION_OK): Likewise.
42903         (UNDERFLOW_EXCEPTION_OK): Likewise.
42904         (IGNORE_ZERO_INF_SIGN): Likewise.
42905         (ERRNO_UNCHANGED): Likewise.
42906         (ERRNO_EDOM): Likewise.
42907         (ERRNO_ERANGE): Likewise.
42908         (test_exceptions): Handle testing "inexact" exceptions.
42909         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
42910         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
42911         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
42912         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
42913         INEXACT_EXCEPTION.
42914         (rint_towardzero_test_data): Likewise.
42915         (rint_downward_test_data): Likewise.
42916         (rint_upward_test_data): Likewise.
42918         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
42919         with OVERFLOW_EXCEPTION.
42920         (exp10_test_data): Likewise.
42921         (exp2_test_data): Likewise.
42922         (expm1_test_data): Likewise.
42923         (lgamma_test_data): Likewise.
42924         (pow_test_data): Likewise.
42925         (tgamma_test_data): Likewise.
42926         (yn_test_data): Remove duplicate test of overflow.
42928         * math/libm-test.inc (struct test_cc_c_data): New type.
42929         (RUN_TEST_LOOP_cc_c): New macro.
42930         (cpow_test_data): New variable.
42931         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
42933         * math/libm-test.inc (struct test_f_L_data): New type.
42934         (RUN_TEST_LOOP_f_L): New macro.
42935         (llrint_test_data): New variable.
42936         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
42937         (llrint_tonearest_test_data): New variable.
42938         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
42939         (llrint_towardzero_test_data): New variable.
42940         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
42941         (llrint_downward_test_data): New variable.
42942         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
42943         (llrint_upward_test_data): New variable.
42944         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
42945         (llround_test_data): New variable.
42946         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
42948 2013-05-13  Peter Collingbourne  <pcc@google.com>
42950         * math/atest-exp2.c (get_log2): Remove const attribute.
42952 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
42954         * math/libm-test.inc (struct test_f_l_data): New type.
42955         (RUN_TEST_LOOP_f_l): New macro.
42956         (lrint_test_data): New variable.
42957         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
42958         (lrint_tonearest_test_data): New variable.
42959         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
42960         (lrint_towardzero_test_data): New variable.
42961         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
42962         (lrint_downward_test_data): New variable.
42963         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
42964         (lrint_upward_test_data): New variable.
42965         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
42966         (lround_test_data): New variable.
42967         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
42969 2013-05-15  Peter Collingbourne  <pcc@google.com>
42971         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
42972         (EXTRACT_WORDS64) Use where appropriate.
42973         (INSERT_WORDS64) Likewise.
42975         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
42976         constraints with x constraints.
42977         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
42979         * malloc/obstack.c (_obstack_compat): Add initializer.
42981 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
42983         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
42984         si_trapno and add si_addr_lsb to _sifields.sigfault.
42985         (si_trapno): Remove macro.
42986         (si_addr_lsb): Define new macro.
42987         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
42989 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
42991         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
42992         instead of TEST_f_l.
42993         (llrint_test_tonearest): Likewise.
42994         (llrint_test_towardzero): Likewise.
42995         (llrint_test_downward): Likewise.
42996         (llrint_test_upward): Likewise.
42997         (llround_test): Likewise.
42999         * math/libm-test.inc (struct test_f_i_data): Add comment.
43000         (RUN_TEST_LOOP_f_b): New macro.
43001         (RUN_TEST_LOOP_f_b_tg): Likewise.
43002         (finite_test_data): New variable.
43003         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
43004         (isfinite_test_data): New variable.
43005         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
43006         (isinf_test_data): New variable.
43007         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
43008         (isnan_test_data): New variable.
43009         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
43010         (isnormal_test_data): New variable.
43011         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
43012         (issignaling_test_data): New variable.
43013         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
43014         (signbit_test_data): New variable.
43015         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
43017         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
43018         with INVALID_EXCEPTION.
43019         (acosh_test_data): Likewise.
43020         (asin_test_data): Likewise.
43021         (atanh_test_data): Likewise.
43022         (fmod_test_data): Likewise.
43023         (log_test_data): Likewise.
43024         (log10_test_data): Likewise.
43025         (log2_test_data): Likewise.
43026         (pow_test_data): Likewise.
43027         (sqrt_test_data): Likewise.
43028         (y0_test_data): Likewise.
43029         (y1_test_data): Likewise.
43030         (yn_test_data): Likewise.
43032         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
43033         function contents.
43035         * math/libm-test.inc (struct test_ff_i_data): New type.
43036         (RUN_TEST_LOOP_ff_i_tg): New macro.
43037         (isgreater_test_data): New variable.
43038         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
43039         (isgreaterequal_test_data): New variable.
43040         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
43041         (isless_test_data): New variable.
43042         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
43043         (islessequal_test_data): New variable.
43044         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
43045         (islessgreater_test_data): New variable.
43046         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
43047         (isunordered_test_data): New variable.
43048         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
43050 2013-05-14  David S. Miller  <davem@davemloft.net>
43052         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43054 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
43056         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
43058         * math/libm-test.inc (struct test_fF_f1_data): Change type of
43059         extra_test to int.
43060         (struct test_f_i_data): Change type of max_ulp to int.
43062         * math/libm-test.inc (test_ffI_f1_data): New type.
43063         (RUN_TEST_LOOP_ffI_f1): New macro.
43064         (remquo_test_data): New variable.
43065         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
43067         * setjmp/tst-setjmp-fp.c: New file.
43068         * setjmp/Makefile (tests): Add tst-setjmp-fp.
43069         (link-libm): New variable.
43070         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
43072         * math/libm-test.inc (struct test_f_i_data): New type.
43073         (RUN_TEST_LOOP_f_i): New macro.
43074         (RUN_TEST_LOOP_f_i_tg): Likewise.
43075         (fpclassify_test_data): New variable.
43076         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
43077         (ilogb_test_data): New variable.
43078         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
43080         * math/libm-test.inc (scalbln_test): Correct function name in END
43081         call.
43083         * math/libm-test.inc (struct test_f_f1_data): Add comment.
43084         (RUN_TEST_LOOP_fI_f1): New macro.
43085         (frexp_test_data): New variable.
43086         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
43088         * math/libm-test.inc (struct test_fF_f1_data): New type.
43089         (RUN_TEST_LOOP_fF_f1): New macro.
43090         (modf_test_data): New variable.
43091         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
43093         * math/libm-test.inc (struct test_f_f1_data): New type.
43094         (RUN_TEST_LOOP_f_f1): New macro.
43095         (gamma_test_data): New variable.
43096         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
43097         (lgamma_test_data): New variable.
43098         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
43100 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
43102         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
43103         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
43104         (main): Comment "tls" pseudo-hwcap.
43106 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
43108         * math/libm-test.inc (struct test_fl_f_data): New type.
43109         (RUN_TEST_LOOP_fl_f): New variable.
43110         (scalbln_test_data): New variable.
43111         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
43113         * math/libm-test.inc (struct test_fi_f_data): New type.
43114         (RUN_TEST_LOOP_fi_f): New macro.
43115         (ldexp_test_data): New variable.
43116         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
43117         (scalbn_test_data): New variable.
43118         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
43120         * math/libm-test.inc (struct test_c_f_data): New type.
43121         (RUN_TEST_LOOP_c_f): New macro.
43122         (cabs_test_data): New variable.
43123         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
43124         (carg_test_data): New variable.
43125         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
43126         (cimag_test_data): New variable.
43127         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
43128         (creal_test_data): New variable.
43129         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
43131         * math/libm-test.inc (struct test_if_f_data): New type.
43132         (RUN_TEST_LOOP_if_f): New macro.
43133         (jn_test_data): New variable.
43134         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
43135         (yn_test_data): New variable.
43136         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
43138         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
43140 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43142         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
43143         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
43145 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
43147         * benchtests/Makefile (CPPFLAGS-nonlib): Add
43148         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
43149         (bench-deps): Add bench-timing.h.
43150         * benchtests-bench-skeleton.c: Include bench-timing.h.
43151         (main): Use TIMING_* macros instead of clock_gettime.
43152         * benchtests/bench-timing.h: New file.
43154         [BZ #14582]
43155         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
43156         Renamed from _LIB_VERSION.
43157         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
43159 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
43161         * math/libm-test.inc (struct test_fff_f_data): New type.
43162         (RUN_TEST_LOOP_fff_f): New macro.
43163         (fma_test_data): New variable.
43164         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
43165         (fma_towardzero_test_data): New variable.
43166         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
43167         (fma_downward_test_data): New variable.
43168         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
43169         (fma_upward_test_data): New variable.
43170         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
43172         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
43173         (struct test_c_c_data): New type.
43174         (RUN_TEST_LOOP_c_c): New macro.
43175         (cacos_test_data): New variable.
43176         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
43177         (cacosh_test_data): New variable.
43178         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
43179         (casin_test_data): New variable.
43180         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
43181         (casinh_test_data): New variable.
43182         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
43183         (catan_test_data): New variable.
43184         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
43185         (catanh_test_data): New variable.
43186         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
43187         (ccos_test_data): New variable.
43188         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
43189         (ccosh_test_data): New variable.
43190         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
43191         (cexp_test_data): New variable.
43192         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
43193         (clog_test_data): New variable.
43194         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
43195         (clog10_test_data): New variable.
43196         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
43197         (conj_test_data): New variable.
43198         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
43199         (cproj_test_data): New variable.
43200         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
43201         (csin_test_data): New variable.
43202         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
43203         (csinh_test_data): New variable.
43204         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
43205         (csqrt_test_data): New variable.
43206         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
43207         (ctan_test_data): New variable.
43208         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
43209         (ctan_tonearest_test_data): New variable.
43210         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
43211         (ctan_towardzero_test_data): New variable.
43212         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
43213         (ctan_downward_test_data): New variable.
43214         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
43215         (ctan_upward_test_data): New variable.
43216         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
43217         (ctanh_test_data): New variable.
43218         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
43219         (ctanh_tonearest_test_data): New variable.
43220         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
43221         (ctanh_towardzero_test_data): New variable.
43222         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
43223         (ctanh_downward_test_data): New variable.
43224         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
43225         (ctanh_upward_test_data): New variable.
43226         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
43227         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
43228         of BUILD_COMPLEX.
43230         * math/libm-test.inc (struct test_ff_f_data): New type.
43231         (struct test_ff_f_data_nexttoward): Likewise.
43232         (RUN_TEST_LOOP_2_f): New macro.
43233         (RUN_TEST_LOOP_ff_f): Likewise.
43234         (atan2_test_data): New variable.
43235         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
43236         (copysign_test_data): New variable.
43237         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
43238         (fdim_test_data): New variable.
43239         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
43240         (fmax_test_data): New variable.
43241         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
43242         (fmin_test_data): New variable.
43243         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
43244         (fmod_test_data): New variable.
43245         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
43246         (hypot_test_data): New variable.
43247         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
43248         (nextafter_test_data): New variable.
43249         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
43250         (nexttoward_test_data): New variable.
43251         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
43252         (pow_test_data): New variable.
43253         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
43254         (pow_tonearest_test_data): New variable.
43255         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
43256         (pow_towardzero_test_data): New variable.
43257         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
43258         (pow_downward_test_data): New variable.
43259         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
43260         (pow_upward_test_data): New variable.
43261         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
43262         (remainder_test_data): New variable.
43263         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
43264         (scalb_test_data): New variable.
43265         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
43266         * sysdeps/i386/fpu/libm-test-ulps: Update.
43268 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
43270         * math/libm-test.inc (fma_test): Use max_value instead of local
43271         variable fltmax.
43272         (nextafter_test): Likewise.
43274         * math/libm-test.inc (acos_towardzero_test_data): New variable.
43275         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
43276         (acos_downward_test_data): New variable.
43277         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43278         (acos_upward_test_data): New variable.
43279         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
43280         (acosh_test_data): New variable.
43281         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
43282         (asin_test_data): New variable.
43283         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
43284         (asin_tonearest_test_data): New variable.
43285         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
43286         (asin_towardzero_test_data): New variable.
43287         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
43288         (asin_downward_test_data): New variable.
43289         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43290         (asin_upward_test_data): New variable.
43291         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
43292         (asinh_test_data): New variable.
43293         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
43294         (atan_test_data): New variable.
43295         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
43296         (atanh_test_data): New variable.
43297         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
43298         (cbrt_test_data): New variable.
43299         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
43300         (ceil_test_data): New variable.
43301         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
43302         (cos_test_data): New variable.
43303         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
43304         (cos_tonearest_test_data): New variable.
43305         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
43306         (cos_towardzero_test_data): New variable.
43307         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
43308         (cos_downward_test_data): New variable.
43309         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43310         (cos_upward_test_data): New variable.
43311         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
43312         (cosh_test_data): New variable.
43313         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
43314         (cosh_tonearest_test_data): New variable.
43315         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
43316         (cosh_towardzero_test_data): New variable.
43317         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
43318         (cosh_downward_test_data): New variable.
43319         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43320         (cosh_upward_test_data): New variable.
43321         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
43322         (erf_test_data): New variable.
43323         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
43324         (erfc_test_data): New variable.
43325         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
43326         (exp_test_data): New variable.
43327         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
43328         (exp_tonearest_test_data): New variable.
43329         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
43330         (exp_towardzero_test_data): New variable.
43331         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
43332         (exp_downward_test_data): New variable.
43333         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43334         (exp_upward_test_data): New variable.
43335         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
43336         (exp10_test_data): New variable.
43337         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
43338         (exp2_test_data): New variable.
43339         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
43340         (expm1_test_data): New variable.
43341         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
43342         (fabs_test_data): New variable.
43343         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
43344         (floor_test_data): New variable.
43345         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
43346         (j0_test_data): New variable.
43347         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
43348         (j1_test_data): New variable.
43349         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
43350         (log_test_data): New variable.
43351         (log_test): Run tests with RUN_TEST_LOOP_f_f.
43352         (log10_test_data): New variable.
43353         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
43354         (log1p_test_data): New variable.
43355         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
43356         (log2_test_data): New variable.
43357         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
43358         (logb_test_data): New variable.
43359         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
43360         (logb_downward_test_data): New variable.
43361         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43362         (nearbyint_test_data): New variable.
43363         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
43364         (rint_test_data): New variable.
43365         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
43366         (rint_tonearest_test_data): New variable.
43367         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
43368         (rint_towardzero_test_data): New variable.
43369         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
43370         (rint_downward_test_data): New variable.
43371         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43372         (rint_upward_test_data): New variable.
43373         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
43374         (round_test_data): New variable.
43375         (round_test): Run tests with RUN_TEST_LOOP_f_f.
43376         (sin_test_data): New variable.
43377         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
43378         (sin_tonearest_test_data): New variable.
43379         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
43380         (sin_towardzero_test_data): New variable.
43381         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
43382         (sin_downward_test_data): New variable.
43383         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43384         (sin_upward_test_data): New variable.
43385         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
43386         (sinh_test_data): New variable.
43387         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
43388         (sinh_tonearest_test_data): New variable.
43389         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
43390         (sinh_towardzero_test_data): New variable.
43391         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
43392         (sinh_downward_test_data): New variable.
43393         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43394         (sinh_upward_test_data): New variable.
43395         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
43396         (sqrt_test_data): New variable.
43397         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
43398         (tan_test_data): New variable.
43399         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
43400         (tan_tonearest_test_data): New variable.
43401         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
43402         (tan_towardzero_test_data): New variable.
43403         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
43404         (tan_downward_test_data): New variable.
43405         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43406         (tan_upward_test_data): New variable.
43407         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
43408         (tanh_test_data): New variable.
43409         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
43410         (tgamma_test_data): New variable.
43411         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
43412         (trunc_test_data): New variable.
43413         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
43414         (y0_test_data): New variable.
43415         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
43416         (y1_test_data): New variable.
43417         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
43418         (significand_test_data): New variable.
43419         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
43421 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
43423         [BZ #12387]
43424         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
43426 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
43428         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
43430 2013-05-10  Andreas Jaeger  <aj@suse.de>
43432         [BZ #15448]
43433         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
43434         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
43436 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
43438         * math/gen-libm-test.pl (adjust_arg): New function.
43439         (special_functions): Handle generating output in both functions
43440         and arrays.
43441         (parse_args): Likewise.
43442         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
43443         $in_func argument to parse_args.
43444         * math/libm-test.inc (struct test_f_f_data): New type.
43445         (IF_ROUND_INIT_): New macro.
43446         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
43447         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
43448         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
43449         (IF_ROUND_INIT_FE_UPWARD): Likewise.
43450         (ROUND_RESTORE_): Likewise.
43451         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
43452         (ROUND_RESTORE_FE_TONEAREST): Likewise.
43453         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
43454         (ROUND_RESTORE_FE_UPWARD): Likewise.
43455         (RUN_TEST_LOOP_f_f): New macro.
43456         (acos_test_data): New variable.
43457         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
43458         (acos_tonearest_test_data): New variable.
43459         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
43461 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
43463         * benchtests/bench-skeleton.c (startup): Fix coding style.
43465 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
43467         [BZ #6809]
43468         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
43469         negative infinity argument.
43470         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
43471         negative infinity argument.
43472         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
43473         negative infinity argument.
43474         * math/libm-test.inc (tgamma_test): Expect errno to be set for
43475         domain errors.
43477 2013-05-10  Florian Weimer  <fweimer@redhat.com>
43479         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
43480         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
43481         * iconv/iconv_prog.c (main): Likewise.
43482         * locale/programs/charmap-dir.c (charmap_readdir)
43483         (fopen_uncompressed): Likewise.
43484         * locale/programs/locfile.c (siblings_uncached)
43485         (write_locale_data): Use lstat64 instead of lstat.
43486         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
43487         stat.
43489 2013-05-10  Andreas Jaeger  <aj@suse.de>
43491         [BZ #15395]
43492         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
43493         localization.
43494         Include <locale.h>.
43496 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
43498         * elf/dl-close.c (_dl_close_worker): Add comments.
43500 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
43502         [BZ #15359]
43503         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
43504         high part of pi/2.
43505         (__ieee754_rem_pio2l): Update comments.
43507         [BZ #15429]
43508         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
43509         high part of pi/2.
43510         (__ieee754_rem_pio2l): Update comments.
43512         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
43513         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
43515         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
43516         M_PI_4l.
43518         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
43519         (M_PI_34_LOG10El): Likewise.
43520         (M_PI2_LOG10El): Likewise.
43521         (M_PI4_LOG10El): Likewise.
43522         (M_PI_LOG10El): Likewise.
43524 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43526         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43528 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
43530         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
43531         (MINUS_ZERO_INIT): Likewise.
43532         (PLUS_INFTY_INIT): Likewise.
43533         (MINUS_INFTY_INIT): Likewise.
43534         (QNAN_VALUE_INIT): Likewise.
43535         (MAX_VALUE_INIT): Likewise.
43536         (MIN_VALUE_INIT): Likewise.
43537         (MIN_SUBNORM_VALUE_INIT): Likewise.
43538         (plus_zero): Initialize with PLUS_ZERO_INIT.
43539         (minus_zero): Initialize with MINUS_ZERO_INIT.
43540         (plus_infty): Initialize with PLUS_INFTY_INIT.
43541         (minus_infty): Initialize with MINUS_INFTY_INIT.
43542         (qnan_value): Initialize with QNAN_VALUE_INIT.
43543         (max_value): Initialize with MAX_VALUE_INIT.
43544         (min_value): Initialize with MIN_VALUE_INIT.
43545         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
43547         * math/libm-test.inc (RUN_TEST_if_f): New macro.
43548         (jn_test): Use TEST_if_f instead of TEST_ff_f.
43549         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
43550         (yn_test): Use TEST_if_f instead of TEST_ff_f.
43552         * math/libm-test.inc (RUN_TEST_f_f): New macro.
43553         (RUN_TEST_2_f): Likewise.
43554         (RUN_TEST_ff_f): Likewise.
43555         (RUN_TEST_fi_f): Likewise.
43556         (RUN_TEST_fl_f): Likewise.
43557         (RUN_TEST_fff_f): Likewise.
43558         (RUN_TEST_c_f): Likewise.
43559         (RUN_TEST_f_f1): Likewise.
43560         (RUN_TEST_fF_f1): Likewise.
43561         (RUN_TEST_fI_f1): Likewise.
43562         (RUN_TEST_ffI_f1): Likewise.
43563         (RUN_TEST_c_c): Likewise.
43564         (RUN_TEST_cc_c): Likewise.
43565         (RUN_TEST_f_i): Likewise.
43566         (RUN_TEST_f_i_tg): Likewise.
43567         (RUN_TEST_ff_i_tg): Likewise.
43568         (RUN_TEST_f_b): Likewise.
43569         (RUN_TEST_f_b_tg): Likewise.
43570         (RUN_TEST_f_l): Likewise.
43571         (RUN_TEST_f_L): Likewise.
43572         (RUN_TEST_sincos): Likewise.
43573         * math/gen-libm-test.pl (new_test): Take new argument to indicate
43574         whether to show exceptions.  Do not include ");\n" in return
43575         value.
43576         (special_functions): Output call to RUN_TEST_sincos instead of
43577         check_float calls.  Update calls to new_test.
43578         (parse_args): Output call to single RUN_TEST_* macro instead of
43579         check_* calls and other assignments.  Update calls to new_test.
43581         [BZ #2546]
43582         [BZ #2560]
43583         [BZ #5159]
43584         [BZ #15426]
43585         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
43586         input to result for tgamma overflow.
43587         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
43588         (gamma_coeff): New variable.
43589         (NCOEFF): New macro.
43590         (gamma_positive): New function.
43591         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
43592         underflow here.  Use gamma_positive instead of exp (lgamma) for
43593         other arguments.
43594         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
43595         (gamma_coeff): New variable.
43596         (NCOEFF): New macro.
43597         (gammaf_positive): New function.
43598         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
43599         underflow here.  Use gamma_positive instead of exp (lgamma) for
43600         other arguments.
43601         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
43602         (gamma_coeff): New variable.
43603         (NCOEFF): New macro.
43604         (gammal_positive): New function.
43605         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
43606         underflow here.  Use gamma_positive instead of exp (lgamma) for
43607         other arguments.
43608         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
43609         (gamma_coeff): New variable.
43610         (NCOEFF): New macro.
43611         (gammal_positive): New function.
43612         (__ieee754_gammal_r): Handle positive infinity, overflow and
43613         underflow here.  Handle NaN the same as positive infinity.  Remove
43614         check x < 0xffffffff for negative integers.  Use gamma_positive
43615         instead of exp (lgamma) for other arguments.
43616         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
43617         (gamma_coeff): New variable.
43618         (NCOEFF): New macro.
43619         (gammal_positive): New function.
43620         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
43621         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
43622         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
43623         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
43624         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
43625         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
43626         * sysdeps/generic/math_private.h (__gamma_productf): New
43627         prototype.
43628         (__gamma_product): Likewise.
43629         (__gamma_productl): Likewise.
43630         * math/Makefile (libm-calls): Add gamma_product.
43631         * math/libm-test.inc (tgamma_test): Add more tests.
43632         * sysdeps/i386/fpu/libm-test-ulps: Update.
43633         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43635 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
43637         * benchtests/bench-skeleton.c (main): Preheat CPU.
43639 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
43641         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
43643 2013-05-07  Roland McGrath  <roland@hack.frob.com>
43645         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
43646         and _dl_skip_args_internal.
43648 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
43650         * manual/message.texi (Message Translation): Talk about users.
43651         Message to key mapping impacts design.
43653 2013-05-06  Roland McGrath  <roland@hack.frob.com>
43655         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
43657         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
43659         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
43660         * sysdeps/wordsize-64/glob64.c: ... here.
43662         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
43663         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
43664         New macros.
43666         * debug/getlogin_r_chk.c: Moved to ...
43667         * login/getlogin_r_chk.c: ... here.
43668         * debug/Makefile (routines): Move getlogin_r_chk to ...
43669         * login/Makefile (routines): ... here.
43670         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
43671         * login/Versions (libc: GLIBC_2.4): ... here.
43673         * io/poll.c (__poll): Renamed from poll.
43674         Add libc_hidden_def.
43675         (poll): Define as weak alias.
43677         * debug/ptsname_r_chk.c: Moved to ...
43678         * login/ptsname_r_chk.c: ... here.
43679         * debug/Makefile (routines): Move ptsname_r_chk to ...
43680         * login/Makefile (routines): ... here.
43681         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
43682         * login/Versions (libc: GLIBC_2.4): ... here.
43684         * posix/getlogin.c: Moved to ...
43685         * login/getlogin.c: ... here.
43686         * posix/getlogin_r.c: Moved to ...
43687         * login/getlogin_r.c: ... here.
43688         * posix/getlogin_r.c: Moved to ...
43689         * login/getlogin_r.c: ... here.
43690         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
43691         * login/Makefile (routines): ... here.
43692         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
43693         * login/Versions (libc: GLIBC_2.0): ... here.
43695         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
43696         (setrlimit): Define as weak alias.
43698         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
43699         Call __ names for open, ftruncate, and close.
43700         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
43701         (truncate): Define as weak alias.
43703 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
43705         * math/gen-libm-test.pl (parse_args): Initialize x before each
43706         test of frexp, modf and remquo.
43708         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
43709         test signgam value.
43711 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43713         [BZ #15418]
43714         [BZ #15419]
43715         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
43716         internal tests.
43717         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
43719 2013-05-06  Roland McGrath  <roland@hack.frob.com>
43721         * elf/dl-writev.h: New file.
43722         * elf/dl-misc.c: Include it.
43723         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
43724         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
43726 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
43728         * math/libm-test.inc (noXFails): Remove variable.
43729         (noXPasses): Likewise.
43730         (BUILD_COMPLEX_INT): Remove macro.
43731         (print_screen): Remove xfail argument.
43732         (print_screen_max_error): Likewise.
43733         (update_stats): Likewise.
43734         (print_max_error): Likewise.  Update calls to other affected
43735         functions.
43736         (print_complex_max_error): Likewise.
43737         (test_single_exception): Update calls to print_screen.
43738         (test_single_errno): Likewise.
43739         (check_float_internal): Remove xfail argument.  Update calls to
43740         other affected functions.
43741         (check_float): Likewise.
43742         (check_complex): Likewise.
43743         (check_int): Likewise.
43744         (check_long): Likewise.
43745         (check_bool): Likewise.
43746         (check_longlong): Likewise.
43747         (main): Don't print noXFails and noXPasses.
43748         * math/gen-libm-test.pl (top level): Don't mention expected
43749         failure handling in comment.
43750         (new_test): Don't handle expected failures.
43751         (parse_args): Don't mention expected failure handling in comment.
43752         (generate_testfile): Don't handle expected failures.
43753         (parse_ulps): Likewise.
43754         (print_ulps_file): Likewise.
43755         (get_failure): Remove function.
43756         (output_test): Don't handle expected failures.
43757         * make/README.libm-test: Don't mention expected failure handling.
43759         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
43760         (minus_zero): Likewise.
43761         (plus_infty): Likewise.
43762         (minus_infty): Likewise.
43763         (qnan_value): Likewise.
43764         (max_value): Likewise.
43765         (min_value): Likewise.
43766         (min_subnorm_value): Likewise.
43767         (initialize): Do not initialize those variables dynamically.
43769 2013-05-03  Roland McGrath  <roland@hack.frob.com>
43771         * io/open.c (__open_2): Moved to ...
43772         * io/open_2.c: ... this new file.
43773         * io/open64.c (__open64_2): Moved to ...
43774         * io/open64_2.c: ... this new file.
43775         * io/openat.c (__openat_2): Moved to ...
43776         * io/openat_2.c: ... this new file.
43777         * io/openat64.c (__openat64_2): Moved to ...
43778         * io/openat64_2.c: ... this new file.
43779         * io/Makefile (routines): Add them.
43780         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
43781         * sysdeps/unix/sysv/linux/open_2.c: File removed.
43782         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
43783         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
43784         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
43785         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
43786         (__openat64): Add hidden_ver.
43787         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
43788         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
43790         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
43791         Separately conditionalize setting of GLRO(dl_sysinfo) so
43792         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
43793         as well, but the actual setting is only under [NEED_DL_SYSINFO].
43795 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43797         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
43798         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
43799         definition.
43800         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
43801         * sysdeps/unix/sysv/linux/powerpc/init-first.c
43802         (_libc_vdso_platform_setup): Add __vdso_time initialization.
43803         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
43804         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
43806 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
43808         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
43809         test signgam value.
43811         * math/libm-test.inc (hypot_test): Do not use
43812         IGNORE_ZERO_INF_SIGN.
43814 2013-05-03  Andreas Jaeger  <aj@suse.de>
43816         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
43817         Linux 3.9.
43818         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
43819         (PF_MAX): Adjust for VSOCK change.
43821 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43823         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43825 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
43827         [BZ #15264]
43828         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
43829         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
43830         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
43832 2013-05-02  David S. Miller  <davem@davemloft.net>
43834         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43836 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
43838         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
43840 2013-05-01  Roland McGrath  <roland@hack.frob.com>
43842         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
43844 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
43846         [BZ #14952]
43847         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
43848         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
43849         Use __attribute__ ((__gnu_inline__)).
43850         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
43851         Don't use __attribute__ ((__gnu_inline__)).
43853 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
43855         [BZ #15423]
43856         * math/s_catan.c (__catan): Handle small real or imaginary part of
43857         input specially to avoid spurious underflow.
43858         * math/s_catanf.c (__catanf): Likewise.
43859         * math/s_catanh.c (__catanh): Likewise.
43860         * math/s_catanhf.c (__catanhf): Likewise.
43861         * math/s_catanhl.c (__catanhl): Likewise.
43862         * math/s_catanl.c (__catanl): Likewise.
43863         * math/libm-test.inc (catan_test): Add more tests.
43864         (catanh_test): Likewise.
43865         * sysdeps/i386/fpu/libm-test-ulps: Update.
43866         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43868 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43870         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43872 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
43874         [BZ #15416]
43875         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
43876         accurately for denominator in atan2.
43877         * math/s_catanf.c (__catanf): Likewise.
43878         * math/s_catanh.c (__catanh): Likewise.
43879         * math/s_catanhf.c (__catanhf): Likewise.
43880         * math/s_catanhl.c (__catanhl): Likewise.
43881         * math/s_catanl.c (__catanl): Likewise.
43882         * math/libm-test.inc (catan_test): Add more tests.
43883         (catanh_test): Likewise.
43884         * sysdeps/i386/fpu/libm-test-ulps: Update.
43885         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43887 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
43889         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
43891         * benchtests/Makefile (bench): Remove slow benchmarks.
43892         * benchtests/atan-inputs: Add slow benchmark inputs.
43893         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
43894         (BENCH_FUNC): Accept variant offset.
43895         (VARIANT): Define.
43896         * benchtests/bench-skeleton.c (main): Run benchmark for each
43897         variant.
43898         * benchtests/cos-inputs: Add slow benchmark inputs.
43899         * benchtests/exp-inputs: Likewise.
43900         * benchtests/pow-inputs: Likewise.
43901         * benchtests/sin-inputs: Likewise.
43902         * benchtests/slowatan-inputs: Remove.
43903         * benchtests/slowatan.c: Remove.
43904         * benchtests/slowcos-inputs: Remove.
43905         * benchtests/slowcos.c: Remove.
43906         * benchtests/slowexp-inputs: Remove.
43907         * benchtests/slowexp.c: Remove.
43908         * benchtests/slowpow-inputs: Remove.
43909         * benchtests/slowpow.c: Remove.
43910         * benchtests/slowsin-inputs: Remove.
43911         * benchtests/slowsin.c: Remove.
43912         * benchtests/slowtan-inputs: Remove.
43913         * benchtests/slowtan.c: Remove.
43914         * benchtests/tan-inputs: Add slow benchmark inputs.
43915         * scripts/bench.pl: Parse comments and directives.
43917         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
43918         in CPPFLAGS.
43919         ($(objpfx)bench-%.c): Remove *-ITER.
43920         * benchtests/bench-modf.c: Remove definition of ITER.
43921         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
43922         (main): Loop for DURATION seconds instead of fixed number of
43923         iterations.
43924         * scripts/bench.pl: Don't expect iterations in parameters.
43926 2013-04-29  Roland McGrath  <roland@hack.frob.com>
43928         * io/fchdir.c (__fchdir): Renamed from fchdir.
43929         (fchdir): Define as weak alias.
43931 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
43933         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
43934         (ERRNO_EDOM): Likewise.
43935         (ERRNO_ERANGE): Likewise.
43936         (noErrnoTests): New variable.
43937         (init_max_error): Set errno to 0.
43938         (test_single_errno): New function.
43939         (test_errno): Likewise.
43940         (check_float_internal): Call test_errno.  Set errno to 0.
43941         (check_complex): Refer to errno tests in comment.
43942         (check_int): Call test_errno.  Set errno to 0.
43943         (check_long): Likewise.
43944         (check_bool): Likewise.
43945         (check_longlong): Likewise.
43946         (cos_test): Use ERRNO_* flags for errno tests instead of
43947         check_int.
43948         (expm1_test): Likewise.
43949         (fmod_test): Likewise.
43950         (ilogb_test): Likewise.
43951         (lgamma_test): Likewise.
43952         (pow_test): Likewise.
43953         (remainder_test): Likewise.
43954         (sin_test): Likewise.
43955         (tan_test): Likewise.
43956         (yn_test): Likewise.
43957         (initialize): Set errno to 0.
43958         (main): Print number of errno tests.
43959         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
43961 2013-04-29  Andreas Jaeger  <aj@suse.de>
43963         [BZ #15084]
43964         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
43965         and RES_USEVC.
43967         [BZ #15085]
43968         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
43969         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
43970         unimplemented.
43972         [BZ #15380]
43973         * stdlib/random.c (__initstate): Return NULL if
43974         __initstate fails.
43976         [BZ #15086]
43977         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
43978         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
43979         RES_SNGLKUPREOP.
43981 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43983         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43985 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
43987         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
43988         of individual tests.
43989         (casin_test): Likewise.
43990         (casinh_test): Likewise.
43992 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
43994         [BZ #15409]
43995         * math/s_catan.c (__catan): Handle arguments with large real or
43996         imaginary part separately without squaring.
43997         * math/s_catanf.c (__catanf): Likewise.
43998         * math/s_catanh.c (__catanh): Likewise.
43999         * math/s_catanhf.c (__catanhf): Likewise.
44000         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
44001         and redefine.
44002         (__catanhl): Handle arguments with large real or imaginary part
44003         separately without squaring.
44004         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
44005         and redefine.
44006         (__catanl): Handle arguments with large real or imaginary part
44007         separately without squaring.
44008         * math/libm-test.inc (catan_test): Add more tests.
44009         (catanh_test): Likewise.
44010         * sysdeps/i386/fpu/libm-test-ulps: Update.
44011         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44013 2013-04-27  Andreas Jaeger  <aj@suse.de>
44015         [BZ #15007]
44016         * stdlib/stdlib.h: Update guards for qecvt.
44017         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
44018         <stdlib.h>.
44020 2013-04-27  Allan McRae  <allan@archlinux.org>
44022         * sysdeps/i386/fpu/libm-test-ulps: Update.
44024 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
44026         [BZ #15406]
44027         * math/s_catan.c: Include <float.h>.
44028         (__catan): Ensure underflow exception occurs for underflowed
44029         result.
44030         * math/s_catanf.c: Include <float.h>.
44031         (__catanf): Ensure underflow exception occurs for underflowed
44032         result.
44033         * math/s_catanh.c: Include <float.h>.
44034         (__catanh): Ensure underflow exception occurs for underflowed
44035         result.
44036         * math/s_catanhf.c: Include <float.h>.
44037         (__catanhf): Ensure underflow exception occurs for underflowed
44038         result.
44039         * math/s_catanhl.c: Include <float.h>.
44040         (__catanhl): Ensure underflow exception occurs for underflowed
44041         result.
44042         * math/s_catanl.c: Include <float.h>.
44043         (__catanl): Ensure underflow exception occurs for underflowed
44044         result.
44045         * math/libm-test.inc (catan_test): Add more tests.
44046         (catanh_test): Likewise.
44048         [BZ #15405]
44049         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
44050         underflowed result.
44051         * math/s_ccoshf.c (__ccoshf): Likewise.
44052         * math/s_ccoshl.c (__ccoshl): Likewise.
44053         * math/s_csin.c (__csin): Likewise.
44054         * math/s_csinf.c (__csinf): Likewise.
44055         * math/s_csinh.c (__csinh): Likewise.
44056         * math/s_csinhf.c (__csinhf): Likewise.
44057         * math/s_csinhl.c (__csinhl): Likewise.
44058         * math/s_csinl.c (__csinl): Likewise.
44059         * math/libm-test.inc (ccos_test): Add more tests.
44060         (ccosh_test): Likewise.
44061         (csin_test): Likewise.
44062         (csinh_test): Likewise.
44064 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44066         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
44067         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
44068         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
44069         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
44070         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
44071         powerpc/power5+/fpu folders.
44072         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
44075 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
44077         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44079 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
44081         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
44082         additions to variable.
44083         [$(config-machine) = x86_64] (modules-names): Likewise.
44084         ($(objpfx)tst-audit3): Remove dependency.
44085         ($(objpfx)tst-audit3.out): Likewise.
44086         ($(objpfx)tst-audit4): Likewise.
44087         ($(objpfx)tst-audit4.out): Likewise.
44088         ($(objpfx)tst-audit5): Likewise.
44089         ($(objpfx)tst-audit5.out): Likewise.
44090         ($(objpfx)tst-audit6): Likewise.
44091         ($(objpfx)tst-audit6.out): Likewise.
44092         ($(objpfx)tst-audit7): Likewise.
44093         ($(objpfx)tst-audit7.out): Likewise.
44094         (tst-audit3-ENV): Remove variable.
44095         (tst-audit4-ENV): Likewise.
44096         (tst-audit5-ENV): Likewise.
44097         (tst-audit6-ENV): Likewise.
44098         (tst-audit7-ENV): Likewise.
44099         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
44100         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
44101         addition to variable.
44102         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
44103         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
44104         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
44105         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
44106         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
44107         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
44108         tst-audit3, tst-audit4 and tst-audit5.
44109         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
44110         tst-audit6 and tst-audit7.
44111         [$(subdir) = elf] (modules-names): Add audit modules for those
44112         tests.
44113         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
44114         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
44115         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
44116         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
44117         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
44118         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
44119         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
44120         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
44121         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
44122         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
44123         [$(subdir) = elf] (tst-audit3-ENV): New variable.
44124         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
44125         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
44126         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
44127         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
44128         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
44129         Likewise.
44130         [$(subdir) = elf && $(config-cflags-avx) = yes]
44131         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
44132         [$(subdir) = elf && $(config-cflags-avx) = yes]
44133         (CFLAGS-tst-auditmod4a.c): Likewise.
44134         [$(subdir) = elf && $(config-cflags-avx) = yes]
44135         (CFLAGS-tst-auditmod4b.c): Likewise.
44136         [$(subdir) = elf && $(config-cflags-avx) = yes]
44137         (CFLAGS-tst-auditmod6b.c): Likewise.
44138         [$(subdir) = elf && $(config-cflags-avx) = yes]
44139         (CFLAGS-tst-auditmod6c.c): Likewise.
44140         [$(subdir) = elf && $(config-cflags-avx) = yes]
44141         (CFLAGS-tst-auditmod7b.c): Likewise.
44142         * elf/tst-audit3.c: Move to ...
44143         * sysdeps/x86_64/tst-audit3.c: ... here.
44144         * elf/tst-audit4.c: Move to ...
44145         * sysdeps/x86_64/tst-audit4.c: ... here.
44146         * elf/tst-audit5.c: Move to ...
44147         * sysdeps/x86_64/tst-audit5.c: ... here.
44148         * elf/tst-audit6.c: Move to ...
44149         * sysdeps/x86_64/tst-audit6.c: ... here.
44150         * elf/tst-audit7.c: Move to ...
44151         * sysdeps/x86_64/tst-audit7.c: ... here.
44152         * elf/tst-auditmod3a.c: Move to ...
44153         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
44154         * elf/tst-auditmod3b.c: Move to ...
44155         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
44156         * elf/tst-auditmod4a.c: Move to ...
44157         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
44158         * elf/tst-auditmod4b.c: Move to ...
44159         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
44160         * elf/tst-auditmod5a.c: Move to ...
44161         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
44162         * elf/tst-auditmod5b.c: Move to ...
44163         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
44164         * elf/tst-auditmod6a.c: Move to ...
44165         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
44166         * elf/tst-auditmod6b.c: Move to ...
44167         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
44168         * elf/tst-auditmod6c.c: Move to ...
44169         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
44170         * elf/tst-auditmod7a.c: Move to ...
44171         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
44172         * elf/tst-auditmod7b.c: Move to ...
44173         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
44175 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
44177         [BZ #15366]
44178         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
44179         define unconditionally.
44180         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
44181         define unconditionally.
44182         (INT8_C, INT16_C, etc.): Likewise.
44184 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
44186         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
44187         __ehdr_start with hidden visibility.
44189         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
44191 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
44193         * math/libm-test.inc (cos_test): Use accurate hex constants.
44194         (sincost_test): Likewise.
44196 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
44198         * math/libm-test.inc (catan_test): Add more tests.
44199         (catanh_test): Likewise.
44201         * math/s_catanf.c (__catanf): Use suffixed floating-point
44202         constants.
44203         * math/s_catanhf.c (__catanhf): Likewise.
44204         * math/s_catanhl.c (__catanhl): Likewise.
44205         * math/s_catanl.c (__catanl): Likewise.
44207         [BZ #15394]
44208         * math/s_catan.c (__catan): Calculate imaginary part of result
44209         with log1p not log unless computing log of number close to 0.
44210         * math/s_catanf.c (__catanf): Likewise.
44211         * math/s_catanl.c (__catanl): Likewise.
44212         * math/s_catanh.c (__catanh): Calculate real part of result with
44213         log1p not log unless computing log of number close to 0.
44214         * math/s_catanhf.c (__catanhf): Likewise.
44215         * math/s_catanhl.c (__catanhl): Likewise.
44216         * math/libm-test.inc (catan_test): Add more tests.
44217         (catanh_test): Likewise.
44218         * sysdeps/i386/fpu/libm-test-ulps: Update.
44219         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44221 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
44223         * benchtests/Makefile: Mention files in which fast and slow
44224         paths of math functions are implemented.
44226 2013-04-23  Roland McGrath  <roland@hack.frob.com>
44228         * sysdeps/posix/timespec_get.c: New file.
44230 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44232         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
44233         POWER.
44234         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
44235         for POWER.
44236         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
44237         powerpc/power5/fpu folders.
44238         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
44239         * benchtests/Makefile: Add modf testcase.
44240         * benchtests/bench-modf.c: New file: Benchmark test for mo
44242 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
44244         [BZ #14888]
44245         * time/Makefile (tests): Add tst-strptime-whitespace.
44246         * time/strptime_l.c (get_number): Use ISSPACE.
44247         (__strptime_internal): Likewise.
44248         * time/tst-strptime-whitespace.c: New test case.
44250 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
44252         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
44253         member.
44254         (_nss_files_init): Set it here.
44256 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
44258         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
44259         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
44260         unsigned.
44262 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
44264         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
44266 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
44268         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
44269         size just once.
44271 2013-04-21  David S. Miller  <davem@davemloft.net>
44273         * po/ru.po: Update Russion translation from translation project.
44275 2013-04-17  Adam Conrad  <adconrad@0c3.net>
44277         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
44278         and setfsgid.
44280 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
44282         * configure.in: Remove i386 configure warning. Remove i386 case.
44283         * configure: Regenerate.
44284         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
44285         Add example to error message.
44286         * sysdeps/i386/configure: Regenerate.
44288 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
44290         * benchtests/Makefile (bench): Add cos, tan, slowcos and
44291         slowtan.
44292         * benchtests/cos-inputs: New file.
44293         * benchtests/slowcos-inputs: New file.
44294         * benchtests/slowcos.c: New file.
44295         * benchtests/slowtan-inputs: New file.
44296         * benchtests/slowtan.c: New file.
44297         * benchtests/tan-inputs: New file.
44299 2013-04-16  Roland McGrath  <roland@hack.frob.com>
44301         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
44302         considered kosher.
44304 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
44306         * benchtests/Makefile: Include cppflags-iterator.mk to add
44307         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
44309         * Makefile.in (bench-clean): New target.
44310         * benchtests/Makefile (bench-clean): Likewise.
44312 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
44314         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
44316 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
44318         * stdio-common/tstdiomisc.c: Fix coding-style violation.
44320 2013-04-15  Andreas Schwab  <schwab@suse.de>
44322         * nscd/grpcache.c (cache_addgr): Properly check for short write.
44323         * nscd/initgrcache.c (addinitgroupsX): Likewise.
44324         * nscd/pwdcache.c (cache_addpw): Likewise.
44325         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
44326         more than recsize.
44328 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
44330         * benchtests/Makefile (bench): Write all output to
44331         bench-out.tmp together.
44333 2013-04-15  Andreas Schwab  <schwab@suse.de>
44335         * nscd/nscd.c (main): Don't fork again after closing files.
44337 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
44339         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
44341         * benchtests/Rules (bench-deps): Collect dependencies into a
44342         single variable.  Add Makefile to dependencies.
44343         ($(objpfx)bench-%.c): Depend on bench-deps.
44345 2013-04-12  Roland McGrath  <roland@hack.frob.com>
44346             Xavier Roche  <roche+kml2@exalead.com>
44348         [BZ #15361]
44349         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
44350         just that it's a file descriptor.
44351         * manual/llio.texi (Synchronizing AIO Operations): Update description
44352         for EBADF error from aio_fsync.
44354 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
44356         * Rules (bench): Move target definition...
44357         * benchtests/Makefile: ... here.
44359 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
44361         * math/libm-test.inc (cos_test): Fix PI/2 test.
44362         (sincos_test): Likewise.
44363         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
44364         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
44366 2013-04-11  Andreas Schwab  <schwab@suse.de>
44368         [BZ #13988]
44369         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
44370         accept exponent character only when digits were seen.
44371         * stdio-common/Makefile (tests): Add bug26.
44372         * stdio-common/bug26.c: New file.
44374         [BZ #14293]
44375         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
44376         non-freeable.
44378 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
44380         * Makeconfig (rtld-prefix): Define built linker prefix.
44381         * Rules (run-bench): Use it.
44382         * math/Makefile (run-regen-ulps): Likewise.
44384         * Rules (bench): Remove eval.
44386 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
44387             Roland McGrath  <roland@hack.frob.com>
44388             Ondrej Bilka  <neleai@seznam.cz>
44390         [BZ #15346]
44391         * time/getdate.c: Include ctype.h and alloca.h.
44392         (__getdate_r): Trim leading and trailing spaces of input.
44393         * time/tst-getdate.c (tests): Add tests with leading and
44394         trailing spaces.
44396 2013-04-08  Roland McGrath  <roland@hack.frob.com>
44398         [BZ #14280]
44399         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
44400         when computing value.
44402 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
44404         * math/README.libm-test (How can I generate "libm-test-ulps"?):
44405         Use testrun.sh to run libm tests.
44407         [BZ #15309]
44408         * elf/dl-open.c (dl_open_worker): memset all of seen array.
44410 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
44412         [BZ #15264]
44413         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
44415 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
44417         * Makefile.in (regen-ulps): New target.
44418         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
44419         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
44420         [ifneq (no,$(PERL)] (regen-ulps): New target.
44421         [ifeq (no,$(PERL)] (regen-ulps): New target.
44422         * math/libm-test.inc (ulps_file_name): Define.
44423         (output_dir): New variable.
44424         (options): Add "output-dir" option.
44425         (parse_opt): Handle 'o' case.
44426         (main): If output_dir is non-NULL use it as a prefix
44427         otherwise use "".
44428         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
44430 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
44432         [BZ #10060, #10062]
44433         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
44434         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
44435         fail configure if __sync_val_compare_and_swap is not inlined.
44436         * sysdeps/i386/configure: Regenerate.
44437         * configure.in: Build for i686 when configured for i386.
44438         * configure: Regenerate.
44439         * README: Remove i386 reference.
44441 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
44443         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
44444         * sysdeps/s390/s390-64/sysdep.h: Likewise.
44446 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
44448         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
44449         (lmsnanval): New variables.
44450         (F): Add conversion tests.
44451         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
44452         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
44454         * stdio-common/tstdiomisc.c (F): Properly collect individual
44455         tests' results.
44457         [BZ #14686, #15336]
44458         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
44459         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
44460         Instead, use input NaN values or generate a qNaN by arithmetic
44461         operation.  Also fix bugs to comply with the standard.
44462         * math/libm-test.inc (remainder_test): Add more tests.
44464         [BZ #15335, #15342]
44465         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
44466         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
44467         input NaN values or generate a qNaN by arithmetic operation.
44469         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
44470         unreachable code.
44472         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
44473         definitions.
44475 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
44477         [BZ #14478]
44478         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
44479         underflowed result.
44480         * math/s_cexpf.c (__cexpf): Likewise.
44481         * math/s_cexpl.c (__cexpl): Likewise.
44482         * math/libm-test.inc (cexp_test): Add more tests.
44484 2013-04-03  Andreas Schwab  <schwab@suse.de>
44486         [BZ #15330]
44487         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
44488         order arrays from heap if bigger than alloca cutoff.
44490 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
44492         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
44493         (SNAN_TESTS_double): Refer to GCC PR56831.
44494         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
44495         GCC PR56828.
44497 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
44499         * Rules (bench): Move bench.out after the run is complete.
44501         * Rules (bench): Echo currently running benchmark.
44503         * benchtests/Makefile (bench): Add atan and slowatan.
44504         * benchtests/atan-inputs: New file.
44505         * benchtests/slowatan-inputs: New file.
44506         * benchtests/slowatan.c: New file.
44508         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
44509         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
44510         its value.
44512         [BZ #15305]
44513         * sysdeps/unix/sysv/linux/kernel-features.h
44514         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
44515         __ASSUME_XFS_RESTRICTED_CHOWN.
44516         * sysdeps/unix/sysv/linux/pathconf.c
44517         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
44518         Save and restore errno.
44520 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
44522         [BZ #15327]
44523         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
44524         arguments using __kernel_casinh.
44525         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
44526         arguments using __kernel_casinhf.
44527         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
44528         arguments using __kernel_casinhl.
44529         * math/libm-test.inc (cacosh_test): Add more tests.
44530         * sysdeps/i386/fpu/libm-test-ulps: Update.
44531         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44533 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
44535         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
44536         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
44538         * bench/Makefile (bench): Add sin and slowsin.
44539         * benchtests/sin-inputs: New file.
44540         * benchtests/slowsin-inputs: New file.
44541         * benchtests/slowsin.c: New file.
44543         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
44544         (bench): Add slowexp and slowpow.
44545         (exp-ITER): Increase iterations.
44546         (pow-ITER): Likewise.
44547         * benchtests/exp-inputs: Change input.
44548         * benchtests/pow-inputs: Likewise.
44549         * benchtests/slowexp-inputs: New file.
44550         * benchtests/slowexp.c: New file.
44551         * benchtests/slowpow-inputs: New file.
44552         * benchtests/slowpow.c: New file.
44554 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44556         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
44557         instructions.
44558         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
44559         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
44560         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
44561         * benchtests/Makefile: Add rint benchtest.
44562         * benchtests/rint-inputs: Input for rint benchtest.
44564 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
44566         * Versions.def (libm): Add GLIBC_2.18.
44567         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
44568         hidden libm prototypes.
44569         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
44570         * math/Makefile (libm-calls): Add s_issignaling.
44571         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
44572         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
44573         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
44574         declaration.
44575         * math/math.h [__USE_GNU] (issignaling): New macro.
44576         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
44577         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
44578         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
44579         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
44580         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
44581         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
44582         * manual/arith.texi (issignaling): New section.
44583         * manual/libm-err-tab.pl (@all_functions): Update comment.
44584         * math/gen-libm-test.pl (parse_args): Apply special handling for
44585         issignaling.
44586         * math/libm-test.inc (print_float, issignaling_test): New
44587         functions.
44588         (check_float_internal): Add issignaling checks.
44589         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
44590         default definition.
44591         * sysdeps/powerpc/math-tests.h: New file.
44592         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
44593         tests.
44594         * math/test-snan.c (TEST_FUNC): Likewise.
44596 2013-03-30  David S. Miller  <davem@davemloft.net>
44598         * po/de.po: Update from translation team.
44600 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
44602         [BZ #10357]
44603         * math/k_casinh.c (__kernel_casinh): Handle arguments with
44604         imaginary part less than 1.0 and real part less than 0.5
44605         specially.
44606         * math/k_casinhf.c (__kernel_casinhf): Likewise.
44607         * math/k_casinhl.c (__kernel_casinhl): Likewise.
44608         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
44609         (cacos_test): Add more tests.
44610         (casin_test): Likewise.
44611         (casinh_test): Likewise.
44612         * sysdeps/i386/fpu/libm-test-ulps: Update.
44613         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44615 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
44617         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
44618         ONE with its value.
44620         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
44621         (__pow_mp): Replace ONE and MONE with their values.
44622         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
44623         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
44624         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
44625         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
44626         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
44627         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
44629         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
44631         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
44632         (__pow_mp): Replace ZERO and MZERO with their values.
44633         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
44634         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
44635         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
44636         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
44637         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
44638         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
44639         (__sqr): Likewise.
44641         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
44643         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
44645 2013-03-28  Roland McGrath  <roland@hack.frob.com>
44647         * include/stdlib.h [!SHARED] (__call_tls_dtors):
44648         Declare with __attribute__ ((weak)).
44649         * stdlib/exit.c (__libc_atexit) [!SHARED]:
44650         Call __call_tls_dtors only if it's not NULL.
44652 2013-03-28  Roland McGrath  <roland@hack.frob.com>
44654         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
44655         didn't do it already, then set _dl_phdr and _dl_phnum based on the
44656         magic __ehdr_start linker symbol if it's defined.
44657         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
44658         them up here if it was already done.
44660         * elf/dl-support.c (_dl_phdr): Make pointer to const.
44661         (_dl_aux_init): Use const in cast when setting it.
44662         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
44663         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
44664         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
44666         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
44667         Declare them here.
44668         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
44669         * csu/libc-tls.c: Nor here.
44670         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
44672         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
44673         (__libc_message): Never call vsyslog.
44675 2013-03-28  Alan Modra  <amodra@gmail.com>
44677         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
44678         Define as empty.
44679         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
44680         Likewise.
44682 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44684         [BZ #15214]
44685         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
44686         underflow.
44687         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44689 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44691         [BZ #15304]
44692         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
44693         Don't add gid passed as argument.
44695         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
44697 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
44699         [BZ #15307]
44700         * math/k_casinh.c (__kernel_casinh): Handle arguments with
44701         imaginary part between 1.0 and 1.5 and real part less than 0.5
44702         specially.
44703         * math/k_casinhf.c (__kernel_casinhf): Likewise.
44704         * math/k_casinhl.c (__kernel_casinhl): Likewise.
44705         * math/libm-test.inc (cacos_test): Add more tests.
44706         (casin_test): Likewise.
44707         (casinh_test): Likewise.
44708         * sysdeps/i386/fpu/libm-test-ulps: Update.
44709         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44711 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
44713         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
44714         constants.
44715         (norm): Likewise.
44716         (denorm): Likewise.
44717         (__dbl_mp): Likewise.
44718         (add_magnitudes): Likewise.
44719         (sub_magnitudes): Likewise.
44720         (__add): Likewise.
44721         (__sub): Likewise.
44722         (__mul): Likewise.
44723         (__sqr): Likewise.
44724         (__inv): Likewise.
44725         (__dvd): Likewise.
44727         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
44728         commented code.
44729         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
44730         (__dubcos): Likewise.
44731         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
44732         (__ieee754_acos): Likewise.
44733         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
44734         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
44735         (__exp1): Likewise.
44736         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
44737         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
44738         (log1): Likewise.
44739         (my_log2): Likewise.
44740         (checkint): Likewise.
44741         * sysdeps/ieee754/dbl-64/e_remainder.c
44742         (__ieee754_remainder): Likewise.
44743         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
44744         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
44745         (bsloww): Likewise.
44746         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
44748         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
44749         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
44750         MANTISSA_STORE_T to store computations on mantissa.  Use
44751         macros for rounding and division.
44752         (denorm): Likewise.
44753         (__dbl_mp): Likewise.
44754         (add_magnitudes): Likewise.
44755         (sub_magnitudes): Likewise.
44756         (__mul): Likewise.
44757         (__sqr): Likewise.
44758         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
44759         powers of two in terms of TWOPOW macro.
44760         (mp_no): Make type of mantissa as MANTISSA_T.
44761         [!RADIXI]: Define RADIXI.
44762         [!TWO52]: Define TWO52.
44763         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
44765 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44767         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
44768         llroundl symbol when building for PPC32.
44770 2013-03-24  Mark H Weaver  <mhw@netris.org>
44772         * manual/arith.texi (Normalization Functions): Fix prototypes for
44773         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
44775 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44777         [BZ #13889]
44778         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
44779         high value to check if expl overflow.
44780         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
44781         to check for underflow and overflow.
44782         * math/libm-test.inc: Add exp test.
44784 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
44786         [BZ #11120]
44787         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
44788         with NOT_IN_libc.
44790 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44792         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
44793         symbol.
44795 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
44797         * math/gen-libm-test.pl (parse_args, special_functions): Properly
44798         wrap blocks consisting of several statements.
44800         * sysdeps/generic/math-tests.h: New file.
44801         * sysdeps/i386/fpu/math-tests.h: Likewise.
44802         * math/test-snan.c: Include it.
44803         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
44805 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
44807         [BZ #15285]
44808         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
44809         (__ieee754_j0l): Do not improve calculations using cos of twice
44810         input for inputs above LDBL_MAX / 2.0L.
44811         (__ieee754_y0l): Likewise.
44812         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
44813         (__ieee754_j1l): Do not improve calculations using cos of twice
44814         input for inputs above LDBL_MAX / 2.0L.
44815         (__ieee754_y1l): Likewise.
44816         * math/libm-test.inc (j0_test): Add another test.
44817         (j1_test): Likewise.
44818         (y0_test): Likewise.
44819         (y1_test): Likewise.
44820         * sysdeps/i386/fpu/libm-test-ulps: Update.
44822 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
44824         * Rules ($(objpfx)bench-%.c): Include code from a C source
44825         file.
44827 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
44829         [BZ #15287]
44830         * math/k_casinh.c (__kernel_casinh): Handle arguments with
44831         imaginary part 1.0 and real part less than 0.5 specially.
44832         * math/k_casinhf.c (__kernel_casinhf): Likewise.
44833         * math/k_casinhl.c (__kernel_casinhl): Likewise.
44834         * math/libm-test.inc (cacos_test): Add more tests.
44835         (casin_test): Likewise.
44836         (casinh_test): Likewise.
44837         * sysdeps/i386/fpu/libm-test-ulps: Update.
44838         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44840 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
44842         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
44843         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
44845 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
44847         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
44848         * config.make.in (config-cflags-sse4): Remove variable.
44849         (config-cflags-avx): Likewise.
44850         (config-cflags-sse2avx): Likewise.
44851         (config-cflags-novzeroupper): Likewise.
44852         (config-asflags-i686): Likewise.
44853         (have-mfma4): Likewise.
44854         (have-as-vis3): Likewise.
44855         (MIG): Likewise.
44856         * configure.in (MIG): Do not AC_SUBST.
44857         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
44858         (libc_cv_cc_sse4): Do not AC_SUBST.
44859         (libc_cv_cc_avx): Likewise.
44860         (libc_cv_cc_sse2avx): Likewise.
44861         (libc_cv_cc_novzeroupper): Likewise.
44862         (libc_cv_cc_fma4): Likewise.
44863         (libc_cv_as_i686): Likewise.
44864         (libc_cv_sparc_as_vis3): Likewise.
44865         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
44866         LIBC_CONFIG_VAR.
44867         (config-asflags-i686): Likewise.
44868         (config-cflags-avx): Likewise.
44869         (config-cflags-sse2avx): Likewise.
44870         (have-mfma4): Likewise.
44871         (config-cflags-novzeroupper): Likewise.
44872         * sysdeps/mach/configure.in (MIG): Likewise.
44873         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
44874         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
44875         LIBC_CONFIG_VAR.
44876         (config-cflags-avx): Likewise.
44877         (config-cflags-sse2avx): Likewise.
44878         (have-mfma4): Likewise.
44879         (config-cflags-novzeroupper): Likewise.
44880         * configure: Regenerated.
44881         * sysdeps/i386/configure: Likewise.
44882         * sysdeps/mach/configure: Likewise.
44883         * sysdeps/sparc/configure: Likewise.
44884         * sysdeps/x86_64/configure: Likewise.
44886 2013-03-20  Roland McGrath  <roland@hack.frob.com>
44888         [BZ #14812]
44889         * locale/programs/localedef.c (options): Put N_ translation marker
44890         on argument names, not just descriptions.
44892 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
44894         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
44896 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
44898         [BZ #14176]
44899         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
44901 2013-03-19  Roland McGrath  <roland@hack.frob.com>
44903         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
44904         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
44905         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
44906         [!BEFORE_ABORT] (before_abort): New function.
44907         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
44908         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
44909         (writev_for_fatal): New function.
44910         (WRITEV_FOR_FATAL): New macro; call that.
44911         (backtrace_and_maps): New function.
44912         (BEFORE_ABORT): New macro; call that.
44913         (struct str_list): Type removed.
44914         (__libc_message, __libc_fatal): Functions removed.
44915         Include <sysdeps/posix/libc_fatal.c> instead.
44917 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
44919         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
44920         constants.
44921         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
44922         double constants.
44924 2013-03-19  Andreas Schwab  <schwab@suse.de>
44926         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
44927         * sysdeps/gnu/configure: Regenerate.
44929         * configure.in: Substitute libc_cv_rtlddir.
44930         * configure: Regenerate.
44931         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
44932         * Makeconfig (rtlddir, inst_rtlddir): New variables.
44933         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
44934         * elf/Makefile (install-others, CFLAGS-interp.c)
44935         (ldso_install, common-ldd-rewrite): Likewise.
44936         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
44937         $(inst_slibdir)/$(rtld-installed-name).
44938         * scripts/rellns-sh: Add -p option.
44939         * Makerules (make-shlib-link): Use rellns-sh to get relative name
44940         for source.
44942 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
44944         * manual/nptl.texi: Renamed to ...
44945         * manual/threads.texi: ... this.
44946         * manual/Makefile (chapters): Update.
44948 2013-03-18  Roland McGrath  <roland@hack.frob.com>
44950         [BZ #14812]
44951         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
44952         on argument names, not just descriptions.
44953         * malloc/memusagestat.c (options): Likewise.
44954         * nss/getent.c (options): Likewise.
44956 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
44958         [BZ #14812]
44959         * iconv/iconv_prog.c (options): Put N_ translation marker
44960         on argument names, not just descriptions.
44961         * iconv/iconvconfig.c (options): Likewise.
44963 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
44965         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
44966         implementation which is faster on all x86_64 architectures.
44967         Tested on AMD, Intel Nehalem, SNB, IVB.
44968         * sysdeps/x86_64/strnlen.S: Likewise.
44970         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
44971         Remove all multiarch strlen and strnlen versions.
44972         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
44973         Remove strlen and strnlen related parts.
44975         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
44976         Inline strlen part.
44977         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
44979         * sysdeps/x86_64/multiarch/strlen.S: Remove.
44980         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
44981         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
44982         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
44983         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
44984         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
44986 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
44988         * manual/memory.texi (Malloc Tunable Parameters):
44989         Sort parameters alphabetically. Add comments for missing entries.
44991 2013-03-17  David S. Miller  <davem@davemloft.net>
44993         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44995 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
44997         [BZ #15283]
44998         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
44999         for arguments at most half maximum finite value.
45000         * math/libm-test.inc (j0_test): Add more tests.
45001         (j1_test): Likewise.
45002         (y0_test): Likewise.
45003         (y1_test): Likewise.
45004         * sysdeps/i386/fpu/libm-test-ulps: Update.
45005         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45007         [BZ #14155]
45008         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
45009         1 / x and functions P and Q for arguments above 0x1p256L.
45010         (__ieee754_y0l): Likewise.
45011         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
45012         (__ieee754_y1l): Likewise.
45013         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
45014         (j1_test): Likewise.
45015         (y0_test): Likewise.
45016         (y1_test): Likewise.
45018 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
45020         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
45021         variable.
45023 2013-03-15  Roland McGrath  <roland@hack.frob.com>
45025         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
45026         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
45027         zero since it's initialized to EXEC_PAGESIZE.
45029         * sysdeps/unix/sysv/linux/ldsodefs.h
45030         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
45031         * sysdeps/generic/ldsodefs.h: ... here.
45033 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
45035         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
45037         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
45038         math/test-snan.c.
45039         * math/test-snan.c: Renamed from
45040         sysdeps/powerpc/fpu/test-powerpc-snan.c.
45041         * math/Makefile (tests): Add test-snan.
45042         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
45043         test-powerpc-snan.
45045         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
45046         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
45047         functions.
45048         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
45049         __builtin_nan family of functions.
45050         * math/libm-test.inc (initialize): Initialize qnan_value with
45051         __builtin_nan family of functions.
45052         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
45053         Remove variables.
45054         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
45055         Remove functions.
45056         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
45057         storage class.  Initialize qNaN_var and sNaN_var with
45058         __builtin_nan and __builtin_nans families of functions,
45059         respectively.
45061         * math/libm-test.inc (acosh_test): Also test with qNaN input.
45062         (sqrt_test): Remove duplicate test with qNaN input.
45063         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
45064         (round_test, signbit_test, significand_test): Note missing +/-Inf
45065         as well as qNaN tests.
45067         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
45068         qNaN_var.  Fix a few strings, too.
45069         * math/libm-test.inc (nan_value): Rename to qnan_value.
45070         * math/gen-libm-test.pl (%beautify): Adjust to that.
45071         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
45072         * math/test-misc.c (main): Likewise.
45073         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
45074         to __qnan_bytes, and __qnan_union, respectively.
45075         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
45076         Likewise.
45077         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
45078         and lqnanval, respectively.
45079         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
45080         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
45081         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
45082         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
45084         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
45085         * math/test-misc.c (main) [__x86_64__]: Enable test for long
45086         doubles.
45088         * math/test-misc.c (main): Fix copy'n'pastos.
45089         * misc/tst-efgcvt.c (special): Likewise.
45091         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
45092         Remove declarations.
45094 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
45096         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
45097         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
45098         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
45099         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
45101 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45103         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
45104         macro to return vdso values correctly in IFUNC implementations.
45105         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
45106         Optimization by using IFUNC.
45108 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
45109             Richard Henderson  <rth@redhat.com>
45110             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
45112         * Makefile.in (bench): New target.
45113         * NEWS: Mention the benchmark framework.
45114         * Rules (bench): Likewise.
45115         (binaries-bench): Generate binaries for functions to
45116         benchmark.
45117         * benchtests/Makefile: New makefile for benchmark tests.
45118         * benchtests/bench-skeleton.c: New skeleton file for benchmark
45119         programs.
45120         * benchtests/exp-inputs: New input file for EXP function.
45121         * benchtests/pow-inputs: New input file for POW function.
45122         * scripts/bench.pl: New script to generate source files for
45123         benchmark programs.
45125 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
45127         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
45128         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
45129         computations on mantissa.  Use macros for rounding and
45130         division.
45131         (denorm): Likewise.
45132         (__dbl_mp): Likewise.
45133         (add_magnitudes): Likewise.
45134         (sub_magnitudes): Likewise.
45135         (__mul): Likewise.
45136         (__sqr): Likewise.
45137         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
45138         powers of two in terms of TWOPOW macro.
45139         (mp_no): Make type of mantissa as MANTISSA_T.
45140         [!RADIXI]: Define RADIXI.
45141         [!TWO52]: Define TWO52.
45142         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
45144         * manual/nptl.texi (cindex): Modify threads to pthreads.
45146 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
45148         * sysdeps/x86_64/preconfigure: Regenerated.
45150 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
45152         [BZ #14155]
45153         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
45154         0x1p28 and above.
45155         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
45156         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
45157         0x1p28 and above.
45158         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
45159         * math/libm-test.inc (j0_test): Do not allow one spurious
45160         underflow exception.
45161         (y1_test): Likewise.
45163 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
45165         * manual/Makefile (chapters): Add nptl.
45166         * manual/debug.texi (Debugging Support): Add link to Threads
45167         chapter.
45168         * manual/nptl.texi: New file.
45170         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
45172 2013-03-14  Petr Baudis  <pasky@ucw.cz>
45174         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
45175         for non-NULL pointer before the memory validity test. Pointed
45176         out by Holger Brunck <holger.brunck@keymile.com>.
45178 2013-03-13  Andreas Schwab  <schwab@suse.de>
45180         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
45181         instead of .os.
45183 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
45185         * timezone/zic.c: Update from tzcode 2013b.
45187 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
45189         * manual/install.texi (Configuring and compiling):
45190         Mention i686 and i586.
45191         * INSTALL: Regenerate.
45193 2013-03-12  Roland McGrath  <roland@hack.frob.com>
45195         * sysdeps/init_array/elf-init.c: New file.
45196         * csu/elf-init.c
45197         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
45198         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
45200         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
45201         __gmon_start__ as global, but as static with a .preinit_array pointer.
45202         * sysdeps/init_array/gmon-start.c: New file.  Use that.
45203         * sysdeps/init_array/crti.S: New file, empty except for comments.
45204         * sysdeps/init_array/crtn.S: Likewise.
45206 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
45208         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
45209         definining bcopy.
45210         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45211         Remove Prefer_SSE_for_memop.
45212         * sysdeps/x86_64/multiarch/init-arch.h: Remove
45213         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
45214         HAS_PREFER_SSE_FOR_MEMOP.
45215         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
45216         memset-x86-64.
45217         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
45218         Remove bzero, memset ifunc support.
45219         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
45220         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
45221         * sysdeps/x86_64/multiarch/memset.S: Likewise.
45222         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
45224 2013-03-11  Andreas Schwab  <schwab@suse.de>
45226         [BZ #15234]
45227         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
45228         by SHLIB_COMPAT.
45229         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
45230         (GLIBC_2.16): Remove pthread_atfork.
45232 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
45234         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
45235         (ptestcases.h): Likewise.
45237 2013-03-08  Roland McGrath  <roland@hack.frob.com>
45239         * Makeconfig ($(common-objpfx)config.status): Depend on
45240         sysdeps/*/preconfigure{,.in} too.
45242 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
45244         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
45245         (__free_hook): Use void * instead of __malloc_ptr_t.
45246         (__malloc_hook): Likewise.
45247         (__realloc_hook): Likewise.
45248         (__memalign_hook): Likewise.
45249         (__after_morecore_hook): Likewise.
45250         * malloc/arena.c (save_malloc_hook): Likewise.
45251         (save_free_hook): Likewise.
45252         * malloc/hooks.c (malloc_hook_ini): Likewise.
45253         (realloc_hook_ini): Likewise.
45254         (memalign_hook_ini): Likewise.
45255         * malloc/malloc.c (malloc_hook_ini): Likewise.
45256         (realloc_hook_ini): Likewise.
45257         (memalign_hook_ini): Likewise.
45258         (__free_hook): Likewise.
45259         (__malloc_hook): Likewise.
45260         (__realloc_hook): Likewise.
45261         (__memalign_hook): Likewise.
45262         (__libc_malloc): Likewise.
45263         (__libc_free): Likewise.
45264         (__libc_realloc): Likewise.
45265         (__libc_memalign): Likewise.
45266         (__libc_valloc): Likewise.
45267         (__libc_pvalloc): Likewise.
45268         (__libc_calloc): Likewise.
45269         (__posix_memalign): Likewise.
45270         * malloc/morecore.c (__sbrk): Likewise.
45271         (__default_morecore): Likewise.
45273         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
45275         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
45276         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
45277         __malloc_ptrdiff_t.
45279         * malloc/malloc.h (__malloc_size_t): Remove macro.
45280         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
45281         __malloc_size_t.
45282         (old_memalign_hook): Likewise.
45283         (old_realloc_hook): Likewise.
45284         (struct hdr): Likewise.
45285         (flood): Likewise.
45286         (mallochook): Likewise.
45287         (memalignhook): Likewise.
45288         (reallochook): Likewise.
45289         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
45290         (tr_old_realloc_hook): Likewise.
45291         (tr_old_memalign_hook): Likewise.
45292         (tr_mallochook): Likewise.
45293         (tr_reallochook): Likewise.
45294         (tr_memalignhook): Likewise.
45296 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45298         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
45299         default_ldbl_pack and using as default implementation.
45300         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
45301         implementation.
45302         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
45303         redundant definition.
45304         (ldbl_insert_mantissa): Likewise.
45305         (ldbl_canonicalize): Likewise.
45306         (ldbl_nearbyint): Likewise.
45307         (ldbl_pack): Rename to ldbl_pack_ppc.
45308         (ldbl_unpack): Rename to ldbl_unpack_ppc.
45309         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
45310         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
45312 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
45314         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
45315         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
45316         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
45317         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
45318         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
45319         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
45320         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
45321         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
45323 2013-03-07  Andreas Jaeger  <aj@suse.de>
45325         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45326         bits/mman-linux.h.
45328 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
45330         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
45331         Include mpa.h and declare __MPEXP.
45332         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
45333         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
45334         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
45335         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
45336         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
45337         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
45338         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
45340         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
45341         (__slowpow): Use long double EXPL and LOGL functions to
45342         compute POW.
45343         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
45344         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
45345         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
45346         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
45347         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
45348         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
45350         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
45351         intermediate variable to calculate exponent.
45352         (__sqr): Likewise.
45353         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
45354         Likewise.
45355         (__sqr): Likewise.
45357         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
45358         [!NO__SQR]: Define __sqr.
45359         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
45360         and NO__SQR.  Remove all code except __mul and __sqr.  Include
45361         sysdeps/ieee754/dbl-64/mpa.c.
45362         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
45364         [BZ #12723]
45365         * posix/Makefile (tests): Add tst-pathconf.
45366         * posix/tst-pathconf.c: New test case.
45367         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
45368         _PC_PIPE_BUF.
45369         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
45371 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
45373         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
45375 2013-03-06  Andreas Jaeger  <aj@suse.de>
45377         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
45378         definition via __MAP_ANONYMOUS.
45380         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
45381         it's not part of Linux headers.
45383         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
45384         (MAP_HUGE_MASK): Define.
45386         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
45387         Define.
45388         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
45389         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
45390         Define.
45391         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
45392         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
45393         Define.
45394         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
45395         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
45396         Define.
45397         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
45399         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
45400         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
45401         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
45402         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
45403         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
45404         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
45406         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
45407         Handle f2fs.
45409         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45410         Handle f2fs and efivarfs.
45412         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
45413         f2fs.
45415         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
45416         (EFIVARFS_MAGIC): Add.
45417         (F2FS_LINK_MAX): Add.
45419 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
45421         * stdio-common/vfprintf.c: Replace __builtin_expect with
45422         __glibc_unlikely.
45424 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
45426         [BZ #13550]
45427         * sysdeps/generic/bp-sym.h: Remove file.
45428         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
45429         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
45430         <bp-sym.h> and <bp-asm.h>.
45431         (__longjmp): Don't use BP_SYM.
45432         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
45433         and <bp-asm.h>.
45434         (memcpy): Don't use BP_SYM.
45435         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
45436         <bp-sym.h> and <bp-asm.h>.
45437         (memcpy): Don't use BP_SYM.
45438         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
45439         <bp-asm.h>.
45440         (memcpy): Don't use BP_SYM.
45441         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
45442         <bp-asm.h>.
45443         (memset): Don't use BP_SYM.
45444         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
45445         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
45446         (__bzero): Don't use BP_SYM.
45447         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
45448         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
45449         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
45450         <bp-sym.h> and <bp-asm.h>.
45451         (memcmp): Don't use BP_SYM.  Remove comment about bounded
45452         pointers.
45453         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
45454         <bp-sym.h> and <bp-asm.h>.
45455         (memcpy): Don't use BP_SYM.
45456         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
45457         <bp-sym.h> and <bp-asm.h>.
45458         (memset): Don't use BP_SYM.
45459         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
45460         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
45461         (__bzero): Don't use BP_SYM.
45462         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
45463         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
45464         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
45465         <bp-sym.h> and <bp-asm.h>.
45466         (strncmp): Don't use BP_SYM.  Remove comment about bounded
45467         pointers.
45468         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
45469         <bp-sym.h> and <bp-asm.h>.
45470         (memcpy): Don't use BP_SYM.
45471         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
45472         <bp-sym.h> and <bp-asm.h>.
45473         (memset): Don't use BP_SYM.
45474         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
45475         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
45476         (__bzero): Don't use BP_SYM.
45477         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
45478         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
45479         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
45480         <bp-sym.h> and <bp-asm.h>.
45481         (__memchr): Don't use BP_SYM.
45482         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
45483         <bp-sym.h> and <bp-asm.h>.
45484         (memcmp): Don't use BP_SYM.  Remove comment about bounded
45485         pointers.
45486         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
45487         <bp-sym.h> and <bp-asm.h>.
45488         (memcpy): Don't use BP_SYM.
45489         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
45490         <bp-sym.h> and <bp-asm.h>.
45491         (__mempcpy): Don't use BP_SYM.
45492         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
45493         <bp-sym.h> and <bp-asm.h>.
45494         (__memrchr): Don't use BP_SYM.
45495         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
45496         <bp-sym.h> and <bp-asm.h>.
45497         (memset): Don't use BP_SYM.
45498         (__bzero): Likewise.
45499         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
45500         <bp-sym.h> and <bp-asm.h>.
45501         (__rawmemchr): Don't use BP_SYM.
45502         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
45503         <bp-sym.h> and <bp-asm.h>.
45504         (__STRCMP): Don't use BP_SYM.
45505         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
45506         <bp-sym.h> and <bp-asm.h>.
45507         (strchr): Don't use BP_SYM.
45508         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
45509         <bp-sym.h> and <bp-asm.h>.
45510         (__strchrnul): Don't use BP_SYM.
45511         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
45512         <bp-sym.h> and <bp-asm.h>.
45513         (strlen): Don't use BP_SYM.
45514         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
45515         <bp-sym.h> and <bp-asm.h>.
45516         (strncmp): Don't use BP_SYM.  Remove comment about bounded
45517         pointers.
45518         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
45519         <bp-sym.h> and <bp-asm.h>.
45520         (__strnlen): Don't use BP_SYM.
45521         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
45522         <bp-sym.h> and <bp-asm.h>.
45523         (__GI__setjmp): Don't use BP_SYM.
45524         (_setjmp): Likewise.
45525         (__sigsetjmp): Likewise.
45526         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
45527         (L(start_addresses)): Don't use BP_SYM.
45528         (_start): Likewise.
45529         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
45530         <bp-asm.h>.
45531         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
45532         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
45533         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
45534         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
45535         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
45536         <bp-asm.h>.
45537         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
45538         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
45539         about bounded pointers.
45540         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
45541         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
45542         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
45543         <bp-asm.h>.
45544         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
45545         about bounded pointers.  Remove GKM FIXME comments.
45546         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
45547         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
45548         <bp-asm.h>.
45549         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
45550         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
45551         Remove GKM FIXME comments.
45552         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
45553         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
45554         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
45555         <bp-asm.h>.
45556         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
45557         about bounded pointers.  Remove GKM FIXME comment.
45558         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
45559         and <bp-asm.h>.
45560         (strncmp): Don't use BP_SYM.  Remove comment about bounded
45561         pointers.
45562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
45563         <bp-sym.h> and <bp-asm.h>.
45564         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
45565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
45566         <bp-sym.h> and <bp-asm.h>.
45567         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
45568         comment.
45570 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
45572         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
45573         call free(NULL).
45575 2013-03-05  David S. Miller  <davem@davemloft.net>
45577         * po/es.po: Update from translation team.
45579 2013-03-05  Andreas Jaeger  <aj@suse.de>
45581         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
45582         <bits/mman-linux.h>.
45583         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
45584         is fine.
45585         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
45586         <bits/mman-linux.h> to end of file.
45587         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
45588         is fine.
45589         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
45590         <bits/mman-linux.h> to end of file.
45591         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
45592         is fine.
45593         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
45594         <bits/mman-linux.h> to end of file.
45596         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
45597         (MCL_CURRENT, MCL_FUTURE): Define here.
45599 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45601         [BZ #15232]
45602         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
45603         attribute_hidden.
45604         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
45606 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45608         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
45609         fourth parameter needed for rt_sigprocmask syscall.
45610         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
45611         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
45612         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
45613         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
45614         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
45615         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
45617 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
45619         [BZ #13550]
45620         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
45621         comment about bounded pointers.
45622         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
45623         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
45625 2013-03-04  Andreas Jaeger  <aj@suse.de>
45627         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
45628         common definitions.
45630         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
45631         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
45632         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
45633         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
45634         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
45635         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
45637 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45639         [BZ #15055]
45640         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
45641         __ieee754_sqrl instead of __sqrl.
45643 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
45645         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
45646         * sysdeps/powerpc/fpu_control.h: ... here.
45647         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
45648         * sysdeps/powerpc/bits/fenvinline.h: ... here.
45649         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
45650         * sysdeps/powerpc/bits/mathinline.h: ... here.
45652 2013-03-01  Roland McGrath  <roland@hack.frob.com>
45654         * elf/dl-hwcaps.c (_dl_important_hwcaps):
45655         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
45656         to just [NEED_DL_SYSINFO_DSO].
45657         * elf/dl-support.c: Likewise.
45658         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
45659         * elf/rtld.c (dl_main): Likewise.
45660         * elf/setup-vdso.h (setup_vdso): Likewise.
45661         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
45662         * sysdeps/unix/sysv/linux/dl-sysdep.c
45663         (_dl_discover_osversion): Likewise.
45665 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
45667         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
45668         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
45670 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
45672         * NEWS: Mention libm performance improvements and non-x86 PI
45673         futex support.
45675         * csu/libc-start.c (__pthread_initialize_minimal): Change
45676         function arguments.
45677         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
45679 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
45681         [BZ #13550]
45682         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
45683         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
45684         <bp-sym.h> and <bp-asm.h>.
45685         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
45686         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
45687         and <bp-asm.h>.
45688         (memcpy): Don't use BP_SYM.
45689         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
45690         <bp-asm.h>.
45691         (__mpn_add_n): Don't use BP_SYM.
45692         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
45693         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
45694         and <bp-asm.h>.
45695         (__mpn_addmul_1): Don't use BP_SYM.
45696         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
45697         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
45698         <bp-sym.h>.
45699         (_setjmp): Don't use BP_SYM.
45700         (__novmx_setjmp): Likewise.
45701         (__GI__setjmp): Likewise.
45702         (__vmx_setjmp): Likewise.
45703         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
45704         <bp-sym.h>.
45705         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
45706         (__bzero): Don't use BP_SYM.
45707         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
45708         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
45709         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
45710         <bp-sym.h> and <bp-asm.h>.
45711         (memcpy): Don't use BP_SYM.
45712         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
45713         <bp-sym.h> and <bp-asm.h>.
45714         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
45715         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
45716         <bp-sym.h> and <bp-asm.h>.
45717         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
45718         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
45719         <bp-asm.h>.
45720         (__mpn_lshift): Don't use BP_SYM.
45721         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
45722         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
45723         <bp-asm.h>.
45724         (memset): Don't use BP_SYM.
45725         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
45726         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
45727         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
45728         <bp-asm.h>.
45729         (__mpn_mul_1): Don't use BP_SYM.
45730         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
45731         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
45732         <bp-sym.h> and <bp-asm.h>.
45733         (memcmp): Don't use BP_SYM.
45734         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
45735         <bp-sym.h> and <bp-asm.h>.
45736         (memcpy): Don't use BP_SYM.
45737         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
45738         <bp-sym.h> and <bp-asm.h>.
45739         (memset): Don't use BP_SYM.
45740         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
45741         <bp-sym.h> and <bp-asm.h>.
45742         (strncmp): Don't use BP_SYM.
45743         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
45744         <bp-sym.h> and <bp-asm.h>.
45745         (memcpy): Don't use BP_SYM.
45746         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
45747         <bp-sym.h> and <bp-asm.h>.
45748         (memset): Don't use BP_SYM.
45749         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
45750         <bp-sym.h> and <bp-asm.h>.
45751         (__memchr): Don't use BP_SYM.
45752         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
45753         <bp-sym.h> and <bp-asm.h>.
45754         (memcmp): Don't use BP_SYM.
45755         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
45756         <bp-sym.h> and <bp-asm.h>.
45757         (memcpy): Don't use BP_SYM.
45758         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
45759         <bp-sym.h> and <bp-asm.h>.
45760         (__mempcpy): Don't use BP_SYM.
45761         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
45762         <bp-sym.h> and <bp-asm.h>.
45763         (__memrchr): Don't use BP_SYM.
45764         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
45765         <bp-sym.h> and <bp-asm.h>.
45766         (memset): Don't use BP_SYM.
45767         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
45768         <bp-sym.h> and <bp-asm.h>.
45769         (__rawmemchr): Don't use BP_SYM.
45770         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
45771         <bp-sym.h> and <bp-asm.h>.
45772         (__STRCMP): Don't use BP_SYM.
45773         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
45774         <bp-sym.h> and <bp-asm.h>.
45775         (strchr): Don't use BP_SYM.
45776         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
45777         <bp-sym.h> and <bp-asm.h>.
45778         (__strchrnul): Don't use BP_SYM.
45779         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
45780         <bp-sym.h> and <bp-asm.h>.
45781         (strlen): Don't use BP_SYM.
45782         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
45783         <bp-sym.h> and <bp-asm.h>.
45784         (strncmp): Don't use BP_SYM.
45785         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
45786         <bp-sym.h> and <bp-asm.h>.
45787         (__strnlen): Don't use BP_SYM.
45788         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
45789         <bp-asm.h>.
45790         (__mpn_rshift): Don't use BP_SYM.
45791         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
45792         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
45793         <bp-sym.h> and <bp-asm.h>.
45794         (__sigsetjmp): Don't use BP_SYM.
45795         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
45796         (L(start_addresses)): Don't use BP_SYM.
45797         (_start): Likewise.
45798         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
45799         <bp-asm.h>.
45800         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
45801         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
45802         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
45803         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
45804         <bp-asm.h>.
45805         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
45806         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
45807         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
45808         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
45809         <bp-asm.h>.
45810         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
45811         comments.
45812         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
45813         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
45814         <bp-asm.h>.
45815         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
45816         FIXME comments.
45817         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
45818         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
45819         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
45820         <bp-asm.h>.
45821         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
45822         comment.
45823         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
45824         and <bp-asm.h>.
45825         (strncmp): Don't use BP_SYM,
45826         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
45827         <bp-asm.h>.
45828         (__mpn_sub_n): Don't use BP_SYM.
45829         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
45830         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
45831         and <bp-asm.h>.
45832         (__mpn_submul_1): Don't use BP_SYM.
45833         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
45834         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
45835         <bp-sym.h> and <bp-asm.h>.
45836         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
45837         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
45838         <bp-sym.h> and <bp-asm.h>.
45839         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
45840         comment.
45842 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
45844         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
45845         Use ZK to minimize writes to Z.
45846         (sub_magnitudes): Simplify code a bit.
45847         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
45848         Use ZK to minimize writes to Z.
45849         (sub_magnitudes): Simplify code a bit.
45851 2013-02-27  Roland McGrath  <roland@hack.frob.com>
45853         * csu/gmon-start.c: Add special exception to license text.
45855 2013-02-27  Richard Henderson  <rth@redhat.com>
45857         * scripts/config.guess: Update from config.git.
45858         * scripts/config.sub: Likewise.
45860 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
45862         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
45864         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
45866         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
45868         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
45870         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
45872 2013-02-26  Roland McGrath  <roland@hack.frob.com>
45874         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
45875         [$(build-shared = yes].
45877 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
45879         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
45880         (__mul): Reduce iterations for calculating mantissa.
45882         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
45883         MPTWO.
45884         (__mpranred): Likewise.
45886         [BZ #15160]
45887         * malloc/memusagestat.c (main): Draw graphs for heap and stack
45888         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
45890 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
45892         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
45893         Define __attribute__.
45895 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
45897         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
45898         unused.
45899         * posix/regex_internal.h (__attribute): Remove.
45900         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
45901         (re_string_context_at): Likewise.
45902         (bitset_not): Use __attribute__ and mark function as possibly
45903         unused.
45904         (bitset_merge): Likewise.
45905         (bitset_mask): Likewise.
45906         (re_string_char_size_at): Likewise.
45907         (re_string_wchar_at): Likewise.
45908         (re_string_elem_size_at): Likewise.
45910 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
45912         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
45913         code.
45914         (cc32): Likewise.
45916         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
45917         (__acr): Likewise.
45918         (__cpy): Likewise.
45919         (norm): Likewise.
45920         (denorm): Likewise.
45921         (__dbl_mp): Likewise.
45922         (add_magnitudes): Likewise.
45923         (sub_magnitudes): Likewise.
45924         (__mul): Likewise.
45925         (__inv): Likewise.
45927         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
45928         style.
45930         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
45931         style.
45933         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
45934         code.
45936         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
45937         up changes with default code.
45938         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
45939         Likewise.
45941 2013-02-24  Allan McRae  <allan@archlinux.org>
45943         * manual/socket.texi (The Internet Namespace): Order menu items
45944         to match that in the file.
45946         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
45947         node listing of the info page menu.
45949 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
45951         [BZ #13550]
45952         * sysdeps/i386/bp-asm.h: Remove file.
45953         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
45954         (PARMS): Do not use macros from bp-asm.h.
45955         (S1): Likewise.
45956         (S2): Likewise.
45957         (SIZE): Likewise.
45958         (__mpn_add_n): Do not use BP_SYM
45959         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
45960         "bp-asm.h".
45961         (PARMS): Do not use macros from bp-asm.h.
45962         (S1): Likewise.
45963         (SIZE): Likewise.
45964         (__mpn_addmul_1): Do not use BP_SYM
45965         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
45966         "bp-asm.h".
45967         (PARMS): Do not use macros from bp-asm.h.
45968         (SIGMSK): Likewise.
45969         (_setjmp): Likewise.  Do not use BP_SYM.
45970         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
45971         "bp-asm.h".
45972         (PARMS): Do not use macros from bp-asm.h.
45973         (SIGMSK): Likewise.
45974         (setjmp): Likewise.  Do not use BP_SYM.
45975         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
45976         "bp-asm.h".
45977         (PARMS): Do not use macros from bp-asm.h.
45978         (__frexp): Do not use BP_SYM.
45979         (frexp): Likewise.
45980         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
45981         "bp-asm.h".
45982         (PARMS): Do not use macros from bp-asm.h.
45983         (__frexpf): Do not use BP_SYM.
45984         (frexpf): Likewise.
45985         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
45986         "bp-asm.h".
45987         (PARMS): Do not use macros from bp-asm.h.
45988         (__frexpl): Do not use BP_SYM.
45989         (frexpl): Likewise.
45990         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
45991         "bp-asm.h".
45992         (PARMS): Do not use macros from bp-asm.h.
45993         (__remquo): Do not use BP_SYM.
45994         (remquo): Likewise.
45995         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
45996         "bp-asm.h".
45997         (PARMS): Do not use macros from bp-asm.h.
45998         (__remquof): Do not use BP_SYM.
45999         (remquof): Likewise.
46000         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
46001         "bp-asm.h".
46002         (PARMS): Do not use macros from bp-asm.h.
46003         (__remquol): Do not use BP_SYM.
46004         (remquol): Likewise.
46005         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
46006         "bp-asm.h".
46007         (PARMS): Do not use macros from bp-asm.h.
46008         (DEST): Likewise.
46009         (SRC): Likewise.
46010         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
46011         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
46012         "bp-asm.h".
46013         (PARMS): Do not use macros from bp-asm.h.
46014         (strlen): Do not use BP_SYM.
46015         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
46016         "bp-asm.h".
46017         (PARMS): Do not use macros from bp-asm.h.
46018         (S1): Likewise.
46019         (S2): Likewise.
46020         (SIZE): Likewise.
46021         (__mpn_add_n): Do not use BP_SYM.
46022         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
46023         "bp-asm.h".
46024         (PARMS): Do not use macros from bp-asm.h.
46025         (S1): Likewise.
46026         (SIZE): Likewise.
46027         (__mpn_addmul_1): Do not use BP_SYM.
46028         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
46029         weak_alias.
46030         (bzero): Likewise.
46031         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
46032         "bp-asm.h".
46033         (PARMS): Do not use macros from bp-asm.h.
46034         (S): Likewise.
46035         (SIZE): Likewise.
46036         (__mpn_lshift): Do not use BP_SYM.
46037         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
46038         "bp-asm.h".
46039         (PARMS): Do not use macros from bp-asm.h.
46040         (DEST): Likewise.
46041         (SRC): Likewise.
46042         (LEN): Likewise.
46043         (memcpy): Likewise.  Do not use BP_SYM.
46044         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
46045         libc_hidden_def and weak_alias.
46046         (mempcpy): Do not use BP_SYM in weak_alias.
46047         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
46048         "bp-asm.h".
46049         (PARMS): Do not use macros from bp-asm.h.
46050         (DEST): Likewise.
46051         (LEN): Likewise.
46052         [!BZERO_P] (CHR): Likewise.
46053         (memset): Likewise.  Do not use BP_SYM.
46054         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
46055         "bp-asm.h".
46056         (PARMS): Do not use macros from bp-asm.h.
46057         (S1): Likewise.
46058         (SIZE): Likewise.
46059         (__mpn_mul_1): Do not use BP_SYM.
46060         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
46061         "bp-asm.h".
46062         (PARMS): Do not use macros from bp-asm.h.
46063         (S): Likewise.
46064         (SIZE): Likewise.
46065         (__mpn_rshift): Do not use BP_SYM.
46066         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
46067         "bp-asm.h".
46068         (PARMS): Do not use macros from bp-asm.h.
46069         (STR): Likewise.
46070         (CHR): Likewise.
46071         (strchr): Likewise.  Do not use BP_SYM.
46072         (index): Do not use BP_SYM in weak_alias.
46073         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
46074         "bp-asm.h".
46075         (PARMS): Do not use macros from bp-asm.h.
46076         (DEST): Likewise.
46077         (SRC): Likewise.
46078         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
46079         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
46080         "bp-asm.h".
46081         (PARMS): Do not use macros from bp-asm.h.
46082         (strlen): Do not use BP_SYM.
46083         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
46084         "bp-asm.h".
46085         (PARMS): Do not use macros from bp-asm.h.
46086         (S1): Likewise.
46087         (S2): Likewise.
46088         (SIZE): Likewise.
46089         (__mpn_sub_n): Do not use BP_SYM.
46090         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
46091         "bp-asm.h".
46092         (PARMS): Do not use macros from bp-asm.h.
46093         (S1): Likewise.
46094         (SIZE): Likewise.
46095         (__mpn_submul_1): Do not use BP_SYM.
46096         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
46097         "bp-asm.h".
46098         (PARMS): Do not use macros from bp-asm.h.
46099         (S1): Likewise.
46100         (S2): Likewise.
46101         (SIZE): Likewise.
46102         (__mpn_add_n): Do not use BP_SYM.
46103         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
46104         weak_alias.
46105         (bzero): Likewise.
46106         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
46107         "bp-asm.h".
46108         (PARMS): Do not use macros from bp-asm.h.
46109         (BLK2): Likewise.
46110         (LEN): Likewise.
46111         (memcmp): Do not use BP_SYM.
46112         (bcmp): Do not use BP_SYM in weak_alias.
46113         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
46114         "bp-asm.h".
46115         (PARMS): Do not use macros from bp-asm.h.
46116         (DEST): Likewise.
46117         (SRC): Likewise.
46118         (LEN): Likewise.
46119         (memcpy): Likewise.  Do not use BP_SYM.
46120         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
46121         "bp-asm.h".
46122         (PARMS): Do not use macros from bp-asm.h.
46123         (DEST): Likewise.
46124         (SRC): Likewise.
46125         (LEN): Likewise.
46126         (memmove): Likewise.  Do not use BP_SYM.
46127         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
46128         "bp-asm.h".
46129         (PARMS): Do not use macros from bp-asm.h.
46130         (DEST): Likewise.
46131         (SRC): Likewise.
46132         (LEN): Likewise.
46133         (__mempcpy): Likewise.  Do not use BP_SYM.
46134         (mempcpy): Do not use BP_SYM in weak_alias.
46135         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
46136         "bp-asm.h".
46137         (PARMS): Do not use macros from bp-asm.h.
46138         (DEST): Likewise.
46139         (LEN): Likewise.
46140         [!BZERO_P] (CHR): Likewise.
46141         (memset): Likewise.  Do not use BP_SYM.
46142         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
46143         "bp-asm.h".
46144         (PARMS): Do not use macros from bp-asm.h.
46145         (STR2): Likewise.
46146         (strcmp): Do not use BP_SYM.
46147         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
46148         "bp-asm.h".
46149         (PARMS): Do not use macros from bp-asm.h.
46150         (STR): Likewise.
46151         (DELIM): Likewise.
46152         [USE_AS_STRTOK_R] (SAVE): Likewise.
46153         (FUNCTION): Likewise.  Do not use BP_SYM.
46154         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
46155         aliases.
46156         (strtok_r): Likewise.
46157         (__GI___strtok_r): Likewise.
46158         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
46159         (PARMS): Do not use macros from bp-asm.h.
46160         (S): Likewise.
46161         (SIZE): Likewise.
46162         (__mpn_lshift): Do not use BP_SYM.
46163         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
46164         (PARMS): Do not use macros from bp-asm.h.
46165         (STR): Likewise.
46166         (CHR): Likewise.
46167         (__memchr): Do not use BP_SYM.
46168         (memchr): Do not use BP_SYM in weak_alias.
46169         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
46170         (PARMS): Do not use macros from bp-asm.h.
46171         (BLK2): Likewise.
46172         (LEN): Likewise.
46173         (memcmp): Do not use BP_SYM.
46174         (bcmp): Do not use BP_SYM in weak_alias.
46175         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
46176         (PARMS): Do not use macros from bp-asm.h.
46177         (S1): Likewise.
46178         (SIZE): Likewise.
46179         (__mpn_mul_1): Do not use BP_SYM.
46180         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
46181         "bp-asm.h".
46182         (PARMS): Do not use macros from bp-asm.h.
46183         (STR): Likewise.
46184         (CHR): Likewise.
46185         (__rawmemchr): Do not use BP_SYM.
46186         (rawmemchr): Do not use BP_SYM in weak_alias.
46187         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
46188         (PARMS): Do not use macros from bp-asm.h.
46189         (S): Likewise.
46190         (SIZE): Likewise.
46191         (__mpn_rshift): Do not use BP_SYM.
46192         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
46193         (PARMS): Do not use macros from bp-asm.h.
46194         (SIGMSK): Likewise.
46195         (__sigsetjmp): Likewise.  Do not use BP_SYM.
46196         * sysdeps/i386/start.S: Do not include "bp-sym.h".
46197         (_start): Do not use BP_SYM.
46198         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
46199         (PARMS): Do not use macros from bp-asm.h.
46200         (DEST): Likewise.
46201         (SRC): Likewise.
46202         (__stpcpy): Likewise.  Do not use BP_SYM.
46203         (stpcpy): Do not use BP_SYM in weak_alias.
46204         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
46205         "bp-asm.h".
46206         (PARMS): Do not use macros from bp-asm.h.
46207         (DEST): Likewise.
46208         (SRC): Likewise.
46209         (LEN): Likewise.
46210         (__stpncpy): Likewise.  Do not use BP_SYM.
46211         (stpncpy): Do not use BP_SYM in weak_alias.
46212         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
46213         (PARMS): Do not use macros from bp-asm.h.
46214         (STR): Likewise.
46215         (CHR): Likewise.
46216         (strchr): Likewise.  Do not use BP_SYM.
46217         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
46218         "bp-asm.h".
46219         (PARMS): Do not use macros from bp-asm.h.
46220         (STR): Likewise.
46221         (CHR): Likewise.
46222         (__strchrnul): Likewise.  Do not use BP_SYM.
46223         (strchrnul): Do not use BP_SYM in weak_alias.
46224         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
46225         "bp-asm.h".
46226         (PARMS): Do not use macros from bp-asm.h.
46227         (STOP): Likewise.
46228         (strcspn): Do not use BP_SYM.
46229         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
46230         "bp-asm.h".
46231         (PARMS): Do not use macros from bp-asm.h.
46232         (STR): Likewise.
46233         (STOP): Likewise.
46234         (strpbrk): Likewise.  Do not use BP_SYM.
46235         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
46236         "bp-asm.h".
46237         (PARMS): Do not use macros from bp-asm.h.
46238         (STR): Likewise.
46239         (CHR): Likewise.
46240         (strrchr): Likewise.  Do not use BP_SYM.
46241         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
46242         (PARMS): Do not use macros from bp-asm.h.
46243         (SKIP): Likewise.
46244         (strspn): Do not use BP_SYM.
46245         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
46246         (PARMS): Do not use macros from bp-asm.h.
46247         (STR): Likewise.
46248         (DELIM): Likewise.
46249         (SAVE): Likewise.
46250         (FUNCTION): Likewise.  Do not use BP_SYM.
46251         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
46252         aliases.
46253         (strtok_r): Likewise.
46254         (__GI___strtok_r): Likewise.
46255         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
46256         (PARMS): Do not use macros from bp-asm.h.
46257         (S1): Likewise.
46258         (S2): Likewise.
46259         (SIZE): Likewise.
46260         (__mpn_sub_n): Do not use BP_SYM.
46261         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
46262         "bp-asm.h".
46263         (PARMS): Do not use macros from bp-asm.h.
46264         (S1): Likewise.
46265         (SIZE): Likewise.
46266         (__mpn_submul_1): Do not use BP_SYM.
46267         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
46268         <bp-sym.h>.
46269         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
46270         and <bp-asm.h>.
46271         (PARMS): Do not use macros from bp-asm.h.
46272         (FLAGS): Likewise.
46273         (PTID): Likewise.
46274         (TLS): Likewise.
46275         (CTID): Likewise.
46276         (__clone): Do not use BP_SYM.
46277         (clone): Do not use BP_SYM in weak_alias.
46278         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
46279         and <bp-asm.h>.
46280         (PARMS): Do not use macros from bp-asm.h.
46281         (LEN): Likewise.
46282         (__mmap64): Do not use BP_SYM.
46283         (mmap64): Do not use BP_SYM in weak_alias.
46284         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
46285         <bp-sym.h> and <bp-asm.h>.
46286         (PARMS): Do not use macros from bp-asm.h.
46287         (__posix_fadvise64_l64): Do not use BP_SYM.
46288         * sysdeps/unix/sysv/linux/i386/semtimedop.S
46289         (PARMS): Do not use macros from bp-asm.h.
46290         (NSOPS): Likewise.
46291         (semtimedop): Do not use BP_SYM.
46292         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
46293         and <bp-asm.h>.
46295 2013-02-21  Allan McRae  <allan@archlinux.org>
46297         * manual/message.texi (Charset conversion in gettext):
46298         Move @end statement to beginning of line.
46300 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
46302         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
46303         static.
46304         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
46305         Likewise.
46307         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
46308         (denorm): Likewise.
46309         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
46310         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
46312 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46314         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
46315         tail-call to the resolved function if pltexit isn't needed.
46317 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
46319         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
46320         or Y being zero as being unlikely.
46321         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
46322         Likewise.
46324 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
46326         * manual/nss.texi (System Databases and Name Service Switch):
46327         Remove frobnicate @pxref.
46329 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
46331         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
46332         __attribute__ ((unused)) to __attribute__ ((__unused__)).
46334 2013-02-20  Petr Machata  <pmachata@redhat.com>
46336         * elf/elf.h (R_ARM_TARGET1): New macro.
46337         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
46338         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
46339         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
46340         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
46341         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
46342         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
46343         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
46344         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
46345         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
46346         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
46347         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
46348         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
46349         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
46350         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
46351         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
46352         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
46353         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
46354         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
46355         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
46356         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
46357         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
46358         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
46359         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
46360         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
46361         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
46362         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
46363         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
46364         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
46365         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
46366         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
46367         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
46368         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
46369         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
46370         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
46371         (R_ARM_THM_GOT_BREL12): Likewise.
46372         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
46373         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
46374         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
46375         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
46376         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
46377         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
46378         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
46379         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
46380         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
46382 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
46384         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
46385         __attribute_used__ to __attribute__ ((unused)).
46387 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
46389         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
46390         powerpc mpa.c.
46391         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
46392         comment formatting.
46393         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
46395 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
46397         [BZ #13550]
46398         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
46399         Remove macro.
46400         (ENTER): Remove both macro definitions.
46401         (LEAVE): Likewise.
46402         (CHECK_BOUNDS_LOW): Likewise.
46403         (CHECK_BOUNDS_HIGH): Likewise.
46404         (CHECK_BOUNDS_BOTH): Likewise.
46405         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
46406         (RETURN_BOUNDED_POINTER): Likewise.
46407         (RETURN_NULL_BOUNDED_POINTER): Likewise.
46408         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
46409         (POP_ERRNO_LOCATION_RETURN): Likewise.
46410         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
46411         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
46412         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
46413         macros.
46414         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
46415         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
46416         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
46417         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
46418         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
46419         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
46420         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
46421         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
46422         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
46423         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
46424         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
46425         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
46426         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
46427         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
46428         removed macros.
46429         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
46430         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
46431         macros.
46432         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
46433         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
46434         * sysdeps/i386/i586/memset.S (memset): Likewise.
46435         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
46436         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
46437         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
46438         macros.
46439         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
46440         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
46441         Change uses of L(2) to L(out).
46442         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
46443         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
46444         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
46445         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
46446         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
46447         removed macros.
46448         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
46449         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
46450         macros.
46451         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
46452         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
46453         (RETURN): Do not use macro LEAVE.
46454         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
46455         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
46456         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
46457         * sysdeps/i386/i686/memset.S (memset): Likewise.
46458         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
46459         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
46460         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
46461         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
46462         Likewise.
46463         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
46464         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
46465         L(1_2) and L(1_3) into L(1).
46466         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
46467         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
46468         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
46469         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
46470         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
46471         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
46472         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
46473         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
46474         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
46475         macros.
46476         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
46477         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
46478         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
46479         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
46480         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
46481         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
46482         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
46483         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
46484         * sysdeps/i386/strcspn.S (strcspn): Likewise.
46485         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
46486         * sysdeps/i386/strrchr.S (strrchr): Likewise.
46487         * sysdeps/i386/strspn.S (strspn): Likewise.
46488         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
46489         conditional code.
46490         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
46491         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
46492         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
46493         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
46494         L(1_3) into L(1_1).
46495         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
46496         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
46497         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
46498         macros.
46499         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
46501 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
46503         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
46504         macro.
46506 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
46508         * math/atest-exp.c (exp_mpn): Remove ROUND.
46509         * math/atest-exp2.c (exp_mpn): Likewise.
46510         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
46512         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
46513         * stdlib/tst-tls-atexit-lib.c: Likewise.
46514         * stdlib/tst-tls-atexit.c: Likewise.
46516 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
46518         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
46519         and __attribute_alloc_size__.
46521 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
46523         * include/programs/xmalloc.h: Change __attribute_alloc_size to
46524         __attribute_alloc_size__.
46525         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
46526         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
46528 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
46530         * include/programs/xmalloc.h: New file.
46531         * catgets/gencat.c: Include it.
46532         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
46533         * elf/pldd.c: Likewise.
46534         * iconv/iconv_charmap.c: Likewise.
46535         * iconv/iconvconfig.c: Likewise.
46536         * iconv/strtab.c: Likewise.
46537         * locale/programs/locale.c: Likewise.
46538         * locale/programs/localedef.h: Likewise.
46539         * locale/programs/simple-hash.c: Likewise.
46540         * nscd/nscd.h: Likewise.
46541         * nss/makedb.c: Likewise.
46542         * sysdeps/generic/ldconfig.h: Likewise.
46544 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
46546         * Versions.def: Add GLIBC_2.18.
46547         * include/link.h (struct link_map): New member l_tls_dtor_count.
46548         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
46549         (__call_tls_dtors): Likewise.
46550         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
46551         __cxa_thread_atexit_impl.
46552         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
46553         Likewise.
46554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
46555         Likewise.
46556         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
46557         Likewise.
46558         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
46559         Likewise.
46560         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
46561         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
46562         Likewise.
46563         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
46564         Likewise.
46565         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
46566         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
46567         Likewise.
46568         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
46569         (tests): Add test case tst-tls-atexit.
46570         (modules-names): Add shared library for tst-tls-atexit.
46571         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
46572         (GLIBC_PRIVATE): Add __call_tls_dtors.
46573         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
46574         for libstdc++.
46575         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
46576         * stdlib/tst-tls-atexit.c: New test case.
46577         * stdlib/tst-tls-atexit-lib.c: New test case.
46579         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
46581         * elf/Versions (ld): Add _dl_find_dso_for_object.
46582         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
46583         * elf/dl-open.c (_dl_find_dso_for_object): New function.
46584         (dl_open_worker): Use _dl_find_dso_for_object.
46585         * elf/dl-sym.c (do_sym): Likewise.
46586         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
46588 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46590         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
46591         Syntactic changes only.
46592         (_dl_runtime_profile): Do a tail-call to the resolved function.
46594 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
46596         [BZ #13550]
46597         * sysdeps/x86_64/bp-asm.h: Remove file.
46598         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
46599         <bp-sym.h> and <bp-asm.h>.
46600         (__clone): Do not use BP_SYM.
46601         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
46602         <bp-sym.h> and <bp-asm.h>.
46603         * sysdeps/unix/x86_64/sysdep.S: Likewise.
46604         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
46605         "bp-asm.h".
46606         (_setjmp): Do not use BP_SYM.
46607         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
46608         "bp-asm.h".
46609         (setjmp): Do not use BP_SYM.
46610         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
46611         libc_hidden_def.
46612         (mempcpy): Do not use BP_SYM in weak_alias.
46613         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
46614         "bp-asm.h".
46615         (strchr): Do not use BP_SYM.
46616         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
46617         "bp-asm.h".
46618         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
46619         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
46620         (_start): Do not use BP_SYM.
46621         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
46622         "bp-asm.h".
46623         (strcat): Do not use BP_SYM.
46624         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
46625         "bp-asm.h".
46626         (STRCMP): Do not use BP_SYM.
46627         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
46628         "bp-asm.h".
46629         (STRCPY): Do not use BP_SYM.
46630         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
46631         "bp-asm.h".
46632         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
46633         "bp-asm.h".
46634         (FUNCTION): Do not use BP_SYM.
46635         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
46636         weak_alias.
46637         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
46639 2013-02-17  Andreas Jaeger  <aj@suse.de>
46641         * time/Versions: Sort entries.
46642         * string/Versions: Likewise.
46643         * resolv/Versions: Likewise.
46644         * posix/Versions: Likewise.
46645         * iconv/Versions: Likewise.
46646         * elf/Versions: Likewise.
46647         * wcsmbs/Versions: Likewise.
46649 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
46651         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
46652         loop termination condition.
46654         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
46655         variable to calculate EZ.
46656         (__sqr): Likewise.
46658         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
46659         the lower precision input.
46661 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
46663         [BZ #13550]
46664         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
46665         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
46666         (run-via-rtld-prefix): Do not handle %-bp tests.
46667         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
46668         (all-object-suffixes): Remove .ob.
46669         (bppfx): Remove variable.
46670         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
46671         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
46672         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
46673         [$(build-bounded) = yes] (libtype.ob): Likewise.
46674         * Makerules (elide-routines.ob): Remove variable.
46675         (do-tests-clean): Do not handle *-bp.out.
46676         (common-mostlyclean): Do not handle *-bp and *-bp.out.
46677         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
46678         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
46679         (tests): Do not include $(tests-bp.out).
46680         (xtests): Do not include $(xtests-bp.out).
46681         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
46682         [$(build-bounded) = yes] ($(addprefix
46683         $(objpfx),$(binaries-bounded))): Remove rule.
46684         ($(objpfx)%-bp.out): Remove rule.
46685         * config.make.in (build-bounded): Remove variable.
46686         * crypt/Makefile [$(build-bounded) = yes]
46687         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
46688         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
46689         append to variable.
46690         [$(build-bounded) = yes] (install-lib): Likewise.
46691         [$(build-bounded) = yes] (generated): Likewise.
46692         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
46693         Remove rule.
46694         * intl/Makefile [$(build-bounded) = yes]
46695         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
46696         * math/Makefile [$(build-bounded) = yes]
46697         ($(tests:%=$(objpfx)%-bp): Likewise.
46698         * misc/Makefile [$(build-bounded) = yes]
46699         ($(objpfx)tst-tsearch-bp): Likewise.
46700         * nptl/Makeconfig (bounded-thread-library): Remove variable.
46701         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
46702         Remove dependency.
46703         * string/Makefile (o-objects.ob): Remove variable.
46704         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
46705         (CFLAGS-.ob): Remove variable.
46706         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
46707         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
46708         both definitions of variable.
46709         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
46710         (ASFLAGS-.ob): Remove variable.
46712 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
46714         [BZ #13550]
46715         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
46716         Remove __BOUNDED_POINTERS__ from condition.
46717         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
46718         * string/bits/string2.h [!__NO_STRING_INLINES &&
46719         !__BOUNDED_POINTERS__]: Likewise.
46720         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
46721         Likewise.
46722         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
46723         Remove conditional code.
46724         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
46725         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
46726         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
46727         condition.
46729         [BZ #13550]
46730         * csu/libc-start.c: Do not include <bp-sym.h>.
46731         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
46732         * elf/dl-open.c: Do not include <bp-sym.h>.
46733         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
46734         * math/fegetenv.c: Do not include <bp-sym.h>.
46735         (fegetenv): Do not use BP_SYM in versioned symbols.
46736         * nptl/sysdeps/pthread/bits/libc-lockP.h
46737         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
46738         <bp-sym.h>.
46739         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46740         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
46741         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46742         (__pthread_mutex_destroy): Likewise.
46743         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46744         (__pthread_mutex_lock): Likewise.
46745         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46746         (__pthread_mutex_trylock): Likewise.
46747         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46748         (__pthread_mutex_unlock): Likewise.
46749         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46750         (__pthread_mutexattr_init): Likewise.
46751         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46752         (__pthread_mutexattr_destroy): Likewise.
46753         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46754         (__pthread_mutexattr_settype): Likewise.
46755         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46756         (__pthread_rwlock_init): Likewise.
46757         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46758         (__pthread_rwlock_destroy): Likewise.
46759         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46760         (__pthread_rwlock_rdlock): Likewise.
46761         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46762         (__pthread_rwlock_tryrdlock): Likewise.
46763         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46764         (__pthread_rwlock_wrlock): Likewise.
46765         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46766         (__pthread_rwlock_trywrlock): Likewise.
46767         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46768         (__pthread_rwlock_unlock): Likewise.
46769         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46770         (__pthread_key_create): Likewise.
46771         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46772         (__pthread_setspecific): Likewise.
46773         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46774         (__pthread_getspecific): Likewise.
46775         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
46776         Likewise.
46777         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46778         (_pthread_cleanup_push_defer): Likewise.
46779         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46780         (_pthread_cleanup_pop_restore): Likewise.
46781         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46782         (pthread_setcancelstate): Likewise.
46783         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
46784         <bp-sym.h>.
46785         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
46786         (memchr): Do not use BP_SYM in weak_alias.
46787         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
46788         (fegetenv): Do not use BP_SYM in versioned symbols.
46789         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
46790         (fesetenv): Do not use BP_SYM in versioned symbols.
46791         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
46792         (feupdateenv): Do not use BP_SYM in versioned symbols.
46793         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
46794         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
46795         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
46796         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
46797         (open64): Do not use BP_SYM in weak_alias.
46798         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
46799         (fegetenv): Do not use BP_SYM in versioned symbols.
46800         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
46801         (fesetenv): Do not use BP_SYM in versioned symbols.
46802         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
46803         (feupdateenv): Do not use BP_SYM in versioned symbols.
46804         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
46805         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
46806         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
46807         (feraiseexcept): Do not use BP_SYM in versioned symbols.
46808         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
46809         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
46810         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
46811         <bp-sym.h>.
46812         (__libc_start_main): Do not use BP_SYM.
46814 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
46816         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
46817         redundant return line.
46818         (norm): Likewise.
46819         (denorm): Likewise.
46820         (dbl_mp): Likewise.
46821         (sub_magnitudes): Likewise.
46822         (__add): Likewise.
46823         (__sub): Likewise.
46824         (__mul): Likewise.
46825         (__inv): Likewise.
46826         (__dvd): Likewise.
46827         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
46828         (norm): Likewise.
46829         (denorm): Likewise.
46830         (dbl_mp): Likewise.
46831         (sub_magnitudes): Likewise.
46832         (__add): Likewise.
46833         (__sub): Likewise.
46834         (__mul): Likewise.
46835         (__inv): Likewise.
46836         (__dvd): Likewise.
46838         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
46839         instead of __mul.
46840         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
46841         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
46842         (cc32): Likewise.
46844         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
46845         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
46846         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
46847         of __mul for squares.
46848         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
46849         function
46850         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
46851         Likewise.
46852         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
46853         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
46855 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
46857         [BZ #13550]
46858         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
46859         code.
46860         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
46861         prototype or function definition.  Rename ubp_* variables and
46862         parameters.  Remove argv definitions conditional on
46863         [__BOUNDED_POINTERS__].
46864         * debug/backtrace.c (__backtrace): Do not use __unbounded.
46865         * elf/dl-runtime.c (_dl_fixup): Likewise.
46866         * include/set-hooks.h (RUN_HOOK): Likewise.
46867         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
46868         definition.
46869         * string/strcpy.c (strcpy): Do not use __unbounded.
46870         * sysdeps/generic/frame.h (struct layout): Likewise.
46871         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
46872         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
46873         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
46874         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
46875         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
46876         (__backtrace): Likewise.
46877         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
46878         use __ptrvalue.
46879         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
46880         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
46881         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
46882         Likewise.
46883         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
46884         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
46885         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
46886         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
46887         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
46888         Do not use __unbounded.
46889         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
46890         Rename __unboundedrlimits parameter to rlimits in prototype.
46891         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
46892         Do not use __unbounded.
46893         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
46894         not use __ptrvalue.
46895         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
46896         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
46897         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
46898         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
46899         __ptrvalue or __unbounded.
46900         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
46901         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
46902         use __unbounded.
46903         (__new_msgctl): Do not use __ptrvalue.
46904         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
46905         __unbounded.
46906         (__libc_msgrcv): Do not use __ptrvalue.
46907         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
46908         startup_info): Do not use __unbounded.
46909         (__libc_start_main): Likewise.  Rename ubp_* variables and
46910         parameters.  Remove argv definitions conditional on
46911         [__BOUNDED_POINTERS__].
46912         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
46913         __ptrvalue.
46914         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
46915         use __unbounded.
46916         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
46917         or __ptrvalue.
46918         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
46919         use __unbounded.
46920         (__new_shmctl): Do not use __ptrvalue.
46921         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
46922         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
46923         Likewise.
46924         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
46925         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
46926         (__libc_sigaction): Likewise.
46927         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
46928         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
46929         Likewise.
46930         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
46932 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
46934         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
46936         * string/mempcpy.c: Implement by calling memcpy.
46938 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
46940         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
46942         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
46943         evaluation.
46945         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
46946         values in the mantissa.
46948         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
46949         minimize writes to Z.
46950         (sub_magnitudes): Simplify code a bit.
46952 2013-02-12  Roland McGrath  <roland@hack.frob.com>
46954         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
46955         from the message.  The linker prefixes all warnings with that already.
46957 2013-02-12  Andreas Schwab  <schwab@suse.de>
46959         [BZ #15078]
46960         * posix/regexec.c (extend_buffers): Add parameter min_len.
46961         (check_matching): Pass minimum needed length.
46962         (clean_state_log_if_needed): Likewise.
46963         (get_subexp): Likewise.
46964         * posix/Makefile (tests): Add bug-regex34.
46965         (bug-regex34-ENV): Define.
46966         * posix/bug-regex34.c: New file.
46968         [BZ #11561]
46969         * posix/regcomp.c (parse_bracket_exp): When looking up collating
46970         elements compare against the byte sequence of it, not its name.
46971         * posix/Makefile (tests): Add bug-regex35.
46972         (bug-regex35-ENV): Define.
46973         * posix/bug-regex35.c: New file.
46975 2013-02-11  Tom de Vries  <tom@codesourcery.com>
46977         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
46978         comment.
46979         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
46980         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
46981         (CHECK_EOL): Add undef.
46983 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
46985         * bits/stdlib-bsearch.h: New file.
46986         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
46987         * stdlib/stdlib.h: Likewise.
46989 2013-02-11  Roland McGrath  <roland@hack.frob.com>
46991         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
46992         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
46993         declaration.
46994         * manual/search.texi (Array Search Function): Add missing const in
46995         lfind prototype.
46996         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
46997         declaration to use rlim_t.
46998         (Basic Scheduling Functions): Remove erroneous const from
46999         sched_getparam prototype.  Remove erroneous * from
47000         sched_get_priority_max and sched_get_priority_min prototypes.
47001         (Resource Usage): Fix summary @comment on vtimes to refer to
47002         sys/vtimes.h rather than vtimes.h.
47003         Add missing *s in vtimes prototype.
47004         (Limits on Resources): Fix ulimit prototype to return long int.
47005         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
47006         prototypes to use long int rather than double.
47007         (BSD Random): Fix initstate and setstate to use char *, not void *.
47008         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
47009         prototype to make second argument 'struct aiocb64 *const[]'.
47010         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
47011         (Status of AIO Operations): Remove erroneous const in aio_return and
47012         aio_return64 prototypes.
47013         (Synchronizing I/O): Fix sync prototype to return void.
47014         * manual/startup.texi (Suboptions): Remove an erroneous const in
47015         getsubopt prototype.
47016         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
47017         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
47018         use size_t rather than int.
47019         (Scanning All Users): Likewise for getpwent_r.
47020         (Setting Groups): Add missing const to setgroups prototype.
47021         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
47022         * manual/socket.texi (Host Names): Fix gethostbyaddr and
47023         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
47024         'const void *' rather than 'const char *'.
47025         (Host Address Functions): Likewise for inet_ntop.
47026         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
47027         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
47028         ssize_t for return value.
47029         (Sending Data): Likewise for send, sendto, sendmsg.
47030         (Socket Option Functions): Add a missing const in setsockopt prototype.
47031         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
47032         use wchar_t for the argument.
47033         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
47034         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
47035         take no arguments.
47036         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
47037         double/float/long double for second argument.
47038         Fix return types of significand, significandf, significandl.
47039         * manual/filesys.texi (Setting Permissions): Use mode_t for second
47040         argument in fchmod prototype.
47041         (File Owner): Use uid_t and gid_t in fchown prototype.
47042         (File Times): Add const to utimes, futimes, and lutimes prototypes.
47043         (Making Special Files): Use mode_t and dev_t in mknod prototype.
47044         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
47045         use 'const struct dirent **' as argument types to CMP function pointer
47046         argument.
47047         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
47048         (File Times): Fix summary magic @comment for struct utimbuf and utime
47049         to refer to utime.h, not time.h.
47050         * manual/string.texi (Argz Functions): Add missing const in
47051         argz_extract and argz_next prototypes.
47052         (Finding Tokens in a String): Likewise for basename.
47053         (String/Array Comparison): Fix typo in wcscasecmp prototype.
47054         (Copying and Concatenation): Fix typo in wmemmove prototype.
47055         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
47056         (Signal Stack): Remove erroneous const in sigstack prototype.
47057         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
47058         prototype.
47059         (Simple Calendar Time): Likewise for stime.
47060         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
47061         prototype.
47062         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
47063         say sys/sysctl.h instead.
47064         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
47065         and vsyslog prototypes.
47067 2013-02-11  Tom de Vries  <tom@codesourcery.com>
47069         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
47070         Remove.
47072 2013-02-11  Roland McGrath  <roland@hack.frob.com>
47074         * misc/sys/mman.h: Fix typo in mremap comment.
47076 2013-02-08  Roland McGrath  <roland@hack.frob.com>
47078         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
47079         the '\0' terminator.
47081 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
47083         [BZ #13550]
47084         * debug/segfault.c: Don't include <bp-checks.h>.
47085         * sysdeps/generic/bp-checks.h: Remove file.
47086         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
47087         (__GETDENTS): Don't use CHECK_N.
47088         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
47089         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
47090         (__getgroups): Don't use CHECK_N.
47091         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
47092         (setgroups): Don't use CHECK_N.
47093         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
47094         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
47095         (__libc_msgrcv): Don't use CHECK_N.
47096         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
47097         (__libc_msgsnd): Don't use CHECK_N.
47098         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
47099         <bp-checks.h>.
47100         (__libc_pread): Don't use CHECK_N.
47101         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
47102         include <bp-checks.h>.
47103         (__libc_pread64): Don't use CHECK_N.
47104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
47105         include <bp-checks.h>.
47106         (__libc_pwrite): Don't use CHECK_N.
47107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
47108         include <bp-checks.h>.
47109         (__libc_pwrite64): Don't use CHECK_N.
47110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
47111         <bp-checks.h>.
47112         (__libc_pread): Don't use CHECK_N.
47113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
47114         include <bp-checks.h>.
47115         (__libc_pread64): Don't use CHECK_N.
47116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
47117         include <bp-checks.h>.
47118         (__libc_pwrite): Don't use CHECK_N.
47119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
47120         include <bp-checks.h>.
47121         (__libc_pwrite64): Don't use CHECK_N.
47122         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
47123         (do_pread): Don't use CHECK_N.
47124         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
47125         (do_pread64): Don't use CHECK_N.
47126         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
47127         (do_pwrite): Don't use CHECK_N.
47128         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
47129         (do_pwrite64): Don't use CHECK_N.
47130         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
47131         (__libc_readv): Don't use CHECK_N.
47132         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
47133         (semop): Don't use CHECK_N.
47134         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
47135         <bp-checks.h>.
47136         (semtimedop): Don't use CHECK_N.
47137         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
47138         (__libc_pread): Don't use CHECK_N.
47139         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
47140         <bp-checks.h>.
47141         (__libc_pread64): Don't use CHECK_N.
47142         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
47143         <bp-checks.h>.
47144         (__libc_pwrite): Don't use CHECK_N.
47145         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
47146         <bp-checks.h>.
47147         (__libc_pwrite64): Don't use CHECK_N.
47148         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
47149         <bp-checks.h>.
47150         (__libc_msgrcv): Don't use CHECK_N.
47151         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
47152         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
47153         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
47154         (__libc_writev): Don't use CHECK_N.
47156 2013-02-08  Roland McGrath  <roland@hack.frob.com>
47158         * string/strcpy.c: Removed unused variable.
47160         * Makeconfig (+sysdep-includes): Define with := rather than =.
47161         Use an existing include/ subdir of each sysdeps dir before it.
47163 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
47165         * nscd/connection.c (register_traced_file): Comment function.
47166         [HAVE_INOTIFY] (union __inev): Define.
47167         [HAVE_INOTIFY] (inotify_check_files): New function.
47168         [HAVE_INOTIFY] (clear_db_cache): Likewise.
47169         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
47170         clear_db_cache.
47171         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
47173 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
47175         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
47176         loaded if not already and that a failure is permanent.
47178 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
47180         [BZ #15006]
47181         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
47182         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
47184 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
47186         [BZ #13550]
47187         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
47188         (CHECK_1_NULL_OK): Likewise.
47189         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
47190         (__fxstat): Do not use CHECK_1.
47191         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
47192         <bp-checks.h>.
47193         (___fxstat64): Do not use CHECK_1.
47194         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
47195         <bp-checks.h>.
47196         (__fxstatat): Do not use CHECK_1.
47197         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
47198         <bp-checks.h>.
47199         (__fxstatat64): Do not use CHECK_1.
47200         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
47201         <bp-checks.h>.
47202         (__fxstat): Do not use CHECK_1.
47203         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
47204         <bp-checks.h>.
47205         (__fxstatat): Do not use CHECK_1.
47206         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
47207         <bp-checks.h>.
47208         (__getresgid): Do not use CHECK_1.
47209         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
47210         <bp-checks.h>.
47211         (__getresuid): Do not use CHECK_1.
47212         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
47213         <bp-checks.h>.
47214         (__lxstat): Do not use CHECK_1.
47215         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
47216         <bp-checks.h>.
47217         (__old_msgctl): Do not use CHECK_1.
47218         (__new_msgctl): Likewise.
47219         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
47220         <bp-checks.h>.
47221         (__new_setrlimit): Do not use CHECK_1.
47222         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
47223         <bp-checks.h>.
47224         (__old_shmctl): Do not use CHECK_1.
47225         (__new_shmctl): Likewise.
47226         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
47227         <bp-checks.h>.
47228         (__xstat): Do not use CHECK_1.
47229         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
47230         (__lxstat): Do not use CHECK_1.
47231         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
47232         <bp-checks.h>.
47233         (___lxstat64): Do not use CHECK_1.
47234         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
47235         (__old_msgctl): Do not use CHECK_1.
47236         (__new_msgctl): Likewise.
47237         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
47238         <bp-checks.h>.
47239         (__gettimeofday): Do not use CHECK_1.
47240         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
47241         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
47242         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
47243         <bp-checks.h>.
47244         (__gettimeofday): Do not use CHECK_1.
47245         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
47246         (__old_shmctl): Do not use CHECK_1_NULL_OK.
47247         (__new_shmctl): Do not use CHECK_1.
47248         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
47249         <bp-checks.h>.
47250         (do_sigtimedwait): Do not use CHECK_1.
47251         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
47252         <bp-checks.h>.
47253         (do_sigwaitinfo): Do not use CHECK_1.
47254         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
47255         <bp-checks.h>.
47256         (msgctl): Do not use CHECK_1.
47257         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
47258         <bp-checks.h>.
47259         (shmctl): Do not use CHECK_1.
47260         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
47261         (ustat): Do not use CHECK_1.
47262         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
47263         <bp-checks.h>.
47264         (__fxstat): Do not use CHECK_1.
47265         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
47266         <bp-checks.h>.
47267         (__fxstatat): Do not use CHECK_1.
47268         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
47269         <bp-checks.h>.
47270         (__lxstat): Do not use CHECK_1.
47271         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
47272         <bp-checks.h>.
47273         (__xstat): Do not use CHECK_1.
47274         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
47275         (__xstat): Do not use CHECK_1.
47276         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
47277         (___xstat64): Do not use CHECK_1.
47279         [BZ #13550]
47280         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
47281         definitions.
47282         (CHECK_BOUNDS_HIGH): Likewise.
47283         * string/strcpy.c: Do not include <bp-checks.h>.
47284         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
47286 2013-02-07  Roland McGrath  <roland@hack.frob.com>
47288         * nscd/nscd-client.h (__nscd_drop_map_ref):
47289         Add __attribute__ ((unused)).
47290         * nis/nss-nisplus.h (niserr2nss): Likewise.
47292         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
47293         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
47295         * csu/libc-tls.c (init_static_tls, init_slotinfo):
47296         Remove inline keyword.
47297         * include/rounding-mode.h (round_away): Likewise.
47298         * libio/wfileops.c (adjust_wide_data): Likewise.
47299         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
47300         (__m128i_strloadu_tolower): Likewise.
47301         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
47302         (__m128i_strloadu_tolower): Likewise.
47303         * time/mktime.c (ydhms_diff): Likewise.
47304         * locale/elem-hash.h (elem_hash): Likewise.
47305         * locale/setlocale.c (setdata): Likewise.
47306         * posix/regex_internal.h (re_string_char_size_at): Likewise.
47307         (re_string_wchar_at): Likewise.
47308         (bitset_not, bitset_merge, bitset_mask): Likewise.
47309         [!(__GNUC__ > 3)] (inline): Remove macro.
47310         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
47311         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
47312         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
47313         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
47314         * string/memcmp.c (memcmp_bytes): Likewise.
47315         * locale/programs/locarchive.c (compute_hashval): Likewise.
47316         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
47317         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
47318         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
47319         * nss/getent.c (print_rpc, print_protocols): Likewise.
47320         (print_passwd, print_group, print_aliases): Likewise.
47321         * nis/nss-nisplus.h (niserr2nss): Likewise.
47322         * nscd/connections.c (restart_p): Likewise.
47323         Change return type to bool.
47325 2013-02-05  Roland McGrath  <roland@hack.frob.com>
47327         * Makeconfig (all-Depend-files): Add existing
47328         $(sorted-subdirs:=/Depend) files.
47329         (all-subdirs): Remove nss.
47330         * sysdeps/unix/inet/Subdirs: Add it here instead.
47331         * hesiod/Depend: New file.
47333         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
47334         instead of calling alloca.
47336         * io/lseek.c (__lseek): Rename to __libc_lseek.
47337         Define __lseek as an alias.
47339         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
47341 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
47343         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
47344         else clause and remove check for non-standard endianness.
47346 2013-02-04  David S. Miller  <davem@davemloft.net>
47348         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47350 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
47352         [BZ #13550]
47353         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
47354         (__ubp_memchr): Remove prototype.
47355         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
47356         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
47357         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
47358         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
47359         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
47360         Remove alias.
47361         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
47362         (__ubp_memchr): Likewise.
47363         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
47364         (__ubp_memchr): Likewise.
47365         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
47366         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
47367         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
47368         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
47369         CHECK_STRING.
47370         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
47371         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
47372         (__getcwd): Do not use CHECK_STRING.
47373         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
47374         <bp-checks.h>.
47375         (__real_chown): Do not use CHECK_STRING.
47376         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
47377         <bp-checks.h>.
47378         (fchownat): Do not use CHECK_STRING.
47379         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
47380         CHECK_STRING.
47381         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
47382         <bp-checks.h>.
47383         (__lchown): Do not use CHECK_STRING.
47384         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
47385         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
47386         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
47387         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
47388         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
47389         include <bp-checks.h>.
47390         (truncate64): Do not use CHECK_STRING.
47391         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
47392         <bp-checks.h>.
47393         (__real_chown): Do not use CHECK_STRING.
47394         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
47395         <bp-checks.h>.
47396         (__lchown): Do not use CHECK_STRING.
47397         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
47398         <bp-checks.h>.
47399         (__chown): Do not use CHECK_STRING.
47400         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
47401         <bp-checks.h>.
47402         (truncate64): Do not use CHECK_STRING.
47403         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
47404         Likewise.
47405         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
47406         (__xmknod): Do not use CHECK_STRING.
47407         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
47408         <bp-checks.h>.
47409         (__xmknodat): Do not use CHECK_STRING.
47410         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
47411         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
47413 2013-02-04  Andreas Schwab  <schwab@suse.de>
47415         [BZ #14142]
47416         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
47417         * include/netdb.h: Likewise for h_errno.
47418         * elf/tst-stackguard1.c: Include <tls.h>.
47420 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
47422         * elf/link.h (struct link_map): Extend the l_addr comment.
47423         * include/link.h (struct link_map): Likewise.
47425 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
47427         [BZ #13550]
47428         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
47429         (BOUNDED_1): Remove macro.
47430         * debug/backtrace.c: Don't include <bp-checks.h>.
47431         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
47432         (__backtrace): Likewise.
47433         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
47434         <bp-checks.h>.
47435         (__backtrace): Don't use BOUNDED_1.
47436         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
47437         <bp-checks.h>.
47438         (__backtrace): Don't use BOUNDED_1.
47439         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
47440         (__backtrace): Don't use BOUNDED_1.
47441         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
47442         (shmat): Don't use BOUNDED_N.
47444 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
47446         [BZ #13550]
47447         * sysdeps/generic/bp-start.h: Remove file.
47448         * csu/libc-start.c: Don't include <bp-start.h>.
47449         (LIBC_START_MAIN): Set up __environ directly instead of using
47450         INIT_ARGV_and_ENVIRON.
47451         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
47452         <bp-start.h>.
47454         [BZ #13550]
47455         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
47456         definitions.
47457         (CHECK_FCNTL): Likewise.
47458         (CHECK_N_PAGES): Likewise.
47460         [BZ #13550]
47461         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
47462         definitions.
47463         (CHECK_SIGSET_NULL_OK): Likewise.
47464         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
47465         <bp-checks.h>.
47466         (sigpending): Don't use CHECK_SIGSET.
47467         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
47468         <bp-checks.h>.
47469         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
47470         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
47471         <bp-checks.h>.
47472         (do_sigsuspend): Don't use CHECK_SIGSET.
47473         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
47474         use CHECK_SIGSET.
47475         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
47476         (do_sigwait): Don't use CHECK_SIGSET.
47477         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
47478         use CHECK_SIGSET.
47479         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
47480         include <bp-checks.h>.
47481         (sigpending): Don't use CHECK_SIGSET.
47482         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
47483         include <bp-checks.h>.
47484         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
47485         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
47486         <bp-checks.h>.
47487         (sigpending): Don't use CHECK_SIGSET.
47488         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
47489         <bp-checks.h>.
47490         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
47492         [BZ #13550]
47493         * sysdeps/generic/bp-semctl.h: Remove file.
47494         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
47495         <bp-checks.h> and <bp-semctl.h>.
47496         (__old_semctl): Don't use CHECK_SEMCTL.
47497         (__new_semctl): Likewise.
47498         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
47499         and <bp-semctl.h>.
47500         (__old_semctl): Don't use CHECK_SEMCTL.
47501         (__new_semctl): Likewise.
47502         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
47503         <bp-checks.h> and <bp-semctl.h>.
47504         (__old_semctl): Don't use CHECK_SEMCTL.
47505         (__new_semctl): Likewise.
47506         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
47507         <bp-checks.h> and <bp-semctl.h>.
47508         (semctl): Don't use CHECK_SEMCTL.
47510         [BZ #13550]
47511         * Makerules (elide-bp-thunks): Remove variable.
47512         (elide-routines.oS): Don't use $(elide-bp-thunks).
47513         (elide-routines.os): Likewise.
47514         (elide-routines.o): Likewise.
47515         (elide-routines.op): Likewise.
47516         (elide-routines.og): Likewise.
47517         (objects): Don't use $(bp-thunks).
47518         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
47519         include.
47520         (common-generated): Do not add s-proto-bp.d.
47521         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
47522         (int): Likewise.
47523         (typ): Likewise.
47524         Do not generate makefile rules for bounded-pointer thunks.
47525         * sysdeps/generic/bp-thunks.h: Remove file.
47526         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
47527         * sysdeps/unix/s-proto-bp.S: Likewise.
47529         [BZ #15062]
47530         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
47531         parts of result separately when argument is not close to line from
47532         -i to i and one part of argument is small.
47533         * math/k_casinhf.c (__kernel_casinhf): Likewise.
47534         * math/k_casinhl.c (__kernel_casinhl): Likewise.
47535         * math/libm-test.inc (cacos_test): Add more tests.
47536         (casin_test): Likewise.
47537         (casinh_test): Likewise.
47538         * sysdeps/i386/fpu/libm-test-ulps: Update.
47539         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47541 2013-01-31  David S. Miller  <davem@davemloft.net>
47543         * po/de.po: Update from translation team.
47545 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
47547         * time/tzfile.c: Include stdint.h for SIZE_MAX.
47549 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
47551         * configure.in (_AC_PROG_CC_C89): New definition.
47552         * configure: Regenerate.
47554         * configure.in (AC_PROG_CPP): New definition.
47555         * configure: Regenerate.
47557 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
47559         * debug/tst-backtrace.h: New file.
47560         * debug/tst-backtrace2.c: Include tst-backtrace.h.
47561         (ret): Remove variable.
47562         (x): Likewise.
47563         (FAIL): Remove macro.
47564         (NO_INLINE): Likewise.
47565         (fn1): Use match function instead of strstr.
47566         * debug/tst-backtrace3.c: Include tst-backtrace.h.
47567         (ret): Remove variable.
47568         (x): Likewise.
47569         (FAIL): Remove macro.
47570         (NO_INLINE): Likewise.
47571         (fn): Use match function instead of strstr.
47572         * debug/tst-backtrace4.c: Include tst-backtrace.h.
47573         (ret): Remove variable.
47574         (x): Likewise.
47575         (FAIL): Remove macro.
47576         (NO_INLINE): Likewise.
47577         (handle_signal): Use match function instead of strstr.
47578         * debug/tst-backtrace5.c: Include tst-backtrace.h.
47579         (ret): Remove variable.
47580         (x): Likewise.
47581         (FAIL): Remove macro.
47582         (NO_INLINE): Likewise.
47583         (handle_signal): Use match function instead of strstr.
47585 2013-01-23  Roland McGrath  <roland@hack.frob.com>
47587         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
47589 2013-01-23  David S. Miller  <davem@davemloft.net>
47591         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
47592         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
47593         argument of CAS if possible.
47594         * sysdeps/sparc/sparc64/bits/atomic.h
47595         (__arch_compare_and_exchange_val_32_acq): Likewise.
47596         (__arch_compare_and_exchange_val_64_acq): Likewise.
47598 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
47600         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
47601         * sysdeps/posix/ulimit.c: ... this.
47602         Include <limits.h>.
47603         * sysdeps/unix/bsd/ulimit.c: Remove file.
47605 2013-01-23  Adam Conrad  <adconrad@0c3.net>
47607         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
47608         (LDFLAGS-tst-array5): Likewise.
47610 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
47612         [BZ #15036]
47613         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
47614         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
47615         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
47616         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
47618 2013-01-21  David S. Miller  <davem@davemloft.net>
47620         * sysdeps/sparc/backtrace.c: New file.
47621         * sysdeps/sparc/sparc32/backtrace.h: New file.
47622         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
47623         * sysdeps/sparc/sparc64/backtrace.h: New file.
47624         * sysdeps/sparc/sparc64/backtrace.c: Delete.
47625         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
47626         -funwind-tables.
47628 2013-01-21  Andreas Schwab  <schwab@suse.de>
47630         [BZ #15020]
47631         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
47632         closed its stdout.
47634 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
47636         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
47637         "mpa2.h".
47638         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
47640 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
47641             Mark Mitchell  <mark@codesourcery.com>
47642             Tom de Vries  <tom@codesourcery.com>
47643             Paul Pluzhnikov  <ppluzhnikov@google.com>
47645         * debug/tst-backtrace2.c: New file.
47646         * debug/tst-backtrace3.c: Likewise.
47647         * debug/tst-backtrace4.c: Likewise.
47648         * debug/tst-backtrace5.c: Likewise.
47649         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
47650         (CFLAGS-tst-backtrace3.c): Likewise.
47651         (CFLAGS-tst-backtrace4.c): Likewise.
47652         (CFLAGS-tst-backtrace5.c): Likewise.
47653         (LDFLAGS-tst-backtrace2): Likewise.
47654         (LDFLAGS-tst-backtrace3): Likewise.
47655         (LDFLAGS-tst-backtrace4): Likewise.
47656         (LDFLAGS-tst-backtrace5): Likewise.
47657         (tests): Add new tests tst-backtrace2, tst-backtrace3,
47658         tst-backtrace4 and tst-backtrace5.
47660 2013-01-18  Anton Blanchard  <anton@samba.org>
47661             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
47663         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
47664         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
47665         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
47666         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
47667         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
47668         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
47669         "+r" and remove output regs list as redundant.  Add explicit inline
47670         asm to specify register of return val to work around compiler codegen
47671         bug.  Remove (int) cast on return value.  Add return type parameter to
47672         use in macro so that this macro does not truncate return value for
47673         64-bit values.
47674         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
47675         pass to INTERNAL_VSYSCALL_NCS.
47676         (INLINE_VSYSCALL): Add 'long int' as return type to
47677         INTERNAL_VSYSCALL_NCS macro invocation.
47678         (INTERNAL_VSYSCALL): Add 'long int' as return type to
47679         INTERNAL_VSYSCALL_NCS macro invocation.
47680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
47682 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
47684         [BZ #14496]
47685         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
47686         Fix application of SIMD FP exception mask.
47688         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
47689         mp_no from a power of two.
47690         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
47691         __mpexp_twomm1.  Use __pow_mp.
47693         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
47694         multiplication.
47696 2013-01-17  David S. Miller  <davem@davemloft.net>
47698         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47700 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
47702         [BZ #15023]
47703         * include/complex.h: Condition contents on [!_COMPLEX_H].
47704         (__kernel_casinhf): New prototype.
47705         (__kernel_casinh): Likewise.
47706         (__kernel_casinhl): Likewise.
47707         * math/Makefile (libm_calls): Add k_casinh.
47708         * math/k_casinh.c: New file.
47709         * math/k_casinhf.c: Likewise.
47710         * math/k_casinhl.c: Likewise.
47711         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
47712         finite nonzero arguments.
47713         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
47714         finite nonzero arguments.
47715         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
47716         finite nonzero arguments.
47717         * math/s_casinh.c: Do not include <float.h>.
47718         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
47719         * math/s_casinhf.c: Do not include <float.h>.
47720         (__casinhf): Move code for finite nonzero arguments to
47721         k_casinhf.c.
47722         * math/s_casinhl.c: Do not include <float.h>.
47723         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
47724         redefine.
47725         (__casinhl): Move code for finite nonzero arguments to
47726         k_casinhl.c.
47727         * math/libm-test.inc (cacos_test): Add more tests.
47728         * sysdeps/i386/fpu/libm-test-ulps: Update.
47729         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47731 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
47733         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
47734         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
47735         [!HAVE_MREMAP]: Remove [defined linux] case.
47736         * malloc/arena.c: Do not include <malloc-sysdep.h>.
47738 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
47740         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
47742 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
47744         * elf/elf.h (R_386_SIZE32): New relocation.
47745         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
47746         R_386_SIZE32.
47747         (elf_machine_rela): Likewise.
47748         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
47749         R_X86_64_SIZE64 and R_X86_64_SIZE32.
47751 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
47753         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
47754         (FP_FAST_FMA): Do not define.
47755         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
47756         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
47757         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
47758         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
47759         !_SOFT_FLOAT]: Likewise.
47760         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
47761         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
47762         value.
47763         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
47764         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
47765         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
47766         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
47767         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
47768         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
47769         file.
47771 2013-01-16  Andreas Schwab  <schwab@suse.de>
47773         [BZ #14327]
47774         * include/stdlib.h (__mktemp): Add declaration.
47775         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
47776         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
47778 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
47780         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
47781         definitions.
47782         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
47783         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
47784         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
47785         definitions here.
47786         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
47787         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
47788         definitions.
47789         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
47790         and ONE.
47791         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
47792         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
47793         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
47794         definitions.
47795         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
47796         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
47797         definitions.
47798         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
47800         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
47802 2013-01-15  David S. Miller  <davem@davemloft.net>
47804         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
47805         trunc{,f} to libm-sysdep_routes.
47806         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
47807         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
47808         file.
47809         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
47810         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
47811         file.
47812         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
47813         file.
47814         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
47815         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
47816         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
47817         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
47818         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
47819         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
47820         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
47821         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
47823         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
47824         nearbyint{,f} to libm-sysdep_routes.
47825         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
47826         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
47827         New file.
47828         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
47829         file.
47830         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
47831         New file.
47832         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
47833         file.
47834         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
47835         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
47836         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
47837         file.
47838         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
47839         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
47840         file.
47841         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
47842         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
47843         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
47845         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
47846         libc_feholdexcept and libc_fesetenv.
47848 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
47850         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
47852 2013-01-14  David S. Miller  <davem@davemloft.net>
47854         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
47855         (SPARC_ASM_VIS2_IFUNC): Likewise.
47856         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
47857         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
47858         use of 'siam' instruction.
47859         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
47860         Likewise.
47861         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
47862         Likewise.
47863         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
47864         Likewise.
47865         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
47866         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
47867         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
47868         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
47869         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
47870         file.
47871         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
47872         file.
47873         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
47874         file.
47875         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
47876         file.
47877         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
47878         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
47879         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
47880         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
47881         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
47882         new VIS2 routines.
47883         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
47884         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
47885         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
47886         Likewise.
47887         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
47888         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
47889         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
47890         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
47891         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
47892         routines to libm-sysdep_routines.
47893         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
47895         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
47896         fdim/fdimf to libm-sysdep_routines.
47897         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
47898         file.
47899         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
47900         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
47901         file.
47902         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
47903         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
47904         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
47905         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
47906         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
47907         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
47908         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
47910 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
47912         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
47913         to optimize copies.
47915         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
47916         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
47917         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
47919         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
47920         local variable MPTWO.
47921         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
47922         Likewise.
47924 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
47926         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
47927         GLOB_NOESCAPE.
47929 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
47931         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
47933 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
47935         * manual/pattern.texi (glob_t): Document gl_flags.
47936         (glob64_t): Likewise.
47938 2013-01-11  David S. Miller  <davem@davemloft.net>
47940         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
47941         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
47942         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
47943         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
47944         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
47945         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
47946         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
47947         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
47948         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
47949         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
47950         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
47951         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
47952         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
47954         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
47955         sparc V9 rather than using V8 code.
47956         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
47957         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
47959         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
47960         Move to...
47961         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
47962         Here.
47964 2013-01-11  Roland McGrath  <roland@hack.frob.com>
47966         [BZ #14941]
47967         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
47968         not in the main loop.
47969         * configure: Regenerated.
47971 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
47973         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
47974         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
47975         to just #else.
47976         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
47977         [!__GLIBC_HAVE_LONG_LONG] case.
47978         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
47979         condition to just #else.
47980         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
47981         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
47982         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
47983         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
47984         unconditional.
47985         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
47986         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
47987         #elif condition to just #else.
47988         * sysdeps/unix/sysv/linux/sys/sysmacros.h
47989         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
47990         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
47991         #elif condition to just #else.
47993 2013-01-11  Steve Ellcey  <sellcey@mips.com>
47995         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
47996         (EF_MIPS_ARCH_64): Fix value.
47997         (EF_MIPS_ARCH_32R2): New.
47998         (EF_MIPS_ARCH_64R2): New.
48000 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
48002         * Makeconfig (+link-pie-before-libc): New.
48003         (+link-pie-after-libc): Likewise.
48004         (+link-pie-tests): Likewise.
48005         (+link-pie): Rewritten.
48006         (link-before-libc): Remove $(config-LDFLAGS).
48007         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
48008         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
48009         (config-LDFLAGS): Renamed to ...
48010         (rtld-LDFLAGS): This.
48011         (rtld-tests-LDFLAGS): New macro.
48012         (link-libc-rpath-link): Likewise.
48013         (link-libc-tests-rpath-link): Likewise.
48014         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
48015         (link-libc): Prepand $(link-libc-rpath-link).
48016         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
48017         (test-program-prefix): New macro.
48018         (test-via-rtld-prefix): Likewise.
48019         (test-program-cmd): Likewise.
48020         (host-test-program-cmd): Likewise.
48021         * Makefile ($(common-objpfx)testrun.sh): Replace
48022         $(run-program-prefix) with $(test-program-prefix).
48023         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
48024         $(rtld-LDFLAGS).
48025         ($(common-objpfx)shlib.lds): Likewise.
48026         (build-module-helper): Likewise.
48027         ($(common-objpfx)format.lds): Likewise.
48028         * Rules (binaries-pie-tests): New.
48029         (binaries-pie-notests): Likewise.
48030         (binaries-pie): Rewritten.
48031         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
48032         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
48033         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
48034         (make-test-out): Replace $(host-built-program-cmd) with
48035         $(host-test-program-cmd).
48036         * config.make.in (build-hardcoded-path-in-tests): New variable.
48037         * configure.in (--enable-hardcoded-path-in-tests): New configure
48038         option.
48039         (hardcoded_path_in_tests): New AC_SUBST.
48040         * configure: Regenerated.
48041         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
48042         $(built-program-cmd) with $(test-program-cmd).
48043         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
48044         (test_program_cmd): This.
48045         * elf/Makefile ($(objpfx)order.out): Run test with
48046         $(test-program-prefix).
48047         ($(objpfx)order2.out): Likewise.
48048         ($(objpfx)tst-initorder.out): Likewise.
48049         ($(objpfx)tst-initorder2.out): Likewise.
48050         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
48051         $(test-program-cmd).
48052         ($(objpfx)tst-array1-static.out): Likewise.
48053         ($(objpfx)tst-array2.out): Likewise.
48054         ($(objpfx)tst-array3.out): Likewise.
48055         ($(objpfx)tst-array4.out): Likewise.
48056         ($(objpfx)tst-array5.out): Likewise.
48057         ($(objpfx)tst-array5-static.out): Likewise.
48058         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
48059         $(test-program-cmd).
48060         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
48061         $(run-program-prefix) with $(test-program-prefix).
48062         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
48063         (test_program_prefix): This.
48064         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
48065         $(run-program-prefix) with $(test-program-prefix).
48066         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
48067         (test_program_prefix): This.
48068         * iconvdata/tst-tables.sh: Likewise.
48069         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
48070         $(run-program-prefix) with $(test-program-prefix).
48071         ($(objpfx)tst-translit.out): Likewise.
48072         ($(objpfx)tst-gettext2.out): Likewise.
48073         ($(objpfx)tst-gettext4.out): Likewise.
48074         ($(objpfx)tst-gettext6.out): Likewise.
48075         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
48076         (test_program_prefix): This.
48077         * intl/tst-gettext2.sh: Likewise.
48078         * intl/tst-gettext4.sh  Likewise.
48079         * intl/tst-gettext6.sh: Likewise.
48080         * intl/tst-translit.sh: Likewise.
48081         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
48082         with $(test-program-cmd).
48083         * libio/Makefile ($(objpfx)test-freopen.out): Replace
48084         $(run-program-prefix) with $(test-program-prefix).
48085         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
48086         (test_program_prefix): This.
48087         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
48088         $(run-program-prefix) with $(test-program-prefix).
48089         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
48090         (test_program_prefix): This.
48091         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
48092         * posix/Makefile ($(objpfx)globtest.out): Replace
48093         $(run-via-rtld-prefix) and $(test-wrapper) with
48094         $(test-program-prefix) and $(test-via-rtld-prefix).
48095         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
48096         $(test-program-prefix).
48097         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
48098         $(host-test-program-cmd).
48099         (tst-spawn-ARGS): Likewise.
48100         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
48101         $(test-program-prefix).
48102         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
48103         (test_via_rtld_prefix): This.
48104         (test_wrapper): Renamed to ...
48105         (test_program_prefix): This.
48106         (run_program_prefix): Replaced by test_program_prefix.
48107         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
48108         (test_program_prefix): This.
48109         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
48110         with $(host-test-program-cmd).
48111         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
48112         $(run-program-prefix) with $(test-program-prefix).
48113         ($(objpfx)tst-printf.out): Likewise.
48114         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
48115         $(test-program-cmd).
48116         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
48117         (test_program_prefix): This.
48118         * stdio-common/tst-unbputc.sh: Likewise.
48119         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
48120         $(run-program-prefix) with $(test-program-prefix).
48121         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
48122         (test_program_prefix): This.
48123         * string/Makefile ($(objpfx)tst-svc.out):  Replace
48124         $(built-program-cmd) with $(test-program-cmd).
48126 2013-01-11  Andreas Jaeger  <aj@suse.de>
48128         [BZ #15003]
48129         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
48130         value. Sync with Linux 3.7.
48132 2013-01-10  David S. Miller  <davem@davemloft.net>
48134         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
48135         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
48136         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
48138 2013-01-10  Roland McGrath  <roland@hack.frob.com>
48140         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
48141         never set.
48142         * configure: Regenerated.
48144 2013-01-10  David S. Miller  <davem@davemloft.net>
48146         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
48147         sparc V9 rather than using V8 code.
48148         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
48149         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
48151 2013-01-10  Roland McGrath  <roland@hack.frob.com>
48153         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
48154         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
48155         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
48156         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
48157         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
48158         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
48159         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
48160         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
48161         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
48162         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
48163         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
48164         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
48165         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
48166         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
48167         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
48168         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
48169         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
48170         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
48171         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
48172         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
48173         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
48174         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
48175         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
48176         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
48177         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
48178         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
48179         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
48181 2013-01-10  David S. Miller  <davem@davemloft.net>
48183         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48185 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
48187         * posix/Makefile (tests-static): New variable.
48188         (tests): Add $(tests-static).
48189         (tst-exec-static-ARGS): New variable.
48190         (tst-spawn-static-ARGS): Likewise.
48191         * posix/tst-exec-static.c: New file.
48192         * posix/tst-spawn-static.c: Likewise.
48193         * posix/tst-exec.c: Support run directly.
48194         * posix/tst-spawn.c: Likewise.
48196 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
48198         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
48199         long.
48200         * math/bits/mathcalls.h (llrint): Likewise.
48201         (llround): Likewise.
48202         * stdlib/stdlib.h (struct drand48_data): Likewise.
48203         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
48204         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
48205         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
48206         Likewise.
48207         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
48208         Likewise.
48209         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
48210         (elf_greg_t): Likewise.
48211         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
48212         (__jmp_buf): Likewise.
48213         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
48214         definitions.
48215         (llrint): Likewise, for all definitions.
48216         (llrintl): Likewise.
48218         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
48219         Remove [__GNUC__] condition.
48220         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
48221         condition to just [__USE_ISOC99].
48222         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
48224 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
48226         [BZ #14200]
48227         * sysdeps/unix/sysv/linux/x86/bits/environments.h
48228         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
48229         defined.
48230         (_POSIX_V6_ILP32_OFF32): Likewise.
48231         (_XBS5_ILP32_OFF32): Likewise.
48232         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
48233         (__ILP32_OFFBIG_LDFLAGS): Likewise.
48235 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
48237         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
48239         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
48240         doubles __mpexp_twomm1.  Adjust usage.
48241         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
48242         Remove.
48244 2013-01-10  Andreas Schwab  <schwab@suse.de>
48246         [BZ #14964]
48247         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
48248         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
48250 2013-01-09  David S. Miller  <davem@davemloft.net>
48252         [BZ #15003]
48253         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
48254         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
48255         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
48256         (TCP_FASTOPEN): Define.
48257         (tcp_repair_opt): New structure.
48258         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
48259         enum values.
48260         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
48261         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
48262         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
48263         (tcp_cookie_transactions): New structure.
48265 2013-01-09  Anton Blanchard  <anton@samba.org>
48267         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
48268         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
48269         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
48270         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
48272 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
48274         * include/features.h (__USE_ANSI): Remove.
48276 2013-01-09  Roland McGrath  <roland@hack.frob.com>
48278         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
48280         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
48282 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
48284         * sysdeps/s390/fpu/libm-test-ulps: Update.
48286         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48288         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
48289         (__acr): Likewise.
48290         (__cpy): Likewise.
48291         (norm): Likewise.
48292         (denorm): Likewise.
48293         (__mp_dbl): Likewise.
48294         (__dbl_mp): Likewise.
48295         (add_magnitudes): Likewise.
48296         (sub_magnitudes): Likewise.
48297         (__add): Likewise.
48298         (__sub): Likewise.
48299         (__mul): Likewise.
48300         (__inv): Likewise.
48301         (__dvd): Likewise.
48302         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
48303         (__acr): Likewise.
48304         (__cpy): Likewise.
48305         (norm): Likewise.
48306         (denorm): Likewise.
48307         (__mp_dbl): Likewise.
48308         (__dbl_mp): Likewise.
48309         (add_magnitudes): Likewise.
48310         (sub_magnitudes): Likewise.
48311         (__add): Likewise.
48312         (__sub): Likewise.
48313         (__mul): Likewise.
48314         (__inv): Likewise.
48315         (__dvd): Likewise.
48316         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
48317         (__acr): Likewise.
48318         (__cpy): Likewise.
48319         (norm): Likewise.
48320         (denorm): Likewise.
48321         (__mp_dbl): Likewise.
48322         (__dbl_mp): Likewise.
48323         (add_magnitudes): Likewise.
48324         (sub_magnitudes): Likewise.
48325         (__add): Likewise.
48326         (__sub): Likewise.
48327         (__mul): Likewise.
48328         (__inv): Likewise.
48329         (__dvd): Likewise.
48331 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
48333         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
48334         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
48335         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
48336         2 && __USE_EXTERN_INLINES]: Likewise.
48338 2013-01-08  Andreas Jaeger  <aj@suse.de>
48340         [BZ# 14985]
48341         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
48342         Remove.
48343         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
48344         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
48346 2013-01-07  Anton Blanchard  <anton@samba.org>
48348         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
48349         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
48350         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
48351         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
48352         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
48353         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
48354         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
48355         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
48356         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
48357         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
48358         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
48359         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
48360         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
48361         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
48362         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
48363         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
48364         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
48365         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
48366         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
48367         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
48368         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
48369         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
48370         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
48371         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
48372         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
48373         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
48374         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
48375         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
48376         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
48377         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
48378         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
48379         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
48380         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
48381         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
48382         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
48383         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
48384         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
48385         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
48386         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
48387         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
48388         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
48389         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
48390         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
48392 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
48394         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
48395         (__MALLOC_PMT): Likewise.
48396         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
48397         [__GNUC__], only on [_LIBC].
48398         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
48399         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
48400         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
48401         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
48402         forward declaration.
48403         (realloc_hook_ini): Likewise.
48404         (memalign_hook_ini): Likewise.
48405         (__libc_memalign): Do not use __MALLOC_PMT in variable
48406         declaration.
48407         (__libc_valloc): Likewise.
48408         (__libc_pvalloc): Likewise.
48409         (__libc_calloc): Likewise.
48410         (__posix_memalign): Likewise.
48412         [BZ #14996]
48413         * math/s_casinh.c: Include <float.h>.
48414         (__casinh): Do not do computation with squaring and square root
48415         for large arguments.
48416         * math/s_casinhf.c: Include <float.h>.
48417         (__casinhf): Do not do computation with squaring and square root
48418         for large arguments.
48419         * math/s_casinhl.c: Include <float.h>.
48420         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
48421         (__casinhl): Do not do computation with squaring and square root
48422         for large arguments.
48423         * math/libm-test.inc (casin_test): Add more tests.
48424         (casinh_test): Likewise.
48425         * sysdeps/i386/fpu/libm-test-ulps: Update.
48426         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48428 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
48430         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
48431         (__x86_64_raw_data_cache_size): Likewise.
48432         (__x86_64_data_cache_size_half): Likewise.
48433         (__x86_64_raw_data_cache_size_half): Likewise.
48434         (__x86_64_shared_cache_size): Likewise.
48435         (__x86_64_raw_shared_cache_size): Likewise.
48436         (__x86_64_shared_cache_size_half): Likewise.
48437         (__x86_64_raw_shared_cache_size_half): Likewise.
48438         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
48439         to ...
48440         (__x86_data_cache_size): This.
48441         (__x86_64_raw_data_cache_size): Renamed to ...
48442         (__x86_raw_data_cache_size): This.
48443         (__x86_64_data_cache_size_half): Renamed to ...
48444         (__x86_data_cache_size_half): This.
48445         (__x86_64_raw_data_cache_size_half): Renamed to ...
48446         (__x86_raw_data_cache_size_half): This.
48447         (__x86_64_shared_cache_size): Renamed to ...
48448         (__x86_shared_cache_size): This.
48449         (__x86_64_raw_shared_cache_size): Renamed to ...
48450         (__x86_raw_shared_cache_size): This.
48451         (__x86_64_shared_cache_size_half): Renamed to ...
48452         (__x86_shared_cache_size_half): This.
48453         (__x86_64_raw_shared_cache_size_half): Renamed to ...
48454         (__x86_raw_shared_cache_size_half): This.
48455         * sysdeps/x86_64/memcpy.S: Updated.
48456         * sysdeps/x86_64/memset.S: Likewise.
48457         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
48458         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
48459         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
48461 2013-01-04  David S. Miller  <davem@davemloft.net>
48463         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48465 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
48467         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
48468         1 to avoid redefinition warning.
48469         (__USE_GNU): Don't define.
48470         (init_signaling_nan): Protoize.
48472         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48474 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
48476         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
48477         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
48478         (__cpymn): Likewise.
48479         (norm): Remove commented code.
48480         (denorm): Likewise.
48481         (__mp_dbl): Likewise.
48482         (__inv): Likewise.
48483         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
48484         (__cpymn): Likewise.
48485         (norm): Remove commented code.
48486         (denorm): Likewise.
48487         (__mp_dbl): Likewise.
48488         (__inv): Likewise.
48490         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
48491         mp_no value for 1.0 and 2.0.
48492         (norm): Use RADIXI instead of radixi.d.
48493         (denorm): Likewise.
48494         (__mul): Use 0.0 instead of zero.d.
48495         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
48496         mp_no value for 1.0 and 2.0.
48497         (norm): Use RADIXI instead of radixi.d.
48498         (denorm): Likewise.
48499         (__mul): Use 0.0 instead of zero.d.
48501 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
48503         [BZ #14994]
48504         * math/s_casinh.c (__casinh): Reduce finite argument to first
48505         quadrant then set signs of results at the end.
48506         * math/s_casinhf.c (__casinhf): Likewise.
48507         * math/s_casinhl.c (__casinhl): Likewise.
48508         * math/libm-test.inc (casin_test): Add more tests.
48509         (casinh_test): Likewise.
48510         * sysdeps/i386/fpu/libm-test-ulps: Update.
48511         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48513 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
48515         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
48517         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
48519         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
48520         declarations.
48521         (denorm): Likewise.
48522         (__mp_dbl): Likewise.
48523         (__inv): Likewise.
48525         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
48526         and adjust the header comment.
48528         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
48529         variable name from declaration.
48531 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
48533         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48534         Initialize COMMON_CPUID_INDEX_7 element.
48535         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
48536         (CPUID_RTM): Likewise.
48537         (HAS_RTM): Likewise.
48538         (COMMON_CPUID_INDEX_7): New enum.
48540 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
48542         [BZ #14981]
48543         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
48544         size is zero, record memory as freed.
48546 2013-01-03  Andreas Jaeger  <aj@suse.de>
48548         * po/ia.po: Add new Interlingua translation.
48550 2012-01-03  Allan McRae  <allan@archlinux.org>
48552         * locale/programs/localedef.c: Fix description of '--posix' flag.
48554 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
48556         * NEWS: Update dates in second copyright notice.
48557         * README: Update copyright dates in example.
48558         * manual/libc.texinfo: Update copyright dates.
48559         * scripts/test-installation.pl: Update copyright date in --version
48560         output.
48562         * hurd/ctty-input.c: Fix copyright notice formatting.
48563         * hurd/ctty-output.c: Likewise.
48564         * hurd/dtable.c: Likewise.
48565         * hurd/hurd-raise.c: Likewise.
48566         * hurd/hurdprio.c: Likewise.
48567         * hurd/msgportdemux.c: Likewise.
48568         * misc/sys/file.h: Likewise.
48569         * misc/sys/ioctl.h: Likewise.
48570         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
48571         * sysdeps/mach/hurd/chdir.c: Likewise.
48572         * sysdeps/mach/hurd/fchdir.c: Likewise.
48573         * sysdeps/mach/hurd/rename.c: Likewise.
48574         * sysdeps/mach/hurd/rmdir.c: Likewise.
48575         * sysdeps/mach/hurd/seekdir.c: Likewise.
48576         * sysdeps/mach/hurd/setsid.c: Likewise.
48577         * sysdeps/posix/wait3.c: Likewise.
48579         * All files with FSF copyright notices: Update copyright dates
48580         using scripts/update-copyrights.
48581         * intl/plural.c: Regenerated.
48582         * locale/programs/charmap-kw.h: Likewise.
48583         * locale/programs/locfile-kw.h: Likewise.
48585 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
48587         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
48588         four values.
48590         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
48591         calculation loop and add branch prediction.
48593         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
48594         check access beyond bounds of m1np.
48596         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
48597         MPTWO.
48598         (__inv): Remove local variable MPTWO to use the global
48599         constant.
48600         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
48601         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
48602         variable MPTWO.
48603         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
48604         MP3HALFS static const.
48606 2013-01-01  David S. Miller  <davem@davemloft.net>
48608         * po/ca.po: Update from translation team.
48610 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
48612         * scripts/update-copyrights: New file.
48613         * Makeconfig: Reformat copyright notice.
48614         * ctype/ctype.h: Likewise.
48615         * debug/swprintf_chk.c: Likewise.
48616         * elf/dl-cache.c: Likewise.
48617         * elf/dl-debug.c: Likewise.
48618         * elf/dl-object.c: Likewise.
48619         * grp/initgroups.c: Likewise.
48620         * hurd/Makefile: Likewise.
48621         * hurd/hurd/signal.h: Likewise.
48622         * hurd/hurdfault.c: Likewise.
48623         * hurd/hurdioctl.c: Likewise.
48624         * hurd/hurdlookup.c: Likewise.
48625         * hurd/intr-msg.c: Likewise.
48626         * iconv/gconv_open.c: Likewise.
48627         * libio/swprintf.c: Likewise.
48628         * locale/lc-ctype.c: Likewise.
48629         * locale/nl_langinfo.c: Likewise.
48630         * mach/Machrules: Likewise.
48631         * mach/Makefile: Likewise.
48632         * malloc/obstack.h: Likewise.
48633         * manual/Makefile: Likewise.
48634         * manual/tsort.awk: Likewise.
48635         * misc/bits/stab.def: Likewise.
48636         * nis/nis_print_group_entry.c: Likewise.
48637         * nis/nis_table.c: Likewise.
48638         * nis/nss_compat/compat-pwd.c: Likewise.
48639         * nis/nss_compat/compat-spwd.c: Likewise.
48640         * po/Makefile: Likewise.
48641         * posix/fnmatch.c: Likewise.
48642         * posix/regex.h: Likewise.
48643         * resolv/Makefile: Likewise.
48644         * resolv/nss_dns/dns-network.c: Likewise.
48645         * resolv/res_hconf.c: Likewise.
48646         * scripts/gen-sorted.awk: Likewise.
48647         * soft-fp/soft-fp.h: Likewise.
48648         * stdio-common/printf.h: Likewise.
48649         * stdlib/monetary.h: Likewise.
48650         * stdlib/random.c: Likewise.
48651         * stdlib/random_r.c: Likewise.
48652         * sysdeps/generic/Makefile: Likewise.
48653         * sysdeps/gnu/Makefile: Likewise.
48654         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
48655         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48656         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
48657         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48658         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48659         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48660         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48661         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
48662         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
48663         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48664         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
48665         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
48666         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
48667         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
48668         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
48669         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
48670         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
48671         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48672         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
48673         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48674         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
48675         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
48676         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
48677         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
48678         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
48679         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
48680         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
48681         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
48682         * sysdeps/mach/hurd/errnos.awk: Likewise.
48683         * sysdeps/mach/hurd/fork.c: Likewise.
48684         * sysdeps/mach/hurd/getcwd.c: Likewise.
48685         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
48686         * sysdeps/mach/hurd/mmap.c: Likewise.
48687         * sysdeps/mach/hurd/utimes.c: Likewise.
48688         * sysdeps/mach/hurd/xmknod.c: Likewise.
48689         * sysdeps/posix/profil.c: Likewise.
48690         * sysdeps/posix/readdir_r.c: Likewise.
48691         * sysdeps/powerpc/bits/mathdef.h: Likewise.
48692         * sysdeps/powerpc/bits/setjmp.h: Likewise.
48693         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
48694         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
48695         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
48696         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
48697         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
48698         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
48699         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
48700         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
48701         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
48702         * sysdeps/pthread/lio_listio.c: Likewise.
48703         * sysdeps/sparc/dl-procinfo.h: Likewise.
48704         * sysdeps/unix/i386/sysdep.S: Likewise.
48705         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
48706         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
48707         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
48708         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
48709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
48710         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
48711         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
48712         * sysdeps/unix/sysv/linux/speed.c: Likewise.
48713         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
48714         * sysdeps/wordsize-32/divdi3.c: Likewise.
48715         * time/sys/time.h: Likewise.
48716         * wcsmbs/Makefile: Likewise.
48718 2013-01-01  David S. Miller  <davem@davemloft.net>
48720         * po/fr.po: Update from translation team.
48722         * catgets/gencat.c: Update copyright year.
48723         * csu/version.c: Likewise.
48724         * debug/catchsegv.sh: Likewise.
48725         * debug/pcprofiledump.c: Likewise.
48726         * debug/xtrace.sh: Likewise.
48727         * elf/ldconfig.c: Likewise.
48728         * elf/ldd.bash.in: Likewise.
48729         * elf/pldd.c: Likewise.
48730         * elf/sotruss.ksh: Likewise.
48731         * elf/sprof.c: Likewise.
48732         * iconv/iconv_prog.c: Likewise.
48733         * iconv/iconvconfig.c: Likewise.
48734         * locale/programs/locale.c: Likewise.
48735         * locale/programs/localedef.c: Likewise.
48736         * login/programs/pt_chown.c: Likewise.
48737         * malloc/memusage.sh: Likewise.
48738         * malloc/memusagestat.c: Likewise.
48739         * malloc/mtrace.pl: Likewise.
48740         * nscd/nscd.c: Likewise.
48741         * nss/getent.c: Likewise.
48742         * nss/makedb.c: Likewise.
48743         * posix/getconf.c: Likewise.
48745 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
48747         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
48748         numbers.
48750 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
48752         * math/bits/mathcalls.h (modf): Use __nonnull.
48754 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
48756         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
48757         (split): Use macro CN instead of the bare value.
48758         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
48759         could be used.
48760         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
48761         instead of the bare value.
48762         (power1): Likewise.
48764 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
48766         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
48767         __ATAN_TWOM.
48768         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
48770         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
48771         their values.
48772         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
48773         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
48774         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
48775         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
48777 2012-12-28  Andreas Jaeger  <aj@suse.de>
48779         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
48780         values are from Linux 3.7.
48782         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
48783         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
48785 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
48787         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
48788         TRUE case.
48790         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
48791         (norm): Likewise.
48792         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
48793         variables with preprocessor constants.
48794         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
48795         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
48796         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
48798 2012-12-27  Bruno Haible  <bruno@clisp.org>
48800         [BZ #14317]
48801         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
48802         only if needed.
48804 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
48806         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
48807         and use variable directly.
48808         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
48810         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
48811         MPONE.
48812         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
48813         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
48814         variable MPONE.
48815         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
48816         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
48817         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
48818         include directive.  Remove local variable MPONE.
48819         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
48820         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
48821         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
48823 2012-12-25  David S. Miller  <davem@davemloft.net>
48825         * version.h (RELEASE): Set to "development".
48826         (VERSION): Set to "2.17.90".
48827         * NEWS: Add 2.18 section.
48829 2012-12-21  David S. Miller  <davem@davemloft.net>
48831         * po/hr.po: Update from translation team.
48833 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48835         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
48837 2012-12-19  Steve Ellcey  <sellcey@mips.com>
48839         * NEWS:  Mention new memcpy for MIPS.
48841 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
48843         * manual/contrib.texi (Contributors): Spelling correction.
48845 2012-12-15  David S. Miller  <davem@davemloft.net>
48847         * po/ru.po: Update from translation team.
48849 2012-12-13  David S. Miller  <davem@davemloft.net>
48851         * NEWS: Mention IFUNC testsuite enhancements.
48853         * po/pl.po: Update from translation team.
48854         * po/bg.po: Likewise.
48856         * manual/contrib.texi (Contributors): Update entries for Hongjiu
48857         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
48859 2012-12-11  David S. Miller  <davem@davemloft.net>
48861         * po/sv.po: Update from translation team.
48863         * po/vi.po: Update from translation team.
48865         * po/cs.po: Update from translation team.
48867         * po/de.po: Update from translation team.
48868         * po/eo.po: Likewise.
48869         * po/nl.po: Likewise.
48871 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
48873         [BZ #14246]
48874         * manual/argp.texi (Argp Helper Functions): Move node to follow
48875         Argp Parsing State.
48877         [BZ #14872]
48878         * manual/conf.texi (Limits on File System Capacity): Mention if
48879         terminating null is included in the max size.
48881 2012-12-10  Andreas Jaeger  <aj@suse.de>
48883         * po/cs.po: Update from translation team.
48885 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
48887         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
48888         void pointer and cast to uintptr_t.
48889         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
48890         path.
48891         * sysdeps/s390/s390-64/memcpy.S: Likewise.
48892         * sysdeps/s390/s390-64/memset.S: Likewise.
48894 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
48896         [BZ #14833]
48897         * menual/message.texi (Message Translation): Fix typos.
48898         (Helper programs for gettext): Likewise.
48900 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
48902         [BZ #14898]
48903         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
48904         Change to -1.
48906 2012-12-07  David S. Miller  <davem@davemloft.net>
48908         * po/libc.pot: Update.
48910 2012-12-07  Richard Henderson  <rth@redhat.com>
48912         [BZ #10114]
48913         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
48914         normal/normal case to before the switch.
48915         (_FP_DIV): Likewise.
48917 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
48918             Mike Frysinger  <vapier@gentoo.org>
48920         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
48921         check for __NR_fadvise64_64.
48923 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
48925         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
48926         0, not just to plain "0" as a statement.
48927         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
48928         with cw.
48930 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
48932         * NEWS: Use sourceware.org in Bugzilla URL.
48934 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
48936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
48937         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
48939         * stdio-common/tst-put-error.c (do_test): Add newline to the
48940         padded test to ensure flush.
48942 2012-12-05  Jeff Law  <law@redhat.com>
48944         * sunrpc/etc.rpc (fedfs_admin): Add entry.
48946 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
48948         * README: Don't refer to ports add-on as distributed separately.
48949         Mention AArch64 in list of systems supported in the ports add-on.
48951         * LICENSES: Add more non-FSF copyright and license notices.
48953         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
48954         ((unused)).
48956         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
48958         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
48959         10000 as width of padded output.
48961 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
48963         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
48965         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
48966         variable LX with __attribute__ ((unused)).
48967         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
48968         Likewise.
48969         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
48970         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
48971         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
48972         with __attribute__ ((unused)).
48974 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
48976         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
48978 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
48980         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
48981         (CFLAGS-nldbl-acos.c): New variable.
48982         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
48983         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
48984         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
48985         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
48986         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
48987         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
48988         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
48989         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
48990         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
48991         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
48992         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
48993         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
48994         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
48995         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
48996         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
48997         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
48998         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
48999         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
49000         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
49001         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
49002         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
49003         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
49004         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
49005         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
49006         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
49007         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
49008         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
49009         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
49010         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
49011         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
49012         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
49013         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
49014         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
49015         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
49016         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
49017         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
49018         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
49019         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
49020         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
49021         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
49022         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
49023         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
49024         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
49025         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
49026         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
49027         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
49028         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
49029         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
49030         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
49031         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
49032         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
49033         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
49034         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
49035         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
49036         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
49037         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
49038         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
49039         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
49040         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
49041         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
49042         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
49043         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
49044         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
49045         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
49046         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
49047         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
49048         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
49049         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
49050         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
49051         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
49052         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
49053         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
49054         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
49055         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
49056         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
49057         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
49058         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
49059         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
49060         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
49061         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
49062         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
49063         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
49064         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
49065         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
49066         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
49067         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
49068         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
49069         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
49070         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
49071         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
49072         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
49073         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
49074         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
49075         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
49076         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
49077         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
49078         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
49080         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
49081         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
49083         [BZ #14914]
49084         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
49085         whole low double instead of just low 47 bits when splitting values
49086         into two parts.
49088 2012-12-03  Allan McRae  <allan@archlinux.org>
49090         * manual/stdio.texi (Predefined Printf Handlers): Remove
49091         @hsep and @vsep usage.
49093 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
49095         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
49096         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
49098 2012-12-03  Jeff Law  <law@redhat.com>
49100         * time/sys/time.h (settimeofday): Do not mark TV argument
49101         as __nonnull.
49103 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
49105         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
49106         when currently writing and seek to current position when not.
49107         * libio/Makefile (tests): Remove bug-fclose1.
49108         * libio/bug-fclose1.c: Delete.
49110 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
49112         * manual/arith.texi (feenableexcept): Fix typo.
49113         (fedisableexcept): Likewise.
49115 2012-11-30  Roland McGrath  <roland@hack.frob.com>
49117         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
49118         second, differently-typed declaration, rather than a cast.
49120 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
49122         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
49123         * include/rpc/svc.h: ... here.
49125 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
49127         [BZ #13013]
49128         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
49129         depending n and resplen2 to catch cases where answer
49130         equals answerp2.
49132 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
49134         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
49135         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
49137 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
49139         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
49141 2012-11-29  Roland McGrath  <roland@hack.frob.com>
49143         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
49145 2012-11-28  Jeff Law  <law@redhat.com>
49147         [BZ #13761]
49148         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
49149         dataset_temporary.  Track alloca usage into alloca_used.
49150         If dataset is large allocate and release it via malloc/free.
49152 2012-06-04  Florian Weimer  <fweimer@redhat.com>
49154         [BZ #14197]
49155         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
49157 2012-11-28  David S. Miller  <davem@davemloft.net>
49159         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49161 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
49163         [BZ #14803]
49164         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
49165         of pi/2 rounded to nearest to 64 bits.
49166         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
49167         nearest to 64 bits.
49168         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
49169         bits.
49171 2012-11-28  Jeff Law <law@redhat.com>
49172             Martin Osvald <mosvald@redhat.com>
49174         [BZ #14889]
49175         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
49176         * sunrpc/svc.c: Include time.h.
49177         (__svc_accept_failed): New function.
49178         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
49179         any reason other than EINTR, call __svc_accept_failed.
49180         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
49181         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
49183 2012-11-28  Andreas Schwab  <schwab@suse.de>
49185         * scripts/abilist.awk: Also handle indirect functions in .opd
49186         section.
49188 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
49190         [BZ #13881]
49191         * sysdeps/x86/fpu/powl_helper.c: New file.
49192         * sysdeps/x86/fpu/Makefile: Likewise.
49193         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
49194         (p3): New object.
49195         (__ieee754_powl): Use __powl_helper for finite arguments except
49196         integer exponents below 8.
49197         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
49198         (p3): New object.
49199         (__ieee754_powl): Use __powl_helper for finite arguments except
49200         integer exponents below 8.
49201         * math/libm-test.inc (pow_test): Add more tests and enable some
49202         previously disabled tests.
49203         * sysdeps/i386/fpu/libm-test-ulps: Update.
49204         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49206 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
49207             Carlos O'Donell  <carlos_odonell@mentor.com>
49209         * nss/makedb.c (is_prime): Assert that input is odd and greater
49210         than 4.  Note that fact in a comment too.
49211         (next_prime): Add 4 to input.
49213 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
49215         [BZ #11741]
49216         * libio/Makefile (tests): Add test case tst-fwrite-error.
49217         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
49218         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
49219         * libio/tst-fwrite-error.c: New test case.
49221 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
49223         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
49224         before casting to void *.
49225         * include/libc-internal.h (__pointer_type): New macro.
49226         (__integer_if_pointer_type_sub): Likewise.
49227         (__integer_if_pointer_type): Likewise.
49228         (cast_to_integer): Likewise.
49229         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
49230         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
49231         before casting to atomic64_t.
49232         (atomic_exchange_acq): Likewise.
49233         (__arch_exchange_and_add_body): Likewise.
49234         (__arch_add_body): Likewise.
49235         (atomic_add_negative): Likewise.
49236         (atomic_add_zero): Likewise.
49238 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
49240         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
49241         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
49242         (add_fdes): Likewise.
49243         (linear_search_fdes): Likewise.
49244         (binary_search_unencoded_fdes): Likewise.
49246 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
49248         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
49250 2012-11-24  Adam Conrad  <adconrad@0c3.net>
49252         * configure.in: Autodetect C++ header directories.
49253         * configure: Regenerated.
49255 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
49257         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
49259 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
49261         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49263 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
49265         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
49266         LDBL_MANT_DIG == 106]: Disable some tests.
49267         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
49268         Likewise.
49269         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
49270         Likewise.
49272         [BZ #14871]
49273         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
49274         input for small inputs.  Return +/- pi/2 for large inputs.
49275         * math/libm-test.inc (atan_test): Add more tests.
49277         * sysdeps/generic/unwind-dw2-fde-glibc.c
49278         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
49279         __attribute__ ((unused)).
49281         [BZ #14645]
49282         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
49283         x * y if x and y are nonzero and z is zero.
49285         [BZ #14811]
49286         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
49287         nonzero exponents with absolute value below 0x1p-117 to +/-
49288         0x1p-117.
49290         [BZ #14869]
49291         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
49292         up arguments below 2**-450, not just those below 2**-500.
49293         * math/libm-test.inc (hypot_test): Add another test.
49295         [BZ #14868]
49296         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
49297         Return a+b for ratio over 2**120, not 2**60.
49298         * math/libm-test.inc (hypot_test): Add another test.
49300         * math/libm-test.inc (clog_test): Use
49301         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
49302         (clog10_test): Likewise.
49304         [BZ #6778]
49305         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
49307 2012-11-22  Andreas Schwab  <schwab@suse.de>
49309         * sysdeps/i386/fpu/libm-test-ulps: Update.
49311 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
49313         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
49314         printf output with newline.
49316 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
49318         [BZ #14865]
49319         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
49320         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
49321         -z nodlopen, -z initfirst and -z execstack support.
49322         * configure: Regenerated.
49324         * elf/elf.h (DF_1_NODIRECT): New macro.
49325         (DF_1_IGNMULDEF): Likewise.
49326         (DF_1_NOKSYMS): Likewise.
49327         (DF_1_NOHDR): Likewise.
49328         (DF_1_EDITED): Likewise.
49329         (DF_1_NORELOC): Likewise.
49330         (DF_1_SYMINTPOSE): Likewise.
49331         (DF_1_GLOBAUDIT): Likewise.
49332         (DF_1_SINGLETON): Likewise.
49333         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
49334         DT_1_SUPPORTED_MASK bits.
49335         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
49337 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
49339         * sysdeps/unix/make-syscalls.sh: Document prefixes.
49341 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
49343         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
49344         macro.
49346         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
49347         (sendmmsg): Move declarations...
49348         * socket/sys/socket.h: ... here.
49349         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
49350         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
49351         include it from...
49352         * socket/recvmmsg.c: ... this new file.
49353         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
49354         (sendmmsg): Rename to __sendmmsg, create weak alias and make
49355         definition of __sendmmsg hidden.
49356         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
49357         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
49358         Move ENOSYS stub into and include it from...
49359         * socket/sendmmsg.c: ... this new file.
49360         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
49361         (sysdep_routines): Move recvmmsg and sendmmsg...
49362         * socket/Makefile (routines): ... here.
49363         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
49364         (GLIBC_PRIVATE): Add __sendmmsg.
49365         * include/sys/socket.h (__sendmmsg): Add declarations.
49366         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
49367         sendmmsg.
49369 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
49371         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
49372         variable I1 with __attribute__ ((unused)).
49373         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
49375 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
49377         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
49378         DUMMY variables with __attribute__ ((unused)).
49380         * bits/byteswap.h: Include <bits/types.h>.
49381         (__bswap_64): Use __uint64_t instead of unsigned long long int.
49383 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
49385         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
49386         string_t.  Do not manually set errno.
49387         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
49388         length with __strnlen.  Make sure to both set errno and return it on
49389         failure.
49391 2012-11-19  David S. Miller  <davem@davemloft.net>
49393         With help from Joseph Myers.
49394         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
49395         very large arguments properly.
49396         * math/libm-test.inc (atan_test): New tests.
49397         (atan2_test): New tests.
49398         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49399         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49401 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
49403         [BZ #14856]
49404         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
49405         Define to 3.
49407         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
49408         [POSIX] (EADDRNOTAVAIL): Likewise.
49409         [POSIX] (EAFNOSUPPORT): Likewise.
49410         [POSIX] (EALREADY): Likewise.
49411         [POSIX] (ECONNABORTED): Likewise.
49412         [POSIX] (ECONNREFUSED): Likewise.
49413         [POSIX] (ECONNRESET): Likewise.
49414         [POSIX] (EDESTADDRREQ): Likewise.
49415         [POSIX] (EDQUOT): Likewise.
49416         [POSIX] (EHOSTUNREACH): Likewise.
49417         [POSIX] (EIDRM): Likewise.
49418         [POSIX] (EISCONN): Likewise.
49419         [POSIX] (ELOOP): Likewise.
49420         [POSIX] (EMULTIHOP): Likewise.
49421         [POSIX] (ENETDOWN): Likewise.
49422         [POSIX] (ENETUNREACH): Likewise.
49423         [POSIX] (ENOBUFS): Likewise.
49424         [POSIX] (ENODATA): Likewise.
49425         [POSIX] (ENOLINK): Likewise.
49426         [POSIX] (ENOMSG): Likewise.
49427         [POSIX] (ENOPROTOOPT): Likewise.
49428         [POSIX] (ENOSR): Likewise.
49429         [POSIX] (ENOSTR): Likewise.
49430         [POSIX] (ENOTCONN): Likewise.
49431         [POSIX] (ENOTSOCK): Likewise.
49432         [POSIX] (EOPNOTSUPP): Likewise.
49433         [POSIX] (EOVERFLOW): Likewise.
49434         [POSIX] (EPROTO): Likewise.
49435         [POSIX] (EPROTONOSUPPORT): Likewise.
49436         [POSIX] (EPROTOTYPE): Likewise.
49437         [POSIX] (ESTALE): Likewise.
49438         [POSIX] (ETIME): Likewise.
49439         [POSIX] (ETXTBSY): Likewise.
49440         [POSIX] (EWOULDBLOCK): Likewise.
49441         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
49442         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
49443         [POSIX] (SEEK_CUR): Likewise.
49444         [POSIX] (SEEK_END): Likewise.
49445         [POSIX || UNIX98] (mode_t): Do not require.
49446         [POSIX] (off_t): Likewise.
49447         [POSIX] (pid_t): Likewise.
49448         [POSIX] (sys/stat.h): Do not allow header.
49449         [POSIX] (unistd.h): Likewise.
49450         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
49451         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
49452         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
49453         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
49454         require.
49455         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
49456         sigevent): Specify elements.
49457         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
49458         entry.
49459         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
49460         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
49462         * conform/data/cpio.h-data [POSIX]: Disable whole file.
49463         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
49464         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
49465         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
49466         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
49467         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
49468         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
49469         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
49470         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
49471         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
49472         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
49473         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
49474         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
49475         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
49476         Likewise.
49477         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
49478         Likewise.
49479         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
49480         Likewise.
49481         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
49482         Likewise.
49483         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
49484         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
49485         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
49486         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
49487         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
49488         Specify lower bound on value.
49489         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
49490         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
49491         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
49492         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
49493         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
49494         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
49495         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
49496         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
49497         value.
49498         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
49499         as optional.
49500         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
49501         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
49502         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
49503         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
49504         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
49505         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
49506         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
49507         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
49508         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
49509         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
49510         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
49511         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
49512         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
49513         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
49514         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
49515         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
49516         entry.
49517         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
49518         optional.
49519         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
49520         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
49521         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
49522         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
49523         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
49524         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
49525         Likewise.
49526         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
49527         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
49528         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
49529         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
49530         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
49531         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
49532         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
49533         as optional.
49534         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
49535         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
49536         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
49537         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
49538         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
49539         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
49540         specify as optional.
49541         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
49542         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
49543         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
49544         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
49545         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
49546         [XPG3] (NL_LANGMAX): Likewise.
49547         [POSIX || XPG3] (NL_MSGMAX): Likewise.
49548         [POSIX || XPG3] (NL_NMAX): Likewise.
49549         [POSIX || XPG3] (NL_SETMAX): Likewise.
49550         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
49551         [XPG3] (NZERO): Likewise.
49552         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
49553         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
49554         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
49555         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
49556         (REG_ERANGE): Expect.
49557         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
49558         optional-constant.
49559         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
49560         Use (void) in prototype.
49561         [POSIX] (*_t): Allow.
49562         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
49563         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
49564         (WRDE_BADVAL): Expect.
49566         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
49567         expect.
49568         [XPG3 || XPG4] (O_RSYNC): Likewise.
49569         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
49570         Likewise.
49571         [XPG3 || XPG4] (pthread_sigmask): Likewise.
49572         [XPG3 || XPG4] (sigqueue): Likewise.
49573         [XPG3 || XPG4] (sigtimedwait): Likewise.
49574         [XPG3 || XPG4] (sigwaitinfo): Likewise.
49575         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
49576         [XPG3 || XPG4] (vsnprintf): Likewise.
49577         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
49578         Likewise.
49579         [XPG3 || XPG4] (blksize_t): Likewise.
49580         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
49581         Likewise.
49582         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
49583         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
49584         [XPG3 || XPG4] (struct itimerspec): Likewise.
49585         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
49586         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
49587         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
49588         [XPG3 || XPG4] (clockid_t): Likewise.
49589         [XPG3 || XPG4] (timer_t): Likewise.
49590         [XPG3 || XPG4] (clock_getres): Likewise.
49591         [XPG3 || XPG4] (clock_gettime): Likewise.
49592         [XPG3 || XPG4] (clock_settime): Likewise.
49593         [XPG3 || XPG4] (nanosleep): Likewise.
49594         [XPG3 || XPG4] (timer_create): Likewise.
49595         [XPG3 || XPG4] (timer_delete): Likewise.
49596         [XPG3 || XPG4] (timer_gettime): Likewise.
49597         [XPG3 || XPG4] (timer_getoverrun): Likewise.
49598         [XPG3 || XPG4] (timer_settime): Likewise.
49599         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
49600         [XPG3 || XPG4] (getlogin_r): Likewise.
49601         [XPG3 || XPG4] (pread): Likewise.
49602         [XPG3 || XPG4] (pthread_atfork): Likewise.
49603         [XPG3 || XPG4] (pwrite): Likewise.
49605         [BZ #14835]
49606         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
49607         <bits/siginfo.h>.
49609 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
49611         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
49612         finalizing MALLSTREAM.
49614         * sysdeps/mach/hurd/syncfs.c: New file.
49616 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
49618         [BZ #14719]
49619         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
49620         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
49621         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
49622         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
49623         (_nss_dns_gethostbyname4_r): Likewise.
49624         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
49625         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
49627 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
49629         [BZ #13763]
49630         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
49632 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
49634         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
49635         * elf/cache.c (print_entry): Print ",AArch64" for
49636         FLAG_AARCH64_LIB64
49638         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
49639         * elf/cache.c (print_entry): Print ",hard-float" for
49640         FLAG_ARM_LIBHF.
49642 2012-11-18  David S. Miller  <davem@davemloft.net>
49644         With help from Joseph Myers.
49645         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
49646         cutoff to 2**-13.
49647         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
49648         cutoff to 2**-25.
49649         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
49650         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
49651         small.
49652         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
49653         * math/libm-test.inc (y0_test): New tests.
49654         (y1_test): New tests.
49655         * sysdeps/i386/fpu/libm-test-ulps: Update.
49656         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49657         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49659 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
49661         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
49662         64-bit targets.
49663         * configure: Regenerated.
49665 2012-11-17  David S. Miller  <davem@davemloft.net>
49667         [BZ #14811]
49668         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
49669         nonzero exponents with absolute value below 0x1p-128 to +/-
49670         0x1p-128.
49672 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
49674         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
49676         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
49678         * posix/getconf-speclist.c: New file.
49679         * posix/posix-envs.def: Likewise.
49680         * posix/confstr.c (START_ENV_GROUP): New macro.
49681         (END_ENV_GROUP): Likewise.
49682         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
49683         (KNOWN_PRESENT_ENV_STRING): Likewise.
49684         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
49685         (UNKNOWN_ENVIRONMENT): Likewise.
49686         (confstr): Include posix-envs.def instead of handling
49687         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
49688         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
49689         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
49690         (END_ENV_GROUP): Likewise.
49691         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
49692         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
49693         (UNKNOWN_ENVIRONMENT): Likewise.
49694         (__sysconf): Include posix-envs.def instead of handling associated
49695         cases directly here.
49696         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
49697         preprocessing getconf-speclist.c rather than running getconf or
49698         generating empty file.
49700 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
49702         * scripts/check-local-headers.sh: Ignore 'mach' headers.
49704 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
49706         [BZ #14672]
49707         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
49709 2012-11-16  David S. Miller  <davem@davemloft.net>
49711         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
49712         smaller than LDBL_EPSILON/2.0L, just return xm1.
49714 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
49716         * elf/tst-array1.c (init): Set constructor priority to 1000.
49717         (fini): Set destructor priority to 1000.
49718         * elf/tst-array2dep.c: Likewise.
49720 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
49722         [BZ #11741]
49723         * libio/fileops.c (_IO_new_file_write): Correctly return error.
49724         (_IO_new_file_xsputn): Also return EOF if none of the input
49725         data was written when overflow failed.
49726         * libio/iopadn.c (_IO_padn): Likewise.
49727         * libio/iowpadn.c (_IO_wpadn): Likewise.
49728         * stdio-common/tst-put-error.c: Add copyright notice.
49729         (do_test): Add case for printing padded string.
49730         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
49731         _IO_padn returned error.
49732         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
49733         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
49734         return EOF.
49736 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
49738         * libio/libioP.h: Add comment note that the references to C++
49739         bits are now obsolete.
49741 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
49743         * math/libm-test.inc (check_complex): Use asprintf.
49745 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
49747         * debug/pcprofiledump.c (print_version): Update copyright year.
49748         * malloc/memusagestat.c (print_version): Likewise.
49750 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
49752         [BZ #14831]
49753         * elf/Makefile (tests): Add tst-audit8.
49754         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
49755         ($(objpfx)tst-audit8.out): New target.
49756         (tst-audit8-ENV): New variable.
49757         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
49758         audit if l_reloc_result is NULL.
49759         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
49760         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
49761         * elf/tst-audit8.c: New file.
49763 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
49765         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
49766         * misc/Makefile (CFLAGS-select.c): Define.
49767         * posix/Makefile (CFLAGS-pause.c): Define.
49769 2012-11-13  David S. Miller  <davem@davemloft.net>
49771         * crypt/Makefile: Move test targets after toplevel Rules
49772         inclusion.  Grab any necessary sysdep routines when linking.
49773         * crypt/md5.c (md5_process_block): Remove define, we will always
49774         name it __md5_process_block.
49775         (md5_finish_ctx): Update md5_process_block call.
49776         (md5_stream): Likewise.
49777         (md5_process_bytes): Likewise.
49778         (md5_process_block): Rename to __md5_process_block and move to ...
49779         * crypt/md5-block.c: ... here.
49780         * crypt/sha256.c (sha256_process_block): Move to ...
49781         * crypt/sha256-block.c: ... here.
49782         * crypt/sha512.c (sha512_process_block): Move to ...
49783         * crypt/sha512-block.c: ... here.
49784         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
49785         path.
49786         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
49787         * sysdeps/sparc/sparc64/multiarch/Makefile
49788         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
49789         crypt subdir.
49790         (localedef-aux): Add md5 crypto assembler when in locale subdir.
49791         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
49792         multiarch changes.
49793         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
49794         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
49795         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
49796         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
49797         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
49798         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
49799         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
49800         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
49801         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
49802         file.
49803         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
49804         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
49805         file.
49806         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
49808 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
49810         * timezone/tzselect.ksh: Update from tzcode git revision
49811         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
49812         * timezone/zdump.c: Likewise.
49813         * timezone/zic.c: Likewise.
49814         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
49815         in TZVERSION setting, not $(PKGVERSION).
49816         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
49817         REPORT_BUGS_TO settings.
49819         [BZ #14838]
49820         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
49821         macro.
49823 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
49825         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
49826         detection to immediately after _FP_ROUND().
49827         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
49828         bits are 0.
49830 2012-11-11  David S. Miller  <davem@davemloft.net>
49832         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
49833         inttypes.h
49834         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
49835         __close rather than their public counterparts.
49837 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
49839         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
49840         file.
49841         [UNIX98] (sem_timedwait): Do not expect.
49842         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
49843         [XPG4 || UNIX98] (sockatmark): Do not expect.
49844         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
49845         (clock_getcpuclockid): Do not expect.
49846         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
49847         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
49848         Do not expect.
49849         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
49850         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
49851         [UNIX98] (vwscanf): Likewise.
49852         [UNIX98] (vswscanf): Likewise.
49854 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
49856         * timezone/version.h: Remove file.
49857         * timezone/README: Do not refer to version.h.
49858         * timezone/Makefile ($(objpfx)zic.o): New dependency on
49859         $(objpfx)version.h.
49860         ($(objpfx)zdump.o): Likewise.
49861         ($(objpfx)version.h): New target.
49863         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
49864         2012i.
49865         * timezone/README: Don't mention modification to tzselect.ksh.
49866         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
49867         work on unmodified tzselect.ksh.  Substitute version numbers in
49868         tzselect.ksh.
49870         * Makefile (format-me): Remove.
49871         (INSTALL): Adjust indentation.  Use commands directly instead of
49872         using $(format-me).
49874         * aclocal.m4 (ACX_PKGVERSION): New macro.
49875         (ACX_BUGURL): Likewise.
49876         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
49877         (PKGVERSION): New AC_DEFINE_UNQUOTED.
49878         (REPORT_BUGS_TO): Likewise.
49879         * configure: Regenerated.
49880         * config.h.in (PKGVERSION): New macro.
49881         (REPORT_BUGS_TO): Likewise.
49882         * config.make.in (PKGVERSION): New variable.
49883         (PKGVERSION_TEXI): Likewise.
49884         (REPORT_BUGS_TO): Likewise.
49885         (REPORT_BUGS_TEXI): Likewise.
49886         * Makefile (format-me): Use -I$(common-objpfx)manual.
49887         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
49888         ($(common-objpfx)manual/%): New target.
49889         (manual/%): Remove target.
49890         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
49891         (print_version): Use PKGVERSION.
49892         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
49893         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
49894         and REPORT_BUGS_TO.
49895         ($(objpfx)xtrace): Likewise.
49896         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
49897         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
49898         (print_version): Use PKGVERSION.
49899         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
49900         (do_version): Use PKGVERSION.
49901         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
49902         REPORT_BUGS_TO.
49903         (common-ldd-rewrite): Likewise.
49904         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
49905         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
49906         (print_version): Use PKGVERSION.
49907         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
49908         * elf/pldd.c (argp_program_bug_address): Remove variable.
49909         (more_help): New function.
49910         (argp): Use more_help.
49911         (print_version): Use PKGVERSION.
49912         * elf/sln.c (main): Use PKGVERSION.
49913         (usage): Use REPORT_BUGS_TO.
49914         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
49915         (top level): Use PKGVERSION.
49916         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
49917         (print_version): Use PKGVERSION.
49918         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
49919         (print_version): Use PKGVERSION.
49920         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
49921         (print_version): Use PKGVERSION.
49922         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
49923         (print_version): Use PKGVERSION.
49924         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
49925         (print_version): Use PKGVERSION.
49926         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
49927         (print_version): Use PKGVERSION.
49928         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
49929         and BUGURL.
49930         ($(objpfx)memusage): Likewise.
49931         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
49932         (do_version): Use PKGVERSION.
49933         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
49934         (print_version): Use PKGVERSION.
49935         * malloc/mtrace.pl ($PACKAGE): Remove variable.
49936         ($PKGVERSION): New variable.
49937         ($REPORT_BUGS_TO): Likewise.
49938         (usage): Use $REPORT_BUGS_TO.
49939         (top level): Use $PKGVERSION.
49940         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
49941         ($(objpfx)pkgvers.texi): New rule.
49942         ($(objpfx)stamp-pkgvers): Likewise.
49943         * manual/install.texi: Include pkgvers.texi.
49944         (--with-pkgversion): Document new configure option.
49945         (--with-bugurl): Likewise.
49946         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
49947         than necessarily for this particular distribution.  Use
49948         REPORT_BUGS_TO for where to report bugs.
49949         * INSTALL: Regenerated.
49950         * manual/libc.texinfo: Include pkgvers.texi.
49951         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
49952         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
49953         (print_version): Use PKGVERSION.
49954         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
49955         (print_version): Use PKGVERSION.
49956         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
49957         (print_version): Use PKGVERSION.
49958         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
49959         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
49960         macro.
49961         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
49962         (print_version): Use PKGVERSION.
49963         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
49964         (print_version): Use PKGVERSION.
49965         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
49966         and PKGVERSION.
49968         * timezone/checktab.awk: Update from tzcode 2012i.
49969         * timezone/ialloc.c: Likewise.
49970         * timezone/private.h: Likewise.
49971         * timezone/scheck.c: Likewise.
49972         * timezone/tzfile.h: Likewise.
49973         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
49974         (TZVERSION): Hardcode tzcode version number.
49975         * timezone/zdump.c: Update from tzcode 2012i.
49976         * timezone/zic.c: Likewise.
49977         * timezone/version.h: New file.
49978         * timezone/README: Describe version.h.  Update upstream location.
49980         [BZ #14824]
49981         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
49982         (mktemp): Enable declaration.
49983         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
49984         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
49985         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
49986         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
49987         Likewise.
49988         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
49989         Likewise.
49990         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
49991         Likewise.
49992         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
49993         Likewise.
49994         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
49995         Likewise.
49996         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
49997         Likewise.
49999         [BZ #14821]
50000         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
50001         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
50002         for copies of such integer values.
50003         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
50004         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
50006 2012-11-09  Andreas Jaeger  <aj@suse.de>
50008         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
50009         definitions and declarations that are provided by
50010         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
50012 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50014         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
50015         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
50016         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
50017         definition.
50019 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
50021         * elf/elf.h: Update comment before AArch64 relocations.
50023 2012-11-07  David S. Miller  <davem@davemloft.net>
50025         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
50026         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
50027         (__start_context): Declare.
50028         (__makecontext_ret): Delete.
50029         (__makecontext): Hook up __start_context instead of
50030         __makecontext_ret.
50031         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
50032         (sysdep_routines): Add __start_context when in stdlib.
50034 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
50036         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
50037         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
50038         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
50039         hardcoded "nm".
50040         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
50041         (READELF): New variable.  Use it instead of hardcoded "readelf".
50043 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
50045         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
50046         * sysdeps/x86/Makefile: Here.
50047         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
50048         * sysdeps/x86/tst-xmmymm.sh: This.
50050 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
50052         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
50053         expectations.
50054         [UNIX98] (pthread_barrier_t): Do not expect.
50055         [UNIX98] (pthread_barrierattr_t): Likewise.
50056         [UNIX98] (pthread_spinlock_t): Likewise.
50057         [UNIX98] (pthread_barrier_destroy): Likewise.
50058         [UNIX98] (pthread_barrier_init): Likewise.
50059         [UNIX98] (pthread_barrier_wait): Likewise.
50060         [UNIX98] (pthread_barrierattr_destroy): Likewise.
50061         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
50062         [UNIX98] (pthread_barrierattr_init): Likewise.
50063         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
50064         [UNIX98] (pthread_getcpuclockid): Likewise.
50065         [UNIX98] (pthread_mutex_timedlock): Likewise.
50066         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
50067         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
50068         [UNIX98] (pthread_sigmask): Likewise.
50069         [UNIX98] (pthread_spin_destroy): Likewise.
50070         [UNIX98] (pthread_spin_init): Likewise.
50071         [UNIX98] (pthread_spin_lock): Likewise.
50072         [UNIX98] (pthread_spin_trylock): Likewise.
50073         [UNIX98] (pthread_spin_unlock): Likewise.
50074         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
50075         Do not expect.
50076         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
50077         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
50078         [XPG3 || XPG4] (pthread_cond_t): Likewise.
50079         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
50080         [XPG3 || XPG4] (pthread_key_t): Likewise.
50081         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
50082         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
50083         [XPG3 || XPG4] (pthread_once_t): Likewise.
50084         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
50085         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
50086         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
50087         [XPG3 || XPG4] (pthread_t): Likewise.
50089         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
50090         not expect.
50091         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
50093         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
50094         Change function return type to int.
50096         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
50097         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
50098         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
50099         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
50100         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
50101         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
50102         [!POSIX] (posix_madvise): Likewise.
50103         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
50104         && !UNIX98].
50105         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
50106         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
50107         (mode_t): Likewise.
50108         (posix_mem_offset): Likewise.
50109         (posix_typed_mem_get_info): Likewise.
50110         (posix_typed_mem_open): Likewise.
50112         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
50113         Change condition to [XOPEN2K8].
50115         * conform/conformtest.pl: Preprocess allow-header data with -x c
50116         instead of from stdin.
50117         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
50118         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
50119         [C99-based standards] (cerfc): Likewise.
50120         [C99-based standards] (cexp2): Likewise.
50121         [C99-based standards] (cexpm1): Likewise.
50122         [C99-based standards] (clog10): Likewise.
50123         [C99-based standards] (clog1p): Likewise.
50124         [C99-based standards] (clog2): Likewise.
50125         [C99-based standards] (clgamma): Likewise.
50126         [C99-based standards] (ctgamma): Likewise.
50127         [C99-based standards] (cerff): Likewise.
50128         [C99-based standards] (cerfcf): Likewise.
50129         [C99-based standards] (cexp2f): Likewise.
50130         [C99-based standards] (cexpm1f): Likewise.
50131         [C99-based standards] (clog10f): Likewise.
50132         [C99-based standards] (clog1pf): Likewise.
50133         [C99-based standards] (clog2f): Likewise.
50134         [C99-based standards] (clgammaf): Likewise.
50135         [C99-based standards] (ctgammaf): Likewise.
50136         [C99-based standards] (cerfl): Likewise.
50137         [C99-based standards] (cerfcl): Likewise.
50138         [C99-based standards] (cexp2l): Likewise.
50139         [C99-based standards] (cexpm1l): Likewise.
50140         [C99-based standards] (clog10l): Likewise.
50141         [C99-based standards] (clog1pl): Likewise.
50142         [C99-based standards] (clog2l): Likewise.
50143         [C99-based standards] (clgammal): Likewise.
50144         [C99-based standards] (ctgammal): Likewise.
50145         * conform/data/inttypes.h-data [C99-based standards]: Include
50146         stdint.h-data.  Remove all expectations for stdint.h contents.
50147         [C99-based standards] (PRI*): Do not allow.
50148         [C99-based standards] (SCN*): Likewise.
50149         [C99-based standards] (*_t): Likewise.
50150         [C99-based-standards] (PRId8): Expect macro.
50151         [C99-based-standards] (PRIi8): Likewise.
50152         [C99-based-standards] (PRIo8): Likewise.
50153         [C99-based-standards] (PRIu8): Likewise.
50154         [C99-based-standards] (PRIx8): Likewise.
50155         [C99-based-standards] (PRIX8): Likewise.
50156         [C99-based-standards] (SCNd8): Likewise.
50157         [C99-based-standards] (SCNi8): Likewise.
50158         [C99-based-standards] (SCNo8): Likewise.
50159         [C99-based-standards] (SCNu8): Likewise.
50160         [C99-based-standards] (SCNx8): Likewise.
50161         [C99-based-standards] (PRIdLEAST8): Likewise.
50162         [C99-based-standards] (PRIiLEAST8): Likewise.
50163         [C99-based-standards] (PRIoLEAST8): Likewise.
50164         [C99-based-standards] (PRIuLEAST8): Likewise.
50165         [C99-based-standards] (PRIxLEAST8): Likewise.
50166         [C99-based-standards] (PRIXLEAST8): Likewise.
50167         [C99-based-standards] (SCNdLEAST8): Likewise.
50168         [C99-based-standards] (SCNiLEAST8): Likewise.
50169         [C99-based-standards] (SCNoLEAST8): Likewise.
50170         [C99-based-standards] (SCNuLEAST8): Likewise.
50171         [C99-based-standards] (SCNxLEAST8): Likewise.
50172         [C99-based-standards] (PRIdFAST8): Likewise.
50173         [C99-based-standards] (PRIiFAST8): Likewise.
50174         [C99-based-standards] (PRIoFAST8): Likewise.
50175         [C99-based-standards] (PRIuFAST8): Likewise.
50176         [C99-based-standards] (PRIxFAST8): Likewise.
50177         [C99-based-standards] (PRIXFAST8): Likewise.
50178         [C99-based-standards] (SCNdFAST8): Likewise.
50179         [C99-based-standards] (SCNiFAST8): Likewise.
50180         [C99-based-standards] (SCNoFAST8): Likewise.
50181         [C99-based-standards] (SCNuFAST8): Likewise.
50182         [C99-based-standards] (SCNxFAST8): Likewise.
50183         [C99-based-standards] (PRId16): Likewise.
50184         [C99-based-standards] (PRIi16): Likewise.
50185         [C99-based-standards] (PRIo16): Likewise.
50186         [C99-based-standards] (PRIu16): Likewise.
50187         [C99-based-standards] (PRIx16): Likewise.
50188         [C99-based-standards] (PRIX16): Likewise.
50189         [C99-based-standards] (SCNd16): Likewise.
50190         [C99-based-standards] (SCNi16): Likewise.
50191         [C99-based-standards] (SCNo16): Likewise.
50192         [C99-based-standards] (SCNu16): Likewise.
50193         [C99-based-standards] (SCNx16): Likewise.
50194         [C99-based-standards] (PRIdLEAST16): Likewise.
50195         [C99-based-standards] (PRIiLEAST16): Likewise.
50196         [C99-based-standards] (PRIoLEAST16): Likewise.
50197         [C99-based-standards] (PRIuLEAST16): Likewise.
50198         [C99-based-standards] (PRIxLEAST16): Likewise.
50199         [C99-based-standards] (PRIXLEAST16): Likewise.
50200         [C99-based-standards] (SCNdLEAST16): Likewise.
50201         [C99-based-standards] (SCNiLEAST16): Likewise.
50202         [C99-based-standards] (SCNoLEAST16): Likewise.
50203         [C99-based-standards] (SCNuLEAST16): Likewise.
50204         [C99-based-standards] (SCNxLEAST16): Likewise.
50205         [C99-based-standards] (PRIdFAST16): Likewise.
50206         [C99-based-standards] (PRIiFAST16): Likewise.
50207         [C99-based-standards] (PRIoFAST16): Likewise.
50208         [C99-based-standards] (PRIuFAST16): Likewise.
50209         [C99-based-standards] (PRIxFAST16): Likewise.
50210         [C99-based-standards] (PRIXFAST16): Likewise.
50211         [C99-based-standards] (SCNdFAST16): Likewise.
50212         [C99-based-standards] (SCNiFAST16): Likewise.
50213         [C99-based-standards] (SCNoFAST16): Likewise.
50214         [C99-based-standards] (SCNuFAST16): Likewise.
50215         [C99-based-standards] (SCNxFAST16): Likewise.
50216         [C99-based-standards] (PRId32): Likewise.
50217         [C99-based-standards] (PRIi32): Likewise.
50218         [C99-based-standards] (PRIo32): Likewise.
50219         [C99-based-standards] (PRIu32): Likewise.
50220         [C99-based-standards] (PRIx32): Likewise.
50221         [C99-based-standards] (PRIX32): Likewise.
50222         [C99-based-standards] (SCNd32): Likewise.
50223         [C99-based-standards] (SCNi32): Likewise.
50224         [C99-based-standards] (SCNo32): Likewise.
50225         [C99-based-standards] (SCNu32): Likewise.
50226         [C99-based-standards] (SCNx32): Likewise.
50227         [C99-based-standards] (PRIdLEAST32): Likewise.
50228         [C99-based-standards] (PRIiLEAST32): Likewise.
50229         [C99-based-standards] (PRIoLEAST32): Likewise.
50230         [C99-based-standards] (PRIuLEAST32): Likewise.
50231         [C99-based-standards] (PRIxLEAST32): Likewise.
50232         [C99-based-standards] (PRIXLEAST32): Likewise.
50233         [C99-based-standards] (SCNdLEAST32): Likewise.
50234         [C99-based-standards] (SCNiLEAST32): Likewise.
50235         [C99-based-standards] (SCNoLEAST32): Likewise.
50236         [C99-based-standards] (SCNuLEAST32): Likewise.
50237         [C99-based-standards] (SCNxLEAST32): Likewise.
50238         [C99-based-standards] (PRIdFAST32): Likewise.
50239         [C99-based-standards] (PRIiFAST32): Likewise.
50240         [C99-based-standards] (PRIoFAST32): Likewise.
50241         [C99-based-standards] (PRIuFAST32): Likewise.
50242         [C99-based-standards] (PRIxFAST32): Likewise.
50243         [C99-based-standards] (PRIXFAST32): Likewise.
50244         [C99-based-standards] (SCNdFAST32): Likewise.
50245         [C99-based-standards] (SCNiFAST32): Likewise.
50246         [C99-based-standards] (SCNoFAST32): Likewise.
50247         [C99-based-standards] (SCNuFAST32): Likewise.
50248         [C99-based-standards] (SCNxFAST32): Likewise.
50249         [C99-based-standards] (PRId64): Likewise.
50250         [C99-based-standards] (PRIi64): Likewise.
50251         [C99-based-standards] (PRIo64): Likewise.
50252         [C99-based-standards] (PRIu64): Likewise.
50253         [C99-based-standards] (PRIx64): Likewise.
50254         [C99-based-standards] (PRIX64): Likewise.
50255         [C99-based-standards] (SCNd64): Likewise.
50256         [C99-based-standards] (SCNi64): Likewise.
50257         [C99-based-standards] (SCNo64): Likewise.
50258         [C99-based-standards] (SCNu64): Likewise.
50259         [C99-based-standards] (SCNx64): Likewise.
50260         [C99-based-standards] (PRIdLEAST64): Likewise.
50261         [C99-based-standards] (PRIiLEAST64): Likewise.
50262         [C99-based-standards] (PRIoLEAST64): Likewise.
50263         [C99-based-standards] (PRIuLEAST64): Likewise.
50264         [C99-based-standards] (PRIxLEAST64): Likewise.
50265         [C99-based-standards] (PRIXLEAST64): Likewise.
50266         [C99-based-standards] (SCNdLEAST64): Likewise.
50267         [C99-based-standards] (SCNiLEAST64): Likewise.
50268         [C99-based-standards] (SCNoLEAST64): Likewise.
50269         [C99-based-standards] (SCNuLEAST64): Likewise.
50270         [C99-based-standards] (SCNxLEAST64): Likewise.
50271         [C99-based-standards] (PRIdFAST64): Likewise.
50272         [C99-based-standards] (PRIiFAST64): Likewise.
50273         [C99-based-standards] (PRIoFAST64): Likewise.
50274         [C99-based-standards] (PRIuFAST64): Likewise.
50275         [C99-based-standards] (PRIxFAST64): Likewise.
50276         [C99-based-standards] (PRIXFAST64): Likewise.
50277         [C99-based-standards] (SCNdFAST64): Likewise.
50278         [C99-based-standards] (SCNiFAST64): Likewise.
50279         [C99-based-standards] (SCNoFAST64): Likewise.
50280         [C99-based-standards] (SCNuFAST64): Likewise.
50281         [C99-based-standards] (SCNxFAST64): Likewise.
50282         [C99-based-standards] (PRIdMAX): Likewise.
50283         [C99-based-standards] (PRIiMAX): Likewise.
50284         [C99-based-standards] (PRIoMAX): Likewise.
50285         [C99-based-standards] (PRIuMAX): Likewise.
50286         [C99-based-standards] (PRIxMAX): Likewise.
50287         [C99-based-standards] (PRIXMAX): Likewise.
50288         [C99-based-standards] (SCNdMAX): Likewise.
50289         [C99-based-standards] (SCNiMAX): Likewise.
50290         [C99-based-standards] (SCNoMAX): Likewise.
50291         [C99-based-standards] (SCNuMAX): Likewise.
50292         [C99-based-standards] (SCNxMAX): Likewise.
50293         [C99-based-standards] (PRIdPTR): Likewise.
50294         [C99-based-standards] (PRIiPTR): Likewise.
50295         [C99-based-standards] (PRIoPTR): Likewise.
50296         [C99-based-standards] (PRIuPTR): Likewise.
50297         [C99-based-standards] (PRIxPTR): Likewise.
50298         [C99-based-standards] (PRIXPTR): Likewise.
50299         [C99-based-standards] (SCNdPTR): Likewise.
50300         [C99-based-standards] (SCNiPTR): Likewise.
50301         [C99-based-standards] (SCNoPTR): Likewise.
50302         [C99-based-standards] (SCNuPTR): Likewise.
50303         [C99-based-standards] (SCNxPTR): Likewise.
50304         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
50305         allow.
50306         * conform/data/stdint.h-data: Update comments to clarify
50307         requirements.
50308         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
50309         type.
50310         [C99-based standards] (INT8_MAX): Likewise.
50311         [C99-based standards] (INT16_MIN): Likewise.
50312         [C99-based standards] (INT16_MAX): Likewise.
50313         [C99-based standards] (INT32_MIN): Likewise.
50314         [C99-based standards] (INT32_MAX): Likewise.
50315         [C99-based standards] (INT64_MIN): Likewise.
50316         [C99-based standards] (INT64_MAX): Likewise.
50317         [C99-based standards] (UINT8_MAX): Likewise.
50318         [C99-based standards] (UINT16_MAX): Likewise.
50319         [C99-based standards] (UINT32_MAX): Likewise.
50320         [C99-based standards] (UINT64_MAX): Likewise.
50321         [C99-based standards] (INT_LEAST8_MIN): Likewise.
50322         [C99-based standards] (INT_LEAST8_MAX): Likewise.
50323         [C99-based standards] (INT_LEAST16_MIN): Likewise.
50324         [C99-based standards] (INT_LEAST16_MAX): Likewise.
50325         [C99-based standards] (INT_LEAST32_MIN): Likewise.
50326         [C99-based standards] (INT_LEAST32_MAX): Likewise.
50327         [C99-based standards] (INT_LEAST64_MIN): Likewise.
50328         [C99-based standards] (INT_LEAST64_MAX): Likewise.
50329         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
50330         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
50331         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
50332         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
50333         [C99-based standards] (INT_FAST8_MIN): Likewise.
50334         [C99-based standards] (INT_FAST8_MAX): Likewise.
50335         [C99-based standards] (INT_FAST16_MIN): Likewise.
50336         [C99-based standards] (INT_FAST16_MAX): Likewise.
50337         [C99-based standards] (INT_FAST32_MIN): Likewise.
50338         [C99-based standards] (INT_FAST32_MAX): Likewise.
50339         [C99-based standards] (INT_FAST64_MIN): Likewise.
50340         [C99-based standards] (INT_FAST64_MAX): Likewise.
50341         [C99-based standards] (UINT_FAST8_MAX): Likewise.
50342         [C99-based standards] (UINT_FAST16_MAX): Likewise.
50343         [C99-based standards] (UINT_FAST32_MAX): Likewise.
50344         [C99-based standards] (UINT_FAST64_MAX): Likewise.
50345         [C99-based standards] (INTPTR_MIN): Likewise.
50346         [C99-based standards] (INTPTR_MAX): Likewise.
50347         [C99-based standards] (UINTPTR_MAX): Likewise.
50348         [C99-based standards] (INTMAX_MIN): Likewise.
50349         [C99-based standards] (INTMAX_MAX): Likewise.
50350         [C99-based standards] (UINTMAX_MAX): Likewise.
50351         [C99-based standards] (PTRDIFF_MIN): Likewise.
50352         [C99-based standards] (PTRDIFF_MAX): Likewise.
50353         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
50354         [C99-based standards] (SIZE_MAX): Likewise.
50355         [C99-based standards] (WCHAR_MAX): Likewise.
50356         [C99-based standards] (WINT_MAX): Likewise.
50357         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
50358         constraint on value.
50359         [C99-based standards] (WCHAR_MIN): Likewise.
50360         [C99-based standards] (WINT_MIN): Likewise.
50361         [C99-based standards] (*_t): Allow.
50362         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
50363         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
50364         Include math.h-data and complex.h-data.  Remove all expectations
50365         of math.h and complex.h contents.
50366         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
50367         at end of line.
50368         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
50369         (struct tm): Expect tag.
50370         [C99-based-standards] (wcstof): Expect function.
50371         [C99-based-standards] (wcstold): Likewise.
50372         [C99-based-standards] (wcstoll): Likewise.
50373         [C99-based-standards] (wcstoull): Likewise.
50374         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
50375         macro-int-constant.  Specify type.
50376         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
50377         constraint on value.
50378         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
50379         Specify type.
50380         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
50381         Specify value.
50382         [ISO C standards]: Do not allow headers.
50383         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
50384         wcs[abcdefghijklmnopqrstuvwxyz]*.
50385         [ISO C standards] (*_t): Do not allow.
50386         * conform/data/wctype.h-data [C99-based standards] (iswblank):
50387         Expect function.
50388         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
50389         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
50390         Specify type.
50391         [ISO C standards]: Do not allow headers.
50392         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
50393         is[abcdefghijklmnopqrstuvwxyz]*.
50394         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
50395         to[abcdefghijklmnopqrstuvwxyz]*.
50396         [ISO C standards] (*_t): Do not allow.
50397         * conform/data/stdalign.h-data: New file.
50398         * conform/data/stdbool.h-data: Likewise.
50399         * conform/data/stdnoreturn.h-data: Likewise.
50401 2012-11-07  Roland McGrath  <roland@hack.frob.com>
50403         [BZ #14815]
50404         * manual/filesys.texi (Directory Entries): Typo fix.
50405         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
50407 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
50409         * elf/elf.h (EM_AARCH64): New macro.
50410         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
50411         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
50412         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
50413         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
50414         (R_AARCH64_TLSDESC): Likewise.
50415         (NT_ARM_TLS): Likewise.
50416         (NT_ARM_HW_BREAK): Likewise.
50417         (NT_ARM_HW_WATCH): Likewise.
50419 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
50421         [BZ #14811]
50422         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
50423         (__ieee754_powl): Saturate nonzero exponents with absolute value
50424         below 0x1p-79 to +/- 0x1p-79.
50425         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
50426         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
50427         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
50428         nonzero exponents with absolute value below 0x1p-32 to +/-
50429         0x1p-32.
50430         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
50431         (__ieee754_powl): Saturate nonzero exponents with absolute value
50432         below 0x1p-79 to +/- 0x1p-79.
50433         * math/libm-test.inc (pow_test): Add more tests.
50435 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50437         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
50438         _dl_s390_cap_flags with kernel. Increase string length.
50439         (_dl_s390_platforms): Add z196 and zEC12.
50441 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
50443         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
50444         Change XOPEN21K to XOPEN2K.
50446 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
50448         * string/memmove.c: Use memcpy when possible.
50450 2012-11-06  Andreas Jaeger  <aj@suse.de>
50452         * po/eo.po: Update from translation team.
50454 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
50456         [BZ #14793]
50457         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
50458         exponent and small x and y exponents, scale x or y up.  Increase
50459         by 2 the exponent used in scaling up.
50460         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
50461         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
50462         * math/libm-test.inc (fma_test): Add more tests.
50463         (fma_test_towardzero): Likewise.
50464         (fma_test_downward): Likewise.
50465         (fma_test_upward): Likewise.
50467 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
50469         [BZ #14805]
50470         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
50471         fenv_t *.
50473         [BZ #14801]
50474         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
50475         namespace for names of struct fields.
50476         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
50477         fenv_t fields.
50478         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
50479         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
50481 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50483         [BZ #3665]
50484         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
50486 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
50488         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
50489         PTR_DEMANGLE.
50491         [BZ #5246]
50492         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
50493         PTR_DEMANGLE.
50495 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
50497         [BZ #14797]
50498         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
50499         definitely overflow as x * y not x * y + z.
50500         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
50501         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
50502         * math/libm-test.inc (fma_test): Add more tests.
50503         (fma_test_towardzero): Likewise.
50504         (fma_test_downward): Likewise.
50505         (fma_test_upward): Likewise.
50507 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
50509         [BZ #157]
50511         * include/stub-tag.h: Remove file.
50512         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
50513         '#include' of it.
50514         * manual/maint.texi (Porting): Don't reference it.
50515         * Makerules ($(objpfx)stubs): Likewise.
50516         * dirent/closedir.c: Don't include <stub-tag.h>.
50517         * dirent/dirfd.c: Likewise.
50518         * dirent/fdopendir.c: Likewise.
50519         * dirent/getdents.c: Likewise.
50520         * dirent/getdents64.c: Likewise.
50521         * dirent/opendir.c: Likewise.
50522         * dirent/readdir.c: Likewise.
50523         * dirent/readdir64.c: Likewise.
50524         * dirent/readdir64_r.c: Likewise.
50525         * dirent/readdir_r.c: Likewise.
50526         * dirent/rewinddir.c: Likewise.
50527         * dirent/seekdir.c: Likewise.
50528         * dirent/telldir.c: Likewise.
50529         * gmon/profil.c: Likewise.
50530         * grp/setgroups.c: Likewise.
50531         * inet/if_index.c: Likewise.
50532         * io/access.c: Likewise.
50533         * io/chdir.c: Likewise.
50534         * io/chmod.c: Likewise.
50535         * io/chown.c: Likewise.
50536         * io/close.c: Likewise.
50537         * io/dup.c: Likewise.
50538         * io/dup2.c: Likewise.
50539         * io/dup3.c: Likewise.
50540         * io/euidaccess.c: Likewise.
50541         * io/faccessat.c: Likewise.
50542         * io/fchdir.c: Likewise.
50543         * io/fchmod.c: Likewise.
50544         * io/fchmodat.c: Likewise.
50545         * io/fchown.c: Likewise.
50546         * io/fchownat.c: Likewise.
50547         * io/fcntl.c: Likewise.
50548         * io/flock.c: Likewise.
50549         * io/fstatfs.c: Likewise.
50550         * io/fstatfs64.c: Likewise.
50551         * io/fstatvfs.c: Likewise.
50552         * io/fstatvfs64.c: Likewise.
50553         * io/futimens.c: Likewise.
50554         * io/fxstat.c: Likewise.
50555         * io/fxstat64.c: Likewise.
50556         * io/fxstatat.c: Likewise.
50557         * io/fxstatat64.c: Likewise.
50558         * io/getcwd.c: Likewise.
50559         * io/isatty.c: Likewise.
50560         * io/lchmod.c: Likewise.
50561         * io/lchown.c: Likewise.
50562         * io/link.c: Likewise.
50563         * io/linkat.c: Likewise.
50564         * io/lseek.c: Likewise.
50565         * io/lseek64.c: Likewise.
50566         * io/lxstat64.c: Likewise.
50567         * io/mkdir.c: Likewise.
50568         * io/mkdirat.c: Likewise.
50569         * io/mkfifo.c: Likewise.
50570         * io/mkfifoat.c: Likewise.
50571         * io/open.c: Likewise.
50572         * io/open64.c: Likewise.
50573         * io/openat.c: Likewise.
50574         * io/openat64.c: Likewise.
50575         * io/pipe.c: Likewise.
50576         * io/pipe2.c: Likewise.
50577         * io/poll.c: Likewise.
50578         * io/posix_fadvise.c: Likewise.
50579         * io/posix_fadvise64.c: Likewise.
50580         * io/posix_fallocate.c: Likewise.
50581         * io/posix_fallocate64.c: Likewise.
50582         * io/read.c: Likewise.
50583         * io/readlink.c: Likewise.
50584         * io/readlinkat.c: Likewise.
50585         * io/rmdir.c: Likewise.
50586         * io/sendfile.c: Likewise.
50587         * io/sendfile64.c: Likewise.
50588         * io/statfs.c: Likewise.
50589         * io/statfs64.c: Likewise.
50590         * io/statvfs.c: Likewise.
50591         * io/statvfs64.c: Likewise.
50592         * io/symlink.c: Likewise.
50593         * io/symlinkat.c: Likewise.
50594         * io/ttyname.c: Likewise.
50595         * io/ttyname_r.c: Likewise.
50596         * io/umask.c: Likewise.
50597         * io/unlink.c: Likewise.
50598         * io/unlinkat.c: Likewise.
50599         * io/utime.c: Likewise.
50600         * io/utimensat.c: Likewise.
50601         * io/write.c: Likewise.
50602         * io/xmknod.c: Likewise.
50603         * io/xmknodat.c: Likewise.
50604         * io/xstat.c: Likewise.
50605         * io/xstat64.c: Likewise.
50606         * login/getpt.c: Likewise.
50607         * login/grantpt.c: Likewise.
50608         * login/unlockpt.c: Likewise.
50609         * math/e_acoshl.c: Likewise.
50610         * math/e_acosl.c: Likewise.
50611         * math/e_asinl.c: Likewise.
50612         * math/e_atan2l.c: Likewise.
50613         * math/e_atanhl.c: Likewise.
50614         * math/e_coshl.c: Likewise.
50615         * math/e_expl.c: Likewise.
50616         * math/e_fmodl.c: Likewise.
50617         * math/e_gammal_r.c: Likewise.
50618         * math/e_hypotl.c: Likewise.
50619         * math/e_j0l.c: Likewise.
50620         * math/e_j1l.c: Likewise.
50621         * math/e_jnl.c: Likewise.
50622         * math/e_lgammal_r.c: Likewise.
50623         * math/e_log10l.c: Likewise.
50624         * math/e_log2l.c: Likewise.
50625         * math/e_logl.c: Likewise.
50626         * math/e_powl.c: Likewise.
50627         * math/e_rem_pio2l.c: Likewise.
50628         * math/e_sinhl.c: Likewise.
50629         * math/e_sqrtl.c: Likewise.
50630         * math/fclrexcpt.c: Likewise.
50631         * math/fedisblxcpt.c: Likewise.
50632         * math/feenablxcpt.c: Likewise.
50633         * math/fegetenv.c: Likewise.
50634         * math/fegetexcept.c: Likewise.
50635         * math/fegetround.c: Likewise.
50636         * math/feholdexcpt.c: Likewise.
50637         * math/fesetenv.c: Likewise.
50638         * math/fesetround.c: Likewise.
50639         * math/feupdateenv.c: Likewise.
50640         * math/fgetexcptflg.c: Likewise.
50641         * math/fraiseexcpt.c: Likewise.
50642         * math/fsetexcptflg.c: Likewise.
50643         * math/ftestexcept.c: Likewise.
50644         * math/k_cosl.c: Likewise.
50645         * math/k_rem_pio2l.c: Likewise.
50646         * math/k_sinl.c: Likewise.
50647         * math/k_tanl.c: Likewise.
50648         * math/s_asinhl.c: Likewise.
50649         * math/s_atanl.c: Likewise.
50650         * math/s_cbrtl.c: Likewise.
50651         * math/s_erfl.c: Likewise.
50652         * math/s_expm1l.c: Likewise.
50653         * math/s_log1pl.c: Likewise.
50654         * math/s_tanhl.c: Likewise.
50655         * misc/acct.c: Likewise.
50656         * misc/brk.c: Likewise.
50657         * misc/chflags.c: Likewise.
50658         * misc/chroot.c: Likewise.
50659         * misc/fchflags.c: Likewise.
50660         * misc/fgetxattr.c: Likewise.
50661         * misc/flistxattr.c: Likewise.
50662         * misc/fremovexattr.c: Likewise.
50663         * misc/fsetxattr.c: Likewise.
50664         * misc/fsync.c: Likewise.
50665         * misc/ftruncate.c: Likewise.
50666         * misc/futimes.c: Likewise.
50667         * misc/futimesat.c: Likewise.
50668         * misc/getdomain.c: Likewise.
50669         * misc/getdtsz.c: Likewise.
50670         * misc/gethostid.c: Likewise.
50671         * misc/gethostname.c: Likewise.
50672         * misc/getloadavg.c: Likewise.
50673         * misc/getpagesize.c: Likewise.
50674         * misc/getsysstats.c: Likewise.
50675         * misc/getxattr.c: Likewise.
50676         * misc/gtty.c: Likewise.
50677         * misc/ioctl.c: Likewise.
50678         * misc/lgetxattr.c: Likewise.
50679         * misc/listxattr.c: Likewise.
50680         * misc/llistxattr.c: Likewise.
50681         * misc/lremovexattr.c: Likewise.
50682         * misc/lsetxattr.c: Likewise.
50683         * misc/lutimes.c: Likewise.
50684         * misc/madvise.c: Likewise.
50685         * misc/mincore.c: Likewise.
50686         * misc/mlock.c: Likewise.
50687         * misc/mlockall.c: Likewise.
50688         * misc/mmap.c: Likewise.
50689         * misc/mprotect.c: Likewise.
50690         * misc/msync.c: Likewise.
50691         * misc/munlock.c: Likewise.
50692         * misc/munlockall.c: Likewise.
50693         * misc/munmap.c: Likewise.
50694         * misc/preadv.c: Likewise.
50695         * misc/preadv64.c: Likewise.
50696         * misc/ptrace.c: Likewise.
50697         * misc/pwritev.c: Likewise.
50698         * misc/pwritev64.c: Likewise.
50699         * misc/readv.c: Likewise.
50700         * misc/reboot.c: Likewise.
50701         * misc/remap_file_pages.c: Likewise.
50702         * misc/removexattr.c: Likewise.
50703         * misc/revoke.c: Likewise.
50704         * misc/select.c: Likewise.
50705         * misc/setdomain.c: Likewise.
50706         * misc/setegid.c: Likewise.
50707         * misc/seteuid.c: Likewise.
50708         * misc/sethostid.c: Likewise.
50709         * misc/sethostname.c: Likewise.
50710         * misc/setregid.c: Likewise.
50711         * misc/setreuid.c: Likewise.
50712         * misc/setxattr.c: Likewise.
50713         * misc/sstk.c: Likewise.
50714         * misc/stty.c: Likewise.
50715         * misc/swapoff.c: Likewise.
50716         * misc/swapon.c: Likewise.
50717         * misc/sync.c: Likewise.
50718         * misc/syncfs.c: Likewise.
50719         * misc/syscall.c: Likewise.
50720         * misc/truncate.c: Likewise.
50721         * misc/ualarm.c: Likewise.
50722         * misc/usleep.c: Likewise.
50723         * misc/ustat.c: Likewise.
50724         * misc/utimes.c: Likewise.
50725         * misc/vhangup.c: Likewise.
50726         * misc/writev.c: Likewise.
50727         * posix/_exit.c: Likewise.
50728         * posix/alarm.c: Likewise.
50729         * posix/execve.c: Likewise.
50730         * posix/fexecve.c: Likewise.
50731         * posix/fork.c: Likewise.
50732         * posix/fpathconf.c: Likewise.
50733         * posix/getaddrinfo.c: Likewise.
50734         * posix/getegid.c: Likewise.
50735         * posix/geteuid.c: Likewise.
50736         * posix/getgid.c: Likewise.
50737         * posix/getgroups.c: Likewise.
50738         * posix/getlogin.c: Likewise.
50739         * posix/getlogin_r.c: Likewise.
50740         * posix/getpgid.c: Likewise.
50741         * posix/getpid.c: Likewise.
50742         * posix/getppid.c: Likewise.
50743         * posix/getresgid.c: Likewise.
50744         * posix/getresuid.c: Likewise.
50745         * posix/getsid.c: Likewise.
50746         * posix/getuid.c: Likewise.
50747         * posix/glob64.c: Likewise.
50748         * posix/nanosleep.c: Likewise.
50749         * posix/pathconf.c: Likewise.
50750         * posix/pause.c: Likewise.
50751         * posix/posix_madvise.c: Likewise.
50752         * posix/pread.c: Likewise.
50753         * posix/pread64.c: Likewise.
50754         * posix/pwrite.c: Likewise.
50755         * posix/pwrite64.c: Likewise.
50756         * posix/sched_getaffinity.c: Likewise.
50757         * posix/sched_getp.c: Likewise.
50758         * posix/sched_gets.c: Likewise.
50759         * posix/sched_primax.c: Likewise.
50760         * posix/sched_primin.c: Likewise.
50761         * posix/sched_rr_gi.c: Likewise.
50762         * posix/sched_setaffinity.c: Likewise.
50763         * posix/sched_setp.c: Likewise.
50764         * posix/sched_sets.c: Likewise.
50765         * posix/sched_yield.c: Likewise.
50766         * posix/setgid.c: Likewise.
50767         * posix/setlogin.c: Likewise.
50768         * posix/setpgid.c: Likewise.
50769         * posix/setresgid.c: Likewise.
50770         * posix/setresuid.c: Likewise.
50771         * posix/setsid.c: Likewise.
50772         * posix/setuid.c: Likewise.
50773         * posix/sleep.c: Likewise.
50774         * posix/spawni.c: Likewise.
50775         * posix/sysconf.c: Likewise.
50776         * posix/times.c: Likewise.
50777         * posix/wait.c: Likewise.
50778         * posix/wait3.c: Likewise.
50779         * posix/wait4.c: Likewise.
50780         * posix/waitpid.c: Likewise.
50781         * resolv/gai_sigqueue.c: Likewise.
50782         * resource/getpriority.c: Likewise.
50783         * resource/getrlimit.c: Likewise.
50784         * resource/getrusage.c: Likewise.
50785         * resource/nice.c: Likewise.
50786         * resource/setpriority.c: Likewise.
50787         * resource/setrlimit.c: Likewise.
50788         * resource/ulimit.c: Likewise.
50789         * rt/aio_cancel.c: Likewise.
50790         * rt/aio_fsync.c: Likewise.
50791         * rt/aio_read.c: Likewise.
50792         * rt/aio_sigqueue.c: Likewise.
50793         * rt/aio_suspend.c: Likewise.
50794         * rt/aio_write.c: Likewise.
50795         * rt/clock_getres.c: Likewise.
50796         * rt/clock_gettime.c: Likewise.
50797         * rt/clock_nanosleep.c: Likewise.
50798         * rt/clock_settime.c: Likewise.
50799         * rt/lio_listio.c: Likewise.
50800         * rt/mq_close.c: Likewise.
50801         * rt/mq_getattr.c: Likewise.
50802         * rt/mq_notify.c: Likewise.
50803         * rt/mq_open.c: Likewise.
50804         * rt/mq_receive.c: Likewise.
50805         * rt/mq_send.c: Likewise.
50806         * rt/mq_setattr.c: Likewise.
50807         * rt/mq_timedreceive.c: Likewise.
50808         * rt/mq_timedsend.c: Likewise.
50809         * rt/mq_unlink.c: Likewise.
50810         * rt/shm_open.c: Likewise.
50811         * rt/shm_unlink.c: Likewise.
50812         * rt/timer_create.c: Likewise.
50813         * rt/timer_delete.c: Likewise.
50814         * rt/timer_getoverr.c: Likewise.
50815         * rt/timer_gettime.c: Likewise.
50816         * rt/timer_settime.c: Likewise.
50817         * setjmp/__longjmp.c: Likewise.
50818         * setjmp/setjmp.c: Likewise.
50819         * signal/kill.c: Likewise.
50820         * signal/killpg.c: Likewise.
50821         * signal/raise.c: Likewise.
50822         * signal/sigaction.c: Likewise.
50823         * signal/sigaltstack.c: Likewise.
50824         * signal/sigblock.c: Likewise.
50825         * signal/sigignore.c: Likewise.
50826         * signal/sigintr.c: Likewise.
50827         * signal/signal.c: Likewise.
50828         * signal/sigpause.c: Likewise.
50829         * signal/sigpending.c: Likewise.
50830         * signal/sigqueue.c: Likewise.
50831         * signal/sigreturn.c: Likewise.
50832         * signal/sigset.c: Likewise.
50833         * signal/sigsetmask.c: Likewise.
50834         * signal/sigstack.c: Likewise.
50835         * signal/sigsuspend.c: Likewise.
50836         * signal/sigtimedwait.c: Likewise.
50837         * signal/sigvec.c: Likewise.
50838         * signal/sigwait.c: Likewise.
50839         * signal/sigwaitinfo.c: Likewise.
50840         * signal/sysv_signal.c: Likewise.
50841         * socket/accept.c: Likewise.
50842         * socket/accept4.c: Likewise.
50843         * socket/bind.c: Likewise.
50844         * socket/connect.c: Likewise.
50845         * socket/getpeername.c: Likewise.
50846         * socket/getsockname.c: Likewise.
50847         * socket/getsockopt.c: Likewise.
50848         * socket/isfdtype.c: Likewise.
50849         * socket/listen.c: Likewise.
50850         * socket/recv.c: Likewise.
50851         * socket/recvfrom.c: Likewise.
50852         * socket/recvmsg.c: Likewise.
50853         * socket/send.c: Likewise.
50854         * socket/sendmsg.c: Likewise.
50855         * socket/sendto.c: Likewise.
50856         * socket/setsockopt.c: Likewise.
50857         * socket/shutdown.c: Likewise.
50858         * socket/sockatmark.c: Likewise.
50859         * socket/socket.c: Likewise.
50860         * socket/socketpair.c: Likewise.
50861         * stdio-common/ctermid.c: Likewise.
50862         * stdio-common/cuserid.c: Likewise.
50863         * stdio-common/remove.c: Likewise.
50864         * stdio-common/rename.c: Likewise.
50865         * stdio-common/renameat.c: Likewise.
50866         * stdio-common/tempname.c: Likewise.
50867         * stdlib/getcontext.c: Likewise.
50868         * stdlib/makecontext.c: Likewise.
50869         * stdlib/setcontext.c: Likewise.
50870         * stdlib/swapcontext.c: Likewise.
50871         * stdlib/system.c: Likewise.
50872         * streams/fattach.c: Likewise.
50873         * streams/fdetach.c: Likewise.
50874         * streams/getmsg.c: Likewise.
50875         * streams/getpmsg.c: Likewise.
50876         * streams/putmsg.c: Likewise.
50877         * streams/putpmsg.c: Likewise.
50878         * sysdeps/unix/bsd/getpt.c: Likewise.
50879         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
50880         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
50881         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
50882         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
50883         Likewise.
50884         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
50885         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
50886         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
50887         * sysvipc/msgctl.c: Likewise.
50888         * sysvipc/msgget.c: Likewise.
50889         * sysvipc/msgrcv.c: Likewise.
50890         * sysvipc/msgsnd.c: Likewise.
50891         * sysvipc/semctl.c: Likewise.
50892         * sysvipc/semget.c: Likewise.
50893         * sysvipc/semop.c: Likewise.
50894         * sysvipc/semtimedop.c: Likewise.
50895         * sysvipc/shmat.c: Likewise.
50896         * sysvipc/shmctl.c: Likewise.
50897         * sysvipc/shmdt.c: Likewise.
50898         * sysvipc/shmget.c: Likewise.
50899         * termios/tcdrain.c: Likewise.
50900         * termios/tcflow.c: Likewise.
50901         * termios/tcflush.c: Likewise.
50902         * termios/tcgetattr.c: Likewise.
50903         * termios/tcgetpgrp.c: Likewise.
50904         * termios/tcsendbrk.c: Likewise.
50905         * termios/tcsetattr.c: Likewise.
50906         * termios/tcsetpgrp.c: Likewise.
50907         * time/adjtime.c: Likewise.
50908         * time/clock.c: Likewise.
50909         * time/getitimer.c: Likewise.
50910         * time/gettimeofday.c: Likewise.
50911         * time/setitimer.c: Likewise.
50912         * time/settimeofday.c: Likewise.
50913         * time/stime.c: Likewise.
50914         * time/time.c: Likewise.
50916 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
50918         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
50919         /usr/old/bin.
50921         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
50922         instead of spaces.
50923         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
50925 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
50927         [BZ #14796]
50928         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
50929         FE_TONEAREST before applying Dekker multiplication and Knuth
50930         addition.  Clear inexact exceptions and check for exact zero
50931         results afterwards.
50932         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
50933         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
50934         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
50935         * math/libm-test.inc (fma_test): Add more tests.
50936         (fma_test_towardzero): Likewise.
50937         (fma_test_downward): Likewise.
50938         (fma_test_upward): Likewise.
50939         * sysdeps/generic/math_private.h (default_libc_fesetround): New
50940         function.
50941         (libc_fesetround): New macro.
50942         (libc_fesetroundf): Likewise.
50943         (libc_fesetroundl): Likewise.
50944         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
50945         function.
50946         (libc_fesetround_387): Likewise.
50947         (libc_fesetroundf): New macro.
50948         (libc_fesetround): Likewise.
50949         (libc_fesetroundl): Likewise.
50950         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
50951         function.
50952         (libc_fesetroundf): New macro.
50953         (libc_fesetround): Likewise.
50954         (libc_fesetroundl): Likewise.
50955         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
50956         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
50957         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
50958         libm_hidden_ver.
50959         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
50960         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
50961         libm_hidden_def.
50962         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
50963         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
50964         libm_hidden_ver.
50965         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
50966         libm_hidden_def.
50968         [BZ #3439]
50969         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
50970         integer constant usable in #if and use that to give value to enum
50971         constant.
50972         (FE_DIVBYZERO): Likewise.
50973         (FE_UNDERFLOW): Likewise.
50974         (FE_OVERFLOW): Likewise.
50975         (FE_INVALID): Likewise.
50976         (FE_INVALID_SNAN): Likewise.
50977         (FE_INVALID_ISI): Likewise.
50978         (FE_INVALID_IDI): Likewise.
50979         (FE_INVALID_ZDZ): Likewise.
50980         (FE_INVALID_IMZ): Likewise.
50981         (FE_INVALID_COMPARE): Likewise.
50982         (FE_INVALID_SOFTWARE): Likewise.
50983         (FE_INVALID_SQRT): Likewise.
50984         (FE_INVALID_INTEGER_CONVERSION): Likewise.
50985         (FE_TONEAREST): Likewise.
50986         (FE_TOWARDZERO): Likewise.
50987         (FE_UPWARD): Likewise.
50988         (FE_DOWNWARD): Likewise.
50989         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
50990         (FE_DIVBYZERO): Likewise.
50991         (FE_OVERFLOW): Likewise.
50992         (FE_UNDERFLOW): Likewise.
50993         (FE_INEXACT): Likewise.
50994         (FE_TONEAREST): Likewise.
50995         (FE_DOWNWARD): Likewise.
50996         (FE_UPWARD): Likewise.
50997         (FE_TOWARDZERO): Likewise.
50998         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
50999         (FE_UNDERFLOW): Likewise.
51000         (FE_OVERFLOW): Likewise.
51001         (FE_DIVBYZERO): Likewise.
51002         (FE_INVALID): Likewise.
51003         (FE_TONEAREST): Likewise.
51004         (FE_TOWARDZERO): Likewise.
51005         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
51006         (FE_OVERFLOW): Likewise.
51007         (FE_UNDERFLOW): Likewise.
51008         (FE_DIVBYZERO): Likewise.
51009         (FE_INEXACT): Likewise.
51010         (FE_TONEAREST): Likewise.
51011         (FE_TOWARDZERO): Likewise.
51012         (FE_UPWARD): Likewise.
51013         (FE_DOWNWARD): Likewise.
51014         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
51015         (FE_DIVBYZERO): Likewise.
51016         (FE_OVERFLOW): Likewise.
51017         (FE_UNDERFLOW): Likewise.
51018         (FE_INEXACT): Likewise.
51019         (FE_TONEAREST): Likewise.
51020         (FE_DOWNWARD): Likewise.
51021         (FE_UPWARD): Likewise.
51022         (FE_TOWARDZERO): Likewise.
51024 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
51026         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
51028 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
51030         * scripts/cross-test-ssh.sh (command): Use newlines to separate
51031         commands.  Quote $PWD.
51032         (blacklist_exports): Don't use remove_newlines.  Replace "declare
51033         -x" by "export".
51034         (remove_newlines): Remove.
51036 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
51038         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
51039         * stdlib/stdlib.h (atof): Moved to ...
51040         * include/bits/stdlib-float.h: Here.  New file.
51041         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
51042         * stdlib/bits/stdlib-float.h: New file.
51043         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
51044         -mno-sse -mno-mmx.
51045         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
51046         <xmmintrin.h>.
51048 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
51050         * conform/conformtest.pl (@headers): Add fenv.h.
51051         * conform/data/fenv.h-data: New file.
51052         * include/fenv.h [_ISOMAC]: Disable all contents of file except
51053         include of <math/fenv.h>.
51055         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
51056         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
51057         && !UNIX98].  Enables tests for XOPEN2K8.
51058         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
51059         POSIX2008]: Likewise.
51061         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
51062         (struct rusage): Do not expect type or its members.
51064         [BZ #3439]
51065         * math/math.h (FP_NAN): Define macro to integer constant usable in
51066         #if and use that to give value to enum constant.
51067         (FP_INFINITE): Likewise.
51068         (FP_ZERO): Likewise.
51069         (FP_SUBNORMAL): Likewise.
51070         (FP_NORMAL): Likewise.
51072 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
51074         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
51075         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
51076         arguments.
51078 2012-11-02  Roland McGrath  <roland@hack.frob.com>
51080         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
51081         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
51082         autoconf-time if not.
51083         * configure.in: Remove AC_PREREQ.
51085 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
51087         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
51088         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
51089         of the internal implementation.
51091 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
51093         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
51094         except include of <misc/sys/syslog.h>.
51096 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
51098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
51099         function returns with a NULL context exit with zero.
51101 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
51103         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
51105 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
51107         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
51108         (run_program_cmd): This.
51109         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
51110         (tst_langinfo): New variable.  Use it.
51112 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
51114         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
51115         floating point opcodes.
51117 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
51119         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
51120         variable.
51122         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
51124         * sysdeps/mach/hurd/powerpc: Remove directory.
51125         * sysdeps/mach/powerpc: Likewise.
51127 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
51129         * scripts/check-local-headers.sh: Ignore c++ headers.
51131 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
51133         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
51134         __libc_cleanup_region_start argument.
51136 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
51138         [BZ #14784]
51139         [BZ #14785]
51140         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
51141         x * y using scaling, not as x * y + z.
51142         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
51143         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
51144         * math/libm-test.inc (fma_test): Add more tests.
51145         (fma_test_towardzero): Likewise.
51146         (fma_test_downward): Likewise.
51147         (fma_test_upward): Likewise.
51149 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
51151         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
51153 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
51155         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
51156         New variable.
51158 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
51160         * rt/tst-shm.c (worker): Correct checking for mmap failure.
51162 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
51164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
51165         Fix sort order.
51166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
51167         Likewise.
51169 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
51171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
51172         Fix the order of the list for glibc 2.17.
51173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
51174         Likewise.
51176 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
51178         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51180 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
51182         [BZ #14610]
51183         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
51184         for low part of x being zero before using __atanl (y).
51185         * math/libm-test.inc (atan2_test): Add another test.
51187         * manual/install.texi (Configuring and compiling): Document
51188         general use of test-wrapper and test-wrapper-env.
51189         * INSTALL: Regenerated.
51191         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
51192         (__fma): Do not extract and scale down low bits on after-rounding
51193         systems when result rounded to normal precision would have normal
51194         exponent.
51195         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
51196         (__fmal): Do not extract and scale down low bits on after-rounding
51197         systems when result rounded to normal precision would have normal
51198         exponent.
51199         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
51200         (__fmal): Do not extract and scale down low bits on after-rounding
51201         systems when result rounded to normal precision would have normal
51202         exponent.
51203         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
51204         macro.
51205         (fma_test): Add more tests.
51206         (fma_test_towardzero): Likewise.
51207         (fma_test_downward): Likewise.
51208         (fma_test_upward): Likewise.
51210 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
51212         * sysdeps/i386/tininess.h: Renamed to ...
51213         * sysdeps/x86/tininess.h: This.
51214         * sysdeps/x86_64/tininess.h: Removed.
51216 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
51218         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
51219         input.  Use $(build-program-cmd).
51220         ($(objpfx)tst-array1-static.out): Likewise.
51221         ($(objpfx)tst-array2.out): Likewise.
51222         ($(objpfx)tst-array3.out): Likewise.
51223         ($(objpfx)tst-array4.out): Likewise.
51224         ($(objpfx)tst-array5.out): Likewise.
51225         ($(objpfx)tst-array5-static.out): Likewise.
51227 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
51229         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
51230         if defined.
51232         * nss/nsswitch.h (nss_interface_function): Provide new
51233         macro for use with NSS functions.
51234         * grp/initgroups.c: Use new macro.
51235         * nss/getXXbyYY.c: Likewise.
51236         * nss/getXXbyYY_r.c: Likewise.
51237         * nss/getXXent.c: Likewise.
51238         * nss/getXXent_r.c: Likewise.
51239         * sysdeps/posix/getaddrinfo.c: Likewise.
51241 2012-10-30  Andreas Jaeger  <aj@suse.de>
51243         * po/ru.po: Update Russion translation from translation project.
51245 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
51247         [BZ #14152]
51248         [BZ #14783]
51249         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
51250         result and shift together with sticky bit instead of replicating
51251         round-to-nearest rounding.
51252         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
51253         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
51254         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
51255         missing underflow exceptions.
51256         (fma_test_towardzero): Add more tests.
51257         (fma_test_downward): Likewise.
51258         (fma_test_upward): Likewise.
51260         [BZ #14047]
51261         * sysdeps/generic/tininess.h: New file.
51262         * sysdeps/i386/tininess.h: Likewise.
51263         * sysdeps/sh/tininess.h: Likewise.
51264         * sysdeps/x86_64/tininess.h: Likewise.
51265         * stdlib/tst-strtod-underflow.c: Likewise.
51266         * stdlib/tst-tininess.c: Likewise.
51267         * stdlib/strtod_l.c: Include <tininess.h>.
51268         (round_and_return): Do not set errno for exact underflow cases.
51269         Force an underflow exception when setting errno for underflow.
51270         Determine underflow based on rounding to normal precision if
51271         TININESS_AFTER_ROUNDING.
51272         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
51273         ERANGE for exact underflow cases.
51274         * stdlib/Makefile (tests): Add tst-tininess and
51275         tst-strtod-underflow.
51276         ($(objpfx)tst-tininess): Use $(link-libm).
51277         ($(objpfx)tst-strtod-underflow): Likewise.
51279 2012-10-30  Andreas Jaeger  <aj@suse.de>
51281         [BZ#14767]
51282         * elf/Makefile (tests): Remove conditional for have-initfini-array
51283         since this is now always required and the variable does not exist
51284         anymore.
51285         (tests-static): Likewise.
51286         (modules-names): Likewise.
51288         * po/eo.po: Add Esperanto translation from translation project.
51290         * elf/tst-array1.c (fini_array): Make writeable so that it can be
51291         merged with constructor/destructor.
51292         (init_array): Likewise.
51293         * elf/tst-array2dep.c (fini_array): Likewise.
51294         (init_array): Likewise.
51296 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
51298         * manual/message.texi: Delete @cartouche tags.
51300 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
51302         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
51303         EOPNOTSUPP.
51304         * sysdeps/mach/hurd/fsync.c: Likewise.
51306         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
51307         [_POSIX_REALTIME_SIGNALS]: Change condition to
51308         [_POSIX_REALTIME_SIGNALS > 0].
51310 2012-10-27  Andreas Jaeger  <aj@suse.de>
51312         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
51313         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
51314         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
51315         [__WORDSIZE != 64]: Likewise.
51317 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
51319         *  iconvdata/tst-table.sh: Remove ${SHELL}.
51320         *  iconvdata/tst-tables.sh: Likewise.
51322 2012-10-25  David S. Miller  <davem@davemloft.net>
51324         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
51325         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
51326         of strtoull.
51328         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
51329         ifunc-impl-list.c
51330         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
51331         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
51332         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
51333         file.
51335 2012-10-25  Roland McGrath  <roland@hack.frob.com>
51337         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
51338         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
51339         __getdirentries.
51341 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
51342             Jim Blandy  <jimb@codesourcery.com>
51344         * scripts/cross-test-ssh.sh: New file.
51345         * manual/install.texi (Configuring and compiling): Document use of
51346         cross-test-ssh.sh.
51347         * INSTALL: Regenerated.
51349 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
51351         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
51352         EOPNOTSUPP.
51354 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
51356         * Makeconfig (run-program-prefix): Fix comment.
51358 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
51359             Jim Blandy  <jimb@codesourcery.com>
51361         * Makeconfig (test-wrapper): New variable,
51362         (test-wrapper-env): Likewise.
51363         [$(cross-compiling) = yes && $(test-wrapper) != ""]
51364         (run-built-tests): Define to yes.
51365         (run-program-prefix): Use $(test-wrapper).
51366         (built-program-cmd): Likewise.
51367         * Rules (make-test-out): Use $(test-wrapper-env) and
51368         $(host-built-program-cmd).
51369         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
51370         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
51371         tst-pathopt.sh.
51372         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
51373         $(test-wrapper-env) to tst-rtld-load-self.sh.
51374         ($(objpfx)order2.out): Use $(test-wrapper).
51375         ($(objpfx)tst-initorder.out): Likewise.
51376         ($(objpfx)tst-initorder2.out): Likewise.
51377         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
51378         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
51379         (test_wrapper_env): New variable.  Use it to run ld.so.
51380         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
51381         Use it to run ld.so.
51382         (test_wrapper_env): Likewise.
51383         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
51384         $(test-wrapper) to run-iconv-test.sh.
51385         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
51386         (ICONV): Use $test_wrapper.
51387         * posix/Makefile ($(objpfx)globtest.out): Pass
51388         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
51389         globtest.sh, not $(run-program-prefix).
51390         * posix/globtest.sh (run_via_rtld_prefix): New variable.
51391         (test_wrapper): Likewise.
51392         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
51393         set together with run_via_rtld_prefix.
51394         (run_program_prefix): Define in terms of test_wrapper and
51395         run_via_rtld_prefix.
51397 2012-10-24  Roland McGrath  <roland@hack.frob.com>
51399         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
51400         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
51401         Targets removed.
51403         [BZ #14743]
51404         * include/time.h: Remove librt_hidden_proto (clock_gettime).
51405         Declare __clock_getres, __clock_gettime, __clock_settime,
51406         __clock_nanosleep, and __clock_getcpuclockid.
51407         * rt/clock_gettime.c: Define __clock_gettime as an alias.
51408         Remove librt_hidden_def (clock_gettime).
51409         * sysdeps/unix/clock_gettime.c: Likewise.
51410         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
51411         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
51412         * rt/clock_getres.c: Define __clock_getres as an alias.
51413         * sysdeps/posix/clock_getres.c: Likewise.
51414         * rt/clock_settime.c: Define __clock_settime as an alias.
51415         * sysdeps/unix/clock_settime.c: Likewise.
51416         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
51417         * sysdeps/unix/clock_nanosleep.c: Likewise.
51418         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
51419         * rt/clock-compat.c: New file.
51420         * rt/Makefile (librt-routines): Add clock-compat and move
51421         $(clock-routines) to ...
51422         (routines): ... here, new variable.
51423         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
51424         Don't add get_clockfreq here.
51425         * rt/Versions (libc: GLIBC_2.17): New version set.
51426         Add clock_* symbols here.
51427         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
51428         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
51429         (GLIBC_2.17): Add clock_* symbols.
51430         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
51431         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
51432         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
51433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
51434         Likewise.
51435         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
51436         Likewise.
51437         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
51438         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
51439         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
51440         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
51441         * NEWS: Mention the move.
51443         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
51444         Use __open, __read, __close rather than their public counterparts.
51445         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
51446         (__get_clockfreq_via_cpuinfo): Likewise.
51447         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
51448         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
51450         * config.h.in (HAVE_IFUNC): New #undef.
51451         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
51452         was successful.
51453         * configure: Regenerated.
51455 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
51457         * configure.in: Move READELF check to start of file.
51458         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
51459         libc_cv_asm_gnu_indirect_function in the process.
51460         * configure: Regenerated.
51462 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
51464         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
51465         send the output to /dev/null.
51466         (libc_cv_cc_with_libunwind): Likewise.
51467         (libc_cv_as_noexecstack): Likewise.
51468         * configure: Regenerate.
51470 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
51472         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
51474         * posix/globtest.sh (TMPDIR): Do not set.
51475         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
51476         (testout): Likewise.
51478 2012-10-24  Andreas Jaeger  <aj@suse.de>
51480         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
51481         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
51482         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
51483         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
51484         posix_fadvise64, posix_fallocate64.
51486         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
51487         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
51488         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
51489         Likewise.
51490         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
51491         Likewise.
51492         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
51494         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
51495         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
51496         <bits/fcntl-linux.h>.
51497         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
51499         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
51500         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
51501         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
51502         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
51503         [__WORDSIZE != 64]: Likewise.
51505 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
51507         * Makeconfig (run-built-tests): New variable.
51508         * Rules [$(cross-compiling) = yes]: Change condition to
51509         [$(run-built-tests) = no].
51510         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
51511         to [$(run-built-tests) = yes].
51512         * elf/Makefile [$(cross-compiling) = no]: Likewise
51513         * grp/Makefile [$(cross-compiling) = no]: Likewise.
51514         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
51515         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
51516         * intl/Makefile [$(cross-compiling) = no]: Likewise.
51517         * io/Makefile [$(cross-compiling) = no]: Likewise.
51518         * libio/Makefile [$(cross-compiling) = no]: Likewise.
51519         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
51520         * misc/Makefile [$(cross-compiling) = no]: Likewise.
51521         * posix/Makefile [$(cross-compiling) = no]: Likewise.
51522         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
51523         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
51524         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
51525         * string/Makefile [$(cross-compiling) = no]: Likewise.
51527         * posix/Makefile ($(objpfx)globtest.out): Pass
51528         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
51529         $(rtld-installed-name).
51530         * posix/globtest.sh (elf_objpfx): Remove variable.
51531         (rtld_installed_name): Likewise.
51532         (library_path): Likewise.
51533         (run_program_prefix): New variable.  Use for running globtest
51534         binary.
51536 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
51537             Joseph Myers  <joseph@codesourcery.com>
51539         * Makeconfig (host-built-program-cmd): New variable.
51540         * elf/Makefile (tst-stackguard1-ARGS): Use
51541         $(host-built-program-cmd).
51542         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
51543         (tst-spawn-ARGS): Likewise.
51544         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
51546 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
51547             Jim Blandy  <jimb@codesourcery.com>
51549         * Makeconfig (run-via-rtld-prefix): New variable.
51550         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
51551         (built-program-cmd): Likewise.
51553 2012-10-22  Andreas Jaeger  <aj@suse.de>
51555         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
51556         __O_RSYNC if it exists, otherwise to O_SYNC.
51558 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
51559             Joseph Myers  <joseph@codesourcery.com>
51561         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
51562         /dev/null.
51563         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
51564         from /dev/null
51565         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
51566         /dev/null.
51568 2012-10-22  Andreas Jaeger  <aj@suse.de>
51570         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
51571         Define always.
51572         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
51574         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51575         bits/fcntl-linux.h.
51577         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
51578         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
51580         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
51581         to __O_LARGEFILE.
51582         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
51583         to __O_LARGEFILE.
51585 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
51586             Joseph Myers  <joseph@codesourcery.com>
51588         * config.make.in (NM): New variable.
51590 2012-10-21  Andreas Jaeger  <aj@suse.de>
51592         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
51593         definitions and declarations that are provided by
51594         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
51596 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
51598         [BZ #14683]
51599         * elf/Makefile (tests-static): Add tst-leaks1-static.
51600         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
51601         ($(objpfx)tst-leaks1-static): New rule.
51602         ($(objpfx)tst-leaks1-static-mem): Likewise.
51603         (tst-leaks1-static-ENV): New macro.
51604         * elf/dl-open.c (dl_open_worker): Check the main application
51605         only if SHARED is defined.
51606         * elf/tst-leaks1-static.c: New file.
51608 2012-10-20  Andreas Jaeger  <aj@suse.de>
51610         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
51611         generic values for Linux.
51612         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
51613         and declarations that are provided by <bits/fcntl-linux.h> and
51614         include <bits/fcntl-linux.h>.
51615         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
51616         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
51618 2012-10-20  Roland McGrath  <roland@hack.frob.com>
51620         * io/fcntl.h: Move include of <bits/types.h> to the top and
51621         include it unconditionally.
51623 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
51625         * wcsmbs/Makefile (tests-ifunc): New variable.
51626         (tests): Add $(tests-ifunc).
51627         * wcsmbs/test-wcschr-ifunc.c: New file.
51628         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
51629         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
51630         * wcsmbs/test-wcslen-ifunc.c: Likewise.
51631         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
51632         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
51634         * string/Makefile (tests-ifunc): New variable.
51635         (tests): Add $(tests-ifunc).
51636         * string/test-memccpy.c (TEST_NAME): New macro.
51637         * string/test-memchr.c (TEST_NAME): Likewise.
51638         * string/test-memcmp.c (TEST_NAME): Likewise.
51639         * string/test-memcpy.c (TEST_NAME): Likewise.
51640         * string/test-memmem.c (TEST_NAME): Likewise.
51641         * string/test-memmove.c (TEST_NAME): Likewise.
51642         * string/test-memset.c (TEST_NAME): Likewise.
51643         * string/test-rawmemchr.c (TEST_NAME): Likewise.
51644         * string/test-stpcpy.c (TEST_NAME): Likewise.
51645         * string/test-stpncpy.c (TEST_NAME): Likewise.
51646         * string/test-strcasecmp.c (TEST_NAME): Likewise.
51647         * string/test-strcasestr.c (TEST_NAME): Likewise.
51648         * string/test-strcat.c (TEST_NAME): Likewise.
51649         * string/test-strchr.c (TEST_NAME): Likewise.
51650         * string/test-strcmp.c(TEST_NAME): Likewise.
51651         * string/test-strcpy.c (TEST_NAME): Likewise.
51652         * string/test-strcspn.c (TEST_NAME): Likewise.
51653         * string/test-strlen.c (TEST_NAME): Likewise.
51654         * string/test-strncasecmp.c (TEST_NAME): Likewise.
51655         * string/test-strncmp.c (TEST_NAME): Likewise.
51656         * string/test-strncpy.c (TEST_NAME): Likewise.
51657         * string/test-strnlen.c (TEST_NAME): Likewise.
51658         * string/test-strpbrk.c (TEST_NAME): Likewise.
51659         * string/test-strrchr.c (TEST_NAME): Likewise.
51660         * string/test-strspn.c (TEST_NAME): Likewise.
51661         * string/test-strstr.c (TEST_NAME): Likewise.
51662         * string/test-bcopy-ifunc.c: New file.
51663         * string/test-bzero-ifunc.c: Likewise.
51664         * string/test-memccpy-ifunc.c: Likewise.
51665         * string/test-memchr-ifunc.c: Likewise.
51666         * string/test-memcmp-ifunc.c: Likewise.
51667         * string/test-memcpy-ifunc.c: Likewise.
51668         * string/test-memmem-ifunc.c: Likewise.
51669         * string/test-memmove-ifunc.c: Likewise.
51670         * string/test-mempcpy-ifunc.c: Likewise.
51671         * string/test-memset-ifunc.c: Likewise.
51672         * string/test-rawmemchr-ifunc.c: Likewise.
51673         * string/test-stpcpy-ifunc.c: Likewise.
51674         * string/test-stpncpy-ifunc.c: Likewise.
51675         * string/test-strcasecmp-ifunc.c: Likewise.
51676         * string/test-strcasestr-ifunc.c: Likewise.
51677         * string/test-strcat-ifunc.c: Likewise.
51678         * string/test-strchr-ifunc.c: Likewise.
51679         * string/test-strchrnul-ifunc.c: Likewise.
51680         * string/test-strcmp-ifunc.c: Likewise.
51681         * string/test-strcpy-ifunc.c: Likewise.
51682         * string/test-strcspn-ifunc.c: Likewise.
51683         * string/test-strlen-ifunc.c: Likewise.
51684         * string/test-strncasecmp-ifunc.c: Likewise.
51685         * string/test-strncat-ifunc.c: Likewise.
51686         * string/test-strncmp-ifunc.c: Likewise.
51687         * string/test-strncpy-ifunc.c: Likewise.
51688         * string/test-strnlen-ifunc.c: Likewise.
51689         * string/test-strpbrk-ifunc.c: Likewise.
51690         * string/test-strrchr-ifunc.c: Likewise.
51691         * string/test-strspn-ifunc.c: Likewise.
51692         * string/test-strstr-ifunc.c: Likewise.
51694         * debug/Makefile (tests-ifunc): New variable.
51695         (tests): Add $(tests-ifunc).
51696         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
51697         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
51698         * debug/test-stpcpy_chk-ifunc.c: New file.
51699         * debug/test-strcpy_chk-ifunc.c: Likewise.
51701 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
51703         [BZ #13601]
51704         * elf/dl-load.c (open_verify): Retry read if the entire ELF
51705         header is not read in.
51707 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
51709         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
51710         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
51711         directly.  Pass built executable to script as
51712         $(built-program-cmd).
51713         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
51714         $testprogram without using LD_LIBRARY_PATH and $ldso.
51716         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
51717         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
51718         $(rtld-installed-name).
51719         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
51720         (rtld_installed_name): Likewise.
51721         (library_path): Likewise.
51722         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
51723         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
51724         $(run-program-prefix) to tst-tables.sh.
51725         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
51726         it to run tst-table-from and tst-table-to.
51727         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
51728         Pass it to tst-table.sh.
51729         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
51730         $(run-program-prefix) to tst-gettext.sh.
51731         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
51732         tst-translit.sh.
51733         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
51734         tst-gettext2.sh.
51735         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
51736         to run tst-gettext.
51737         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
51738         to run tst-gettext2.
51739         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
51740         to run tst-translit.
51741         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
51742         $(run-program-prefix) to tst-mtrace.sh.
51743         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
51744         to run tst-mtrace.
51745         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
51746         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
51747         $(rtld-installed-name).
51748         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
51749         (rtld_installed_name): Likewise.
51750         (run_program_prefix): New variable.  Use it to run wordexp-test.
51752         * Makeconfig (ARCH): Remove all definitions.
51753         (machine): Likewise.
51754         [ARCH]: Remove conditional code.
51755         [!objdir]: Give error.
51756         [!objdir] (objpfx): Remove.
51757         [!objdir] (common-objpfx): Likewise.
51758         [!objdir] (common-objdir): Likewise.
51759         * configure.in (config_makefile): Remove.  Hardcode Makefile in
51760         AC_CONFIG_FILES call.
51761         * configure: Regenerated.
51763         [BZ #13888]
51764         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
51765         or TMPDIR.
51766         (testout): Likewise.
51768         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
51769         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
51770         $(rtld-installed-name).
51771         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
51772         (rtld_installed_name): Likwise.
51773         (runit): Remove function.
51774         (run_getconf): New variable,  Use it for running getconf binary.
51776 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
51778         [BZ #14716]
51779         * string/test-memmem.c (check_result): New function.
51780         (do_one_test): Use it.
51781         (check1): New function.
51782         (test_main): Use it.
51784 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
51786         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
51788 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
51790         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
51791         (_G_LSEEK64): Likewise.
51792         (_G_MMAP64): Likewise.
51793         (_G_FSTAT64): Likewise.
51794         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
51795         (_G_LSEEK64): Likewise.
51796         (_G_MMAP64): Likewise.
51797         (_G_FSTAT64): Likewise.
51798         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
51799         unconditional.  Call __mmap64 directly.
51800         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
51801         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
51802         __lseek64 directly.
51803         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
51804         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
51805         __mmap64 directly.
51806         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
51807         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
51808         __lseek64 directly.
51809         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
51810         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
51811         __lseek64 directly.
51812         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
51813         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
51814         __lseek64 directly.
51815         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
51816         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
51817         __fxstat64 directly.
51818         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
51819         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
51820         unconditional.
51821         (freopen64) [!_G_OPEN64]: Remove conditional code.
51822         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
51823         unconditional.
51824         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
51825         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
51826         unconditional.
51827         (ftello64) [!_G_LSEEK64]: Remove conditional code.
51828         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
51829         unconditional.
51830         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
51831         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
51832         unconditional.
51833         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
51834         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
51835         unconditional.
51836         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
51837         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
51838         unconditional.
51839         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
51840         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
51841         unconditional.
51842         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
51844 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
51846         [BZ #12140]
51847         * manual/memory.texi (Malloc Tunable Parameters): Add note
51848         about free list pointers overwriting some perturb bytes.
51849         Wording suggested by Roland McGrath.
51851 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
51853         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
51854         (lgamma_test): Likewise.
51855         (tgamma_test): Likewise.
51857 2012-10-16  Florian Weimer  <fweimer@redhat.com>
51859         [BZ #14700]
51860         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
51861         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
51863 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
51865         * NEWS: Mention BZ #14716.
51866         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
51867         when removing AVAILABLE1_USES_J macro.
51869 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
51871         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
51872         (__bswap_64): __uint64_t for unsigned 64-bit int.
51874 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
51876         * include/string.h (memmem): Declare libc hidden alias.
51877         * string/memmem.c (memmem): Define libc hidden alias.
51878         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
51879         __read, __close instead of open, read, close.
51881 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
51883         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
51884         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
51885         global and hidden.
51886         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
51887         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
51888         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
51889         Likewise.
51890         (__rawmemchr_sse2): Likewise.
51891         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
51892         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
51893         (__strchr_sse2): Likewise.
51894         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
51895         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
51896         (__strcasecmp_sse2): Likewise.
51897         (__strncasecmp_sse2): Likewise.
51898         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
51899         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
51900         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
51901         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
51902         (__strrchr_sse2): Likewise.
51903         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
51904         ifunc-impl-list.c.
51905         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
51906         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
51907         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
51908         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
51909         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
51910         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
51911         * sysdeps/x86_64/multiarch/memset.S: Likewise.
51912         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
51913         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
51914         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
51915         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
51916         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
51917         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
51918         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
51919         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
51920         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
51921         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
51922         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
51923         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
51924         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
51925         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
51926         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
51927         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
51928         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
51929         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
51930         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
51931         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
51932         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
51933         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
51934         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
51936         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
51937         global and hidden.
51938         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
51939         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
51940         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
51941         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
51942         Likewise.
51943         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
51944         Likewise.
51945         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
51946         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
51947         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
51948         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
51949         ifunc-impl-list.c.
51950         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
51951         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
51952         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
51953         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
51954         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
51955         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
51956         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
51957         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
51958         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
51959         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
51960         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
51961         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
51962         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
51963         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
51964         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
51965         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
51966         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
51967         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
51968         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
51969         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
51970         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
51971         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
51972         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
51973         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
51974         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
51975         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
51976         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
51977         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
51978         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
51979         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
51980         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
51981         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
51982         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
51983         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
51984         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
51985         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
51986         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
51987         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
51988         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
51989         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
51990         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
51992         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
51993         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
51994         * include/ifunc-impl-list.h: New file.
51995         * misc/ifunc-impl-list.c: Likewise.
51996         * misc/Makefile (routines): Add ifunc-impl-list.
51997         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
51998         * string/test-string.h: Include <ifunc-impl-list.h>.
51999         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
52000         TEST_NAME]: New variables.
52001         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
52002         are defined.
52003         (test_init): Call __libc_ifunc_impl_list to initialize
52004         func_list if TEST_IFUNC and TEST_NAME are defined.
52006         * string/Makefile (strop-tests): Add bcopy and bzero.
52007         * string/test-bcopy.c: New file.
52008         * string/test-bzero.c: Likewise.
52009         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
52010         defined.
52011         * string/test-memset.c: Support bzero test if TEST_BZERO is
52012         defined.
52013         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
52014         __libc_memmove.
52015         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
52016         __libc_memset.
52017         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
52018         of memset.
52020 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
52022         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
52023         * configure: Regenerated.
52025         * Makeconfig (+link-static-before-libc): Don't include
52026         $(link-static-libc).
52028         * libio/libio.h (_IO_pos_t): Remove.
52030 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
52032         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
52033         McGrath.
52035 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
52037         * crypt/crypt-entry.c: Include fips-private.h.
52038         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
52039         * crypt/md5c-test.c (main): Tolerate disabled MD5.
52040         * sysdeps/unix/sysv/linux/fips-private.h: New file.
52041         * sysdeps/generic/fips-private.h: New file, dummy fallback.
52043 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
52045         * crypt/crypt-private.h: Include stdbool.h.
52046         (_ufc_setup_salt_r): Return bool.
52047         * crypt/crypt-entry.c: Include errno.h.
52048         (__crypt_r): Return NULL with EINVAL for bad salt.
52049         * crypt/crypt_util.c (bad_for_salt): New.
52050         (_ufc_setup_salt_r): Check that salt is long enough and within
52051         the specified alphabet.
52052         * crypt/badsalttest.c: New file.
52053         * crypt/Makefile (tests): Add it.
52054         ($(objpfx)badsalttest): New.
52056 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
52058         * NEWS: Add entry for BZ #14602.
52060 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
52062         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
52063         type-generic.
52064         * math/libm-test.inc: Update comment listing what functions and
52065         macros are tested.
52066         (isgreater_test): New function.
52067         (isgreaterequal_test): Likewise.
52068         (isless_test): Likewise.
52069         (islessequal_test): Likewise.
52070         (islessgreater_test): Likewise.
52071         (isunordered_test): Likewise.
52072         (main): Call the new functions.
52074 2012-10-09  Roland McGrath  <roland@hack.frob.com>
52076         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
52077         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
52078         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
52079         * sysdeps/i386/configure: Regenerated.
52080         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
52081         * sysdeps/mach/configure: Regenerated.
52082         * sysdeps/mach/hurd/configure: Regenerated.
52083         * sysdeps/powerpc/configure: Regenerated.
52084         * sysdeps/powerpc/powerpc32/configure: Regenerated.
52085         * sysdeps/powerpc/powerpc64/configure: Regenerated.
52086         * sysdeps/s390/s390-32/configure: Regenerated.
52087         * sysdeps/s390/s390-64/configure: Regenerated.
52088         * sysdeps/sh/configure: Regenerated.
52089         * sysdeps/sparc/configure: Regenerated.
52090         * sysdeps/unix/sysv/linux/configure: Regenerated.
52091         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
52092         * sysdeps/x86_64/configure: Regenerated.
52094         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
52095         defined.  Don't check if MAP is NULL.
52097 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
52099         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
52100         (_G_stat64): Likewise.
52101         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
52102         (_G_stat64): Likewise.
52103         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
52104         instead of struct _G_stat64.
52105         * libio/fileops.c (mmap_remap_check): Likewise.
52106         (decide_maybe_mmap): Likewise.
52107         (_IO_new_file_seekoff): Likewise.
52108         (_IO_file_stat): Likewise.
52109         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
52110         _G_off64_t.
52111         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
52112         instead of struct _G_stat64.
52113         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
52115 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
52117         [BZ #14602]
52118         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
52119         Replace with ...
52120         (CHECK_EOL): New macro.
52121         (two_way_short_needle): Check beginning of haystack for EOL.  Use
52122         CHECK_EOL.
52123         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
52124         Replace with CHECK_EOL.
52125         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
52126         Replace with CHECK_EOL.
52128 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
52130         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
52131         type-generic.
52132         * math/libm-test.inc: Update comment listing what functions and
52133         macros are tested.
52134         (finite_test): New function.
52135         (isinf_test): Likewise.
52136         (isnan_test): Likewise.
52137         (fpclassify_test): Test subnormal input.
52138         (isfinite_test): Likewise.
52139         (isnormal_test): Likewise.
52140         (main): Call the new functions.
52142 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
52144         [BZ #14660]
52145         * Makerules (%.dynsym): Force C locale when running
52146         $(OBJDUMP) --dynamic-syms.
52148 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
52150         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
52151         <stdint.h>.
52153 2012-10-06  David S. Miller  <davem@davemloft.net>
52155         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
52156         upper 32-bits of the length value in %o2 since we use branch-on-register
52157         tests which consider the entire 64-bit register.
52159 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
52161         * string/test-strstr.c (check2): Add a test for page boundary.
52163 2012-10-05  David S. Miller  <davem@davemloft.net>
52165         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
52166         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
52167         file.
52168         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
52169         sysdep_routines.
52170         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
52171         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
52172         and bzero when HWCAP_SPARC_CRYPTO is present.
52174 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
52176         [BZ #14602]
52177         * string/test-strstr.c (check2): New function.
52178         (test_main): Call check2.
52180         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
52181         and bug-strchr1.
52182         * string/bug-strcasestr1.c (do_test): Moved to ...
52183         * string/test-strcasestr.c (check1): Here.  New function.
52184         (do_one_test): Break out result checking code into ...
52185         (check_result): This.  New function.
52186         (do_one_test): Call check_result.
52187         (test_main): Call check1.
52188         * string/bug-strchr1.c (do_test): Moved to ...
52189         * string/test-strchr.c (check1): Here.  New function.
52190         (do_one_test): Break out result checking code into ...
52191         (check_result): This.  New function.
52192         (do_one_test): Call check_result.
52193         (test_main): Call check1.
52194         * string/bug-strstr1.c (main): Moved to ...
52195         * string/test-strstr.c (check1): Here.  New function.
52196         (do_one_test): Break out result checking code into ...
52197         (check_result): This.  New function.
52198         (do_one_test): Call check_result.
52199         (test_main): Call check1.
52200         * string/bug-strcasestr1.c: Removed.
52201         * string/bug-strchr1.c: Likewise.
52202         * string/bug-strstr1.c: Likewise.
52204         * elf/Makefile (dl-routines): Add hwcaps.
52205         * elf/dl-support.c (_dl_important_hwcaps): Removed.
52206         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
52207         (_dl_important_hwcaps): Moved to ...
52208         * elf/dl-hwcaps.c: Here.  New file.
52209         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
52211         [BZ #14557]
52212         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
52213         if IS_IN_rtld isn't defined.
52215         * elf/dl-support.c (_dl_sysinfo_map): New.
52216         Include "get-dynamic-info.h" and "setup-vdso.h".
52217         (_dl_non_dynamic_init): Call setup_vdso.
52218         * elf/dynamic-link.h: Don't include <assert.h>.
52219         (elf_get_dynamic_info): Moved to ...
52220         * elf/get-dynamic-info.h: Here.  New file.
52221         * elf/dynamic-link.h: Include "get-dynamic-info.h".
52222         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
52223         * elf/setup-vdso.h: Here.  New file.
52224         * elf/rtld.c: Include "setup-vdso.h".
52225         (dl_main): Call setup_vdso.
52227 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
52229         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
52230         creal in comment listing functions tested.  List finite, isinf,
52231         isnan, isless, islessequal, isgreater, isgreaterequal,
52232         islessgreater, isunordered, lgamma_r and pow10 as functions and
52233         macros not tested.  Mention which functions not tested are aliases
52234         for other functions.  Fix typo.  Note that signs of NaNs are not
52235         tested.
52237         * scripts/config.guess: Update from config.git.
52238         * scripts/config.sub: Likewise.
52240 2012-10-04  Roland McGrath  <roland@hack.frob.com>
52242         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
52243         * misc/madvise.c (madvise): Renamed to __madvise.
52244         Make madvise a weak alias.
52245         * include/sys/mman.h: Declare __madvise.
52246         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
52247         * sysdeps/unix/syscalls.list
52248         (madvise): Make __madvise the strong name, and madvise a weak alias.
52249         * sysdeps/unix/sysv/linux/syscalls.list
52250         (madvise, mmap): Remove redundant entries.
52251         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
52252         * malloc/malloc.c (mtrim): Likewise.
52253         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
52255 2012-10-03  Roland McGrath  <roland@hack.frob.com>
52257         * sysdeps/mach/hurd/dl-cache.c: File removed.
52258         * config.h.in (USE_LDCONFIG): New #undef.
52259         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
52260         * configure: Regenerated.
52261         * elf/Makefile (dl-routines): Add dl-cache only under
52262         [$(use-ldconfig) = yes].
52263         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
52264         cache on [USE_LDCONFIG].
52265         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
52266         [USE_LDCONFIG].
52267         * elf/rtld.c (dl_main): Likewise.
52269 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
52271         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
52272         _SC_LEVEL4_CACHE_LINESIZE.
52274 2012-10-03  Roland McGrath  <roland@hack.frob.com>
52276         * sysdeps/unix/bsd/confstr.h: File removed.
52278 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
52280         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
52281         sys/sdt-config.h.
52283 2012-10-02  Roland McGrath  <roland@hack.frob.com>
52285         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
52286         Make 'mapoff' field ElfW(Off) rather than off_t.
52288 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
52290         * nscd/Makefile: Remove nscd-cflags and all its users.
52291         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
52292         (CFLAGS-nonlib): Add compiler flags for nscd modules.
52294         [BZ #10631]
52295         * malloc.c (malloc_printerr): Clarify error message.
52297 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
52299         [BZ #14648]
52300         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52301         Set bit_FMA_Usable if FMA is supported.
52302         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
52303         macro.
52304         (bit_FMA4_Usable): Updated.
52305         (index_FMA_Usable): New macro.
52306         (CPUID_FMA): Likewise
52307         (HAS_FMA): Defined with bit_FMA_Usable.
52309 2012-10-01  Roland McGrath  <roland@hack.frob.com>
52311         * bits/types.h (__swblk_t): Type removed.
52312         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
52313         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
52314         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
52315         (__SWBLK_T_TYPE): Likewise.
52316         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
52317         (__SWBLK_T_TYPE): Likewise.
52318         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
52319         (__SWBLK_T_TYPE): Likewise.
52320         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
52321         (__SWBLK_T_TYPE): Likewise.
52323 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
52324             Honza Horak <hhorak@redhat.com>
52326         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
52327         (xdr_mapname): Use YPMAXMAP as maxsize.
52328         (xdr_peername): Use YPMAXPEER as maxsize.
52329         (xdr_keydat): Use YPAXRECORD as maxsize.
52330         (xdr_valdat): Use YPMAXRECORD as maxsize.
52332 2012-10-01  Roland McGrath  <roland@hack.frob.com>
52334         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
52336         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
52337         * csu/init-first.c: ... here.
52338         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
52339         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
52340         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
52341         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
52342         * sysdeps/i386/init-first.c: File removed.
52343         * sysdeps/sh/init-first.c: File removed.
52345 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
52347         [BZ #14645]
52348         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
52349         if x * y might underflow to zero and z is zero.
52350         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
52351         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
52352         * math/libm-test.inc (min_subnorm_value): New variable.
52353         (fma_test): Add more tests.
52354         (fma_test_towardzero): Likewise.
52355         (fma_test_downward): Likewise
52356         (fma_test_upward): Likewise.
52357         (initialize): Set min_subnorm_value.
52359 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
52361         [BZ #14638]
52362         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
52363         0 + 0.
52364         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
52365         mode for addition resulting in exact zero.
52366         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
52367         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
52368         exact 0 + 0.
52369         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
52370         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
52371         * math/libm-test.inc (fma_test): Add more tests.
52372         (fma_test_towardzero): New function.
52373         (fma_test_downward): Likewise.
52374         (fma_test_upward): Likewise.
52375         (main): Call the new functions.
52377 2012-09-28  David S. Miller  <davem@davemloft.net>
52379         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
52381 2012-09-28  Roland McGrath  <roland@hack.frob.com>
52383         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
52384         instead of SIGALRM.
52386         * sysdeps/gnu/_G_config.h: Moved to ...
52387         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
52388         * sysdeps/mach/hurd/_G_config.h: Moved to ...
52389         * sysdeps/generic/_G_config.h: ... here.
52391         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
52393         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
52395         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
52396         Conditionalize target on [libnss_test1.so-version].
52398         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
52400         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
52401         (elfobjdir): Move out of conditionals.
52403         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
52404         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
52405         (__nss_lookup_function): Conditionalize label remove_from_tree on
52406         [!DO_STATIC_NSS || SHARED], matching its only use.
52408 2012-09-28  David S. Miller  <davem@davemloft.net>
52410         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
52411         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
52412         file.
52413         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
52414         sysdep_routines.
52415         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
52416         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
52417         when HWCAP_SPARC_CRYPTO is present.
52419 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
52421         * io/tst-mknodat.c: Create a FIFO instead of a socket.
52423 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
52425         [BZ #6530]
52426         * stdio-common/vfprintf.c (process_string_arg): Revert
52427         2000-07-22 change.
52429 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
52431         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
52432         for testcase.
52433         * stdio-common/tst-sprintf.c: Include <locale.h>
52434         (main): Test sprintf's handling of incomplete multibyte
52435         characters.
52437 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
52439         * elf/dl-runtime.c (VERSYMIDX): Removed.
52440         * elf/dl-version.c (VERSYMIDX): Likewise.
52441         * elf/do-rel.h (VERSYMIDX): Likewise.
52442         (VALIDX): Likewise.
52443         * elf/dynamic-link.h (VERSYMIDX): Likewise.
52444         * elf/rtld.c (VALIDX): Likewise.
52445         (ADDRIDX): Likewise.
52446         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
52447         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
52448         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
52449         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
52450         (VALIDX): Likewise.
52451         (ADDRIDX): Likewise.
52453 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
52455         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
52457 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
52459         [BZ #11438]
52460         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
52461         to global scope.
52462         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
52463         addresses are in the same scope as 192.0.2/24.
52464         * posix/gai.conf: Document new scope table defaults.
52466 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
52468         [BZ #5298]
52469         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
52470         for ftell.  Compute offsets from write pointers instead.
52471         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
52473 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
52475         [BZ #14543]
52476         * libio/Makefile (tests): New test case tst-fseek.
52477         * libio/tst-fseek.c: New test case to verify that fseek/ftell
52478         combination works in wide mode.
52479         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
52480         state when the external buffer state changes.
52482 2012-09-27  David S. Miller  <davem@davemloft.net>
52484         [BZ #14376]
52485         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
52486         pass reloc->r_addend in as the 'high' argument to
52487         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
52489         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52491 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
52493         * rt/tst-aio2.c: Include <pthread.h>.
52494         * rt/tst-aio3.c: Likewise.
52496 2012-09-27  Steve Ellcey  <sellcey@mips.com>
52498         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
52500 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
52502         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
52503         contents on [SHARED].
52505 2012-09-26  Marek Polacek  <polacek@redhat.com>
52507         [BZ #14530]
52508         [BZ #13741]
52509         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
52510         for C++ and GCC <4.3 as well as for non GCC compilers.
52512 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
52514         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52516 2012-09-25  Roland McGrath  <roland@hack.frob.com>
52518         * Makefile.in (all, install): Declare with .PHONY.
52519         Reported by Michael Hope <michael.hope@linaro.org>.
52521 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
52523         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
52524         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
52525         system header.
52526         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
52527         Likewise.
52528         (sydep_routines): Add the new and the internal functions.
52529         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
52530         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
52531         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
52532         (GLIBC_2.17): Add the new function.
52533         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
52534         (GLIBC_2.17): Likewise.
52535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
52536         (GLIBC_2.17): Likewise.
52537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
52538         (GLIBC_2.17): Likewise.
52539         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
52541 2012-09-25  Alan Modra  <amodra@gmail.com>
52543         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
52544         Add release barrier before setting once_control to say
52545         initialisation is done.  Add hints on lwarx.  Use macro in
52546         place of isync.
52547         (clear_once_control): Add release barrier.
52549 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
52551         [BZ #13629]
52552         * math/s_clog.c (__clog): Handle more values close to |z| = 1
52553         specially.
52554         * math/s_clog10.c (__clog10): Likewise.
52555         * math/s_clog10f.c (__clog10f): Likewise.
52556         * math/s_clog10l.c (__clog10l): Likewise.
52557         * math/s_clogf.c (__clogf): Likewise.
52558         * math/s_clogl.c (__clogl): Likewise.
52559         * math/Makefile (libm-calls): Add x2y2m1.
52560         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
52561         (__x2y2m1): Likewise.
52562         (__x2y2m1l): Likewise.
52563         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
52564         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
52565         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
52566         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
52567         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
52568         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
52569         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
52570         * sysdeps/i386/fpu/libm-test-ulps: Update.
52571         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52573         [BZ #14621]
52574         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
52575         int as type of variable DEPTH.
52576         (glob): Use size_t instead of int as type of variables NEWCOUNT
52577         and OLD_PATHC.
52579 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52581         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
52582         Add s_sincosf-sse2.
52583         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
52584         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
52585         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
52586         macros for using routine as __sincosf_ia32.
52587         Use macro for function declaration and weak_alias.
52588         * sysdeps/i386/fpu/libm-test-ulps: Update.
52590         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
52591         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52593         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
52594         subnormal argument.
52595         * math/s_cexpf.c (__cexpf): Likewise.
52596         * math/s_csinf.c (__csinf): Likewise.
52597         * math/s_csinhf.c (__csinhf): Likewise.
52598         * math/s_ctanf.c (__ctanf): Likewise.
52599         * math/s_ctanhf.c (__ctanhf): Likewise.
52600         * math/s_ccosh.c (__ccoshf): Likewise.
52601         * math/s_cexp.c (__cexpl): Likewise.
52602         * math/s_csin.c (__csin): Likewise.
52603         * math/s_csinh.c (__csinh): Likewise.
52604         * math/s_ctan.c (__ctan): Likewise.
52605         * math/s_ctanh.c (ctanh): Likewise.
52606         * math/s_ccoshl.c (__ccoshl): Likewise.
52607         * math/s_cexpl.c (__cexpl): Likewise.
52608         * math/s_csinl.c (__csinl): Likewise.
52609         * math/s_csinhl.c (__csinhl): Likewise.
52610         * math/s_ctanl.c (__ctanl): Likewise.
52611         * math/s_ctanhl.c (__ctanhl): Likewise.
52613 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
52615         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
52616         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
52617         (_IO_off_t): Define to __off_t, not _G_off_t.
52618         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
52619         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
52620         (_IO_wint_t): Define to wint_t, not _G_wint_t.
52621         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
52622         type of __dummy and __dummy2 fields.
52623         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
52624         (_G_ssize_t): Likewise.
52625         (_G_off_t): Likewise.
52626         (_G_pid_t): Likewise.
52627         (_G_uid_t): Likewise.
52628         (_G_wchar_t): Likewise.
52629         (_G_wint_t): Likewise.
52630         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
52631         (_G_ssize_t): Likewise.
52632         (_G_off_t): Likewise.
52633         (_G_pid_t): Likewise.
52634         (_G_uid_t): Likewise.
52635         (_G_wchar_t): Likewise.
52636         (_G_wint_t): Likewise.
52637         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
52638         (_G_ssize_t): Likewise.
52639         (_G_off_t): Likewise.
52640         (_G_pid_t): Likewise.
52641         (_G_uid_t): Likewise.
52642         (_G_wchar_t): Likewise.
52643         (_G_wint_t): Likewise.
52645 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
52647         * malloc/arena.c: Include malloc-sysdep.h.
52648         (shrink_heap): Use check_may_shrink_heap to decide if madvise
52649         is sufficient to shrink the heap or an unmap is needed.
52650         * sysdeps/generic/malloc-sysdep.h: New file.  Define
52651         new function check_may_shrink_heap.
52652         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
52653         new function check_may_shrink_heap.
52655 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
52657         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
52658         comments.
52660 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
52662         * catgets/test-gencat.sh: Add "set -e".
52663         * elf/tst-pathopt.sh: Likewise.
52664         * grp/tst_fgetgrent.sh: Likewise.
52665         * iconvdata/run-iconv-test.sh: Likewise.
52666         * intl/tst-gettext.sh: Likewise.
52667         * intl/tst-gettext2.sh: Likewise.
52668         * intl/tst-gettext4.sh: Likewise.
52669         * intl/tst-gettext6.sh: Likewise.
52670         * intl/tst-translit.sh: Likewise.
52671         * io/ftwtest-sh: Likewise.
52672         * libio/test-freopen.sh: Likewise.
52673         * malloc/tst-mtrace.sh: Likewise.
52674         * posix/globtest.sh: Likewise.
52675         * posix/tst-getconf.sh: Likewise.
52676         * posix/wordexp-tst.sh: Likewise.
52677         * stdio-common/tst-printf.sh: Likewise.
52678         * stdio-common/tst-unbputc.sh: Likewise.
52679         * stdlib/tst-fmtmsg.sh: Likewise.
52680         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
52681         * catgets/Makefile: Do not specify -e option when running
52682         testsuite shell scripts.
52683         * elf/Makefile: Likewise.
52684         * grp/Makefile: Likewise.
52685         * iconvdata/Makefile: Likewise.
52686         * intl/Makefile: Likewise.
52687         * io/Makefile: Likewise.
52688         * libio/Makefile: Likewise.
52689         * malloc/Makefile: Likewise.
52690         * posix/Makefile: Likewise.
52691         * stdio-common/Makefile: Likewise.
52692         * stdlib/Makefile: Likewise.
52693         * sysdeps/x86_64/Makefile: Likewise.
52695         * io/ftwtest-sh: Add copyright header.
52696         * posix/globtest.sh: Likewise.
52697         * posix/tst-getconf.sh: Likewise.
52698         * posix/wordexp-tst.sh: Likewise.
52699         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
52701 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
52703         [BZ #13679]
52704         * Makeconfig (+link): Defined as $(+link-static) if
52705         $(build-shared) isn't yes.
52706         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
52707         isn't yes.
52708         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
52710         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
52712         [BZ #14562]
52713         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
52714         new chunk size with MALLOC_ALIGN_MASK.
52716 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
52718         [BZ #5044]
52719         * stdio-common/printf_fphex.c: Include <stdbool.h> and
52720         <rounding-mode.h>.
52721         (__printf_fphex): Determine rounding using get_rounding_mode and
52722         round_away.
52723         * stdio-common/tst-printf-round.c (struct hex_test): New
52724         structure.
52725         (hex_tests): New variable.
52726         (test_hex_in_one_mode): New function.
52727         (do_test): Also run tests for hex float output.
52729 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
52731         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
52732         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
52733         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
52734         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
52735         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
52736         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
52737         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
52738         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
52740 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
52742         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
52743         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
52744         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
52745         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
52747 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
52749         [BZ #14579]
52750         * elf/rtld.c (dl_main): Limit the check for self loading to normal
52751         mode only.
52752         * elf/tst-rtld-load-self.sh: New test.
52753         * elf/Makefile: Run it.
52755 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
52757         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
52758         (tst-writev-ENV): Remove.
52759         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
52761 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
52763         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
52765 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
52767         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
52768         unconditional.
52769         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
52770         Likewise.
52771         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
52772         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
52773         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
52774         Likewise.
52776 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
52778         [BZ #14587]
52779         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
52780         * config.make.in (have-cpp-asm-debuginfo): Removed.
52781         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
52782         * configure: Regenerated.
52784 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
52786         [BZ #5044]
52787         * stdio-common/printf_fp.c: Include <stdbool.h> and
52788         <rounding-mode.h>.
52789         (___printf_fp): Determine rounding using get_rounding_mode and
52790         round_away.
52791         * stdio-common/tst-printf-round.c: New file.
52792         * stdio-common/Makefile (tests): Add tst-printf-round.
52793         (link-libm): New variable.
52794         ($(objpfx)tst-printf-round): Depend in $(link-libm).
52796 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
52798         [BZ #14576]
52799         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
52800         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
52801         Likewise.
52802         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
52803         Likewise.
52805 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
52807         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
52808         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
52809         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
52810         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
52812 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
52814         [BZ #14518]
52815         * include/rounding-mode.h: New file.
52816         * sysdeps/generic/get-rounding-mode.h: Likewise.
52817         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
52818         * stdlib/strtod_l.c: Include <rounding-mode.h>.
52819         (MAX_VALUE): New macro.
52820         (MIN_VALUE): Likewise.
52821         (overflow_value): New function.
52822         (underflow_value): Likewise.
52823         (round_and_return): Use overflow_value and underflow_value to
52824         determine return values in overflow and underflow cases.  Use
52825         round_away to determine rounding depending on rounding mode.
52826         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
52827         determine return values in overflow and underflow cases.
52828         * stdlib/tst-strtod-round.c: Include <fenv.h>.
52829         (struct test_results): New structure.
52830         (struct test): Use struct test_results to store expected results
52831         for all rounding modes.
52832         (TEST): Include expected results for all rounding modes.
52833         (test_in_one_mode): New function.
52834         (do_test): Use test_in_one_mode to compute and check results.
52835         Check results for all rounding modes.
52836         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
52837         $(link-libm).
52839 2012-12-09  Allan McRae  <allan@archlinux.org>
52841         * sysdeps/i386/fpu/libm-test-ulps: Update
52843 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
52845         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
52846         (_G_int32_t): Likewise.
52847         (_G_uint16_t): Likewise.
52848         (_G_uint32_t): Likewise.
52849         (_G_HAVE_BOOL): Likewise.
52850         (_G_HAVE_ATEXIT): Likewise.
52851         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
52852         (_G_HAVE_IO_FILE_OPEN): Likewise.
52853         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
52854         (_G_int32_t): Likewise.
52855         (_G_uint16_t): Likewise.
52856         (_G_uint32_t): Likewise.
52857         (_G_HAVE_BOOL): Likewise.
52858         (_G_HAVE_ATEXIT): Likewise.
52859         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
52860         (_G_HAVE_IO_FILE_OPEN): Likewise.
52861         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
52862         (_G_int32_t): Likewise.
52863         (_G_uint16_t): Likewise.
52864         (_G_uint32_t): Likewise.
52865         (_G_HAVE_BOOL): Likewise.
52866         (_G_HAVE_ATEXIT): Likewise.
52867         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
52868         (_G_HAVE_IO_FILE_OPEN): Likewise.
52870 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
52872         * csu/libc-tls.c: Update copyright years.
52874 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
52876         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
52877         [!_G_USING_THUNKS]: Remove conditional code.
52878         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
52879         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
52881         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
52882         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
52883         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
52884         (_G_VTABLE_LABEL_PREFIX): Likewise.
52885         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
52886         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
52887         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
52888         (_G_VTABLE_LABEL_PREFIX): Likewise.
52889         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
52890         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
52891         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
52892         (_G_VTABLE_LABEL_PREFIX): Likewise.
52893         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
52895 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
52897         * libio/Makefile: Include ../Makeconfig before tests.
52898         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
52899         only if $(build-shared) is yes.
52901         * iconv/gconv_db.c: Update copyright years.
52903 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52905         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
52906         unwind info if defined PIC. Fix special cases description.
52907         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
52909         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
52910         DP_HI_MASK entry.
52911         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
52913 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
52915         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
52917         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
52918         is NULL.
52920         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
52921         (LDLIBS-tst-chk4): This.
52922         (LDFLAGS-tst-chk5): Renamed to ...
52923         (LDLIBS-tst-chk5): This.
52924         (LDFLAGS-tst-chk6): Renamed to ...
52925         (LDLIBS-tst-chk6): This.
52926         (LDFLAGS-tst-lfschk4): Renamed to ...
52927         (LDLIBS-tst-lfschk4): This.
52928         (LDFLAGS-tst-lfschk5): Renamed to ...
52929         (LDLIBS-tst-lfschk5): This.
52930         (LDFLAGS-tst-lfschk6): Renamed to ...
52931         (LDLIBS-tst-lfschk6): This.
52933         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
52934         on $(common-objpfx)soversions.mk.
52936 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
52938         [BZ #10014]
52939         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
52940         example host name.
52942 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
52944         * malloc/arena.c (arena_get_retry): New function that gets
52945         another arena for the caller to try its request on.
52946         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
52947         current arena cannot fulfill the request.
52948         (__libc_memalign): Likewise.
52949         (__libc_memalign): Likewise.
52950         (__libc_pvalloc): Likewise.
52951         (__libc_calloc): Likewise.
52953 2012-09-05  John Tobey  <john.tobey@gmail.com>
52955         [BZ #13542]
52956         * manual/arith.texi (Operations on Complex): Fix description
52957         of carg branch cut.
52959 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
52961         [BZ #10014]
52962         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
52963         host name.
52965         [BZ #10038]
52966         * manual/memory.texi (Memory): Make order of menu items match
52967         order of sections.
52969 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
52971         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
52972         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
52973         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
52975 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
52977         * csu/libc-tls.c (static_dtv): Renamed to ...
52978         (_dl_static_dtv): This.  Make it global.
52979         (_dl_initial_dtv): Removed.
52980         (__libc_setup_tls): Updated.
52981         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
52982         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
52983         DL_INITIAL_DTV.
52985 2012-09-06  Petr Machata  <pmachata@redhat.com>
52987         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
52988         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
52989         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
52990         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
52992 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
52994         [BZ #14545]
52995         * csu/libc-tls.c (_dl_initial_dtv): New variable.
52996         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
52997         freeing dtv[-1].
52999 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
53001         [BZ #14544]
53002         * Makeconfig (link-static-before-libc): Replace $(+prector)
53003         with $(+prectorT).
53004         (link-static-after-libc): Replace $(+postctor) with
53005         $(+postctorT).
53006         (link-bounded): Replace $(+prector)/$(+postctor) with
53007         $(+prectorT)/$(+postctorT).
53008         (+prectorT): New macro.
53009         (+postctorT): Likewise.
53011 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
53013         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
53014         (round_str): Handle values above the maximum for IBM long double
53015         as inexact.
53016         * stdlib/tst-strtod-round.c (tests): Regenerated.
53018 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53020         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
53021         assembler flag.
53022         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
53023         zarch_nohighgprs around the zarch optimized routines.
53024         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
53025         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
53026         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
53027         for zarch.
53029 2012-09-05  David S. Miller  <davem@davemloft.net>
53031         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53033         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
53034         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
53035         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
53036         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
53037         entries.
53039 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
53041         * malloc/arena.c: Fold copyright years.
53042         * malloc/mcheck.c, malloc/memusage.c: Likewise.
53044 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
53046         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
53048 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
53050         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
53052 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
53054         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
53055         change internal state upon failure.
53057 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
53059         * malloc/mcheck.c (mcheck_check_all): Fix typo.
53060         * malloc/memusage.c (mmap): Likewise.
53061         (mmap64, mremap): Likewise.  Adjust name in comment.
53063 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
53065         * libio/fileops.c: Fix typos in comments.
53066         * libio/oldfileops.c: Likewise.
53067         * libio/wfileops.c: Likewise.
53069 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
53071         [BZ #1349]
53072         * malloc/Makefile (tests): Add tst-malloc-usable test case.
53073         (tst-malloc-usable-ENV): Set environment for test case.
53074         * malloc/hooks.c (malloc_check_get_size): New function to get
53075         requested size.
53076         * malloc/malloc.c (musable): Use malloc_check_get_size.
53077         * malloc/tst-malloc-usable.c: New test case.
53079 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
53081         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
53083 2012-09-05  Allan McRae  <allan@archlinux.org>
53085         [BZ #13966]
53086         * configure.in (CXX_SYSINCLUDES): Use compiler output to
53087         determine header location.
53088         * configure: Regenerated.
53090 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
53092         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
53093         float format.
53094         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
53095         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
53096         format.
53097         (test): Regenerate.
53099 2012-09-04  David S. Miller  <davem@davemloft.net>
53101         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
53102         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
53103         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
53105 2012-09-04  Florian Weimer  <fweimer@redhat.com>
53107         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
53108         failures.
53110         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
53112 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
53114         [BZ #9914]
53115         * libio/iogetdelim.c: Include <limits.h>.
53116         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
53117         + len + 1 would overflow.
53119 2012-09-03  Andreas Jaeger  <aj@suse.de>
53121         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53122         * sysdeps/i386/fpu/libm-test-ulps: Update.
53124 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53126         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
53127         Add s_sinf-sse2, s_conf-sse2.
53129         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
53130         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
53131         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
53132         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
53134         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
53135         for using routine as __sinf_ia32.
53136         Use macro for function declaration and weak_alias.
53137         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
53138         for using routine as __cosf_ia32.
53139         Use macro for function declaration and weak_alias.
53141         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
53142         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
53144         * sysdeps/x86_64/fpu/s_sinf.S: New file.
53145         * sysdeps/x86_64/fpu/s_cosf.S: New file.
53146         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53148         * math/libm-test.inc (cos_test): Add more test cases.
53149         (sin_test): Likewise.
53150         (sincos_test): Likewise.
53152 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53154         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
53155         (IFUNC_RESOLVE): Make pointers to the specialized implementations
53156         hidden.
53157         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
53159 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
53161         [BZ #14538]
53162         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
53163         first element of the GOT.
53164         (elf_machine_load_address): Return the difference between
53165         the runtime address of _DYNAMIC and elf_machine_dynamic ().
53167 2012-09-01  Allan McRae  <allan@archlinux.org>
53169         [BZ #13412]
53170         * configure.in (AWK): Require gawk version 3.0 or later.
53171         * configure: Regenerated.
53173 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
53175         * sysdeps/unix/sysv/linux/kernel-features.h
53176         (__ASSUME_POSIX_CPU_TIMERS): Remove.
53177         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
53178         [__NR_clock_getres]: Make code unconditional.
53179         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
53180         (clock_getcpuclockid): Remove code left unreachable by removal of
53181         conditionals.
53182         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
53183         code unconditional.
53184         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
53185         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
53186         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
53187         Make code unconditional.
53188         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
53189         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
53190         * sysdeps/unix/sysv/linux/clock_settime.c
53191         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
53192         conditional code.
53193         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
53194         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
53196 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
53198         [BZ #14476]
53199         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
53200         scripts/test-installation.pl.
53202         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
53203         and $ld_so_version if it is set.
53205 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
53207         [BZ #14516]
53208         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
53209         failure if reading from procfs failed.
53210         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
53212 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
53214         * sysdeps/unix/sysv/linux/kernel-features.h
53215         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
53216         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
53217         Remove conditional code.
53218         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
53219         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
53220         Remove conditional code.
53221         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
53222         * sysdeps/unix/sysv/linux/i386/fxstat.c
53223         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
53224         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
53225         * sysdeps/unix/sysv/linux/i386/fxstatat.c
53226         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
53227         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
53228         * sysdeps/unix/sysv/linux/i386/lxstat.c
53229         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
53230         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
53231         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
53232         Remove conditional code.
53233         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
53234         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
53235         Remove conditional code.
53236         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
53237         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
53238         <kernel-features.h>.
53239         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
53240         Remove.
53241         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
53242         Remove conditional code.
53243         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
53244         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
53245         Remove conditional.
53247 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
53249         [BZ #5400]
53250         * NEWS: Add fixed bug number.
53252 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
53254         [BZ #14519]
53255         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
53256         underflowing exponent in case of negative sign.
53257         * stdlib/tst-strtod-round-data: Add more tests.
53258         * stdlib/tst-strtod-round.c (tests): Regenerated.
53260         [BZ #3479]
53261         * stdlib/strtod_l.c (NDIG): Remove.
53262         (HEXNDIG): Likewise.
53263         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
53264         smallest representable value.
53265         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
53266         lie within an exact representation of 1/2 ulp of the result.
53267         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
53268         unconditionally.
53269         (TENS_P9_IDX): Define unconditionally.
53270         (TENS_P9_SIZE): Likewise.
53271         (TENS_P10_IDX): Likewise.
53272         (TENS_P10_SIZE): Likewise.
53273         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
53274         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
53275         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
53276         entries for 10^2^13 and 10^2^14.
53277         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
53278         (TENS_P13_IDX): Define.
53279         (TENS_P13_SIZE): Likewise.
53280         (TENS_P14_IDX): Likewise.
53281         (TENS_P14_SIZE): Likewise.
53282         (_fpioconst_pow10): Change array size to
53283         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
53284         unconditional.
53285         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
53286         1024]: Add entries for 10^2^13 and 10^2^14.
53287         [LAST_POW10 > _LAST_POW10]: Remove #error.
53288         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
53289         (_fpioconst_pow10): Change array size to
53290         FPIOCONST_POW10_ARRAY_SIZE.
53291         * stdlib/gen-fpioconst.c: New file.
53292         * stdlib/gen-tst-strtod-round.c: Likewise.
53293         * stdlib/tst-strtod-round-data: Likewise.
53294         * stdlib/tst-strtod-round.c: Likewise.
53295         * stdlib/Makefile (tests): Add tst-strtod-round.
53297         [BZ #14459]
53298         * stdlib/strtod_l.c: Include <stdint.h>.
53299         (NDEBUG): Do not define.
53300         (round_and_return): Change EXPONENT parameter to type intmax_t.
53301         Rearrange calculations to avoid internal overflow possibilities.
53302         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
53303         Rearrange calculations to avoid internal overflow possibilities.
53304         Assert that number fits inside MPNSIZE limbs.
53305         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
53306         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
53307         calculations and add assertions to avoid internal overflow
53308         possibilities.  Add casts to avoid signed/unsigned operations.
53309         * stdlib/tst-strtod-overflow.c: New file.
53310         * stdlib/Makefile (tests): Add tst-strtod-overflow.
53312 2012-08-25  Marek Polacek  <polacek@redhat.com>
53314         * time/time.h: Fix some typos in comments.
53316 2012-08-23  Roland McGrath  <roland@hack.frob.com>
53318         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
53319         * posix/tst-rfc3484-2.c: Likewise.
53320         * posix/tst-rfc3484-3.c: Likewise.
53322 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
53324         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
53325         (EF_ARM_ABI_FLOAT_HARD): Likewise.
53327 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
53329         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
53330         #include of fxstatat64.c.
53332 2012-08-22  Roland McGrath  <roland@hack.frob.com>
53334         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
53335         * shadow/getspent_r.c: Likewise.
53336         * shadow/getspnam.c: Likewise.
53337         * shadow/getspnam_r.c: Likewise.
53338         * gshadow/getsgent.c: Likewise.
53339         * gshadow/getsgent_r.c: Likewise.
53340         * gshadow/getsgnam.c: Likewise.
53341         * gshadow/getsgnam_r.c: Likewise.
53342         * inet/getnetbyad.c: Likewise.
53343         * inet/getnetbyad_r.c: Likewise.
53344         * inet/getnetbynm.c: Likewise.
53345         * inet/getnetbynm_r.c: Likewise.
53346         * inet/getnetent.c: Likewise.
53347         * inet/getnetent_r.c: Likewise.
53348         * inet/getproto.c: Likewise.
53349         * inet/getproto_r.c: Likewise.
53350         * inet/getprtent.c: Likewise.
53351         * inet/getprtent_r.c: Likewise.
53352         * inet/getprtname.c: Likewise.
53353         * inet/getprtname_r.c: Likewise.
53354         * inet/getrpcbyname.c: Likewise.
53355         * inet/getrpcbyname_r.c: Likewise.
53356         * inet/getrpcbynumber.c: Likewise.
53357         * inet/getrpcbynumber_r.c: Likewise.
53358         * inet/getrpcent.c: Likewise.
53359         * inet/getrpcent_r.c: Likewise.
53360         * inet/getaliasent.c: Likewise.
53361         * inet/getaliasent_r.c: Likewise.
53362         * inet/getaliasname.c: Likewise.
53363         * inet/getaliasname_r.c: Likewise.
53364         * nscd/getgrgid_r.c: Likewise.
53365         * nscd/getgrnam_r.c: Likewise.
53366         * nscd/gethstbyad_r.c: Likewise.
53367         * nscd/gethstbynm3_r.c: Likewise.
53368         * nscd/getpwnam_r.c: Likewise.
53369         * nscd/getpwuid_r.c: Likewise.
53370         * nscd/getsrvbynm_r.c: Likewise.
53371         * nscd/getsrvbypt_r.c: Likewise.
53372         * nscd/gai.c: Likewise.
53374         * configure.in (build_nscd): New substituted variable, set
53375         by --disable-build-nscd and defaults to $use_nscd.
53376         * configure: Regenerated.
53377         * config.make.in (build-nscd): New substituted variable.
53378         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
53379         Change conditional to require [$(build-nscd) = yes] as well.
53380         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
53382         [BZ# 13696]
53383         * configure.in (use_nscd): New substituted variable, set by
53384         --disable-nscd.  If enabled, define USE_NSCD.
53385         * configure: Regenerated.
53386         * config.h.in: Add USE_NSCD.
53387         * config.make.in (use-nscd): New substituted variable.
53388         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
53389         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
53390         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
53391         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
53392         (CFLAGS-getgrnam_r.c): Likewise.
53393         (CFLAGS-initgroups.c): Likewise.
53394         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
53395         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
53396         Variables removed.
53397         * inet/getnetgrent_r.c
53398         (nscd_setnetgrent): New function, broken out of ...
53399         (setnetgrent): ... here.  Call it.
53400         (innetgr): Conditionalize nscd bits on [USE_NSCD].
53401         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
53402         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
53403         * nscd/Makefile (routines, aux): Move definitions after include of
53404         Makeconfig.  Conditionalize on [$(use-nscd) != no].
53405         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
53406         Conditionalize on [USE_NSCD].
53407         (is_nscd, nscd_init_cb): Likewise.
53408         (nss_load_library): Conditionalize init callback on [USE_NSCD].
53409         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
53410         * nss/nss_db/db-init.c: Likewise.
53411         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
53412         [USE_NSCD].
53413         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
53414         (make_request): Use it.
53415         (cache_valid_p): New function.
53416         (__check_pf): Use it.
53417         * NEWS: Add item for --disable-nscd.
53419 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
53421         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
53422         to support sed >= 4.2.1-20-ga9bf076.
53423         * configure: Regenerated.
53425 2012-08-22  Roland McGrath  <roland@hack.frob.com>
53427         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
53428         Conditionalize whole body on [IREL].
53430 2012-08-22  Jeff Law <law@redhat.com>
53432         [BZ #14505]
53433         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
53434         if the family is PF_UNSPEC.
53436 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
53438         * Makerules (lib-version): Rename from V.
53439         (install-lib-nosubdir): Change V to lib-version.
53441 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
53443         [BZ #14252]
53444         * powerpc32/power6/wcschr.c: New file.
53445         * powerpc32/power6/wcscpy.c: New file.
53446         * powerpc32/power6/wcsrchr.c: New file.
53447         * powerpc64/power6/wcschr.c: New file.
53448         * powerpc64/power6/wcscpy.c: New file.
53449         * powerpc64/power6/wcsrchr.c: New file.
53451 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
53453         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
53454         (two_way_short_needle): Use it.
53455         * string/strstr.c (AVAILABLE1_USES_J): Define.
53456         * string/strcasestr.c: Likewise.
53458         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
53459         array references.
53460         * string/strcasestr.c (TOLOWER): Make side-effect safe.
53462         [BZ #11607]
53463         * NEWS: Add an entry.
53464         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
53465         define their defaults.
53466         (two_way_short_needle): Detect end-of-string on-the-fly.
53467         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
53468         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
53469         * string/bug-strcasestr1.c: New test.
53470         * string/Makefile: Run it.
53472 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
53474         [BZ #11607]
53475         * string/str-two-way.h (two_way_short_needle): Optimize matching of
53476         the first character.
53478 2012-08-21  Roland McGrath  <roland@hack.frob.com>
53480         * csu/elf-init.c (__libc_csu_irel): Function removed.
53481         * csu/libc-start.c (apply_irel): New function.
53482         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
53484 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
53486         * sysdeps/unix/sysv/linux/kernel-features.h
53487         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
53488         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
53489         <kernel-features.h>.
53490         [__NR_fadvise64_64]: Make code unconditional.
53491         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
53492         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
53493         !__NR_fadvise64_64)]: Likewise.
53494         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
53495         !__NR_fadvise64_64))]: Likewise.
53496         [__NR_fadvise64]: Make code unconditional.
53497         [!__NR_fadvise64]: Remove conditional code.
53498         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
53499         <kernel-features.h>.
53500         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
53501         unconditional.
53502         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
53503         conditional code.
53504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
53505         not include <kernel-features.h>.
53506         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
53507         unconditional.
53508         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
53509         conditional code.
53510         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
53511         include <kernel-features.h>.
53512         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
53513         unconditional.
53514         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
53515         conditional code.
53517 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
53519         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
53520         slight instruction rearrangements per scrollpipe analysis.
53521         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
53523 2012-08-20  Roland McGrath  <roland@hack.frob.com>
53525         * manual/syslog.texi (syslog; vsyslog, closelog):
53526         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
53527         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
53529         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
53530         DSOCAPS to match condition on defining it.
53532 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
53534         * sysdeps/unix/sysv/linux/kernel-features.h
53535         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
53536         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
53537         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
53538         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
53539         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
53540         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
53541         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
53542         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
53543         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
53544         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
53546         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
53547         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
53549         * sysdeps/unix/sysv/linux/kernel-features.h
53550         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
53551         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
53552         unconditional.
53553         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
53554         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
53555         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
53556         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
53557         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
53558         Make code unconditional.
53559         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
53560         (__mmap64) [!__NR_mmap2]: Likewise.
53561         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
53562         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
53563         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
53564         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
53565         [__NR_mmap2]: Make code unconditional.
53566         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
53567         (__mmap64) [!__NR_mmap2]: Likewise.
53569 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53571         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
53573 2012-08-18  Andreas Jaeger  <aj@suse.de>
53575         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
53577 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
53579         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
53580         * include/unistd.h (__have_sock_cloexec): Likewise.
53581         (__have_pipe2): Likewise.
53582         (__have_dup3): Likewise.
53584 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
53586         [BZ #9685]
53587         * include/unistd.h (__have_pipe2): Change define into an extern int.
53588         (__have_dup3): Likewise.
53589         * socket/have_sock_cloexec.c: Include fcntl.h.
53590         (__have_pipe2): New variable.
53591         (__have_dup3): Likewise.
53593 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
53595         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
53597 2012-08-17  Marek Polacek  <polacek@redhat.com>
53599         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
53600         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
53602 2012-08-17  Roland McGrath  <roland@hack.frob.com>
53604         * configure.in: Add AC_SUBST for sysheaders.
53605         * configure: Regenerated.
53606         * config.make.in (sysheaders): New substituted variable.
53608         * sysdeps/unix/mkfifo.c: Moved ...
53609         * sysdeps/posix/mkfifo.c: ... here.
53610         * sysdeps/unix/mkfifoat.c: Moved ...
53611         * sysdeps/posix/mkfifoat.c: ... here.
53613         * sysdeps/unix/utime.c: Moved ...
53614         * sysdeps/posix/utime.c: ... here.
53616         * sysdeps/unix/time.c: Moved ...
53617         * sysdeps/posix/time.c: ... here.
53618         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
53619         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
53621         * sysdeps/unix/nice.c: Moved ...
53622         * sysdeps/posix/nice.c: ... here.
53624         * sysdeps/unix/alarm.c: Moved ...
53625         * sysdeps/posix/alarm.c: ... here.
53627         * intl/Makefile ($(codeset_mo)): Depend on the input file.
53629 2012-08-17  Jeff Law <law@redhat.com>
53631         * intl/Makefile (codeset_mo): New variable.
53632         ($(codeset_mo)): New target.
53633         (tst-codeset.out): Depend on that.  Remove explicit rule.
53634         (tst-gettext3.out, tst-gettext5.out): Likewise.
53635         (LOCPATH-ENV, tst-codeset-ENV): New variables.
53636         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
53637         * intl/tst-codeset.sh: Remove.
53638         * intl/tst-gettext3.sh: Likewise.
53639         * intl/tst-gettext5.sh: Likewise.
53641 2012-08-17  Roland McGrath  <roland@hack.frob.com>
53643         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
53644         * sysdeps/unix/syscalls.list: ... here.
53646         * sysdeps/posix/getaddrinfo.c
53647         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
53648         (gaiconf_init, gaiconf_reload): Use them.
53649         [!_STATBUF_ST_NSEC]
53650         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
53651         Define using time_t rather than struct timespec.
53653         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
53654         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
53655         Macros removed.
53656         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
53657         [!NO_THREADS].
53658         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
53659         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
53660         Likewise.
53662         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
53663         __libc_cleanup_push argument.
53665         * bits/param.h: New file.
53666         * misc/sys/param.h: New file.
53667         * include/sys/param.h: New file.
53668         * misc/Makefile (headers): Add bits/param.h.
53669         * sysdeps/generic/sys/param.h: File removed.
53670         * sysdeps/unix/sysv/linux/bits/param.h: New file.
53671         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
53672         * sysdeps/mach/hurd/bits/param.h: New file.
53673         * sysdeps/mach/hurd/sys/param.h: File removed.
53675         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
53676         last change.
53678         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
53679         [_IO_MTSAFE_IO].
53680         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
53681         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
53682         New macros.
53684         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
53685         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
53686         rather than -D_IO_MTSAFE_IO conditionally.
53687         * stdio-common/Makefile (CPPFLAGS): Likewise.
53688         * wcsmbs/Makefile (CPPFLAGS): Likewise.
53689         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
53690         Use $(libio-mtsafe).
53691         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
53692         of -D_IO_MTSAFE_IO.
53693         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
53694         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
53695         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
53696         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
53697         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
53698         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
53699         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
53700         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
53701         (CFLAGS-fread_u_chk.c): Likewise.
53702         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
53703         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
53704         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
53705         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
53706         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
53707         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
53708         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
53709         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
53710         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
53712         * libio/Makefile: Test [$(libc-reentrant) = yes]
53713         instead of [$(filter %REENTRANT, $(defines)) nonempty].
53715         * Makeconfig
53716         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
53717         * sysdeps/pthread/configure: File removed.
53718         * sysdeps/pthread/Makeconfig: New file.
53719         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
53720         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
53722 2012-08-16  Gary Benson  <gbenson@redhat.com>
53724         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
53725         unmapping the first object in a namespace.
53727 2012-08-16  Roland McGrath  <roland@hack.frob.com>
53729         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
53730         (__internal_setnetgrent): ... this.  Add internal_function to
53731         definition.  Add libc_hidden_def.
53732         (setnetgrent): Update caller.
53733         (internal_endnetgrent): Renamed to ...
53734         (__internal_endnetgrent): ... this.  Add internal_function to
53735         definition.  Add libc_hidden_def.
53736         (endnetgrent): Update caller.
53737         (internal_getnetgrent_r): Renamed to ...
53738         (__internal_getnetgrent_r): ... this.  Add internal_function to
53739         definition.  Add libc_hidden_def.
53740         (__getnetgrent_r): Update caller.
53741         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
53743 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
53745         * stdlib/longlong.h: Update from GCC.
53747 2012-08-16  Roland McGrath  <roland@hack.frob.com>
53749         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
53750         on _QL, which is set by umul_ppmm but never used.
53751         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
53752         variables, which are set by GMP macros but never used.
53753         * stdio-common/_itowa.c (_itowa): Likewise.
53754         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
53755         * stdlib/mod_1.c (mpn_mod_1): Likewise.
53757 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
53759         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
53760         struct La_sh_regs is not constant.
53761         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
53762         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
53763         and struct La_sparc64_regs are not constant.
53765 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
53767         * sysdeps/unix/sysv/linux/kernel-features.h
53768         (__ASSUME_POSIX_TIMERS): Remove.
53769         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
53770         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
53771         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
53772         Make code unconditional.
53773         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
53774         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
53775         Make code unconditional.
53776         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
53777         * sysdeps/unix/sysv/linux/clock_nanosleep.c
53778         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
53779         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
53780         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
53781         Make code unconditional.
53782         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
53783         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
53784         (__libc_missing_posix_timers): Remove.
53786 2012-08-15  Roland McGrath  <roland@hack.frob.com>
53788         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
53789         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
53791         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
53793         * elf/dl-sym.c: Include <stdlib.h>.
53795         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
53796         constants, which avoids warnings in 32-bit builds.
53798         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
53799         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
53801         * misc/lseek.c: File moved to ...
53802         * io/lseek.c: ... here.
53804         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
53806         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
53807         shifting LEN more than 31 bits at once.
53809 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53811         [BZ #14195]
53812         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
53813         segmentation fault for a case of two empty input strings.
53814         * string/test-strncasecmp.c (check1): Renamed to...
53815         (bz12205): ...this.
53816         (bz14195): Add new testcase for two empty input strings and N > 0.
53817         (test_main): Call new testcase, adapt for renamed function.
53819 2012-08-15  Andreas Jaeger  <aj@suse.de>
53821         [BZ #14090]
53822         * crypt/md5test2.c: New test, based on test supplied by Serge
53823         Belyshev <belyshev@depni.sinp.msu.ru>.
53824         * crypt/Makefile (xtests): Add md5test-giant..
53825         * crypt/Makefile ($(objpfx)md5test-giant): Add.
53827 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
53829         [BZ #14090]
53830         * crypt/md5.c (md5_process_block): Don't assume the buffer
53831         length is less than 2**32.
53832         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
53833         length is less than 2**64.
53835 2012-08-15  Roland McGrath  <roland@hack.frob.com>
53837         * string/str-two-way.h: Include <sys/param.h>.
53838         (MAX): Macro removed.
53840         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
53841         Move #define and #undef of memmove to just before and after
53842         including <string.h>.
53844         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
53845         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
53846         and after including <string.h>.  Move declarations of
53847         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
53848         to before #include "string/memmove.c".
53850         * include/dirent.h: Declare __getdirentries.
53852         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
53853         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
53855 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
53857         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
53858         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
53859         * sysdeps/i386/configure: Regenerated.
53860         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
53861         STABS_CURRENT_FILE, and STABS_FUN.
53862         (END): Remove call to STABS_FUN_END.
53863         (STABS_CURRENT_FILE1): Delete.
53864         (STABS_CURRENT_FILE): Likewise.
53865         (STABS_FUN): Likewise.
53866         (STABS_FUN_END): Likewise.
53867         (STABS_FUN2): Likewise.
53868         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
53869         * sysdeps/x86_64/configure: Regenerated.
53871 2012-08-14  Roland McGrath  <roland@hack.frob.com>
53873         * elf/dl-open.c: Include <atomic.h>.
53874         * elf/dl-lookup.c: Likewise.
53876 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
53878         * sysdeps/unix/sysv/linux/kernel-features.h
53879         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
53880         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
53881         unconditionally.
53882         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
53883         unconditionally.
53884         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
53885         condition on __ASSUME_CLONE_THREAD_FLAGS.
53887 2012-08-14  Andreas Jaeger  <aj@suse.de>
53889         * sysdeps/i386/fpu/libm-test-ulps: Update.
53891 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
53893         * include/atomic.h (atomic_exchange_and_add): Split into ...
53894         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
53895         New atomic macros.
53897 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
53899         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53901 2012-08-13  Jeff Law <law@redhat.com>
53903         * manual/stdio.texi (snprintf): Clarify handling of the trailing
53904         null byte in the output string.
53906 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
53908         * sysdeps/unix/sysv/linux/kernel-features.h
53909         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
53910         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
53911         (__ASSUME_ARG_MAX_STACK_BASED): Define.
53912         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
53913         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
53914         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
53915         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
53917 2012-08-09  Jeff Law <law@redhat.com>
53919         [BZ #13939]
53920         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
53921         When avoid_arena is set, don't retry in the that arena.  Pick the
53922         next one, whatever it might be.
53923         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
53924         (arena_lock): Pass in new parameter to arena_get2.
53925         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
53926         arena_get2.
53927         (__libc_malloc): Unify retrying after main arena failure with
53928         __libc_memalign version.
53929         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
53931 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
53933         [BZ #14166]
53934         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
53935         to __redirect_strstr.
53936         (__strstr_sse42): Use typeof __redirect_strstr.
53937         (__strstr_ia32): Likewise.
53938         (__libc_strstr): New prototype.
53939         (strstr): Renamed to ...
53940         (__libc_strstr): This.
53941         (strstr): New strong alias of __libc_strstr.
53942         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
53943         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
53944         __redirect_time.
53945         Include <time.h>.
53946         (__libc_time): New prototype.
53947         (time_ifunc): Replace time with __libc_time.
53948         (time): New strong alias and hidden definition of __libc_time.
53949         (__GI_time): Remove strong alias.
53950         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
53951         Include <stddef.h>.
53952         (memmove): Redefined to __redirect_memmove.
53953         (__memmove_sse2): Use typeof __redirect_memmove.
53954         (__memmove_ssse3): Likewise.
53955         (__memmove_ssse3_back): Likewise.
53956         (__libc_memmove): New prototype.
53957         (memmove): Renamed to ...
53958         (__libc_memmove): This.
53959         (memmove): New strong alias of __libc_memmove.
53961 2012-08-08  Mark Salter  <msalter@redhat.com>
53963         * elf/elf.h
53964         (R_MN10300_TLS_GD): Define.
53965         (R_MN10300_TLS_LD): Likewise.
53966         (R_MN10300_TLS_LDO): Likewise.
53967         (R_MN10300_TLS_GOTIE): Likewise.
53968         (R_MN10300_TLS_IE): Likewise.
53969         (R_MN10300_TLS_LE): Likewise.
53970         (R_MN10300_TLS_DTPMOD): Likewise.
53971         (R_MN10300_TLS_DTPOFF): Likewise.
53972         (R_MN10300_TLS_TPOFF): Likewise.
53973         (R_MN10300_SYM_DIFF): Likewise.
53974         (R_MN10300_ALIGN): Likewise.
53975         (R_MN10300_NUM): Update.
53977 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
53979         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
53980         Remove.
53982 2012-08-08  Roland McGrath  <roland@hack.frob.com>
53984         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
53986         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
53987         sysdeps/unix -> sysdeps/posix move.
53988         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
53990 2012-08-07      Allan McRae     <allan@archlinux.org>
53992         [BZ #14303]
53993         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
53994         (SUNOS_CPP): Likewise.
53995         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
53996         not found.
53997         (open_input): Call CPP using execvp.
53999 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
54001         * sysdeps/unix/sysv/linux/kernel-features.h
54002         (__ASSUME_PROT_GROWSUPDOWN): Remove.
54003         (__ASSUME_NO_CLONE_DETACHED): Likewise.
54004         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
54005         (__ASSUME_WAITID_SYSCALL): Likewise.
54006         * sysdeps/unix/sysv/linux/dl-execstack.c
54007         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
54008         code unconditional.
54009         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
54010         conditional code.
54011         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
54012         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
54013         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
54014         code.
54015         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
54016         unconditional.
54017         [__ASSUME_WAITID_SYSCALL]: Likewise.
54018         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
54020 2012-08-07  Roland McGrath  <roland@hack.frob.com>
54022         * sysdeps/unix/closedir.c: Renamed to ...
54023         * sysdeps/posix/closedir.c: ... here.
54024         * sysdeps/unix/dirfd.c: Renamed to ...
54025         * sysdeps/posix/dirfd.c: ... here.
54026         * sysdeps/unix/dirstream.h: Renamed to ...
54027         * sysdeps/posix/dirstream.h: ... here.
54028         * sysdeps/unix/fdopendir.c: Renamed to ...
54029         * sysdeps/posix/fdopendir.c: ... here.
54030         * sysdeps/unix/opendir.c: Renamed to ...
54031         * sysdeps/posix/opendir.c: ... here.
54032         * sysdeps/unix/readdir.c: Renamed to ...
54033         * sysdeps/posix/readdir.c: ... here.
54034         * sysdeps/unix/readdir_r.c: Renamed to ...
54035         * sysdeps/posix/readdir_r.c: ... here.
54036         * sysdeps/unix/rewinddir.c: Renamed to ...
54037         * sysdeps/posix/rewinddir.c: ... here.
54038         * sysdeps/unix/seekdir.c: Renamed to ...
54039         * sysdeps/posix/seekdir.c: ... here.
54040         * sysdeps/unix/telldir.c: Renamed to ...
54041         * sysdeps/posix/telldir.c: ... here.
54042         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
54043         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
54044         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
54045         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
54047         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
54048         * bits/fcntl.h: ... here.
54050         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
54051         not 0.
54052         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
54053         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
54054         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
54055         (struct flock): Move l_start, l_len to the beginning.
54056         Use __pid_t for l_pid.
54057         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
54058         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
54059         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
54060         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
54061         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
54062         [__USE_LARGEFILE64] (struct flock64): New type.
54063         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
54065         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
54066         * bits/dirent.h: ... here.
54068         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
54069         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
54071 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
54073         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
54074         Change from 2.6.0 to 2.6.16.
54075         * sysdeps/unix/sysv/linux/configure: Regenerated.
54076         * sysdeps/unix/sysv/linux/kernel-features.h
54077         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
54078         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
54079         version.
54080         (__ASSUME_UTIMES): Likewise.
54081         (__ASSUME_CLONE_STOPPED): Remove.
54082         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
54083         architectures, not kernel version.
54084         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
54085         (__ASSUME_NO_CLONE_DETACHED): Likewise.
54086         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
54087         (__ASSUME_WAITID_SYSCALL): Likewise.
54088         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
54089         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
54090         * README: State 2.6.16 as minimum Linux kernel version.  Do not
54091         refer to older versions.
54093 2012-08-06  Roland McGrath  <roland@hack.frob.com>
54095         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
54096         Define alphasort64 as an alias.
54097         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
54098         Define versionsort64 as an alias.
54099         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
54100         Define scandir64 as an alias.
54101         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
54102         Define scandirat64 as an alias.
54103         * dirent/alphasort64.c (alphasort64):
54104         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
54105         * dirent/versionsort64.c: Likewise.
54106         * dirent/scandir64.c: Likewise.
54107         * dirent/scandirat64.c: Likewise.
54108         * sysdeps/wordsize-64/alphasort.c: File removed.
54109         * sysdeps/wordsize-64/alphasort64.c: File removed.
54110         * sysdeps/wordsize-64/scandir.c: File removed.
54111         * sysdeps/wordsize-64/scandir64.c: File removed.
54112         * sysdeps/wordsize-64/scandirat.c: File removed.
54113         * sysdeps/wordsize-64/scandirat64.c: File removed.
54114         * sysdeps/wordsize-64/versionsort.c: File removed.
54115         * sysdeps/wordsize-64/versionsort64.c: File removed.
54116         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
54117         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
54118         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
54119         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
54120         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
54121         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
54122         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
54123         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
54125         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
54126         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
54127         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
54128         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
54129         [defined __arch64__ || defined __sparcv9]
54130         (__INO_T_MATCHES_INO64_T): New macro.
54131         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
54132         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
54133         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
54134         * sysdeps/unix/sysv/linux/bits/dirent.h
54135         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
54136         (_DIRENT_MATCHES_DIRENT64): New macro.
54138         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
54139         Define lockf64 as an alias.
54140         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
54141         Define fseeko64 as an alias.
54142         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
54143         Define ftello64 as an alias.
54144         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
54145         Define _IO_fgetpos64 and fgetpos64 as aliases.
54146         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
54147         Define _IO_fsetpos64 and fsetpos64 as aliases.
54148         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
54149         Conditionalize body on this.
54150         * libio/fseeko64.c: Likewise.
54151         * libio/ftello64.c: Likewise.
54152         * libio/iofgetpos64.c: Likewise.
54153         * libio/iofsetpos64.c: Likewise.
54154         * sysdeps/wordsize-64/lockf.c: File removed.
54155         * sysdeps/wordsize-64/lockf64.c: File removed.
54156         * sysdeps/wordsize-64/fseeko.c: File removed.
54157         * sysdeps/wordsize-64/fseeko64.c: File removed.
54158         * sysdeps/wordsize-64/ftello.c: File removed.
54159         * sysdeps/wordsize-64/ftello64.c: File removed.
54160         * sysdeps/wordsize-64/iofgetpos.c: File removed.
54161         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
54162         * sysdeps/wordsize-64/iofsetpos.c: File removed.
54163         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
54164         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
54165         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
54166         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
54167         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
54168         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
54169         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
54170         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
54171         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
54172         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
54173         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
54175         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
54176         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
54177         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
54178         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
54179         [defined __arch64__ || defined __sparcv9]
54180         (__OFF_T_MATCHES_OFF64_T): New macro.
54181         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
54182         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
54183         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
54184         (__OFF_T_MATCHES_OFF64_T): New macro.
54186 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
54188         * stdlib/secure-getenv.c (__secure_getenv): Replace
54189         GLIBC_2_16 with GLIBC_2_17.
54191 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
54193         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
54194         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
54196 2012-08-03  David S. Miller  <davem@davemloft.net>
54198         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54200 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
54202         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
54203         Remove.
54204         (__ASSUME_CORRECT_SI_PID): Likewise.
54205         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
54206         (__ASSUME_TMPFS_NAME): Likewise.
54207         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
54208         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
54209         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
54210         (HAVE_AUX_SECURE): Make definition unconditional.
54211         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
54212         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
54214 2012-08-03  Roland McGrath  <roland@hack.frob.com>
54216         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
54217         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
54218         * sysdeps/mach/hurd/eloop-threshold.h: New file.
54219         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
54220         __eloop_threshold instead of SYMLOOP_MAX.
54222         * sysdeps/generic/eloop-threshold.h: New file.
54223         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
54224         of MAXSYMLINKS.
54225         * elf/chroot_canon.c (chroot_canon): Likewise.
54227 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
54229         [BZ #13717]
54230         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
54231         Change to 2.6.0 everywhere.
54232         * sysdeps/unix/sysv/linux/configure: Regenerated.
54233         * sysdeps/unix/sysv/linux/kernel-features.h
54234         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
54235         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
54236         kernel versions.
54237         (__ASSUME_POSIX_TIMERS): Define unconditionally.
54238         (__ASSUME_FUTEX_REQUEUE): Remove.
54239         (__ASSUME_STATFS64): Define unconditionally.
54240         (__ASSUME_AT_SECURE): Likewise.
54241         (__ASSUME_CORRECT_SI_PID): Likewise.
54242         (__ASSUME_TGKILL): Define without depending on kernel version for
54243         i386.
54244         (__ASSUME_UTIMES): Likewise.
54245         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
54246         kernel version.
54247         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
54248         (__ASSUME_TMPFS_NAME): Likewise.
54249         * README: Update reference to Linux kernel versions.
54251 2012-08-02  Marek Polacek  <polacek@redhat.com>
54253         [BZ# 14150]
54254         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
54255         libc_cv_asm_type_prefix with %.
54256         * configure: Regenerated.
54257         * include/libc-symbols.h: Remove comment about
54258         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
54259         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
54260         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
54261         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
54262         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
54263         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
54264         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
54265         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
54266         * elf/tst-unique2mod1.c: Likewise.
54267         * elf/tst-unique1mod2.c: Likewise.
54268         * elf/tst-unique1mod1.c: Likewise.
54269         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
54270         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
54271         Replace ASM_TYPE_DIRECTIVE with .type.
54272         * sysdeps/s390/s390-64/sysdep.h: Likewise.
54273         * sysdeps/i386/sysdep.h: Likewise.
54274         * sysdeps/x86_64/sysdep.h: Likewise.
54275         * sysdeps/sh/sysdep.h: Likewise.
54276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
54277         Do not define ASM_TYPE_DIRECTIVE.
54278         * sysdeps/powerpc/sysdep.h: Likewise.
54279         * sysdeps/powerpc/powerpc32/sysdep.h:
54280         Replace ASM_TYPE_DIRECTIVE with .type.
54281         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
54282         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
54283         * sysdeps/i386/fpu/e_powf.S: Likewise.
54284         * sysdeps/i386/fpu/e_expl.S: Likewise.
54285         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
54286         * sysdeps/i386/fpu/e_acosh.S: Likewise.
54287         * sysdeps/i386/fpu/e_pow.S: Likewise.
54288         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
54289         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
54290         * sysdeps/i386/fpu/s_expm1.S: Likewise.
54291         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
54292         * sysdeps/i386/fpu/e_log2.S: Likewise.
54293         * sysdeps/i386/fpu/e_log2l.S: Likewise.
54294         * sysdeps/i386/fpu/e_scalb.S: Likewise.
54295         * sysdeps/i386/fpu/e_powl.S: Likewise.
54296         * sysdeps/i386/fpu/e_log10f.S: Likewise.
54297         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
54298         * sysdeps/i386/fpu/e_logl.S: Likewise.
54299         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
54300         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
54301         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
54302         * sysdeps/i386/fpu/e_log2f.S: Likewise.
54303         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
54304         * sysdeps/i386/fpu/e_log.S: Likewise.
54305         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
54306         * sysdeps/i386/fpu/e_logf.S: Likewise.
54307         * sysdeps/i386/fpu/e_log10l.S: Likewise.
54308         * sysdeps/i386/fpu/e_atanh.S: Likewise.
54309         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
54310         * sysdeps/i386/fpu/e_log10.S: Likewise.
54311         * sysdeps/i386/fpu/s_frexp.S: Likewise.
54312         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
54313         * sysdeps/i386/fpu/s_asinh.S: Likewise.
54314         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
54315         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
54316         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
54317         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
54318         * sysdeps/i386/i686/strtok.S: Likewise.
54319         * sysdeps/i386/i386-mcount.S: Likewise.
54320         * sysdeps/i386/strtok.S: Likewise.
54321         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
54322         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
54323         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
54324         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
54325         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
54326         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
54327         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
54328         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
54329         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
54330         * sysdeps/x86_64/_mcount.S: Likewise.
54331         * sysdeps/x86_64/strtok.S: Likewise.
54332         * sysdeps/sh/_mcount.S: Likewise.
54334 2012-08-01  Roland McGrath  <roland@hack.frob.com>
54336         * libio/iofopen.c: Include <fcntl.h>.
54337         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
54338         (_IO_fopen64, fopen64): Define as aliases.
54339         * libio/iofopen64.c: Include <fcntl.h>.
54340         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
54341         Conditionalize body on this.
54342         * sysdeps/wordsize-64/iofopen.c: File removed.
54343         * sysdeps/wordsize-64/iofopen64.c: File removed.
54345 2012-08-01  Marek Polacek  <polacek@redhat.com>
54347         * libc/Makeconfig: Use elf in place of binfmt-subdir.
54348         Use dlfcn directly instead of a variable.
54349         (binfmt-subdir): Do not define.
54350         (dlfcn): Likewise.
54352 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
54354         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
54355         Remove all definitions.
54356         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
54357         <kernel-features.h>.
54358         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
54359         (miss_F_GETOWN_EX): Remove all definitions.
54360         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
54361         macro definition.
54362         [!__ASSUME_FCNTL64]: Remove conditional code.
54363         [__ASSUME_FCNTL64]: Make code unconditional.
54364         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
54365         <kernel-features.h>.
54366         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
54367         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
54368         (lockf64) [__NR_fcntl64]: Make code unconditional.
54369         (lockf64) [__ASSUME_FCNTL64]: Likewise.
54371         * sysdeps/unix/sysv/linux/kernel-features.h
54372         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
54373         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
54374         Make code unconditional.
54375         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
54376         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
54377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
54378         [__NR_vfork]: Make code unconditional.
54379         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
54380         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
54381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
54382         [__NR_vfork]: Make code unconditional.
54383         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
54384         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
54386 2012-08-01  Roland McGrath  <roland@hack.frob.com>
54388         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
54389         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
54391         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
54392         Define mkstemp64 as an alias.
54393         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
54394         Define mkstemps64 as an alias.
54395         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
54396         Define mkostemp64 as an alias.
54397         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
54398         Define mkostemps64 as an alias.
54399         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
54400         Conditionalize body on this.
54401         * misc/mkostemp64.c: Likewise.
54402         * misc/mkostemps64.c: Likewise.
54403         * misc/mkstemps64.c: Likewise.
54404         * sysdeps/wordsize-64/mkstemp64.c: File removed.
54405         * sysdeps/wordsize-64/mkostemp64.c: File removed.
54406         * sysdeps/wordsize-64/mkostemp.c: File removed.
54407         * sysdeps/wordsize-64/mkstemp.c: File removed.
54408         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
54409         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
54410         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
54411         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
54413         [BZ #14138]
54414         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
54415         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
54416         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
54417         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
54419         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
54420         compat_symbol macros from <shlib-compat.h> rather than the underlying
54421         default_symbol_version and symbol_version macros, so that DEFAULT
54422         lines in shlib-versions are respected.
54423         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
54425 2012-08-01  Florian Weimer  <fweimer@redhat.com>
54427         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
54428         Declare with warn_unused_result.
54429         (setgid, setregid, setegid, setresgid): Likewise.
54430         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
54431         Likewise.
54432         * WUR-REPORT: Remove set*id functions.
54434 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
54436         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
54438 2012-07-31  Roland McGrath  <roland@hack.frob.com>
54440         [BZ #10191]
54441         * include/sys/socket.h (__libc_accept, __libc_accept4):
54442         Add attribute_hidden.
54443         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
54445         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
54446         use of PTR_MANGLE.
54447         * inet/getnetgrent_r.c (setup): Likewise.
54449         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
54451 2012-07-31  David S. Miller  <davem@davemloft.net>
54453         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54455 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
54457         [BZ #13629]
54458         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
54459         value between 1.0 and 2.0 and smaller part has absolute value less
54460         than 1.0.
54461         * math/s_clog10.c (__clog10): Likewise.
54462         * math/s_clog10f.c (__clog10f): Likewise.
54463         * math/s_clog10l.c (__clog10l): Likewise.
54464         * math/s_clogf.c (__clogf): Likewise.
54465         * math/s_clogl.c (__clogl): Likewise.
54466         * math/libm-test.inc (clog_test): Add more tests.
54467         (clog10_test): Likewise.
54468         * sysdeps/i386/fpu/libm-test-ulps: Update.
54469         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54471 2012-07-31  Florian Weimer  <fweimer@redhat.com>
54473         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
54474         Exit with zero in case no suitable GID is found, and write a
54475         message to standard error.
54477 2012-07-30  Roland McGrath  <roland@hack.frob.com>
54479         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
54480         rather than to 1.
54481         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
54482         (MAXPATHLEN): Removed.
54483         (NOGROUP, NODEV): New macros.
54484         (setbit, clrbit, isset, isclr): New macros.
54485         (howmany, roundup, powerof2): New macros.
54486         (DEV_BSIZE): New macro.
54488         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
54489         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
54491         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
54492         definition on [!__NO_LONG_DOUBLE_MATH].
54494         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
54495         PTR_MANGLE and PTR_DEMANGLE.
54497         * socket/accept4.c (accept4): Rename to __libc_accept4.
54498         Define accept4 as a weak alias.
54500         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
54501         on [_DIRENT_HAVE_D_TYPE].
54502         * io/ftw.c (ftw_dir): Likewise.
54504         * io/xmknod.c (__xmknod): Don't check PATH for being null.
54506         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
54508         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
54509         Use the BSD numbers rather than the arbitrary ones we had.
54510         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
54511         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
54512         (SIGXCPU, SIGXFSZ): New macros.
54513         (_NSIG): Now 32.
54515         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
54516         initializer on [_LIBC_REENTRANT].
54518         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
54519         definitions inside [_POSIX_MAPPED_FILES].
54521         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
54523         * dirent/opendir.c: Include <fcntl.h>.
54525         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
54526         (__libc_getspecific): Likewise.
54527         (__libc_key_create): Likewise.
54529         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
54530         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
54531         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
54532         (tmpfile64): Define as alias.
54533         * sysdeps/wordsize-64/tmpfile.c: File removed.
54534         * sysdeps/wordsize-64/tmpfile64.c: File removed.
54535         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
54536         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
54538         * stdio-common/vfscanf.c: Include <stdbool.h>.
54539         * nss/makedb.c: Likewise.
54540         * stdio-common/_i18n_number.h: Likewise.
54541         * argp/argp-help.c: Likewise.
54542         * posix/wordexp.c: Likewise.
54543         * sysdeps/posix/spawni.c: Likewise.
54544         * nss/nss_files/files-initgroups.c: Likewise.
54545         * stdio-common/reg-modifier.c: Include <stdlib.h>.
54546         * nss/nss_files/files-initgroups.c: Likewise.
54547         * nss/nss_db/db-netgrp.c: Likewise.
54548         * nss/nss_db/db-initgroups.c: Likewise.
54549         * io/fchmodat.c: Include <sys/stat.h>.
54551         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
54552         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
54554         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
54555         [HAVE_MMAP].
54557         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
54558         Add multiple inclusion protection.
54560 2012-07-27  David S. Miller  <davem@davemloft.net>
54562         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54564 2012-07-27  Gary Benson  <gbenson@redhat.com>
54566         [BZ #14298]
54567         * elf/rtld.c: Include <stap-probe.h>.
54568         (dl_main): Added static probes "init_start" and "init_complete".
54569         * elf/dl-load.c: Include <stap-probe.h>.
54570         (lose): Take new parameter "nsid".
54571         Added static probe "map_failed".
54572         (_dl_map_object_from_fd): Pass namespace id to lose.
54573         Added static probe "map_start".
54574         (open_verify): Pass namespace id to lose.
54575         * elf/dl-open.c: Include <stap-probe.h>.
54576         (dl_open_worker) Added static probes "map_complete", "reloc_start"
54577         and "reloc_complete".
54578         * elf/dl-close.c: Include <stap-probe.h>.
54579         (_dl_close_worker): Added static probes "unmap_start" and
54580         "unmap_complete".
54581         * elf/rtld-debugger-interface.txt: New file documenting the above.
54583 2012-07-26  Roland McGrath  <roland@hack.frob.com>
54585         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
54586         rather than a string variable.
54587         * sunrpc/rpc_main.c (h_output): Likewise.
54588         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
54590 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
54592         * inet/check_native.c: New file.
54594 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
54596         [BZ #13629]
54597         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
54598         if larger part has absolute value 1.0.
54599         * math/s_clog10.c (__clog10): Likewise.
54600         * math/s_clog10f.c (__clog10f): Likewise.
54601         * math/s_clog10l.c (__clog10l): Likewise.
54602         * math/s_clogf.c (__clogf): Likewise.
54603         * math/s_clogl.c (__clogl): Likewise.
54604         * math/libm-test.inc (clog_test): Add more tests.
54605         (clog10_test): Likewise.
54606         * sysdeps/i386/fpu/libm-test-ulps: Update.
54607         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54609         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
54610         (pltexit): Likewise.
54611         (La_regs): Likewise.
54612         (La_retval): Likewise.
54613         (int_retval): Likewise.
54614         Update #error for removed macros to refer only to definitions in
54615         tst-audit.h.
54616         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
54617         macro.
54618         (pltexit): Likewise.
54619         (La_regs): Likewise.
54620         (La_retval): Likewise.
54621         (int_retval): Likewise.
54622         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
54623         macro.
54624         (pltexit): Likewise.
54625         (La_regs): Likewise.
54626         (La_retval): Likewise.
54627         (int_retval): Likewise.
54628         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
54629         macro.
54630         (pltexit): Likewise.
54631         (La_regs): Likewise.
54632         (La_retval): Likewise.
54633         (int_retval): Likewise.
54634         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
54635         macro.
54636         (pltexit): Likewise.
54637         (La_regs): Likewise.
54638         (La_retval): Likewise.
54639         (int_retval): Likewise.
54640         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
54641         macro.
54642         (pltexit): Likewise.
54643         (La_regs): Likewise.
54644         (La_retval): Likewise.
54645         (int_retval): Likewise.
54646         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
54647         macro.
54648         (pltexit): Likewise.
54649         (La_regs): Likewise.
54650         (La_retval): Likewise.
54651         (int_retval): Likewise.
54652         * sysdeps/generic/tst-audit.h: Update comment to refer only to
54653         macro definitions in tst-audit.h.
54654         * sysdeps/i386/tst-audit.h: New file.
54655         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
54656         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
54657         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
54658         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
54659         * sysdeps/sh/tst-audit.h: Likewise.
54660         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
54661         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
54662         * sysdeps/x86_64/tst-audit.h: Likewise.
54664 2012-07-26  Andreas Jaeger  <aj@suse.de>
54666         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
54667         ptrace.
54669         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
54670         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
54671         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
54672         PTRACE_O_MASK.
54673         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
54674         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
54675         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
54677         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
54678         value.
54680         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
54681         _sigsys.
54682         (si_call_addr, si_syscall, si_arch): Define new macro.
54683         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
54684         _sigsys.
54685         (si_call_addr, si_syscall, si_arch): Define new marcro.
54686         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
54687         _sigsys.
54688         (si_call_addr, si_syscall, si_arch): Define new macro.
54689         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
54690         _sigsys.
54691         (si_call_addr, si_syscall, si_arch): Define new macro.
54693 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
54695         [BZ #13717]
54696         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
54697         Change to 2.4.21 where previously 2.4.1.
54698         * sysdeps/unix/sysv/linux/configure: Regenerated.
54699         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
54700         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
54701         Linux kernel version.
54702         (__ASSUME_STD_AUXV): Remove.
54703         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
54704         kernel version.
54705         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
54706         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
54707         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
54708         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
54709         (__ASSUME_NETLINK_SUPPORT): Likewise.
54710         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
54711         (__no_netlink_support): Remove conditional definition.
54712         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
54713         Remove.
54714         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
54715         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
54716         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
54717         (if_nameindex_ioctl): Remove.
54718         (if_nameindex_netlink): Do not handle __no_netlink_support.
54719         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
54720         code.
54721         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
54722         Remove conditional code.
54723         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
54724         code.
54725         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
54726         unconditional.
54727         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
54728         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
54729         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
54730         Remove.
54731         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
54732         [!__ASSUME_STD_AUXV]: Remove conditional code.
54733         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
54734         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
54735         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
54736         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
54737         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
54738         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
54739         code.
54740         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
54741         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
54742         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
54743         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
54744         conditional code.
54745         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
54746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
54747         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
54748         code.
54749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
54750         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
54751         conditional code.
54752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
54753         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
54754         code unconditional.
54755         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
54756         conditional code.
54757         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
54758         unconditional.
54759         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
54760         conditional code.
54761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
54762         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
54763         unconditional.
54764         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
54765         conditional code.
54766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
54767         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
54768         code unconditional.
54769         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
54770         conditional code.
54771         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
54772         unconditional.
54773         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
54774         conditional code.
54775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
54776         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
54777         code unconditional.
54778         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
54779         conditional code.
54780         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
54781         unconditional.
54782         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
54783         conditional code.
54785 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
54787         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
54788         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
54789         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
54790         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
54791         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
54792         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
54793         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
54794         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
54795         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
54796         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
54797         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
54798         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
54799         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
54800         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
54801         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
54802         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
54803         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
54804         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
54805         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
54806         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
54807         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
54808         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
54809         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
54811 2012-07-25  Florian Weimer  <fweimer@redhat.com>
54813         * Versions.def: Add GLIBC_2.17.
54814         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
54815         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
54816         Introduce __libc_secure_getenv.
54817         * stdlib/Versions (2.17): Add secure_getenv
54818         (GLIBC_PRIVATE): Add __libc_secure_getenv.
54819         * stdlib/secure-getenv.c: Rename __secure_getenv to
54820         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
54821         symbol __secure_getenv for GLIBC_2.0.
54822         * stdlib/tst-secure-getenv.c: New.
54823         * stdlib/Makefile (tests): Add testcase.
54824         * manual/startup.texi (Environment Access): Document
54825         secure_getenv.
54826         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
54827         __libc_secure_getenv.
54828         * inet/ruserpass.c (ruserpass): Likewise.
54829         * malloc/mtrace.c (mtrace): Likewise.
54830         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
54831         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
54832         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
54833         * sysdeps/posix/tempname.c: Likewise.  Evaluate
54834         HAVE_SECURE_GETENV.
54835         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
54836         __secure_getenv to __libc_secure_getenv.
54837         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
54838         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
54839         Likewise.
54840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
54841         Likewise.
54842         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
54843         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
54844         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
54845         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
54846         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
54847         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
54848         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
54850 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
54852         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
54853         (struct La_i86_retval): Likewise.
54854         (struct La_x86_64_regs): Likewise.
54855         (struct La_x86_64_retval): Likewise.
54856         (struct La_x32_regs): Likewise.
54857         (struct La_x32_retval): Likewise.
54858         (struct La_ppc32_regs): Likewise.
54859         (struct La_ppc32_retval): Likewise.
54860         (struct La_ppc64_regs): Likewise.
54861         (struct La_ppc64_retval): Likewise.
54862         (struct La_sh_regs): Likewise.
54863         (struct La_sh_retval): Likewise.
54864         (struct La_s390_32_regs): Likewise.
54865         (struct La_s390_32_retval): Likewise.
54866         (struct La_s390_64_regs): Likewise.
54867         (struct La_s390_64_retval): Likewise.
54868         (struct La_sparc32_regs): Likewise.
54869         (struct La_sparc32_retval): Likewise.
54870         (struct La_sparc64_regs): Likewise.
54871         (struct La_sparc64_retval): Likewise.
54872         (struct audit_ifaces): Remove architecture-specific pltenter and
54873         pltexit members.
54874         * sysdeps/i386/ldsodefs.h: New file.
54875         * sysdeps/powerpc/ldsodefs.h: Likewise.
54876         * sysdeps/s390/ldsodefs.h: Likewise.
54877         * sysdeps/sh/ldsodefs.h: Likewise.
54878         * sysdeps/sparc/ldsodefs.h: Likewise.
54879         * sysdeps/x86_64/ldsodefs.h: Likewise.
54881 2012-07-25  Marek Polacek  <polacek@redhat.com>
54883         [BZ #6808]
54884         * math/libm-test.inc (yn_test): Add another test.
54885         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
54886         to ERANGE when the result is +-Inf.
54887         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
54888         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
54889         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
54890         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
54892 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
54894         * conform/data/time.h-data (NULL): Use macro-constant.  Require
54895         equal to 0.
54896         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
54897         clock_t.
54898         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
54900 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
54902         * configure.in <sysdeps resolving>: Correct printing
54903         Implies_before.
54904         * configure: Regenerate.
54906 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
54908         * math/w_ilogb.c: Include <limits.h>.
54909         * math/w_ilogbl.c: Likewise.
54911 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
54913         * manual/lang.texi (__va_copy): Document primarily as ISO C99
54914         va_copy.  Document allowing for unavailable va_copy only as
54915         pre-C99 compatibility.
54916         * manual/string.texi (Copying and Concatenation): Use va_copy
54917         instead of __va_copy in concat example.
54919 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
54921         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
54922         (__sendto): Use create_address_port.  Initialize APORT and deallocate
54923         it if not null.
54925         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
54926         with O_NOLINK passed to __file_name_lookup.
54928         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
54929         with O_NOLINK passed to __file_name_lookup.
54931         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
54932         negative N or less than NGIDS.
54934         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
54935         type to string_t.  Set ERANGE as errno and return it if NAME is not big
54936         enough.  Use memcpy instead of strncpy.
54938 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
54940         * elf/Makefile (check-data): Remove.
54941         (localplt.data): New vpath directive.
54942         ($(objpfx)check-localplt.out): Use localplt.data from vpath
54943         instead of $(check-data).
54944         * scripts/data/localplt-generic.data: Move to ...
54945         * sysdeps/generic/localplt.data: ... here.
54946         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
54947         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
54948         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
54949         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
54950         ... here.
54951         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
54952         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
54953         ... here.
54954         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
54955         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
54956         ... here.
54957         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
54958         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
54959         ... here.
54960         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
54961         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
54962         ... here.
54963         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
54964         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
54965         ... here.
54967 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54969         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
54970         PPC32 and PPC64 files.
54971         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
54972         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
54974 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54976         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
54977         __makecontext_ret to ...
54978         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
54979         ... here and call exit if uc_link is NULL.  New file.
54980         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
54981         __makecontext_ret.S.
54982         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
54983         __makecontext_ret to ...
54984         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
54985         ... here and call exit if uc_link is NULL.  New file.
54986         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
54987         __makecontext_ret.S.
54989 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54991         * elf/elf.h (R_390_IRELATIVE): New definition.
54992         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
54993         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
54994         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
54995         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
54996         (elf_machine_lazy_rel): Likewise.
54997         * sysdeps/s390/dl-irel.h: New file.
54998         * sysdeps/s390/s390-64/memcpy.S: New asm code.
54999         * sysdeps/s390/s390-64/memset.S: New asm code.
55000         * sysdeps/s390/s390-64/memcmp.S: New asm code.
55001         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
55002         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
55003         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
55004         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
55005         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
55006         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
55007         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
55008         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
55009         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
55010         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
55011         * sysdeps/s390/s390-32/memcpy.S: New asm code.
55012         * sysdeps/s390/s390-32/memset.S: New asm code.
55013         * sysdeps/s390/s390-32/memcmp.S: New asm code.
55015 2012-07-17  Marek Polacek  <polacek@redhat.com>
55017         [BZ #14349]
55018         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
55019         * sysdeps/s390/s390-64/configure.in: Likewise.
55020         * sysdeps/sparc/configure.in: Likewise.
55021         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
55022         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
55023         * sysdeps/i386/configure.in: Likewise.
55024         * sysdeps/x86_64/configure.in: Likewise.
55025         * sysdeps/sh/configure.in: Likewise.
55026         * sysdeps/s390/s390-32/configure: Regenerated.
55027         * sysdeps/s390/s390-64/configure: Likewise.
55028         * sysdeps/x86_64/configure: Likewise.
55029         * sysdeps/sh/configure: Likewise.
55030         * sysdeps/powerpc/powerpc64/configure: Likewise.
55031         * sysdeps/powerpc/powerpc32/configure: Likewise.
55032         * sysdeps/sparc/configure: Likwise.
55033         * sysdeps/i386/configure: Likewise.
55035         * elf/dl-open.c: Comment fixes.
55037 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
55039         * Makefile [CXX] (check-data): Remove.
55040         [CXX] (c++-types.data): New vpath directive.
55041         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
55042         vpath.  Do not allow for C++ type data being missing.
55043         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
55044         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
55045         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
55046         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
55047         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
55048         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
55049         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
55050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
55051         ... here.
55052         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
55053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
55054         ... here.
55055         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
55056         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
55057         ... here.
55058         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
55059         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
55060         ... here.
55061         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
55062         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
55063         ... here.
55064         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
55065         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
55066         ... here.
55067         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
55068         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
55069         ... here.
55070         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
55071         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
55073         * elf/tls-macros.h (TLS_LE): Move architecture-specific
55074         definitions to architecture-specific files.
55075         (TLS_IE): Likewise.
55076         (TLS_LD): Likewise.
55077         (TLS_GD): Likewise.
55078         * sysdeps/i386/tls-macros.h: New file.
55079         * sysdeps/powerpc/tls-macros.h: Likewise.
55080         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
55081         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
55082         * sysdeps/sh/tls-macros.h: Likewise.
55083         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
55084         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
55085         * sysdeps/x86_64/tls-macros.h: Likewise.
55087 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
55089         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
55090         zero value for regular exit case.
55092         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
55093         (__start_context): Preserve zero value for regular exit case.
55095 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
55096             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55098         * manual/setjmp.texi (setcontext): Clarify normal process
55099         termination when uc_link is the null pointer.
55100         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
55101         exit call.
55103 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
55105         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
55106         preprocessor.  Test for each exception mask separately.
55108 2012-07-16  Andreas Jaeger  <aj@suse.de>
55110         * po/ru.po: Update from translation team.
55112 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
55114         * conform/data/string.h-data (NULL): Use macro-constant.  Require
55115         equal to 0.
55116         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
55117         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
55118         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
55119         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
55120         [ISO || ISO99 || ISO11] (*_t): Do not allow.
55122 2012-07-13  Andreas Jaeger  <aj@suse.de>
55124         * po/fr.po: Update from translation team.
55126 2012-07-12  Marek Polacek  <polacek@redhat.com>
55128         [BZ #14173]
55129         * math/libm-test.inc (yn_test): Add test for BZ #14173.
55130         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
55131         loop condition.
55133 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
55135         [BZ #13717]
55136         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
55137         Change to 2.4.1 where previously 2.4.0.
55138         * sysdeps/unix/sysv/linux/configure: Regenerated.
55139         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
55140         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
55141         version.
55142         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
55143         (__ASSUME_AT_CLKTCK): Remove.
55144         (__ASSUME_AT_PAGESIZE): Likewise.
55145         (__ASSUME_AT_XID): Likewise.
55146         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
55147         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
55148         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
55149         unconditionally.
55150         (HAVE_AUX_PAGESIZE): Likewise.
55151         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
55152         [__ASSUME_AT_CLKTCK]: Make code unconditional.
55153         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
55155 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
55157         [BZ #14307]
55158         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
55159         the temporary buffer used to invoke __gethostbyname2_r,
55160         __gethostbyaddr_r and gethostbyname4_r to make room for struct
55161         host_data / struct gaih_addrtuple.
55162         * resolv/nss_dns/dns-host.c (global scope): Move definition of
55163         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
55164         header file nss/nsswitch.h.
55165         * nss/nsswitch.h (global scope): Add definition of implementation
55166         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
55167         resolv/nss_dns/dns-host.c).
55169 2012-07-11  Andreas Jaeger  <aj@suse.de>
55171         * po/fr.po: Update from translation team.
55173         * po/sv.po: Update from translation team
55174         * po/fr.po: Another update from translation team.
55176 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55178         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
55179         for subnormals or multiply small sinh result by itself.
55180         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
55181         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55183 2012-07-11  David S. Miller  <davem@davemloft.net>
55185         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55187 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
55189         [BZ #14347]
55190         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
55191         (INTERNAL_MARK): Shift it here.
55193 2012-07-10  Marek Polacek  <polacek@redhat.com>
55195         [BZ #14151]
55196         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
55197         libc_cv_asm_global_directive with .globl.
55198         * configure: Regenerated.
55199         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
55200         with .globl.
55201         * sysdeps/i386/configure: Regenerated.
55202         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
55203         with .globl.
55204         * sysdeps/x86_64/configure: Regenerated.
55205         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
55206         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
55207         * elf/tst-unique2mod2.c: Likewise.
55208         * elf/tst-unique2mod1.c: Likewise.
55209         * elf/tst-unique1mod2.c: Likewise.
55210         * elf/tst-unique1mod1.c: Likewise.
55211         * sysdeps/s390/s390-32/sysdep.h: Likewise.
55212         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
55213         * sysdeps/s390/s390-64/sysdep.h: Likewise.
55214         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
55215         * sysdeps/mach/sysdep.h: Likewise.
55216         * sysdeps/i386/sysdep.h: Likewise.
55217         * sysdeps/i386/i386-mcount.S: Likewise.
55218         * sysdeps/x86_64/_mcount.S: Likewise.
55219         * sysdeps/x86_64/sysdep.h: Likewise.
55220         * sysdeps/sh/_mcount.S: Likewise.
55221         * sysdeps/sh/sysdep.h: Likewise.
55222         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
55223         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
55224         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
55225         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
55226         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
55227         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
55228         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
55229         * locale/localeinfo.h: Likewise.
55230         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
55231         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
55233 2012-07-09  Roland McGrath  <roland@hack.frob.com>
55235         [BZ #14336]
55236         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
55237         system".
55238         * manual/message.texi (The Uniforum approach): Likewise.
55239         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
55240         (glibc iconv Implementation): Likewise.
55242 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
55244         [BZ #14337]
55245         * math/s_clog.c (__clog): Avoid scaling a value down where that
55246         could result in underflow.
55247         * math/s_clog10.c (__clog10): Likewise.
55248         * math/s_clog10f.c (__clog10f): Likewise.
55249         * math/s_clog10l.c (__clog10l): Likewise.
55250         * math/s_clogf.c (__clogf): Likewise.
55251         * math/s_clogl.c (__clogl): Likewise.
55252         * math/libm-test.inc (clog_test): Add more tests.
55253         (clog10_test): Likewise.
55254         * sysdeps/i386/fpu/libm-test-ulps: Update.
55255         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55257 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
55259         [BZ #14283]
55260         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
55261         by 7 not 8 to examine high bit of fractional part.
55263         [BZ #14042]
55264         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
55265         for call to __mcount_internal.
55266         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
55267         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
55268         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
55270 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
55272         [BZ #14154]
55273         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
55274         approximation for values within 0x1p-13f of an odd multiple of
55275         pi/4.
55276         * math/libm-test.inc (tan_test): Do not allow spurious underflow
55277         exception.  Add more tests.
55278         * sysdeps/i386/fpu/libm-test-ulps: Update.
55280         [BZ #6778]
55281         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
55282         inputs and return -1 for them.  Do not check for +Inf in case not
55283         reachable for +Inf.
55284         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
55285         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
55286         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
55287         and return -1 for them.  Do not check for +Inf in case not
55288         reachable for +Inf.
55289         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
55290         define.
55291         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
55292         and return -1 for them.  Do not check for +Inf in case not
55293         reachable for +Inf.
55294         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
55295         spurious underflow.
55296         * sysdeps/i386/fpu/libm-test-ulps: Update.
55297         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55299 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
55301         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
55303 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
55305         [BZ #14157]
55306         [BZ #14331]
55307         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
55308         could result in spurious underflow.  Scale down values above
55309         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
55310         * math/s_csqrtf.c (__csqrtf): Likewise.
55311         * math/s_csqrtl.c (__csqrtl): Likewise.
55312         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
55313         spurious underflow.
55314         * sysdeps/i386/fpu/libm-test-ulps: Update.
55315         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55317 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
55319         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
55320         xopen-msg.sed.
55321         * catgets/xopen-msg.awk: New file.
55322         * catgets/xopen-msg.sed: Removed.
55324         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
55325         po2text.sed.
55326         * intl/po2test.awk: New file.
55327         * intl/po2test.sed: Removed.
55329 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
55331         [BZ #14328]
55332         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
55333         or multiply small sinh result by itself.
55334         * math/s_ctanf.c (__ctanf): Likewise.
55335         * math/s_ctanh.c (__ctanh): Likewise.
55336         * math/s_ctanhf.c (__ctanhf): Likewise.
55337         * math/s_ctanhl.c (__ctanhl): Likewise.
55338         * math/s_ctanl.c (__ctanl): Likewise.
55339         * math/libm-test.inc (ctan_test_tonearest): New function.
55340         (ctan_test_towardzero): Likewise.
55341         (ctan_test_downward): Likewise.
55342         (ctan_test_upward): Likewise.
55343         (ctanh_test_tonearest): Likewise.
55344         (ctanh_test_towardzero): Likewise.
55345         (ctanh_test_downward): Likewise.
55346         (ctanh_test_upward): Likewise.
55347         (main): Call these new functions.
55348         * sysdeps/i386/fpu/libm-test-ulps: Update.
55349         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55351 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
55353         * .gitignore: Delete /ports entry.
55355 2012-07-03  Andreas Jaeger  <aj@suse.de>
55357         * po/bg.po: Update from translation team.
55358         * po/cs.po: Likewise.
55359         * po/de.po: Likewise.
55360         * po/hr.po: Likewise.
55361         * po/nl.pl: Likewise.
55362         * po/pl.po: Likewise.
55363         * po/vi.po: Likewise.
55365 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
55367         * Makeconfig [!+link] (+link-before-libc): New variable.
55368         [!+link] (+link-after-libc): Likewise.
55369         [!+link] (+link-tests): Likewise.
55370         [!+link] (+link): Define in terms of $(+link-before-libc) and
55371         $(+link-after-libc).
55372         [!+link-static] (+link-static-before-libc): New variable.
55373         [!+link-static] (+link-static-after-libc): Likewise.
55374         [!+link-static] (+link-static-tests): Likewise.
55375         [!+link-static] (+link-static): Define in terms of
55376         $(+link-static-before-libc) and $(+link-static-after-libc).
55377         [build-shared] (link-libc-before-gnulib): New variable.
55378         [build-shared] (link-libc-tests): Likewise.
55379         [build-shared] (link-libc): Define in terms of
55380         $(link-libc-before-gnulib).
55381         [!build-shared] (link-libc-tests): New variable.
55382         (link-libc-static-tests): New variable.
55383         [!gnulib] (gnulib-arch): New variable.
55384         [!gnulib] (gnulib-tests): Likewise.
55385         [!gnulib] (static-gnulib-arch): Likewise.
55386         [!gnulib] (static-gnulib-tests): Likewise.
55387         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
55388         Define with "=" instead of ":=".
55389         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
55390         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
55391         * Rules (binaries-all-notests): New variable.
55392         (binaries-all-tests): Likewise.
55393         (binaries-static-notests): Likewise.
55394         (binaries-static-tests): Likewise.
55395         (binaries-all): Define using $(binaries-all-notests) and
55396         $(binaries-all-tests).
55397         (binaries-static): Define using $(binaries-static-notests) and
55398         $(binaries-static-tests).
55399         (binaries-shared-tests): New variable.
55400         (binaries-shared-notests): Likewise.
55401         (binaries-shared): Remove variable.
55402         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
55403         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
55404         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
55405         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
55406         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
55407         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
55408         * elf/Makefile (sln-modules): New variable.
55409         (extra-objs): Add $(sln-modules:=.o).
55410         (ldconfig-modules): Add static-stubs.
55411         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
55412         * elf/static-stubs.c: New file.
55414         [BZ #14283]
55415         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
55416         by 7 not 8 to examine high bit of fractional part.  Use volatile
55417         variables when splitting into final array of floats if
55418         __FLT_EVAL_METHOD__ != 0.
55419         * math/libm-test.inc (cos_test): Add another test.
55420         (sin_test): Likewise.
55421         * sysdeps/i386/fpu/libm-test-ulps: Update.
55423         [BZ #14273]
55424         * math/libm-test.inc (cosh_test): Add more tests.
55426         * version.h (RELEASE): Set to "development".
55427         (VERSION): Set to "2.16.90".
55429 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
55431         * NEWS: Update copyright. Remove last-updated date.
55432         Mention math library bug fixes and timezone data changes.
55433         * README: Mention GNU/Hurd, x32, and HPPA support status.
55435 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
55437         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
55439 2012-06-27  Andreas Jaeger  <aj@suse.de>
55441         * manual/contrib.texi (Contributors): Add Samuel Thibault.
55443 2012-06-25  Andreas Jaeger  <aj@suse.de>
55445         * sysdeps/s390/fpu/libm-test-ulps: Update.
55447 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
55448             Thomas Schwinge  <thomas@codesourcery.com>
55450         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
55451         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
55452         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
55453         fanotify_mark.
55455 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
55457         * sysdeps/mach/start.c: Remove file.
55458         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
55459         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
55460         * sysdeps/sh/init-first.c: Likewise.
55462         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
55463         registers for frame unwinding purposes, add CFI directives.
55464         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
55465         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
55466         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
55467         Likewise.
55469         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
55470         __fortify_fail returning.
55471         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
55473         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
55474         sysdeps/sh/____longjmp_chk.S.
55475         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
55476         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
55477         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
55478         (gen-as-const-headers): Append sigaltstack-offsets.sym.
55480         * sysdeps/sh/abort-instr.h: New file.
55481         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
55482         process in case exit returns.
55484         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
55485         initialize the GOT register before use.
55487         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
55488         calculation of ARGC > 4.
55490         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
55491         meaningful names to some local labels.
55493 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
55494             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
55496         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
55497         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
55498         (__arch_compare_and_exchange_val_16_acq): Likewise.
55499         (__arch_compare_and_exchange_val_32_acq): Likewise.
55500         (atomic_exchange_and_add): Fix gUSA sequence.
55501         (atomic_add): Likewise.
55502         (atomic_add_negative): Likewise.
55503         (atomic_add_zero): Likewise.
55504         (atomic_bit_test_set): Likewise.
55506 2012-06-22  Andreas Schwab  <schwab@redhat.com>
55508         [BZ #13579]
55509         * include/link.h (struct link_map): Add l_free_initfini.
55510         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
55511         l_initfini.
55512         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
55513         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
55514         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
55515         set.
55517 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
55519         * configure.in: Use AC_LANG_SOURCE.
55520         * configure: Regenerate.
55522 2012-06-22  Roland McGrath  <roland@hack.frob.com>
55524         * configure.in (libc_cv_localstatedir): New substituted variable.
55525         * configure: Regenerated.
55526         * config.make.in (localstatedir): New variable, substituted from
55527         libc_cv_localstatedir.
55528         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
55529         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
55530         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
55531         * sysdeps/gnu/configure: Regenerated.
55533 2012-06-21  Jeff Law  <law@redhat.com>
55535         [BZ #14277]
55536         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
55537         free.  Simplify list management for _LIBC case.
55539 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
55541         [BZ #14273]
55542         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
55543         Clear sign bit of 64-bit integer value before comparing against
55544         overflow value.
55546         * sysdeps/mach/configure: Regenerated.
55548 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
55550         [BZ #14278]
55551         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
55553 2012-06-21  Jeff Law  <law@redhat.com>
55555         [BZ #13882]
55556         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
55557         uint16_t for elements in the "seen" array to avoid char overflows.
55558         * elf/dl-fini.c (_dl_sort_fini): Likewise.
55559         * elf/dl-open.c (dl_open_worker): Likewise.
55561 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
55563         * scripts/list-sources.sh: Scan PORTS for translations.
55564         * po/libc.pot: Regenerated.
55566 2012-06-21  Andreas Jaeger  <aj@suse.de>
55568         [BZ #12194]
55569         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
55570         warning.
55571         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
55572         * bits/byteswap-16.h (__bswap_16): Likewise.
55573         * bits/byteswap.h (__bswap_constant_16): Likewise.
55575 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
55577         [BZ #14117]
55578         * sysdeps/i386/fpu_control.h: Removed.
55579         * sysdeps/x86_64/fpu_control.h: Moved to ...
55580         * sysdeps/x86/fpu_control.h: Here.
55582         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
55583         (_FPU_SETCW): Likewise.
55585 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
55587         [BZ #14117]
55588         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
55589         * sysdeps/x86/fpu/bits/mathinline.h: This.
55590         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
55592         [BZ #14050]
55593         [BZ #14117]
55594         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
55595         functions if __x86_64__ is defined.
55597 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
55599         * string/endian.h: Add !__ASSEMBLER__ condition for including
55600         conversion interfaces.
55602 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
55604         [BZ #14241]
55605         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
55606         of ABS(x) in calculating zero to negative powers other than odd
55607         integers.
55608         * math/libm-test.inc (pow_test): Add more tests.
55610 2012-06-15  Andreas Jaeger  <aj@suse.de>
55612         * manual/contrib.texi (Contributors): Update entry of Liubov
55613         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
55614         Machado Filho.
55616 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
55618         * string/string.h: Add __wur to GNU version of strerror_r.
55620 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
55622         [BZ #14229]
55623         * string/Makefile (tests): Add tst-strtok_r.
55624         * string/tst-strtok_r.c: New file.
55625         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
55626         RAX_LP/RDX_LP on SAVE_PTR.
55628 2012-06-14  Roland McGrath  <roland@hack.frob.com>
55630         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
55632 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
55634         * libm_test.inc (csqrt_test): Allow more spurious underflow
55635         exceptions.
55636         (j0_test): Likewise.
55637         (j1_test): Likewise.
55638         (y0_test): Likewise.
55639         (y1_test): Likewise.
55641 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
55643         * po/Makefile (libc.pot): Use UTF-8 charset.
55645 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
55647         [BZ #14210]
55648         Suppress sign-conversion warning from FD_SET.
55649         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
55650         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
55651         not unsigned long int.
55652         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
55654 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
55656         [BZ #14050]
55657         [BZ #14117]
55658         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
55659         __extern_always_inline instead of __extern_inline.
55660         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
55661         (__signbit): Likewise.
55662         (__signbitl): Support C++ namespace.
55663         (lrintf): New inline function.
55664         (lrint): Likewise.
55665         (llrintf): Likewise.
55666         (llrint): Likewise.
55667         (fmaxf): Likewise.
55668         (fmax): Likewise.
55669         (fminf): Likewise.
55670         (fmin): Likewise.
55671         (rint): Likewise.
55672         (rintf): Likewise.
55673         (ceil): Likewise.
55674         (ceilf): Likewise.
55675         (floor): Likewise.
55676         (floorf): Likewise.
55677         (nearbyint): Likewise.
55678         (nearbyintf): Likewise.
55680 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
55682         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
55683         non-default versions.
55685 2012-06-11  Roland McGrath  <roland@hack.frob.com>
55687         [BZ #14218]
55688         * manual/argp.texi (Argp): Reword argp_parse description slightly.
55690 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
55692         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
55693         (FE_UPWARD, FE_DOWNWARD): Don't define.
55694         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
55695         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
55697         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
55698         reading it.
55699         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
55700         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
55702 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
55704         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
55705         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
55706         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
55707         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
55709 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
55711         [BZ #14117]
55712         * sysdeps/i386/fpu/bits/fenv.h: Removed.
55713         * sysdeps/i386/fpu/Implies: New file.
55714         * sysdeps/x86_64/fpu/Implies: Likewise.
55715         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
55716         * sysdeps/x86/fpu/bits/fenv.h: This.
55718         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
55719         __SSE_MATH__.
55721 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
55723         [BZ #14134]
55724         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
55725         character 0xffff that matches the last element of the
55726         conversion table.
55728 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55730         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
55731         fmodl commit.
55733 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55735         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
55736         values higher than 25.6283.
55738 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55740         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
55741         subnormal exponent extraction and add some __builtin_expect.
55742         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
55743         Fix for subnormal mantissa calculation.
55745 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
55747         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
55748         cpu2 is -1 and errno is not ENOSYS.
55750 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
55752         [BZ #14117]
55753         * sysdeps/i386/i486/bits/string.h: Renamed to ...
55754         * sysdeps/x86/bits/string.h: This.
55755         * sysdeps/x86_64/bits/string.h: Removed.
55757         * sysdeps/i386/i486/bits/string.h: Define inline functions only
55758         if not compiling for x86-64, but compiling for >= i486.
55760         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
55761         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
55763         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
55764         New macro from Linux kernel 3.4.0.
55765         (FP_XSTATE_MAGIC2): Likewise.
55766         (FP_XSTATE_MAGIC2_SIZE): Likewise.
55767         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
55768         (struct _fpx_sw_bytes): New struct.
55769         (struct _xsave_hdr): Likewise.
55770         (struct _ymmh_state): Likewise.
55771         (struct _xstate): Likewise.
55773         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
55774         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
55775         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
55776         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
55777         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
55778         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
55780         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
55781         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
55782         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
55783         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
55784         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
55785         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
55787 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
55789         [BZ #13743]
55790         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
55791         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
55792         (sysdep_headers): Include sys/platform/ppc.h.
55793         * sysdeps/powerpc/test-gettimebase.c: Test for
55794         __ppc_get_timebase() to catch future ISA opcode/insn changes.
55795         * manual/Makefile (appendices): Include platform.texi.
55796         * manual/contrib.texi (Contributors): Update @node pointers.
55797         * manual/maint.texi (Maintenance): Likewise.
55798         (Platform): New node.
55799         * manual/platform.texi: New file.  Document the new features.
55801 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
55802             Jakub Jelinek  <jakub@redhat.com>
55804         [BZ #14188]
55805         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
55806         where __builtin_expect is unavailable.
55808 2012-06-03  David S. Miller  <davem@davemloft.net>
55810         * stdlib/longlong.h: Updated from GCC.
55812 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
55814         [BZ #14042]
55815         * sysdeps/powerpc/powerpc32/mcount.c: New file.
55816         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
55817         __mcount_internal.
55818         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
55819         (GLIBC_2.16): Likewise.
55821 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
55823         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
55825 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
55827         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
55828         (default-abi): New variable.
55829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
55830         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
55831         variable.
55832         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
55833         Likewise.
55834         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
55835         Likewise.
55836         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
55837         Likewise.
55839         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
55840         definition.  Document in comment.
55842 2012-06-01  David S. Miller  <davem@davemloft.net>
55844         * stdlib/longlong.h: Updated from GCC.
55846 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
55848         [BZ #14117]
55849         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
55850         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
55851         sys/debugreg.h sys/io.h here.
55852         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
55853         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
55854         sys/io.h.
55855         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
55856         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
55857         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
55858         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
55859         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
55860         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
55862         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
55863         Define only if __x86_64__ is defined.
55865 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
55867         [BZ #14048]
55868         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
55869         Use int64_t for variable i.
55870         * math/libm-test.inc (fmod_test): Add more tests.
55872         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
55873         z computation is not scheduled after fetestexcept.
55874         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
55875         Use math_force_eval instead of asm to ensure calculation scheduled
55876         before exception test.
55877         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
55878         Ensure a1 + u.d computation is not scheduled after fetestexcept.
55880 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
55882         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
55883         computation is not scheduled after fetestexcept.
55885 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
55887         [BZ #14117]
55888         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
55889         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
55891 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55893         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
55894         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
55896 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
55898         [BZ #14117]
55899         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
55900         <bits/wordsize.h>.
55901         (__WCHAR_MIN): Support __WORDSIZE == 64.
55902         (__WCHAR_MAX): Likewise.
55904         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
55905         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
55907         [BZ #14183]
55908         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
55909         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
55911         [BZ #14117]
55912         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
55913         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
55915         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
55916         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
55918         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
55919         Defined to 1 if __x86_64__ isn't defined.
55920         (_STAT_VER_LINUX_OLD): New.
55921         (st_atime): Remove duplicate.
55922         (st_mtime): Likewise.
55923         (st_ctime): Likewise.
55925 2012-05-31  David S. Miller  <davem@davemloft.net>
55927         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
55928         entries.
55930 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
55932         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
55933         gen-libm-test.pl.
55935         [BZ #14132]
55936         * elf/dl-reloc.c: Include <_itoa.h>.
55937         (_dl_reloc_bad_type): Remove use of INTUSE.
55938         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
55939         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
55940         * stdio-common/psiginfo.c (psiginfo): Likewise.
55941         * stdio-common/psignal.c (psignal): Likewise.
55942         * string/strsignal.c (strsignal): Likewise.
55943         * include/signal.h (_sys_siglist): Declare hidden proto.
55944         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
55945         INTVARDEF with libc_hidden_data_def.
55946         * stdio-common/itoa-udigits.c: Likewise.
55947         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
55948         (_itoa_lower_digits_internal): Remove declaration.
55949         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
55950         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
55951         (_sys_sigabbrev_internal): Remove aliases.
55952         (_sys_siglist): Define hidden alias.
55954 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
55956         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55957         bits/sysctl.h.
55959 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
55961         [BZ #14117]
55962         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
55963         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
55965         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
55966         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
55967         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
55968         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
55969         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
55970         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
55972         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
55973         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
55974         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
55976         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
55977         with __addr.
55978         (insw): Likewise.
55979         (insl): Likewise.
55980         (outsb): Likewise.
55981         (outsw): Likewise.
55982         (outsl): Likewise.
55984         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
55985         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
55986         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
55988         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
55989         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
55990         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
55991         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
55992         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
55993         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
55995         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
55996         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
55998         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
55999         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
56001         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
56002         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
56003         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
56005         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
56006         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
56007         to ...
56008         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
56010         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
56011         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
56012         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
56014         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
56015         for x86-64.
56016         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
56018 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
56020         * math/math.h (M_El): Use two more decimal places.
56021         (M_LOG2El): Likewise.
56022         (M_LOG10El): Likewise.
56023         (M_LN2l): Likewise.
56024         (M_LN10l): Likewise.
56025         (M_PIl): Likewise.
56026         (M_PI_2l): Likewise.
56027         (M_PI_4l): Likewise.
56028         (M_1_PIl): Likewise.
56029         (M_2_PIl): Likewise.
56030         (M_2_SQRTPIl): Likewise.
56031         (M_SQRT2l): Likewise.
56032         (M_SQRT1_2l): Likewise.
56034 2012-05-31  David S. Miller  <davem@davemloft.net>
56036         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
56037         values between float registers.
56038         * sysdeps/sparc/sparc64/memset.S: Likewise.
56039         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
56041 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
56043         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
56044         -D_FORTIFY_SOURCE=1.
56045         (CPPFLAGS-tst-longjmp_chk.c): Define.
56046         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
56047         (CPPFLAGS-tst-longjmp_chk2.c): Define.
56048         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
56049         CFLAGS-tst-wchar-h.c.
56051 2012-05-31  Marek Polacek  <polacek@redhat.com>
56053         [BZ #14132]
56054         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
56055         __endmntent_internal): Remove declaration.
56056         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
56057         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
56058         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
56060 2012-05-30  David S. Miller  <davem@davemloft.net>
56062         * sysdeps/sparc/sparc32/soft-fp/q_util.c
56063         (___Q_simulate_exceptions): Use real FP ops rather than writing
56064         into the %fsr.
56065         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
56066         Likewise.
56068 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
56070         [BZ #14117]
56071         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
56072         * sysdeps/x86/bits/xtitypes.h: This.
56074         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
56075         * sysdeps/x86/bits/wordsize.h: This.
56077         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
56078         * sysdeps/x86/bits/huge_vall.h: This.
56080         * sysdeps/i386/bits/select.h: Removed.
56081         * sysdeps/x86_64/bits/select.h: Renamed to ...
56082         * sysdeps/x86/bits/select.h: This.
56084         * sysdeps/i386/bits/setjmp.h: Removed.
56085         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
56086         * sysdeps/x86/bits/setjmp.h: This.
56088         * sysdeps/i386/bits/mathdef.h: Removed.
56089         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
56090         * sysdeps/x86/bits/mathdef.h: This.
56092 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
56094         [BZ #14132]
56095         * include/sys/socket.h (__connect_internal)
56096         (__libc_sa_len_internal): Remove declaration.
56097         (__connect, __libc_sa_len): Declare hidden_proto.
56098         (SA_LEN): Remove use of INTUSE.
56099         * socket/connect.c: Add libc_hidden_def.
56100         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
56101         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
56102         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
56103         alias.
56104         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
56105         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
56106         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
56107         of adding _internal alias.
56109 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
56111         [BZ #14117]
56112         * sysdeps/i386/bits/link.h: Removed.
56113         * sysdeps/i386/bits/linkmap.h: Likewise.
56114         * sysdeps/x86_64/bits/link.h: Renamed to ...
56115         * sysdeps/x86/bits/link.h: This.
56116         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
56117         * sysdeps/x86/bits/linkmap.h: This.
56119         * sysdeps/i386/bits/endian.h: Removed.
56120         * sysdeps/x86_64/bits/endian.h: Renamed to ...
56121         * sysdeps/x86/bits/endian.h: This.
56123         * sysdeps/i386/bits/byteswap.h: Removed.
56124         * sysdeps/i386/bits/byteswap-16.h: Likewise.
56125         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
56126         * sysdeps/x86/bits/byteswap.h: This.
56127         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
56128         * sysdeps/x86/bits/byteswap-16.h: This.
56129         * sysdeps/i386/Implies: Add x86.
56130         * sysdeps/x86_64/Implies: Likewise.
56132 2012-05-30  David S. Miller  <davem@davemloft.net>
56134         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
56135         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
56136         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
56137         (FP_TRAPPING_EXCEPTIONS): Define.
56138         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
56139         (FP_TRAPPING_EXCEPTIONS): Define.
56140         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
56141         subnormals only when inexact has been signalled or underflow
56142         exceptions are enabled.
56143         (_FP_PACK_CANONICAL): Likewise.
56145 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
56147         [BZ #14183]
56148         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
56149         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
56151 2012-05-30  Richard Henderson  <rth@twiddle.net>
56153         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
56154         with #ifndef NOT_IN_libc.
56156         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
56157         marked to avoid plt entry.
56159 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
56161         [BZ #14112]
56162         * Makeconfig (default-abi): New macro.
56163         (abi-includes): Likewise.
56164         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
56165         $(abi-$(default-abi)-lib-soname) for soname if defined.
56166         ($(common-objpfx)gnu/lib-names.stmp): Generate from
56167         abi-variants.
56168         * Makefile (installed-stubs): Likewise.
56169         * include/stubs-biarch.h: Removed.
56170         * scripts/lib-names.awk: Only handle one library at a time.
56171         * scripts/soversions.awk: Remove WORDSIZE support.
56172         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
56173         entries.
56174         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
56175         Removed.
56176         (syscall-list-default-condition): Likewise.
56177         (syscall-list-default-condition): Likewise.
56178         (syscall-list-includes): Likewise.
56179         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
56180         syscall-list-* with abi-*.  Handle undefined abi-variants.
56181         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
56182         * sysdeps/unix/sysv/linux/i386/Implies: New file.
56183         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
56184         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
56185         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
56186         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
56187         Removed.
56188         (syscall-list-32-options): Likewise.
56189         (syscall-list-32-condition): Likewise.
56190         (syscall-list-64-options): Likewise.
56191         (syscall-list-64-condition): Likewise.
56192         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
56193         macro.
56194         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
56195         Renamed to ...
56196         (abi-*): This.
56197         (abi-64-ld-soname): New macro.
56198         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
56199         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
56200         Renamed to ...
56201         (abi-*): This.
56202         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
56203         * sysdeps/x86_64/x32/shlib-versions: Likewise.
56205 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
56207         * sysdeps/unix/sysv/linux/kernel-features.h
56208         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
56209         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
56210         include <kernel-features.h>.
56211         [!__NR_ftruncate64]: Remove conditional code.
56212         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
56213         [__NR_ftruncate64]: Make code unconditional.
56214         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
56215         * sysdeps/unix/sysv/linux/truncate64.c: Do not
56216         include <kernel-features.h>.
56217         [!__NR_ftruncate64]: Remove conditional code.
56218         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
56219         [__NR_ftruncate64]: Make code unconditional.
56220         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
56221         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
56222         include <kernel-features.h>.
56223         [!__NR_ftruncate64]: Remove conditional code.
56224         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
56225         [__NR_ftruncate64]: Make code unconditional.
56226         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
56227         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
56228         include <kernel-features.h>.
56229         [!__NR_ftruncate64]: Remove conditional code.
56230         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
56231         [__NR_ftruncate64]: Make code unconditional.
56232         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
56234         * configure.in (libc_cv_fpie): Weaken to a compile test using
56235         LIBC_TRY_CC_OPTION.
56236         * configure: Regenerated.
56238 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56240         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
56241         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
56242         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
56243         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
56244         Refreshed.
56245         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
56246         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
56247         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
56248         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
56249         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
56250         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
56251         Refreshed.
56253 2012-05-27  David S. Miller  <davem@davemloft.net>
56255         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
56256         (___Q_zero): New.
56257         (__Q_simulate_exceptions): Return void.  Change to simulate
56258         exceptions by writing into the %fsr.
56259         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
56260         (__Qp_handle_exceptions): Likewise.
56261         (numbers): Delete.
56262         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
56263         __Qp_handle_exceptions.
56264         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
56265         __Qp_handle_exceptions.
56266         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
56267         as unused and give dummy FP_RND_NEAREST initializer.
56268         (FP_INHIBIT_RESULTS): Define.
56269         (___Q_simulate_exceptions): Update declaration.
56270         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
56271         formatting.
56272         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
56273         as unused and give dummy FP_RND_NEAREST initializer.
56274         (__Qp_handle_exceptions): Update declaration.
56275         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
56276         formatting.
56278 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
56280         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
56281         the temporary FPU control word.
56282         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
56283         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
56284         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
56285         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
56286         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
56287         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
56288         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
56289         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
56290         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
56291         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
56292         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
56294 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56296         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
56297         fields.
56299 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
56301         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
56302         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
56303         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
56304         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
56305         Likewise.
56306         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
56307         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
56308         Likewise.
56310 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
56312         * po/h.po: Update from translation team.
56314 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
56316         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
56318         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
56319         handling of denormals.
56320         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
56321         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
56322         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
56323         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
56324         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
56325         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
56326         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
56327         Likewise.
56329 2012-05-26  Marek Polacek  <polacek@redhat.com>
56331         [BZ #14152]
56332         * math/libm-test.inc (fma_test): Don't always expect underflow
56333         exception.
56335 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
56337         [BZ #12416]
56338         * elf/tst-execstack.c: Include stackinfo.h.
56339         (do_test): Adjust test case to ensure that pthread_getattr_np
56340         behaviour remains the same after marking stack executable.
56342 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
56344         * sysdeps/unix/sysv/linux/kernel-features.h
56345         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
56346         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
56347         kernel-features.h.
56348         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
56349         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
56350         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
56351         kernel-features.h.
56352         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
56353         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
56355 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
56357         * configure.in: Define the default includes to being none.
56358         * configure: Regenerated.
56360 2012-05-25  Roland McGrath  <roland@hack.frob.com>
56362         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
56363         * sysdeps/x86_64/setjmp.S: Likewise.
56364         * sysdeps/i386/bsd-setjmp.S: Likewise.
56365         * sysdeps/i386/bsd-_setjmp.S: Likewise.
56366         * sysdeps/i386/setjmp.S: Likewise.
56367         * sysdeps/i386/__longjmp.S: Likewise.
56368         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
56369         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
56371         * include/stap-probe.h: New file.
56372         * configure.in: Handle --enable-systemtap.
56373         * configure: Regenerated.
56374         * config.h.in (USE_STAP_PROBE): New #undef.
56375         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
56376         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
56377         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
56379 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
56381         [BZ #13717]
56382         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
56383         to 2.4.0 where earlier.
56384         * sysdeps/unix/sysv/linux/configure: Regenerated.
56385         * sysdeps/unix/sysv/linux/i386/chown.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/fchown.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/fchownat.c (fchownat)
56394         [__ASSUME_32BITUIDS]: Make code unconditional.
56395         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
56396         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
56397         <kernel-features.h>.
56398         [__ASSUME_32BITUIDS]: Make code unconditional.
56399         [!__ASSUME_32BITUIDS]: Remove conditional code.
56400         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
56401         <kernel-features.h>.
56402         [__ASSUME_32BITUIDS]: Make code unconditional.
56403         [!__ASSUME_32BITUIDS]: Remove conditional code.
56404         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
56405         <kernel-features.h>.
56406         [__ASSUME_32BITUIDS]: Make code unconditional.
56407         [!__ASSUME_32BITUIDS]: Remove conditional code.
56408         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
56409         <kernel-features.h>.
56410         [__ASSUME_32BITUIDS]: Make code unconditional.
56411         [!__ASSUME_32BITUIDS]: Remove conditional code.
56412         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
56413         <kernel-features.h>.
56414         [__ASSUME_32BITUIDS]: Make code unconditional.
56415         [!__ASSUME_32BITUIDS]: Remove conditional code.
56416         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
56417         <kernel-features.h>.
56418         [__ASSUME_32BITUIDS]: Make code unconditional.
56419         [!__ASSUME_32BITUIDS]: Remove conditional code.
56420         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
56421         <kernel-features.h>.
56422         [__ASSUME_32BITUIDS]: Make code unconditional.
56423         [!__ASSUME_32BITUIDS]: Remove conditional code.
56424         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
56425         <kernel-features.h>.
56426         [__ASSUME_32BITUIDS]: Make code unconditional.
56427         [!__ASSUME_32BITUIDS]: Remove conditional code.
56428         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
56429         <kernel-features.h>.
56430         [__ASSUME_32BITUIDS]: Make code unconditional.
56431         [!__ASSUME_32BITUIDS]: Remove conditional code.
56432         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
56433         <kernel-features.h>.
56434         [__ASSUME_32BITUIDS]: Make code unconditional.
56435         [!__ASSUME_32BITUIDS]: Remove conditional code.
56436         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
56437         <kernel-features.h>.
56438         [__NR_setresgid] (__setresgid): Do not declare.
56439         [__ASSUME_32BITUIDS]: Make code unconditional.
56440         [!__ASSUME_32BITUIDS]: Remove conditional code.
56441         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
56442         <kernel-features.h>.
56443         [__NR_setresuid] (__setresuid): Do not declare.
56444         [__ASSUME_32BITUIDS]: Make code unconditional.
56445         [!__ASSUME_32BITUIDS]: Remove conditional code.
56446         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
56447         <kernel-features.h>.
56448         [__ASSUME_32BITUIDS]: Make code unconditional.
56449         [!__ASSUME_32BITUIDS]: Remove conditional code.
56450         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
56451         <kernel-features.h>.
56452         [__ASSUME_32BITUIDS]: Make code unconditional.
56453         [!__ASSUME_32BITUIDS]: Remove conditional code.
56454         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
56455         <kernel-features.h>.
56456         [__ASSUME_32BITUIDS]: Make code unconditional.
56457         [!__ASSUME_32BITUIDS]: Remove conditional code.
56458         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
56459         <kernel-features.h>.
56460         [__ASSUME_32BITUIDS]: Make code unconditional.
56461         [!__ASSUME_32BITUIDS]: Remove conditional code.
56462         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
56463         <kernel-features.h>.
56464         [__ASSUME_32BITUIDS]: Make code unconditional.
56465         [!__ASSUME_32BITUIDS]: Remove conditional code.
56466         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
56467         <kernel-features.h>.
56468         [__ASSUME_32BITUIDS]: Make code unconditional.
56469         [!__ASSUME_32BITUIDS]: Remove conditional code.
56470         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
56471         <kernel-features.h>.
56472         [__ASSUME_32BITUIDS]: Make code unconditional.
56473         [!__ASSUME_32BITUIDS]: Remove conditional code.
56474         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
56475         <kernel-features.h>.
56476         [__ASSUME_32BITUIDS]: Make code unconditional.
56477         [!__ASSUME_32BITUIDS]: Remove conditional code.
56478         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
56479         <kernel-features.h>.
56480         [__ASSUME_32BITUIDS]: Make code unconditional.
56481         [!__ASSUME_32BITUIDS]: Remove conditional code.
56482         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
56483         <kernel-features.h>.
56484         [__ASSUME_32BITUIDS]: Make code unconditional.
56485         [!__ASSUME_32BITUIDS]: Remove conditional code.
56486         * sysdeps/unix/sysv/linux/kernel-features.h
56487         (__ASSUME_SETRESUID_SYSCALL): Remove.
56488         (__ASSUME_SETRESGID_SYSCALL): Likewise.
56489         (__ASSUME_32BITUIDS): Likewise.
56490         (__ASSUME_LDT_WORKS): Likewise.
56491         (__ASSUME_O_DIRECTORY): Likewise.
56492         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
56493         architecture but not kernel version.
56494         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
56495         (__ASSUME_MMAP2_SYSCALL): Likewise.
56496         (__ASSUME_STAT64_SYSCALL): Likewise.
56497         (__ASSUME_IPC64): Likewise.
56498         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
56499         <kernel-features.h>.
56500         [__ASSUME_32BITUIDS]: Make code unconditional.
56501         [!__ASSUME_32BITUIDS]: Remove conditional code.
56502         * sysdeps/unix/sysv/linux/opendir.c: Do not include
56503         <kernel-features.h>.
56504         [__ASSUME_O_DIRECTORY]: Make code unconditional.
56505         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
56506         132096]: Remove conditional code.
56507         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
56508         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
56509         <kernel-features.h>.
56510         [__ASSUME_32BITUIDS]: Make code unconditional.
56511         [!__ASSUME_32BITUIDS]: Remove conditional code.
56512         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
56513         <kernel-features.h>.
56514         [__ASSUME_32BITUIDS]: Make code unconditional.
56515         [!__ASSUME_32BITUIDS]: Remove conditional code.
56516         * sysdeps/unix/sysv/linux/setegid.c: Do not include
56517         <kernel-features.h>.
56518         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
56519         unconditional.
56520         (__setresgid): Do not declare.
56521         [__ASSUME_32BITUIDS]: Make code unconditional.
56522         [!__ASSUME_32BITUIDS]: Remove conditional code.
56523         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
56524         <kernel-features.h>.
56525         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
56526         unconditional.
56527         (__setresuid): Do not declare.
56528         [__ASSUME_32BITUIDS]: Make code unconditional.
56529         [!__ASSUME_32BITUIDS]: Remove conditional code.
56530         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
56531         <kernel-features.h>.
56532         [__ASSUME_32BITUIDS]: Make code unconditional.
56533         [!__ASSUME_32BITUIDS]: Remove conditional code.
56534         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
56535         <kernel-features.h>.
56536         [__ASSUME_32BITUIDS]: Make code unconditional.
56537         [!__ASSUME_32BITUIDS]: Remove conditional code.
56539 2012-05-25  Richard Henderson  <rth@twiddle.net>
56541         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
56542         dl_hwcap to ifunc resolver.
56543         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
56544         elf_ifunc_invoke.
56545         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
56546         dl_hwcap to ifunc resolver.
56547         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
56549 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
56551         [BZ #14153]
56552         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
56553         for |x| <= 2**-26, not 2**-57.
56554         * math/libm-test.inc (acos_test): Do not allow spurious underflow
56555         exception.
56557 2012-05-24  Jeff Law  <law@redhat.com>
56559         * stdio-common/Makefile (tests): Add bug25.
56560         * stdio-common/bug25.c: New test.
56562 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
56564         [BZ #13576]
56565         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
56566         multiple of MALLOC_ALIGNMENT in size.
56567         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
56569 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
56571         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
56572         Require >= 256.
56573         (FILENAME_MAX): Use macro-int-constant.
56574         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
56575         (_IOFBF): Use macro-int-constant.
56576         (_IOLBF): Likewise.
56577         (_IONBF): Likewise.
56578         (SEEK_CUR): Likewise.
56579         (SEEK_END): Likewise.
56580         (SEEK_SET): Likewise.
56581         (TMP_MAX): Likewise.
56582         (EOF): Use macro-int-constant.  Require < 0.
56583         (NULL): Use macro-constant.  Require == 0.
56584         (stdin): Require type to be FILE *.
56585         (stdout): Likewise.
56586         (stderr): Likewise.
56587         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
56588         macro-int-constant.
56589         (EXIT_SUCCESS): Likewise.
56590         (NULL): Use macro-constant.  Require == 0.
56591         (RAND_MAX): Use macro-int-constant.
56592         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
56593         [C99-based standards] (strtof): Require function.
56594         [C99-based standards] (strtold): Likewise.
56595         [C99-based standards] (strtoll): Likewise.
56596         [C99-based standards] (strtoull): Likewise.
56597         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
56598         [ISO || ISO99 || ISO11] (limits.h): Likewise.
56599         [ISO || ISO99 || ISO11] (math.h): Likewise.
56600         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
56601         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
56602         [ISO || ISO99 || ISO11] (*_t): Do not allow.
56604 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
56606         [BZ #14132]
56607         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
56608         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
56609         * intl/dgettext.c (DCGETTEXT): Likewise.
56610         * intl/gettext.c (DCGETTEXT): Likewise.
56611         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
56612         * posix/regex_internal.h (gettext): Likewise.
56613         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
56614         Remove declaration.
56615         * include/argz.h (__argz_count_internal)
56616         (__argz_stringify_internal): Remove declaration.
56617         (__argz_count, __argz_stringify): Declare hidden proto.
56618         * intl/dcgettext.c: Remove use of INTDEF.
56619         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
56620         * string/argz-stringify.c: Likewise.
56621         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
56622         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
56623         Declare hidden proto.
56624         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
56625         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
56626         Declare hidden proto.
56627         * include/stdio.h (__asprintf_internal): Don't declare.
56628         (__asprintf): Don't define as macro.  Declare hidden proto.
56629         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
56630         (__fsetlocking): Declare hidden proto.
56631         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
56632         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
56633         hidden proto.
56634         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
56635         (_IO_setlinebuf): Remove use of INTUSE.
56636         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
56637         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
56638         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
56639         Remove declaration.
56640         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
56641         (_IO_do_flush): Remove use of INTUSE.
56642         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
56643         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
56644         (_IO_adjust_column, _IO_least_wmarker)
56645         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
56646         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
56647         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
56648         (_IO_default_doallocate, _IO_wdefault_doallocate)
56649         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
56650         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
56651         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
56652         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
56653         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
56654         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
56655         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
56656         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
56657         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
56658         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
56659         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
56660         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
56661         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
56662         proto.
56663         (_IO_flush_all_internal, _IO_adjust_column_internal)
56664         (_IO_default_uflow_internal, _IO_default_finish_internal)
56665         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
56666         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
56667         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
56668         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
56669         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
56670         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
56671         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
56672         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
56673         (_IO_file_close_internal, _IO_file_close_it_internal)
56674         (_IO_file_underflow_internal, _IO_file_overflow_internal)
56675         (_IO_file_init_internal, _IO_file_attach_internal)
56676         (_IO_file_fopen_internal, _IO_file_read_internal)
56677         (_IO_file_sync_internal, _IO_file_seek_internal)
56678         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
56679         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
56680         (_IO_str_underflow_internal, _IO_str_overflow_internal)
56681         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
56682         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
56683         (_IO_list_all_internal, _IO_link_in_internal)
56684         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
56685         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
56686         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
56687         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
56688         (_IO_do_write_internal, _IO_padn_internal)
56689         (_IO_getline_info_internal, _IO_getline_internal)
56690         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
56691         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
56692         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
56693         (_IO_vfscanf_internal, _IO_vfprintf_internal)
56694         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
56695         (_IO_init_internal, _IO_un_link_internal): Don't declare.
56696         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
56697         with libc_hidden_ver, remove use of INTUSE.
56698         * libio/genops.c: Likewise.
56699         * libio/freopen.c: Likewise.
56700         * libio/freopen64.c: Likewise.
56701         * libio/iofclose.c: Likewise.
56702         * libio/iofdopen.c: Likewise.
56703         * libio/iofflush.c: Likewise.
56704         * libio/iofflush_u.c: Likewise.
56705         * libio/iofgets.c: Likewise.
56706         * libio/iofgets_u.c: Likewise.
56707         * libio/iofopen.c: Likewise.
56708         * libio/iofopncook.c: Likewise.
56709         * libio/iofread.c: Likewise.
56710         * libio/iofread_u.c: Likewise.
56711         * libio/ioftell.c: Likewise.
56712         * libio/iofwrite.c: Likewise.
56713         * libio/iogetline.c: Likewise.
56714         * libio/iogets.c: Likewise.
56715         * libio/iogetwline.c: Likewise.
56716         * libio/iopadn.c: Likewise.
56717         * libio/iopopen.c: Likewise.
56718         * libio/ioseekoff.c: Likewise.
56719         * libio/ioseekpos.c: Likewise.
56720         * libio/iosetbuffer.c: Likewise.
56721         * libio/iosetvbuf.c: Likewise.
56722         * libio/ioungetc.c: Likewise.
56723         * libio/ioungetwc.c: Likewise.
56724         * libio/iovdprintf.c: Likewise.
56725         * libio/iovsprintf.c: Likewise.
56726         * libio/iovsscanf.c: Likewise.
56727         * libio/memstream.c: Likewise.
56728         * libio/obprintf.c: Likewise.
56729         * libio/oldfileops.c: Likewise.
56730         * libio/oldiofclose.c: Likewise.
56731         * libio/oldiofdopen.c: Likewise.
56732         * libio/oldiofopen.c: Likewise.
56733         * libio/oldiopopen.c: Likewise.
56734         * libio/oldstdfiles.c: Likewise.
56735         * libio/putc.c: Likewise.
56736         * libio/setbuf.c: Likewise.
56737         * libio/setlinebuf.c: Likewise.
56738         * libio/stdfiles.c: Likewise.
56739         * libio/strops.c: Likewise.
56740         * libio/vasprintf.c: Likewise.
56741         * libio/vscanf.c: Likewise.
56742         * libio/vsnprintf.c: Likewise.
56743         * libio/vswprintf.c: Likewise.
56744         * libio/wfiledoalloc.c: Likewise.
56745         * libio/wfileops.c: Likewise.
56746         * libio/wgenops.c: Likewise.
56747         * libio/wmemstream.c: Likewise.
56748         * libio/wstrops.c: Likewise.
56749         * libio/__fpurge.c: Likewise.
56750         * libio/__fsetlocking.c: Likewise.
56751         * assert/assert.c: Likewise.
56752         * debug/fgets_chk.c: Likewise.
56753         * debug/fgets_u_chk.c: Likewise.
56754         * debug/fread_chk.c: Likewise.
56755         * debug/fread_u_chk.c: Likewise.
56756         * debug/gets_chk.c: Likewise.
56757         * debug/obprintf_chk.c: Likewise.
56758         * debug/vasprintf_chk.c: Likewise.
56759         * debug/vdprintf_chk.c: Likewise.
56760         * debug/vsnprintf_chk.c: Likewise.
56761         * debug/vsprintf_chk.c: Likewise.
56762         * malloc/mtrace.c: Likewise.
56763         * misc/error.c: Likewise.
56764         * misc/syslog.c: Likewise.
56765         * stdio-common/asprintf.c: Likewise.
56766         * stdio-common/fxprintf.c: Likewise.
56767         * stdio-common/getw.c: Likewise.
56768         * stdio-common/isoc99_fscanf.c: Likewise.
56769         * stdio-common/isoc99_scanf.c: Likewise.
56770         * stdio-common/isoc99_vfscanf.c: Likewise.
56771         * stdio-common/isoc99_vscanf.c: Likewise.
56772         * stdio-common/isoc99_vsscanf.c: Likewise.
56773         * stdio-common/printf-prs.c: Likewise.
56774         * stdio-common/printf_fp.c: Likewise.
56775         * stdio-common/printf_fphex.c: Likewise.
56776         * stdio-common/printf_size.c: Likewise.
56777         * stdio-common/putw.c: Likewise.
56778         * stdio-common/scanf.c: Likewise.
56779         * stdio-common/sprintf.c: Likewise.
56780         * stdio-common/tmpfile.c: Likewise.
56781         * stdio-common/vfprintf.c: Likewise.
56782         * stdio-common/vfscanf.c: Likewise.
56783         * stdlib/strfmon_l.c: Likewise.
56784         * sunrpc/openchild.c: Likewise.
56785         * sunrpc/xdr_stdio.c: Likewise.
56786         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
56787         * sysdeps/mach/hurd/tmpfile.c: Likewise.
56789 2012-05-24  Roland McGrath  <roland@hack.frob.com>
56791         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
56793         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
56794         in the third column, to generate for the shared library an IFUNC
56795         that uses _dl_vdso_vsym.
56796         * Makerules (COMPILE.c, compile-stdin.c): New variables.
56797         * Makeconfig (object-suffixes-noshared): New variable.
56799         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
56800         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
56801         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
56802         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
56804         [BZ #14132]
56805         * include/sys/time.h (__gettimeofday): Remove macro.
56806         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
56807         * time/gettimeofday.c (__gettimeofday): Remove #undef.
56808         Remove INTDEF.
56809         (__gettimeofday): Add libc_hidden_def.
56810         (gettimeofday): Add libc_hidden_weak.
56811         * sysdeps/mach/gettimeofday.c: Likewise.
56812         * sysdeps/posix/gettimeofday.c: Likewise.
56813         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
56814         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
56815         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
56816         (__gettimeofday_internal): Remove strong_alias.
56817         (__gettimeofday): Add libc_hidden_def.
56818         (gettimeofday): Add libc_hidden_weak.
56819         * sysdeps/unix/syscalls.list (gettimeofday):
56820         Remove __gettimeofday_internal alias.
56822 2012-05-24  Daniel Jacobowitz  <drow@false.org>
56823             H.J. Lu  <hongjiu.lu@intel.com>
56825         [BZ #12495]
56826         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
56827         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
56828         (largebin_index_32_big): New.
56829         (largebin_index): Use it for 16-byte alignment.
56830         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
56831         correction with front_misalign.
56833 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
56835         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
56836         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
56837         Likewise.
56838         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
56839         Likewise.
56840         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
56841         Likewise.
56842         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
56843         Likewise.
56844         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
56845         Likewise.
56846         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
56847         Likewise.
56848         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
56849         Likewise.
56850         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
56851         Likewise.
56852         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
56853         Likewise.
56854         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
56855         Likewise.
56856         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
56857         Likewise.
56858         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
56859         Likewise.
56861         * scripts/data/c++-types-x32-linux-gnu.data: New file.
56862         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
56864 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
56866         [BZ #10846]
56867         [BZ #14036]
56868         * math/libm-test.inc (exp_test): Add test from bug 14036.
56869         (pow_test): Add test from bug 10846.
56871         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
56872         and other flags.
56873         (special_function): Do not include flags in test name.
56874         (parse_args): Likewise.
56875         * sysdeps/i386/fpu/libm-test-ulps: Update.
56876         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
56877         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
56878         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
56879         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56881         * math/gen-libm-test.pl (%beautify): Add entries for underflow
56882         exceptions.
56883         * math/libm-test.inc ("Philosophy"): Update comment about
56884         exception testing.
56885         (UNDERFLOW_EXCEPTION): New macro.
56886         (UNDERFLOW_EXCEPTION_OK): Likewise.
56887         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
56888         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
56889         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
56890         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
56891         (INVALID_EXCEPTION_OK): Update value.
56892         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
56893         (OVERFLOW_EXCEPTION_OK): Likewise.
56894         (IGNORE_ZERO_INF_SIGN): Likewise.
56895         (test_exceptions): Handle underflow exceptions.
56896         (acos_test): Update for underflow exception expectations.
56897         (cexp_test): Likewise.
56898         (clog_test): Likewise.
56899         (clog10_test): Likewise.
56900         (csqrt_test): Likewise.
56901         (ctan_test): Likewise.
56902         (ctanh_test): Likewise.
56903         (exp_test): Likewise.
56904         (exp10_test): Likewise.
56905         (exp2_test): Likewise.
56906         (expm1_test): Likewise.
56907         (fma_test): Likewise.
56908         (j0_test): Likewise.
56909         (jn_test): Likewise.
56910         (nexttoward_test): Likewise.
56911         (pow_test): Likewise.
56912         (scalbn_test): Likewise.
56913         (scalbln_test): Likewise.
56914         (tan_test): Likewise.
56915         (y1_test): Likewise.
56916         * sysdeps/i386/fpu/libm-test-ulps: Update.
56917         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56919 2012-05-23  David S. Miller  <davem@davemloft.net>
56921         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
56922         (__libc_sigaction): Remove unused local variables.
56924 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
56926         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
56928 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
56930         mktime: avoid signed integer overflow
56931         * time/mktime.c (__mktime_internal): Do not mishandle the case
56932         where diff == INT_MIN.
56934         mktime: simplify computation of average
56935         * time/mktime.c (ranged_convert): Use new time_t_avg function
56936         instead of rolling our own (probably-slower) code.
56938         mktime: do not assume signed right shift propagates sign bit
56939         * time/mktime.c (isdst_differ): New static function.
56940         (__mktime_internal): No need to normalize tm_isdst now.
56941         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
56942         tm_isdst values.
56944         mktime: merge another wrapv change from gnulib
56945         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
56946         from some compilers.
56948         mktime: remove incorrect attempt at unusual arithmetics
56949         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
56950         The code didn't really work on such machines anyway.
56951         (TYPE_MINIMUM): Assume two's complement.
56952         (twos_complement_arithmetic): Verify that long_int and time_t
56953         are two's complement (or unsigned, in the latter case).
56955         mktime: check signed shifts on long_int and time_t, too
56956         * time/mktime.c (SHR): Check that shifts work as desired
56957         on the types long_int and time_t too, as SHR is used on
56958         such types.
56960         mktime: do not assume 'long' is wide enough
56961         * time/mktime.c (verify): Move decl up.
56962         (long_int): New type.
56963         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
56964         to remove assumption in the code that 'long' is wide enough to
56965         store year values.  This assumption is not true on x32 and on
56966         some non-glibc platforms.
56968         mktime: merge wrapv change from gnulib
56969         * time/mktime.c (WRAPV): New macro.
56970         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
56971         (guess_time_tm, __mktime_internal): Do not assume that signed
56972         integer overflow wraps around; modern compilers generate code
56973         where this assumption is no longer valid.
56975 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
56977         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
56978         Replace "jmp L(pseudo_end)" with "ret".
56979         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
56980         Likewise.
56982 2012-05-23  Andreas Jaeger  <aj@suse.de>
56984         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
56985         * sysdeps/unix/sysv/linux/poll.c: Remove file.
56987 2012-05-23  Andreas Jaeger  <aj@suse.de>
56988             Maximilian Attems  <max@stro.at>
56990         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
56991         New macros.
56993 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
56995         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
56996         code so that pseudo_end is just ret and the stack pointer is
56997         correct also for static library in error case.
56999 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
57001         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
57002         move to syscalls.list.
57003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
57004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
57005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
57006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
57008         * manual/install.texi (Running make install): Do not mention Linux
57009         kernel version for which pt_chown is not needed.
57010         (Linux): Do not mention problems with nscd with 2.0 kernels.
57011         * INSTALL: Regenerated.
57013 2012-05-23  Andreas Jaeger  <aj@suse.de>
57015         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
57016         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
57017         macro.
57018         * sysdeps/unix/sysv/linux/s390/bits/mman.h
57019         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
57020         * sysdeps/unix/sysv/linux/sh/bits/mman.h
57021         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
57022         * sysdeps/unix/sysv/linux/i386/bits/mman.h
57023         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
57024         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
57025         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
57026         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
57027         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
57028         * sysdeps/unix/sysv/linux/bits/in.h
57029         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
57031 2012-05-22  Roland McGrath  <roland@hack.frob.com>
57033         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
57034         (PREPARE_VERSION): Just use assert instead, it will be elided
57035         under [NDEBUG] anyway.
57037 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
57039         * sysdeps/unix/sysv/linux/Makefile: Include
57040         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
57041         (sysdep_routines): Remove sysctl.
57042         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
57043         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
57044         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
57045         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
57046         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
57048 2012-05-22  Andreas Jaeger  <aj@suse.de>
57050         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
57051         that pseudo_end is just ret and the stack pointer is correct also
57052         for static library in error case.
57054 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
57056         [BZ #14122]
57057         * nss/nsswitch.c (defconfig_entries): New variable.
57058         (__nss_database_lookup): Don't leak defconfig entries.
57059         (nss_parse_service_list): Don't leak on error paths.
57060         (free_database_entries): New function.
57061         (free_defconfig): New function.
57062         (free_mem): Move common code to free_database_entries.
57064 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
57066         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
57067         Add arch_prctl.
57068         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
57070         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
57071         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
57072         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
57073         New macro.
57074         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
57075         (INTERNAL_SYSCALL_TYPES): Likewise.
57076         (LOAD_ARGS_TYPES_[1-6]): Likewise.
57077         (LOAD_REGS_TYPES_[1-6]): Likewise.
57078         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
57079         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
57081 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57083         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
57084         copysignl for GLIBC_2_0.
57085         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
57086         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
57087         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
57088         logbl for GLIBC_2_0.
57089         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
57090         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
57092 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
57094         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
57095         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
57097         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
57098         Use "neg %eax".
57100         * time/mktime.c: Update copyright years.
57102 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
57104         mktime: merge comment-quoting-style change from gnulib
57105         * time/mktime.c: Quote 'like this' in comments.
57106         The GNU coding standards suggest that we no longer quote `like this',
57107         as "`" and "'" are typically rendered asymmetrically nowadays.
57108         The typical gnulib style is to quote 'like this' when quoting
57109         code, and "like this" when quoting English.
57111         * time/mktime.c (compile-command): Add "-I.".
57113         mktime: merge mktime-internal.h change from gnulib
57114         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
57116         mktime: merge time_r change from gnulib
57117         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
57119         mktime: merge DEBUG change from gnulib
57120         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
57121         case system <time.h> has a #define.
57123         mktime: merge <sys/types.h> change from gnulib
57124         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
57125         since <time.t> is now guaranteed to define time_t.
57127         mktime: merge HAVE_CONFIG_H change from gnulib
57128         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
57130 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
57132         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
57133         Use "neg %eax".
57135         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
57136         __rlim_t cast.
57137         (struct rusage): Use anonymous union to pad each field to
57138         __syscall_slong_t.
57140 2012-05-21  David S. Miller  <davem@davemloft.net>
57142         * Makefules (o-iterator): Remove .s cases.
57143         (compile-command.s): Delete.
57144         (COMPILE.s): Delete.
57145         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
57147 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
57149         * configure.in (libc_cv_predef_stack_protector): Only consider
57150         "foobar" and "__stack_chk_fail" lines in libc_undefs.
57151         * configure: Regenerated.
57153 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
57155         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
57156         New macro.  Use R*LP on int and pointer.
57157         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
57158         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
57159         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
57160         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
57162         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
57163         [__WORDSIZE_TIME64_COMPAT32] instead of
57164         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
57165         (struct utmp): Likewise.
57166         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
57167         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
57168         Renamed to ...
57169         (__WORDSIZE_TIME64_COMPAT32): This.
57170         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
57171         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
57172         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
57173         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
57174         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
57175         (__WORDSIZE_TIME64_COMPAT32): New macro.
57177 2012-05-21  Andreas Jaeger  <aj@suse.de>
57179         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
57180         only if [SHARED]. Add prototype for __wcschr_ia32.
57182 2012-05-21  Roland McGrath  <roland@hack.frob.com>
57184         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
57185         of %rbp unmolested in the jmp_buf while mangling the low bits.
57186         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
57187         unmolested high bits of %rbp while demangling the low bits.
57188         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
57190 2012-05-21  Andreas Jaeger  <aj@suse.de>
57192         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
57193         * sunrpc/svc_simple.c: Use it for registerrpc.
57194         * sunrpc/xcrypt.c: Use it for passwd2des.
57196         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
57198 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
57200         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
57201         Don't define if [__SYSCALL_WORDSIZE != 32].
57202         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
57203         New macro.
57205 2012-05-21  Bruno Haible  <bruno@clisp.org>
57206             Andreas Jaeger  <aj@suse.de>
57208         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
57209         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
57210         inptr and inend for must_buffer_ch.
57211         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
57212         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
57213         * stdio-common/Makefile (tests): Remove bug15.
57214         (bug15-ENV): Remove macro.
57215         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
57216         anymore.
57218 2012-05-19  Andreas Jaeger  <aj@suse.de>
57219             Roland McGrath  <roland@hack.frob.com>
57221         * manual/contrib.texi: Completely rewritten. It contains now an
57222         alphabetical list of contributors and their contributions.
57224 2012-05-21  Richard Henderson  <rth@twiddle.net>
57226         * misc/getauxval.c (__getauxval): Use unsigned long int.
57227         * misc/sys/auxv.h: Include <sys/cdefs.h>.
57228         (getauxval): Use unsigned long int.
57230 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
57232         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
57234 2012-05-21  Roland McGrath  <roland@hack.frob.com>
57236         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
57237         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
57238         __alignof__ (long double).
57240 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57242         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57244 2012-05-20  Richard Henderson  <rth@twiddle.net>
57246         * misc/getauxval.c: New file.
57247         * misc/sys/auxv.h: New file.
57248         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
57249         (routines): Add getauxval.
57250         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
57251         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
57252         * elf/dl-sysdep.c (_dl_auxv): Remove.
57253         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
57254         * elf/dl-support.c (_dl_auxv): New variable.
57255         (_dl_aux_init): Initialize it.
57256         * manual/startup.texi (Auxiliary Vector): New node.
57257         * sysdeps/generic/bits/hwcap.h: New file.
57258         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
57259         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
57260         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
57261         * sysdeps/sparc/sysdep.h: ... here.  Include it.
57262         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
57263         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
57264         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
57265         Update.
57266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
57267         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
57268         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
57269         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
57270         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
57271         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
57272         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
57273         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
57275 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57277         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57279 2012-05-19  David S. Miller  <davem@davemloft.net>
57281         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57283 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
57285         [BZ #14123]
57286         * math/s_ccosh.c: Include <float.h>
57287         (__ccosh): Avoid internal overflow calculating sinh and cosh
57288         values before multiplying by sin and cos values.
57289         * math/s_ccoshf.c: Likewise.
57290         * math/s_ccoshl.c: Likewise.
57291         * math/s_csin.c: Likewise.
57292         * math/s_csinf.c: Likewise.
57293         * math/s_csinl.c: Likewise.
57294         * math/s_csinh.c: Likewise.
57295         * math/s_csinhf.c: Likewise.
57296         * math/s_csinhl.c: Likewise.
57297         * math/libm-test.inc (ccos_test): Add more tests.
57298         (ccosh_test): Likewise.
57299         (csin_test): Likewise.
57300         (csinh_test): Likewise.
57301         * sysdeps/i386/fpu/libm-test-ulps: Update.
57302         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57304 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
57306         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
57307         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
57309         * sysdeps/x86_64/x32/_itoa.h: Add comment.
57311 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
57313         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
57314         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
57315         * sysdeps/powerpc/soft-fp/Versions: Likewise.
57316         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
57317         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
57318         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
57319         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
57320         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
57321         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
57322         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
57323         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
57324         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
57325         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
57326         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
57327         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
57328         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
57329         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
57330         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
57331         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
57332         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
57333         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
57334         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
57335         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
57336         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
57337         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
57338         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
57339         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
57340         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
57341         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
57342         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
57343         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
57345 2012-05-18  Andreas Jaeger  <aj@suse.de>
57347         * csu/.gitignore: Delete.
57349 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
57351         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
57352         (timex): Use __syscall_slong_t.
57354 2012-05-18  Andreas Jaeger  <aj@suse.de>
57355             Carlos O'Donell  <carlos_odonell@mentor.com>
57357         * manual/install.texi (Configuring and compiling): Update
57358         description about files modified in the source directory.
57359         * INSTALL: Regenerated.
57361 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
57363         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
57364         value.  Use "or" to set return value to -1.
57365         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
57366         negate return value.
57368 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
57370         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
57371         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
57372         failure if the compiler has Graphite support disabled.
57373         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
57374         Likewise.
57375         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
57376         (CFLAGS-memmove.c): Likewise.
57377         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
57378         Likewise.
57380 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
57382         * sysdeps/x86_64/x32/_itoa.h: New file.
57384         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
57385         getdents system call only if kernel and user dirents have the
57386         same d_ino and d_off.
57388         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
57389         LLONG_MAX != LONG_MAX.
57390         (_itoa_word): Use _ITOA_WORD_TYPE on value.
57391         (_fitoa_word): Likewise.
57393         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
57394         years.
57395         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
57396         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
57397         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
57399         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
57400         include <bits/wordsize.h>.  Check __x86_64__ instead of
57401         __WORDSIZE.
57402         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
57403         if __x86_64__ is defined.  Use anonymous union on fpstate.
57405         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
57406         anonymous union.
57408 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
57410         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
57411         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
57412         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
57413         Refer to _rtld_local_ro instead of _rtld_global_ro.
57414         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
57415         Likewise.
57416         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
57417         Likewise.
57418         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
57419         Likewise.
57420         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
57421         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
57422         of _rtld_global, and rtld_progname instead of _dl_argv[0].
57424         [BZ #10882]
57425         * sysdeps/powerpc/powerpc32/dl-machine.c
57426         (__elf_machine_runtime_setup) [PROF]: Don't reference
57427         _dl_prof_resolve.
57429 2012-05-18  Andreas Jaeger  <aj@suse.de>
57431         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
57432         function only available for GCCs before 3.4 since GCC 3.4
57433         introduced a builtin.
57434         (lrint): Likewise.
57435         (llrintf): Likewise.
57436         (llrint): Likewise.
57437         (fmaxf): Likewise.
57438         (fmax): Likewise.
57439         (fminf): Likewise.
57440         (fmin): Likewise.
57441         (rint): Likewise.
57442         (rintf): Likewise.
57443         (nearbyint): Likewise.
57444         (nearbyintf): Likewise.
57445         (ceil): Likewise.
57446         (ceilf): Likewise.
57447         (floor): Likewise.
57448         (floorf): Likewise.
57450 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
57452         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
57453         on both fields and cast pointer to __syscall_ulong_t.
57455         * bits/types.h (__fsword_t): New type.
57456         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
57457         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
57458         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
57459         (__FSWORD_T_TYPE): Likewise.
57460         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
57461         (__FSWORD_T_TYPE): Likewise.
57462         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
57463         (__FSWORD_T_TYPE): Likewise.
57464         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
57465         (__FSWORD_T_TYPE): Likewise.
57466         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
57467         __SWORD_TYPE with __fsword_t.
57468         (statfs64): Likewise.
57470 2012-05-17  David S. Miller  <davem@davemloft.net>
57472         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
57474 2012-05-17  Andreas Jaeger  <aj@suse.de>
57476         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
57477         warning.
57479 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
57481         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
57483 2012-05-17  Andreas Jaeger  <aj@suse.de>
57485         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
57486         when it is used.
57488 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
57490         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
57492 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
57494         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
57495         * sysdeps/x86_64/tst-mallocalign1.c: New file.
57497 2012-05-17  Andreas Jaeger  <aj@suse.de>
57498             Carlos O'Donell  <carlos_odonell@mentor.com>
57500         [BZ #14059]
57501         * sysdeps/x86_64/multiarch/init-arch.h
57502         (bit_YMM_Usable): Rename to...
57503         (bit_AVX_Usable): ... this.
57504         (bit_FMA4_Usable): New macro.
57505         (bit_XMM_state): New macro.
57506         (bit_YMM_state): New macro.
57507         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
57508         [__ASSEMBLER__] (index_AVX_Usable): ... this.
57509         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
57510         (CPUID_OSXSAVE): New macro.
57511         (CPUID_AVX): New macro.
57512         (CPUID_FMA4): New macro.
57513         (index_YMM_Usable): Rename to...
57514         (index_AVX_Usable): ... this.
57515         (HAS_AVX): Use HAS_ARCH_FEATURE.
57516         (HAS_FMA4): Likewise.
57517         (HAS_YMM_USABLE): Remove.
57518         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57519         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
57520         are present.
57521         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
57522         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
57523         * sysdeps/x86_64/multiarch/Makefile: Likewise.
57524         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
57525         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
57527 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
57529         * math/libm-test.c: Support platforms without multiple rounding modes.
57530         * math/bug-nextafter.c: Support platforms without FP exceptions.
57531         * math/bug-nexttoward.c: Likewise.
57532         * math/test-fenv.c: Likewise.
57533         * math/test-misc.c: Likewise.
57534         * stdlib/bug-getcontext.c: Likewise.
57536 2012-05-17  Andreas Jaeger  <aj@suse.de>
57538         * manual/examples/search.c (critter_cmp): Change signature to
57539         avoid warnings.
57540         * manual/string.texi (Collation Functions): Likewise.
57542 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
57544         * bits/types.h: Fold copyright years.
57545         * bits/typesizes.h: Likewise.
57546         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
57547         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
57548         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
57549         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
57550         * time/time.h: Likewise.
57552 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
57554         [BZ #208]
57555         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
57556         in instead of returning them.  Return void.
57557         (__libc_mallinfo): Accumulate over all arenas.
57558         (__malloc_stats): Adjust for change in int_mallinfo interface.
57560 2012-05-16  Roland McGrath  <roland@hack.frob.com>
57562         [BZ #10375]
57563         * configure.in (NM): Add AC_CHECK_TOOL for it.
57564         (libc_extra_cflags): New substituted variable.
57565         Check for -fstack-protector being used implicitly.
57566         * configure: Regenerated.
57567         * config.make.in (config-extra-cflags): New variable,
57568         gets @libc_extra_cflags@.
57569         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
57571         [BZ #10375]
57572         * configure.in: Check for _FORTIFY_SOURCE being predefined.
57573         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
57574         * configure: Regenerated.
57575         * config.make.in (CPPUNDEFS): New substituted variable.
57576         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
57577         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
57578         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
57580 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
57582         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
57583         (mq_attr): Use __syscall_slong_t.
57585 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
57587         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
57588         Check __x86_64__ instead of __WORDSIZE.
57589         (_STAT_VER_LINUX): Likewise.
57590         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
57591         __syscall_ulong_t and __syscall_slong_t.
57592         (stat64): Likewise.
57594 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
57596         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
57598 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
57600         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
57602 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
57604         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
57605         __syscall_ulong_t.
57607         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
57608         include <bits/wordsize.h>.  Check __x86_64__ instead of
57609         __WORDSIZE.
57610         (greg_t): Use "__extension__ long long int" if __x86_64__ is
57611         defined.
57612         (mcontext_t): Replace "unsigned long" with "unsigned long long".
57614         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
57615         include <bits/wordsize.h>.  Check __x86_64__ instead of
57616         __WORDSIZE.
57617         (user_regs_struct): Use "__extension__ unsigned long long"
57618         instead of "unsigned long" if __x86_64__ is defined.
57619         (user): Likewise.  Pad after pointer field if __ILP32__ is
57620         defined.
57622 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
57624         * configure.in (makeinfo): Require version 4.5 or later.  Allow
57625         versions 5 to 9.
57626         * configure: Regenerated.
57627         * manual/install.texi (texinfo): Increase version requirement to
57628         4.5 or later.
57629         * INSTALL: Regenerated.
57631         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
57633 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
57635         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
57637         * sysdeps/x86_64/x32/ffs.c: New file.
57639         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
57640         __syscall_ulong_t.
57641         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
57642         defined.  Use __syscall_ulong_t.
57643         (shminfo): Use __syscall_ulong_t.
57644         (shm_info): Likewise.
57646         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
57647         __syscall_ulong_t.
57649         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
57650         <bits/wordsize.h>.
57651         (msgqnum_t): Use __syscall_ulong_t.
57652         (msglen_t): Likewise.
57653         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
57654         __syscall_ulong_t.
57656         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
57657         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
57659         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
57661         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
57662         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
57664         * sysvipc/sys/msg.h (msgbuf): Replace long int with
57665         __syscall_slong_t.
57667         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
57668         include <bits/wordsize.h>.  Check __x86_64__ instead of
57669         __WORDSIZE.
57671         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
57672         "unsigned long long int" if __x86_64__ is defined.
57673         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
57675         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
57676         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
57677         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
57679         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
57680         <stdint.h>.
57681         (GET_PC): Cast to uintptr_t first.
57682         (GET_FRAME): Likewise.
57683         (GET_STACK): Likewise.
57685         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
57686         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
57687         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
57688         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
57689         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
57690         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
57691         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
57692         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
57693         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
57694         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
57695         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
57696         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
57697         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
57698         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
57699         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
57700         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
57701         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
57702         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
57703         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
57704         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
57705         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
57706         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
57707         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
57708         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
57709         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
57710         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
57711         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
57712         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
57713         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
57715 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
57717         * Makerules (+depfiles): Also collect depfiles from .oS in
57718         $(extra-objs).
57719         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
57720         .oS, $(libnldbl-routines)).
57722         * Makerules (native-compile-mkdep-flags): Define.
57723         * sunrpc/Makefile (extra-objs): Add $(addprefix
57724         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
57725         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
57726         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
57727         calling $(make-target-directory).
57729 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57731         * bits/types.h (__snseconds_t): Removed.
57732         * time/time.h (struct timespec): Replace __snseconds_t with
57733         __syscall_slong_t.
57734         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
57735         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
57736         Likewise.
57737         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
57738         (__SNSECONDS_T_TYPE): Likewise.
57739         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
57740         (__SNSECONDS_T_TYPE): Likewise.
57741         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
57742         (__SNSECONDS_T_TYPE): Likewise.
57744 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57746         * sysdeps/mach/hurd/bits/typesizes.h
57747         (__SYSCALL_SLONG_TYPE): New macro.
57748         (__SYSCALL_ULONG_TYPE): Likewise.
57750 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57752         * bits/types.h (__syscall_slong_t): New type.
57753         (__syscall_ulong_t): Likewise.
57755         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
57756         (__SYSCALL_ULONG_TYPE): Likewise.
57757         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
57758         (__SYSCALL_SLONG_TYPE): Likewise.
57759         (__SYSCALL_ULONG_TYPE): Likewise.
57760         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
57761         (__SYSCALL_SLONG_TYPE): Likewise.
57762         (__SYSCALL_ULONG_TYPE): Likewise.
57763         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
57764         (__SYSCALL_SLONG_TYPE): Likewise.
57765         (__SYSCALL_ULONG_TYPE): Likewise.
57767 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57769         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
57770         Add sigaltstack-offsets.sym.
57771         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
57772         <sigaltstack-offsets.h>.
57773         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
57774         longjmp_msg pointer.
57775         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
57776         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
57777         signal stack.
57778         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
57780 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
57782         * elf/stackguard-macros.h: Remove file.
57783         * sysdeps/generic/stackguard-macros.h: New file.
57784         * sysdeps/i386/stackguard-macros.h: Likewise.
57785         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
57786         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
57787         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
57788         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
57789         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
57790         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
57791         * sysdeps/x86_64/stackguard-macros.h: Likewise.
57792         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
57793         <elf/stackguard-macros.h>.
57795         [BZ #14109]
57796         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
57797         __aligned__ in attribute.
57798         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
57799         (gregset_t): Likewise.
57801 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57803         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
57804         * sysdeps/x86_64/64/Implies-after: Here.  New file.
57805         * sysdeps/x86_64/x32/Implies-after: New file.
57807 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57809         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
57810         and access return value for _dl_profile_fixup.  Use R10_LP to
57811         load frame size.
57813 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57815         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
57817 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57819         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
57820         * sysdeps/x86_64/x32/sysdep.h: New file.
57822 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57824         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
57825         * sysdeps/x86_64/setjmp.S: Likewise.
57827 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57829         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
57830         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
57831         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
57832         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
57833         remove unused global constant.
57835 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
57837         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
57838         include of <not-cancel.h>.
57840 2012-05-15  Roland McGrath  <roland@hack.frob.com>
57842         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
57844 2012-05-15  Jeff Law  <law@redhat.com>
57845             Andreas Jaeger  <aj@suse.de>
57847         [BZ #13594]
57848         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
57849         out from...
57850         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
57851         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
57852         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
57853         code changing __hst_map_handle.map.
57855 2012-05-15  Roland McGrath  <roland@hack.frob.com>
57857         * configure.in (sysnames): Look for Implies-before and Implies-after
57858         files.
57859         * configure: Regenerated.
57861 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57863         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
57864         8-byte data alignment with LP_SIZE alignment.
57866 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57868         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
57869         into R10_LP.
57871 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57873         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
57875 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57877         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
57878         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
57879         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
57880         Likewise.
57881         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
57883 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57885         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
57886         (stackinfo_sub_sp): Likewise.
57888 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57890         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
57891         RAX_LP.
57893 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57895         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
57896         into R*_LP.
57898 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57900         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
57901         sizes into R*_LP.
57903 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57905         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
57907 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57909         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
57910         into R11_LP and load __x86_64_shared_cache_size_half into
57911         R8_LP.
57913 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57915         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
57916         R8_LP.
57918 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57920         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
57921         logb for POWER7.
57922         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
57923         logbf for POWER7.
57924         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
57925         logbl for POWER7.
57926         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
57927         powerpc32/power7/fpu/s_logb.c via #include.
57928         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
57929         powerpc32/power7/fpu/s_logbf.c via #include.
57930         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
57931         powerpc32/power7/fpu/s_logbl.c via #include.
57933 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
57935         * README.libm: Remove file.
57937 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
57939         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
57940         count for x32.  Use R*_LP and omit operand-size suffix.
57942 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
57944         * shlib-versions: Move x86_64-.*-linux.* entries to ...
57945         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
57946         * sysdeps/x86_64/x32/shlib-versions: New file.
57948 2012-05-14  Roland McGrath  <roland@hack.frob.com>
57950         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
57951         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
57952         Use _dl_fatal_printf instead.
57954 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
57956         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
57957         set if not set by the user.  Do not allow for being unset.
57958         * sysdeps/unix/sysv/linux/configure: Regenerated.
57960 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
57962         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
57963         the `q' suffix from lea and replace .quad with ASM_ADDR.
57965 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
57967         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
57968         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
57969         instead of $17.
57970         (PTR_DEMANGLE): Likewise.
57972 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
57974         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
57975         (LP_OP): Likewise.
57976         (ASM_ADDR): Likewise.
57977         (RAX_LP): Likewise.
57978         (RBP_LP): Likewise.
57979         (RBX_LP): Likewise.
57980         (RCX_LP): Likewise.
57981         (RDI_LP): Likewise.
57982         (RSI_LP): Likewise.
57983         (RSP_LP): Likewise.
57984         (R8_LP): Likewise.
57985         (R9_LP): Likewise.
57986         (R10_LP): Likewise.
57987         (R10_LP): Likewise.
57988         (R11_LP): Likewise.
57989         (R12_LP): Likewise.
57990         (R13_LP): Likewise.
57991         (R14_LP): Likewise.
57992         (R15_LP): Likewise.
57994 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
57996         * sysdeps/x86_64/x32/dl-machine.h: New file.
57998 2012-05-14  Andreas Jaeger  <aj@suse.de>
58000         * manual/Makefile (subdir): Remove export of subdir.
58001         (all): Remove target.
58002         (.PHONY): Remove all from list.
58003         (mkinstalldirs): Remove.
58004         (.PHONY): Remove installdirs from list.
58005         ($(inst_infodir)/libc.info): Use make-target-directory.
58006         (installdirs): Remove.
58007         (subdir_%): Remove.
58008         (glibc-targets): Remove.
58009         (lib): Remove.
58010         (stubs): Remove.
58011         ($(objpfx)stubs ../po/manual.pot): Remove.
58012         ($(objpfx)stamp%): Remove.
58013         (make-target-directory): Remove.
58014         (subdir_install): Remove.
58015         (routines): Remove.
58016         (aux): Remove.
58017         (sources): Remove.
58018         (objects): Remove.
58019         (headers): Remove.
58021         [BZ #13750]
58022         * manual/.gitignore: Remove, it's not needed anymore.
58023         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
58024         all files in it.
58025         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
58026         directory.
58027         (texis): Renamed to $(objpfx)texis.
58028         (texis-path): New, contains path to generated files.
58029         (chapters.%): Use texis-path for complete path, add extra argument
58030         libc-texinfo.sh.
58031         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
58032         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
58033         (summary,texi, stamp-summary): Use complete path of
58034         files. Generate files in build dir.
58035         (dir-add.texi): Build in build dir.
58036         (libm-err.texi,stamp-libm-err): Likewise.
58037         (version.texi, stamp-version): Likewise.
58038         (.%c.texi): Likewise.
58039         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
58040         (mostlyclean): Remove target.
58041         (realclean): Remove target.
58042         (generated): Add new variable with contents from mostlyclean and
58043         realclean, remove entries duplicated in common-mostlyclean, add
58044         stamp-libm-err and stamp-version.
58045         (generated-dirs): Add libc directory.
58046         ($(inst_infodir)/libc.info): Install files from build dir.
58048         * manual/install.texi (Configuring and compiling): Adjust since
58049         the info files are not part of the tar ball anymore.
58051 2012-05-14  Andreas Jaeger  <aj@suse.de>
58053         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
58054         variable.
58056 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
58058         [BZ #13717]
58059         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
58060         to 2.2.0 where earlier.
58061         * sysdeps/unix/sysv/linux/configure: Regenerated.
58062         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
58063         Remove conditional code.
58064         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
58065         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
58066         Remove conditional code.
58067         [!__NR_lchown]: Likewise.
58068         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
58069         [__NR_lchown]: Likewise.
58070         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
58071         comment referencing __ASSUME_LCHOWN_SYSCALL.
58072         * sysdeps/unix/sysv/linux/i386/sigaction.c
58073         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
58074         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
58075         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
58076         Remove conditional code.
58077         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
58078         (__protocol_available): Remove #if 0 code.
58079         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
58080         conditional code.
58081         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
58082         * sysdeps/unix/sysv/linux/kernel-features.h
58083         (__ASSUME_GETCWD_SYSCALL): Don't define.
58084         (__ASSUME_REALTIME_SIGNALS): Likewise.
58085         (__ASSUME_PREAD_SYSCALL): Likewise.
58086         (__ASSUME_PWRITE_SYSCALL): Likewise.
58087         (__ASSUME_POLL_SYSCALL): Likewise.
58088         (__ASSUME_LCHOWN_SYSCALL): Likewise.
58089         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
58090         non-SPARC.
58091         (__ASSUME_SIOCGIFNAME): Don't define.
58092         (__ASSUME_MSG_NOSIGNAL): Likewise.
58093         (__ASSUME_SENDFILE): Define unconditionally.
58094         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
58095         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
58096         conditional code.
58097         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
58098         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
58099         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
58100         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
58101         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
58102         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
58103         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
58104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
58105         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
58106         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
58107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
58108         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
58109         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
58110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
58111         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
58112         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
58113         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
58114         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
58115         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
58116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
58117         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
58118         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
58119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
58120         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
58121         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
58122         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
58123         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
58124         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
58125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
58126         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
58127         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
58128         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
58129         Remove conditional code.
58130         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
58131         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
58132         Remove conditional code.
58133         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
58134         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
58135         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
58136         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
58137         Remove conditional code.
58138         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
58139         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
58140         Remove conditional code.
58141         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
58142         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
58143         Remove conditional code.
58144         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
58145         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
58146         Remove conditional code.
58147         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
58148         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
58149         Remove conditional code.
58150         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
58151         * sysdeps/unix/sysv/linux/sh/pwrite64.c
58152         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
58153         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
58154         * sysdeps/unix/sysv/linux/sigaction.c
58155         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
58156         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
58157         * sysdeps/unix/sysv/linux/sigpending.c
58158         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
58159         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
58160         * sysdeps/unix/sysv/linux/sigprocmask.c
58161         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
58162         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
58163         * sysdeps/unix/sysv/linux/sigsuspend.c
58164         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
58165         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
58166         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
58167         (__libc_missing_rt_sigs): Remove.
58168         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
58169         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
58170         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
58171         Remove conditional code.
58172         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
58173         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
58174         return 1.
58175         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
58176         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
58177         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
58178         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
58180 2012-05-14  Andreas Jaeger  <aj@suse.de>
58182         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
58183         it's not used in glibc.
58184         (__coshm1): Likewise.
58185         (__acosh1p): Likewise.
58186         (__sgn): Likewise.
58188         * manual/string.texi (Copying and Concatenation): Add missing
58189         variable in concat example.
58190         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
58192 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
58194         [BZ #14103]
58195         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
58196         __builtin_clzl with __builtin_clzll.
58198 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
58200         [BZ #14104]
58201         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
58202         libc_freeres_ptr.
58204 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58206         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
58207         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
58208         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
58209         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
58211 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
58213         * NEWS: Update ia64 info.
58215 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
58217         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
58218         used as bcopy.
58220 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
58222         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
58223         * sysdeps/unix/syscalls.list (dup3): Likewise.
58224         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
58225         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
58227 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
58229         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
58230         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
58232 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
58234         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
58235         thread pointer.
58236         (TLS_IE): Use mov/add instead of movq/addq to load thread
58237         pointer.
58238         (TLS_GD_PREFIX): New.
58239         (TLS_GD): Use it.
58241 2012-05-11  David S. Miller  <davem@davemloft.net>
58243         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
58244         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
58245         (_FPU_SETCW): Likewise.
58247 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
58249         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
58250         is 32-byte aligned.
58252 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
58254         [BZ #11837]
58255         * iconvdata/gb18030.c: Update tables.
58256         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
58257         characters specially.
58258         (BODY for TO_LOOP): Add encoding of missing ranges.
58260 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
58262         [BZ #13673]
58263         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
58264         * sysdeps/mach/hurd/dup3.c: Likewise.
58265         * sysdeps/mach/hurd/readlinkat.c: Likewise.
58266         * sysdeps/powerpc/memmove.c:: Likewise.
58268 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
58270         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
58271         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
58273 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
58275         * elf/elf.h (R_X86_64_RELATIVE64): New.
58276         (R_X86_64_NUM): Updated.
58277         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
58278         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
58279         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
58280         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
58281         tst-quad1pie tst-quad2pie
58282         (modules-names): Add tst-quadmod1 tst-quadmod2.
58283         ($(objpfx)tst-quad1): New dependency.
58284         ($(objpfx)tst-quad2): Likewise.
58285         ($(objpfx)tst-quad1pie): Likewise.
58286         ($(objpfx)tst-quad2pie): Likewise.
58287         * sysdeps/x86_64/tst-quad1.c: New file.
58288         * sysdeps/x86_64/tst-quad1pie.c: New file.
58289         * sysdeps/x86_64/tst-quad2.c: Likewise.
58290         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
58291         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
58292         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
58293         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
58294         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
58296 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58298         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
58299         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
58300         * streams/stropts.h (t_scalar_t): Define type.
58302         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
58303         (_PATH_PRESERVE): Set to "/var/lib".
58304         (_PATH_RWHODIR): Set to "/var/spool/rwho".
58306         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
58307         instead of int.
58309         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
58310         if __dir_mkfile succeeded.
58312         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
58313         checking for _hurd_dtablesize.  Unlock it right after having
58314         finished _hurd_dtable allocation.
58316 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
58318         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
58319         * sysdeps/mach/hurd/configure: Regenerated.
58320         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
58321         special-casing to...
58322         * sysdeps/gnu/configure.in: ... this new file.
58323         * sysdeps/unix/sysv/linux/configure: Regenerated.
58324         * sysdeps/gnu/configure: New generated file.
58326         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
58327         for Linux: use nsec instead of usec, as well as:
58328         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
58329         members of type struct timespec.
58330         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
58331         New macros.
58332         (struct stat64): Likewise.
58333         (_STATBUF_ST_NSEC): New macro.
58334         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
58336         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
58337         __strtoul_internal rather than strtoul.
58339 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
58341         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
58342         and reject them.
58344 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58346         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
58347         which preserves existing values.
58348         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
58350 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
58352         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
58353         TIMEOUT values.  Return EINVAL for NFDS values either negative or
58354         greater than FD_SETSIZE.
58356 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58358         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
58359         allocated, call __vm_protect to finish enabling the existing space, and
58360         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
58361         allocate the remainder.
58363 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
58365         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
58366         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
58368 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58370         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
58371         sysdeps/mach/hurd/readlink.c.
58373         * posix/tst-sysconf.c (posix_options): Only use
58374         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
58375         _POSIX_SYNCHRONIZED_IO when they are defined
58376         * sysdeps/mach/hurd/bits/posix_opt.h:
58377         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
58378         (_XOPEN_REALTIME): Undefine macro.
58379         (_XOPEN_REALTIME_THREADS): Undefine macro.
58380         (_XOPEN_SHM): Undefine macro.
58381         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
58382         macro to -1.
58383         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
58384         macro to -1.
58385         (_POSIX_ASYNC_IO): Undefine macro.
58386         (_POSIX_PRIORITIZED_IO): Undefine macro.
58387         (_POSIX_SPIN_LOCKS): Define macro to -1.
58389         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
58390         SA_NODEFER, SA_RESETHAND.
58391         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
58392         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
58393         F_DUPFD_CLOEXEC.
58395 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
58397         * elf/Makefile (pldd-modules): Define unconditionally.
58399 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
58401         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
58403 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58405         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
58406         Return ENOENT when name is empty.
58407         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
58409 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
58411         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
58413         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
58415 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58417         Fix mlock in all cases except non-readable pages.
58418         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
58419         instead of VM_PROT_ALL as parameter to __vm_wire function.
58421         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
58422         (__mkdir): When path is `/', just fail with EEXIST.
58423         * sysdeps/mach/hurd/mkdirat.c: Likewise.
58425 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
58427         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
58428         <sys/uio.h> (for writev).
58429         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
58430         and <sys/param.h> (for MIN).
58432 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
58434         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
58435         REQUESTED_TIME.  Properly set the remaining time and return EINTR
58436         if interrupted.
58438 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
58440         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
58441         Depend on against $(link-rpcuserlibs).
58443 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58445         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
58446         (__libc_stack_end): Do not use attribute_relro.
58447         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
58448         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
58449         to libthread-provided value.
58450         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
58451         attribute_relro.
58453 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
58455         [BZ #3748]
58456         * bits/libc-lock.h (__libc_once_get): New macro.
58457         * sysdeps/mach/bits/libc-lock.h: Likewise.
58458         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
58459         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
58460         instead of using implementation details.
58462         * libio/fileops.c: Unconditionally include <kernel-features.h>.
58463         * libio/freopen.c: Likewise.
58464         * libio/freopen64.c: Likewise.
58465         * misc/syslog.c: Likewise.
58466         * nscd/connections.c: Likewise.
58467         * nscd/netgroupcache.c: Likewise.
58468         * sysdeps/posix/getcwd.c: Likewise.
58470 2012-05-10  Roland McGrath  <roland@hack.frob.com>
58472         * math/w_ilogbf.c: Add #include <limits.h>.
58474 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58476         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
58477         path instead of returning without unlocking.
58479         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
58480         immediate-write ioctls.
58481         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
58483 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
58485         * sysdeps/mach/hurd/i386/init-first.c (init): Use
58486         __builtin_frame_address instead of making assumptions about the
58487         location of the return address relative to DATA.  Force early load of
58488         the return address.
58489         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
58490         __builtin_frame_address.
58492         dup3 for GNU Hurd.
58493         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
58494         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
58495         implement dup3 and do some further code clean-ups.
58496         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
58497         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
58499 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58501         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
58503         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
58504         HURD_CRITICAL_END around holding _hurd_dtable_lock.
58505         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
58506         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
58507         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
58508         d->port.lock.
58510         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
58511         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
58512         when handler == SIG_ERR, not when handler != SIG_ERR.
58514 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
58516         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
58517         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
58518         definitions.
58520         accept4 for GNU Hurd.
58521         * include/sys/socket.h (__libc_accept4): New prototype.
58522         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
58523         to implement __libc_accept4.
58524         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
58525         __libc_accept4.
58526         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
58528         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
58529         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
58530         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
58531         signal-defines.sym.
58533 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58535         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
58537 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
58539         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
58540         assertion on O_CLOEXEC flag.
58541         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
58542         * hurd/intern-fd.c: Likewise.
58543         * hurd/port2fd.c: Likewise.
58545 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58547         [BZ #3906]
58548         * bits/in.h (IPV6_PKTINFO): Define new macro.
58549         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
58551 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58553         [BZ #13954]
58554         [BZ #13955]
58555         [BZ #13956]
58556         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
58557         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
58558         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
58559         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
58560         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
58561         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
58562         * math/libm-test.inc (logb_test) : Additional logb tests.
58564 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
58565             Andreas Jaeger  <aj@suse.de>
58567         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
58568         * configure: Regenerated.
58569         * config.h.in (LINK_OBSOLETE_RPC): New macro.
58570         * config.make.in (link-obsolete-rpc): New substituted variable.
58571         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
58572         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
58573         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
58574         (shared-only-routines): Don't set it under [link-obsolete-rpc],
58575         so that libc.a contains the symbols.
58576         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
58577         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
58578         * sunrpc/auth_none.c: Likewise.
58579         * sunrpc/auth_unix.c: Likewise.
58580         * sunrpc/authdes_prot.c: Likewise.
58581         * sunrpc/authuxprot.c: Likewise.
58582         * sunrpc/clnt_gen.c: Likewise.
58583         * sunrpc/clnt_perr.c: Likewise.
58584         * sunrpc/clnt_raw.c: Likewise.
58585         * sunrpc/clnt_simp.c: Likewise.
58586         * sunrpc/clnt_tcp.c: Likewise.
58587         * sunrpc/clnt_udp.c: Likewise.
58588         * sunrpc/clnt_unix.c: Likewise.
58589         * sunrpc/des_crypt.c: Likewise.
58590         * sunrpc/des_soft.c: Likewise.
58591         * sunrpc/get_myaddr.c: Likewise.
58592         * sunrpc/key_call.c: Likewise.
58593         * sunrpc/key_prot.c: Likewise.
58594         * sunrpc/netname.c: Likewise.
58595         * sunrpc/pm_getmaps.c: Likewise.
58596         * sunrpc/pm_getport.c: Likewise.
58597         * sunrpc/pmap_clnt.c: Likewise.
58598         * sunrpc/pmap_prot.c: Likewise.
58599         * sunrpc/pmap_prot2.c: Likewise.
58600         * sunrpc/pmap_rmt.c: Likewise.
58601         * sunrpc/publickey.c: Likewise.
58602         * sunrpc/rpc_cmsg.c: Likewise.
58603         * sunrpc/rpc_common.c: Likewise.
58604         * sunrpc/rpc_dtable.c: Likewise.
58605         * sunrpc/rpc_prot.c: Likewise.
58606         * sunrpc/rpc_thread.c: Likewise.
58607         * sunrpc/rtime.c: Likewise.
58608         * sunrpc/svc.c: Likewise.
58609         * sunrpc/svc_auth.c: Likewise.
58610         * sunrpc/svc_raw.c: Likewise.
58611         * sunrpc/svc_run.c: Likewise.
58612         * sunrpc/svc_tcp.c: Likewise.
58613         * sunrpc/svc_udp.c: Likewise.
58614         * sunrpc/svc_unix.c: Likewise.
58615         * sunrpc/svcauth_des.c: Likewise.
58616         * sunrpc/xcrypt.c: Likewise.
58617         * sunrpc/xdr.c: Likewise.
58618         * sunrpc/xdr_array.c: Likewise.
58619         * sunrpc/xdr_float.c: Likewise.
58620         * sunrpc/xdr_intXX_t.c: Likewise.
58621         * sunrpc/xdr_mem.c: Likewise.
58622         * sunrpc/xdr_rec.c: Likewise.
58623         * sunrpc/xdr_ref.c: Likewise.
58624         * sunrpc/xdr_sizeof.c: Likewise.
58625         * sunrpc/xdr_stdio.c: Likewise.
58627 2012-05-10  Roland McGrath  <roland@hack.frob.com>
58629         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
58630         change.  Update copyright years.
58632 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
58634         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
58636 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
58637             Joseph Myers  <joseph@codesourcery.com>
58638             Paul Pluzhnikov  <ppluzhnikov@google.com>
58640         [BZ #14012]
58641         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
58642         requiring rpcgen.
58643         [cross-compiling] (extra-libs): Likewise.
58644         [cross-compiling] (extra-libs-others): Likewise.
58645         [cross-compiling] (librpcsvc-routines): Likewise.
58646         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
58647         [cross-compiling] (omit-deps): Likewise.
58648         (sunrpc-CPPFLAGS): New variable.
58649         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
58650         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
58651         (cross-rpcgen-objs): New variable.
58652         (extra-objs): Append $(cross-rpcgen-objs).
58653         ($(cross-rpcgen-objs)): New rule.
58654         ($(objpfx)cross-rpcgen): Likewise.
58655         (rpcgen-cmd): Define to use $(built-program-file).  Expand
58656         comment.
58657         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
58658         ($(objpfx)x%.stmp): Likewise.
58659         * sunrpc/proto.h [IS_IN_build] (_): Define.
58660         [IS_IN_build] (_libc_intl_domainname): Likewise.
58662 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
58664         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
58665         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
58666         and R_X86_64_TPOFF64.
58668 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
58670         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
58671         sysdeps/unix/sysv/syscalls.list.
58672         (stime): Likewise.
58673         (utime): Likewise.
58674         * sysdeps/unix/sysv/syscalls.list: Remove file.
58676 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
58678         [BZ #3440]
58679         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
58680         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
58681         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
58682         (__LC_IDENTIFICATION): Make these macros useful in #if
58683         expressions, as required by C99.
58685 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
58687         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
58688         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
58689         after this.
58691 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
58693         * stdlib/longlong.h: Updated from GCC.
58695 2012-05-09  Andreas Jaeger  <aj@suse.de>
58697         * nscd/nscd.c (run_modes): Make named enum, reorder so that
58698         default is first entry.
58699         (run_mode): Set type.
58700         (main): Remove informal message about syslog.
58701         (options): Fix typo.
58703         [BZ #14053]
58704         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
58705         to asm.
58706         (lrint): Likewise.
58707         (llrintf): Likewise.
58708         (llrint): Likewise.
58709         (rint): Likewise.
58710         (rintf): Likewise.
58711         (nearbyint): Likewise.
58712         (nearbyintf): Likewise.
58714 2012-05-09  Andreas Jaeger  <aj@suse.de>
58715             Pedro Alves  <palves@redhat.com>
58717         * nscd/nscd.c (run_mode): Use enum.
58718         (main): Cleanup coding style issue.
58720 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
58721             Andreas Jaeger  <aj@suse.de>
58723         * nscd/nscd.c (go_background): Replaced with...
58724         (run_mode): ... this.
58725         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
58726         (options): Add -F --foreground.
58727         (main): Implement it.
58728         (parse_opt): Parse it.
58730 2012-05-09  Andreas Jaeger  <aj@suse.de>
58732         [BZ #14083]
58733         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
58734         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
58735         -Wconversion warning.
58736         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
58737         Likewise.
58739 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
58741         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
58742         == 0.
58743         (LC_ALL): Use macro-int-constant.
58744         (LC_COLLATE): Likewise.
58745         (LC_CTYPE): Likewise.
58746         (LC_MESSAGES): Likewise.
58747         (LC_MONETARY): Likewise.
58748         (LC_NUMERIC): Likewise.
58749         (LC_TIME): Likewise.
58750         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
58751         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
58752         [ISO || ISO99 || ISO11] (*_t): Do not allow.
58753         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
58754         Specify type.
58755         [C99-based standards] (float_t): Expect type.
58756         [C99-based standards] (double_t): Expect type.
58757         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
58758         type.
58759         [C99-based standards] (HUGE_VALL): Likewise.
58760         [C99-based standards] (INFINITY): Likewise.
58761         [C99-based standards] (NAN): Likewise.
58762         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
58763         [C99-based standards] (FP_NAN): Likewise.
58764         [C99-based standards] (FP_NORMAL): Likewise.
58765         [C99-based standards] (FP_SUBNORMAL): Likewise.
58766         [C99-based standards] (FP_ZERO): Likewise.
58767         [C99-based standards] (FP_FAST_FMA): Use
58768         optional-macro-int-constant.  Specify type.  Require == 1.
58769         [C99-based standards] (FP_FAST_FMAF): Likewise.
58770         [C99-based standards] (FP_FAST_FMAL): Likewise.
58771         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
58772         [C99-based standards] (FP_ILOGBNAN): Likewise.
58773         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
58774         Specify type.
58775         [C99-based standards] (MATH_ERREXCEPT): Likewise.
58776         [C99-based standards] (math_errhandling): Specify type.
58777         [ISO99 || ISO11] (signgam): Do not allow.
58778         [non-C99-based standards] (copysignf): Do not allow.
58779         [non-C99-based standards] (exp2f): Likewise.
58780         [non-C99-based standards] (log2f): Likewise.
58781         [non-C99-based standards] (modff): Allow.
58782         [non-C99-based standards] (erff): Do not allow.
58783         [non-C99-based standards] (erfcf): Likewise.
58784         [non-C99-based standards] (gammaf): Likewise.
58785         [non-C99-based standards] (hypotf): Likewise.
58786         [non-C99-based standards] (j0f): Likewise.
58787         [non-C99-based standards] (j1f): Likewise.
58788         [non-C99-based standards] (jnf): Likewise.
58789         [non-C99-based standards] (lgammaf): Likewise.
58790         [non-C99-based standards] (tgammaf): Likewise.
58791         [non-C99-based standards] (y0f): Likewise.
58792         [non-C99-based standards] (y1f): Likewise.
58793         [non-C99-based standards] (ynf): Likewise.
58794         [non-C99-based standards] (isnanf): Likewise.
58795         [non-C99-based standards] (acoshf): Likewise.
58796         [non-C99-based standards] (asinhf): Likewise.
58797         [non-C99-based standards] (atanhf): Likewise.
58798         [non-C99-based standards] (cbrtf): Likewise.
58799         [non-C99-based standards] (expm1f): Likewise.
58800         [non-C99-based standards] (ilogbf): Likewise.
58801         [non-C99-based standards] (log1pf): Likewise.
58802         [non-C99-based standards] (logbf): Likewise.
58803         [non-C99-based standards] (nextafterf): Likewise.
58804         [non-C99-based standards] (remainderf): Likewise.
58805         [non-C99-based standards] (rintf): Likewise.
58806         [non-C99-based standards] (scalbf): Likewise.
58807         [non-C99-based standards] (copysignl): Likewise.
58808         [non-C99-based standards] (exp2l): Likewise.
58809         [non-C99-based standards] (log2l): Likewise.
58810         [non-C99-based standards] (modfl): Allow.
58811         [non-C99-based standards] (erfl): Do not allow.
58812         [non-C99-based standards] (erfcl): Likewise.
58813         [non-C99-based standards] (gammal): Likewise.
58814         [non-C99-based standards] (hypotl): Likewise.
58815         [non-C99-based standards] (j0l): Likewise.
58816         [non-C99-based standards] (j1l): Likewise.
58817         [non-C99-based standards] (jnl): Likewise.
58818         [non-C99-based standards] (lgammal): Likewise.
58819         [non-C99-based standards] (tgammal): Likewise.
58820         [non-C99-based standards] (y0l): Likewise.
58821         [non-C99-based standards] (y1l): Likewise.
58822         [non-C99-based standards] (ynl): Likewise.
58823         [non-C99-based standards] (isnanl): Likewise.
58824         [non-C99-based standards] (acoshl): Likewise.
58825         [non-C99-based standards] (asinhl): Likewise.
58826         [non-C99-based standards] (atanhl): Likewise.
58827         [non-C99-based standards] (cbrtl): Likewise.
58828         [non-C99-based standards] (expm1l): Likewise.
58829         [non-C99-based standards] (ilogbl): Likewise.
58830         [non-C99-based standards] (log1pl): Likewise.
58831         [non-C99-based standards] (logbl): Likewise.
58832         [non-C99-based standards] (nextafterl): Likewise.
58833         [non-C99-based standards] (remainderl): Likewise.
58834         [non-C99-based standards] (rintl): Likewise.
58835         [non-C99-based standards] (scalbl): Likewise.
58836         [ISO || ISO99 || ISO11] (*_t): Do not allow.
58837         [non-C99-based standards] (FP_*): Do not allow.
58838         [C99-based standards] (FP_*): Change to
58839         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
58840         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
58841         allow.
58842         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
58843         (SIG_ERR): Likewise.
58844         [X/Open-based standards] (SIG_HOLD): Likewise.
58845         (SIG_IGN): Likewise.
58846         (SIGABRT): Use macro-int-constant.  Specify type.  Require
58847         positive value.
58848         (SIGFPE): Likewise.
58849         (SIGILL): Likewise.
58850         (SIGINT): Likewise.
58851         (SIGSEGV): Likewise.
58852         (SIGTER): Likewise.
58853         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
58854         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
58855         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
58856         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
58857         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
58858         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
58859         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
58860         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
58861         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
58862         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
58863         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
58864         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
58865         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
58866         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
58867         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
58868         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
58869         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
58870         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
58871         [X/Open-based standards] (SIGTRAP): Likewise.
58872         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
58873         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
58874         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
58875         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
58876         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
58877         allow.
58879 2012-05-08  Ian Wienand  <ianw@vmware.com>
58881         [BZ #14080]
58882         * time/tzset.c (__tzset_parse_tz): Update default rules for
58883         daylight time changes in the Energy Policy Act of 2005.
58885 2012-05-09  Andreas Jaeger  <aj@suse.de>
58887         [BZ #13983]
58888         * elf/ldconfig.c (parse_conf): Change string to make clear that
58889         ldconfig only issued a warning if ld.so.conf does not exist.
58891 2012-05-08  David S. Miller  <davem@davemloft.net>
58893         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
58894         movxtod instead of popping the value on the stack.
58896         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58898 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
58900         * config.h.in: Add HAVE_ARM_PCS_VFP.
58902 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
58904         [BZ #13979]
58905         * include/features.h: Warn if user requests __FORTIFY_SOURCE
58906         checking but the checks are disabled for any reason.
58908 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
58910         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
58911         and ELF64_R_TYPE with ELFW(R_TYPE).
58913 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
58915         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
58916         (ulimit): Likewise.
58918         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
58919         (settimeofday): Likewise.
58921 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
58923         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
58924         a struct th_u2 inside the union, and move tu_block/tu_code into
58925         a new th_u3 union of tu_block/tu_code inside of that.  Move
58926         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
58927         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
58928         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
58929         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
58930         (th_stuff): Change to th_u1.tu_stuff.
58931         (th_data): Define.
58932         (th_msg): Change to th_u1.th_u2.tu_data.
58934 2012-05-07  David S. Miller  <davem@davemloft.net>
58936         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58938         [BZ #14074]
58939         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
58940         (SETUP_PIC_REG): Use it.
58941         (SETUP_PIC_REG_LEAF): Use it.
58943 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
58945         [BZ #13885]
58946         [BZ #13923]
58947         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
58948         USE_AS_EXPM1L.
58949         (EXPL_FINITE): Likewise.
58950         (FLDLOG): Likewise.
58951         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
58952         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
58953         e_expl.S.
58954         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
58955         USE_AS_EXPM1L.
58956         (EXPL_FINITE): Likewise.
58957         (FLDLOG): Likewise.
58958         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
58959         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
58960         e_expl.S.
58961         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
58962         test of -max_value argument for long double.
58963         * sysdeps/i386/fpu/libm-test-ulps: Update.
58964         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58966 2012-05-06  David S. Miller  <davem@davemloft.net>
58968         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
58969         quad soft-float symbols whose references which are compiler
58970         generated.
58971         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
58973 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
58975         [BZ #13884]
58976         [BZ #13914]
58977         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
58978         USE_AS_EXP10L.
58979         (EXPL_FINITE): Likewise.
58980         (FLDLOG): Likewise.
58981         (c0): Likewise.
58982         (c1): Likewise.
58983         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
58984         Adjust comments for base varying.
58985         (__expl_finite): Change alias to EXPL_FINITE.
58986         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
58987         e_expl.S.
58988         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
58989         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
58990         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
58991         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
58992         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
58993         USE_AS_EXP10L.
58994         (EXPL_FINITE): Likewise.
58995         (FLDLOG): Likewise.
58996         (c0): Likewise.
58997         (c1): Likewise.
58998         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
58999         Adjust comments for base varying.
59000         (__expl_finite): Change alias to EXPL_FINITE.
59001         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
59002         tests for bugs.
59003         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59005         [BZ #14064]
59006         * math/libm-test.inc (check_float_internal): Correct ulp
59007         calculation for subnormal expected results.
59009 2012-05-06  Andreas Jaeger  <aj@suse.de>
59011         * Makeconfig (+math-flags): New, set to -frounding-math.
59012         (+cflags): Add +math-flags so that all of glibc gets compiled with
59013         it.
59015         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
59017 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
59019         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
59020         Disable one test.
59022         [BZ #13787]
59023         [BZ #13922]
59024         [BZ #14036]
59025         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
59026         (__ieee754_expl): Allow for and saturate large arguments.
59027         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
59028         (u_threshold): Likewise.
59029         (__exp): Call __ieee754_exp before checking for overflow and
59030         underflow.
59031         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
59032         (u_threshold): Likewise.
59033         (__expf): Call __ieee754_expf before checking for overflow and
59034         underflow.
59035         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
59036         (u_threshold): Likewise.
59037         (__expl): Call __ieee754_expl before checking for overflow and
59038         underflow.
59039         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
59040         (__ieee754_expl): Allow for and saturate large arguments.
59041         * math/libm-test.inc (exp_test): Add another test.  Do not allow
59042         missing overflow exception on overflow.
59043         (expm1_test): Do not allow missing overflow exception on overflow.
59045         * sysdeps/i386/fpu/e_expl.c: Move to ...
59046         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
59047         rather than using inline asm.
59048         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
59049         * sysdeps/x86_64/fpu/e_expl.S: Copy from
59050         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
59052         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
59053         (nice): Likewise.
59054         (poll): Likewise.
59055         (signal): Likewise.
59056         (time): Likewise.
59057         (times): Likewise.
59059 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
59061         * sysdeps/unix/syscalls.list (adjtime): Add entry from
59062         sysdeps/unix/common/syscalls.list.
59063         (fchmod): Likewise.
59064         (fchown): Likewise.
59065         (ftruncate): Likewise.
59066         (getrusage): Likewise.
59067         (gettimeofday): Likewise.
59068         (setpgid): Likewise.
59069         (setregid): Likewise.
59070         (setreuid): Likewise.
59071         (sigaction): Likewise.
59072         (truncate): Likewise.
59073         (vhangup): Likewise.
59074         * sysdeps/unix/common/syscalls.list: Remove file.
59075         * sysdeps/unix/bsd/Implies: Don't include unix/common.
59076         * sysdeps/unix/sysv/linux/Implies: Likewise.
59078 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
59080         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
59081         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
59082         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
59083         Moved to ...
59084         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
59085         Here.
59086         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
59087         to ...
59088         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
59089         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
59090         to ...
59091         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
59092         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
59093         to ...
59094         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
59095         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
59096         to ...
59097         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
59098         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
59099         to ...
59100         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
59101         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
59102         to ...
59103         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
59104         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
59105         to ...
59106         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
59107         Here.
59108         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
59109         to ...
59110         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
59111         Here.
59112         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
59113         to ...
59114         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
59115         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
59116         Moved to ...
59117         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
59118         Here.
59119         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
59120         to ...
59121         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
59123 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
59125         * sysdeps/unix/common/bits/dirent.h: Remove file.
59126         * sysdeps/unix/common/bits/fcntl.h: Likewise.
59128         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
59129         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
59130         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
59131         * sysdeps/unix/bsd/isatty.c: Likewise.
59132         * sysdeps/unix/bsd/tcdrain.c: Likewise.
59133         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
59134         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
59136 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59138         [BZ #13563]
59139         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
59140         long double comparison inaccuracies.
59141         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
59142         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59144 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
59146         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
59147         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
59149 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
59151         [BZ #14049]
59152         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
59153         nonzero digits before rounding a hex value.
59154         * stdlib/tst-strtod.c (tests): Add another test.
59156 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59158         * sysdeps/s390/fpu/libm-test-ulps: Update.
59160 2012-05-03  Andreas Jaeger  <aj@suse.de>
59162         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
59163         does not get optimized out.
59164         (malloc_opt_barrier): New.
59166 2012-05-03  Andreas Jaeger  <aj@suse.de>
59167             Roland McGrath  <roland@hack.frob.com>
59169         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
59170         intermediate file deletion.
59171         (generated): Add .symlist files.
59173 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
59175         [BZ #13775]
59176         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
59177         Redirect under this condition.
59178         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
59179         [__USE_GNU] (__dprintf_chk): Not under this condition.
59180         [__USE_GNU] (__vdprintf_chk): Likewise.
59181         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
59182         under this condition.
59183         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
59184         [__USE_XOPEN2K8] (dprintf): Define under this condition.
59185         [__USE_XOPEN2K8] (vdprintf): Likewise.
59186         [__USE_GNU] (__dprintf_chk): Not under this condition.
59187         [__USE_GNU] (__vdprintf_chk): Likewise.
59188         [__USE_GNU] (dprintf): Likewise.
59189         [__USE_GNU] (vdprintf): Likewise.
59191 2012-05-03  Roland McGrath  <roland@hack.frob.com>
59193         * elf/Makefile (common-generated): Set this instead of generated for
59194         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
59195         $(all-built-dso)-derived lists.
59197 2012-05-03  Andreas Jaeger  <aj@suse.de>
59199         * sysdeps/i386/fpu/libm-test-ulps: Update.
59201         * FAQ: Removed.
59202         * FAQ.in: Likewise.
59203         * scripts/gen-FAQ.pl: Likewise.
59204         * manual/install.texi (Installation): Point to online location of
59205         FAQ.
59206         * Makefile (files-for-dist): Remove FAQ.
59207         (FAQ): Remove.
59209 2012-05-02  Allan McRae  <allan@archlinux.org>
59211         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
59212         (LDFLAGS-reldepmod5.so): Likewise.
59213         (LDFLAGS-reldep6mod1.so): Likewise.
59214         (LDFLAGS-reldep6mod4.so): Likewise.
59215         (LDFLAGS-reldep8mod3.so): Likewise.
59216         (LDFLAGS-unload4mod1.so): Likewise.
59217         (LDFLAGS-unload4mod2.so): Likewise.
59218         (LDFLAGS-tst-initorder): Likewise.
59219         (LDFLAGS-tst-initordera2.so): Likewise.
59220         (LDFLAGS-tst-initordera3.so): Likewise.
59221         (LDFLAGS-tst-initordera4.so): Likewise.
59222         (LDFLAGS-tst-initorderb2.so): Likewise.
59223         (LDFLAGS-noload): Likewise.
59224         (LDFLAGS-next): Likewise.
59225         (LDFLAGS-order2mod1.so): Likewise.
59226         (LDFLAGS-order2mod2.so): Likewise.
59227         (LDFLAGS-tst-initorder2): Likewise.
59228         (LDFLAGS-tst-initorder2a.so): Likewise.
59229         (LDFLAGS-tst-initorder2b.so): Likewise.
59230         (LDFLAGS-tst-initorder2c.so): Likewise.
59231         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
59233 2012-05-02  David S. Miller  <davem@davemloft.net>
59235         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59237 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
59239         [BZ #14055]
59240         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
59242 2012-05-02  Andreas Jaeger  <aj@suse.de>
59244         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
59245         since we manipulate rounding mode.
59246         (CPPFLAGS-test-idouble.c): Likewise.
59247         (CPPFLAGS-test-ifloat.c): Likewise.
59248         (CFLAGS-test-ldouble.c): Likewise.
59249         (CFLAGS-test-double.c): Likewise.
59250         (CFLAGS-test-float.c): Likewise.
59251         (CFLAGS-test-misc.c): Likewise.
59252         (CFLAGS-test-test-fenv.c): Likewise.
59254 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59256         [BZ #2550]
59257         [BZ #2570]
59258         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
59259         comparisons to determine direction to adjust input.
59261 2012-05-01  Roland McGrath  <roland@hack.frob.com>
59263         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
59264         output to the target.
59266         * scripts/localplt.awk: New file.
59267         * elf/Makefile ($(objpfx)check-localplt): Target removed.
59268         (check-localplt-CFLAGS): Variable removed.
59269         ($(all-built-dso:=.jmprel)): New static pattern rule.
59270         (generated): Add those targets.
59271         (localplt-built-dso): New variable.
59272         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
59274         * elf/check-localplt.c: File removed.
59276         * scripts/check-execstack.awk: New file.
59277         * elf/Makefile ($(objpfx)check-execstack): Target removed.
59278         (check-execstack-CFLAGS): Variable removed.
59279         ($(objpfx)check-execstack.h): Target removed.
59280         ($(objpfx)execstack-default): New target.
59281         (generated): Add that instead of check-execstack.h.
59282         ($(all-built-dso:=.phdr)): New static pattern rule.
59283         (generated): Add those targets.
59284         * elf/check-execstack.c: File removed.
59286         * scripts/check-textrel.awk: New file.
59287         * elf/Makefile ($(objpfx)check-textrel): Target removed.
59288         (check-textrel-CFLAGS): Variable removed.
59289         (all-built-dso): Use := to define.o
59290         ($(all-built-dso:=.dyn)): New static pattern rule.
59291         (generated): Add those targets.
59292         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
59293         * config.make.in (READELF): New substituted variable.
59294         * elf/check-textrel.c: File removed.
59296 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
59298         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
59299         allow.
59300         * conform/data/ctype.h-data [C99-based standards] (isblank):
59301         Expect function.
59302         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
59303         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
59304         [ISO || ISO99 || ISO11] (*_t): Do not allow.
59305         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
59306         Specify type.  Require positive value.
59307         (EILSEQ): Likewise.
59308         (ERANGE): Likewise.
59309         [ISO || POSIX] (EILSEQ): Do not expect.
59310         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
59311         Specify type.  Require positive value.
59312         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
59313         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
59314         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
59315         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
59316         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
59317         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
59318         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
59319         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
59320         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
59321         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
59322         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
59323         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
59324         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
59325         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
59326         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
59327         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
59328         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
59329         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
59330         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
59331         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
59332         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
59333         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
59334         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
59335         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
59336         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
59337         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
59338         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
59339         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
59340         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
59341         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
59342         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
59343         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
59344         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
59345         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
59346         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
59347         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
59348         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
59349         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
59350         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
59351         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
59352         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
59353         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
59354         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
59355         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
59356         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
59357         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
59358         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
59359         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
59360         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
59361         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
59362         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
59363         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
59364         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
59365         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
59366         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
59367         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
59368         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
59369         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
59370         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
59371         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
59372         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
59373         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
59374         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
59375         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
59376         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
59377         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
59378         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
59379         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
59380         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
59381         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
59382         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
59383         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
59384         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
59385         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
59386         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
59387         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
59388         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
59389         Require >= 2.
59390         (FLT_ROUNDS): Expect as macro, not constant.
59391         (FLT_MANT_DIG): Use macro-int-constant.
59392         (DBL_MANT_DIG): Likewise.
59393         (LDBL_MANT_DIG): Likewise.
59394         (FLT_DIG): Likewise.
59395         (DBL_DIG): Likewise.
59396         (LDBL_DIG): Likewise.
59397         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
59398         (DBL_MIN_EXP): Likewise.
59399         (LDBL_MIN_EXP): Likewise.
59400         (FLT_MAX_EXP): Use macro-int-constant.
59401         (DBL_MAX_EXP): Likewise.
59402         (LDBL_MAX_EXP): Likewise.
59403         (FLT_MAX_10_EXP): Likewise.
59404         (DBL_MAX_10_EXP): Likewise.
59405         (LDBL_MAX_10_EXP): Likewise.
59406         (FLT_MAX): Use macro-constant.
59407         (DBL_MAX): Likewise.
59408         (LDBL_MAX): Likewise.
59409         (FLT_EPSILON): Use macro-constant.  Give upper bound.
59410         (DBL_EPSILON): Likewise.
59411         (LDBL_EPSILON): Likewise.
59412         (FLT_MIN): Likewise.
59413         (DBL_MIN): Likewise.
59414         (LDBL_MIN): Likewise.
59415         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
59416         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
59417         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
59418         [ISO11] (FLT_HAS_SUBNORM): Likewise.
59419         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
59420         [ISO11] (DBL_DECIMAL_DIG): Likewise.
59421         [ISO11] (FLT_DECIMAL_DIG): Likewise.
59422         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
59423         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
59424         [ISO11] (FLT_TRUE_MIN): Likewise.
59425         [ISO11] (LDBL_TRUE_MIN): Likewise.
59426         [ISO || ISO99 || ISO11] (*_t): Do not allow.
59427         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
59428         (SCHAR_MIN): Use macro-int-constant.  Specify type.
59429         (SCHAR_MAX): Likewise.
59430         (UCHAR_MAX): Likewise.
59431         (CHAR_MIN): Likewise.
59432         (CHAR_MAX): Likewise.
59433         (MB_LEN_MAX): Use macro-int-constant.
59434         (SHRT_MIN): Use macro-int-constant.  Specify type.
59435         (SHRT_MAX): Likewise.
59436         (USHRT_MAX): Likewise.
59437         (INT_MAX): Likewise.
59438         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
59439         bound negative.
59440         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
59441         bound with "U".
59442         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
59443         bound with "L".
59444         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
59445         bound negative.  Suffix upper bound with "L".
59446         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
59447         bound with "UL".
59448         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
59449         Specify type.
59450         [C99-based standards] (LLONG_MAX): Likewise.
59451         [C99-based standards] (ULLONG_MAX): Likewise.
59452         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
59453         == 0.
59454         [ISO11] (max_align_t): Require type.
59455         [ISO || ISO99 || ISO11] (*_t): Do not allow.
59457         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
59458         from $CFLAGS, without defining away __attribute__ calls.
59459         (checknamespace): Use $CFLAGS_namespace.
59461         * conform/conformtest.pl (@keywords): Only include C99 keywords
59462         for standards based on C99 or C11.
59464         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
59465         Disable tests.
59466         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
59467         UNIX98]: Likewise.
59469         * conform/conformtest.pl: Handle "macro-int-constant" and test for
59470         usability of symbols in #if.
59472         * conform/conformtest.pl: If macro or constant types start
59473         "promoted:", expect the symbol to be of the following type
59474         promoted by the integer promotions.
59476         * conform/conformtest.pl: Parse all "constant" and "macro" lines
59477         in one place.  Also handle "macro-constant".
59479         * conform/conformtest.pl: Only accept expected macro values with
59480         "==".  Parse all "macro" lines in one place.
59481         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
59483         * conform/conformtest.pl: Handle braced types on "constant" lines
59484         instead of handling "typed-constant".
59485         * conform/data/signal.h-data: Use "constant" instead of
59486         "typed-constant".
59488         * conform/conformtest.pl: Handle "optional-" at start of lines in
59489         one place rather than duplicating several cases.  Handle each
59490         format of "macro" line with initial "optional-".
59492         * conform/conformtest.pl: Only accept expected constant or
59493         optional-constant values with "==".  Parse all "constant" lines in
59494         one place.  Parse all "optional-constant" lines in one place.
59495         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
59496         * conform/data/fmtmsg.h-data: Likewise.
59497         * conform/data/netinet/in.h-data: Likewise.
59498         * conform/data/tar.h-data: Likewise.
59499         * conform/data/limits.h-data: Use "==" form on "constant" and
59500         "optional-constant" lines.
59502         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
59503         Use -std=c99 for XOPEN2K.
59504         (@knownproblems): Remove.
59505         (newtoken): Don't check %isknown.
59507         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
59508         Do not expect macro.
59509         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
59510         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
59511         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
59512         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
59513         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
59514         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
59515         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
59516         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
59517         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
59518         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
59519         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
59520         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
59521         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
59522         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
59523         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
59524         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
59525         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
59526         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
59527         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
59528         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
59529         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
59530         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
59531         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
59532         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
59533         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
59534         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
59535         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
59536         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
59537         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
59538         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
59539         [XPG3] (acosh): Likewise.
59540         [XPG3] (asinh): Likewise.
59541         [XPG3] (atanh): Likewise.
59542         [XPG3] (cbrt): Likewise.
59543         [XPG3] (expm1): Likewise.
59544         [XPG3] (ilogb): Likewise.
59545         [XPG3] (log1p): Likewise.
59546         [XPG3] (logb): Likewise.
59547         [XPG3] (nextafter): Likewise.
59548         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
59549         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
59550         [XPG3] (remainder): Likewise.
59551         [XPG3] (rint): Likewise.
59552         [XPG3 || XPG4 || UNIX98] (round): Likewise.
59553         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
59554         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
59555         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
59556         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
59557         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
59558         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
59559         [UNIX98 || XOPEN2K] (scalb): Expect.
59560         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
59561         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
59562         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
59563         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
59564         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
59565         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
59566         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
59567         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
59568         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
59569         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
59570         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
59571         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
59572         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
59573         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
59574         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
59575         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
59576         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
59577         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
59578         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
59579         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
59580         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
59581         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
59582         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
59583         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
59584         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
59585         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
59586         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
59587         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
59588         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
59589         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
59590         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
59591         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
59592         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
59593         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
59594         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
59595         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
59596         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
59597         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
59598         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
59599         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
59600         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
59601         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
59602         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
59603         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
59604         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
59605         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
59606         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
59607         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
59608         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
59609         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
59610         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
59611         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
59612         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
59613         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
59614         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
59615         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
59616         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
59617         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
59618         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
59619         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
59620         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
59621         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
59622         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
59623         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
59624         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
59625         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
59626         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
59627         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
59628         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
59629         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
59630         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
59631         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
59632         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
59633         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
59634         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
59635         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
59636         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
59637         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
59638         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
59639         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
59640         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
59641         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
59642         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
59643         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
59644         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
59645         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
59646         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
59647         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
59648         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
59649         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
59650         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
59651         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
59652         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
59653         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
59654         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
59655         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
59656         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
59657         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
59658         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
59659         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
59660         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
59661         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
59662         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
59663         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
59664         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
59665         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
59666         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
59667         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
59668         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
59669         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
59670         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
59671         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
59672         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
59673         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
59674         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
59675         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
59676         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
59677         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
59678         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
59679         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
59680         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
59681         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
59682         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
59683         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
59684         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
59685         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
59686         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
59687         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
59688         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
59689         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
59690         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
59691         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
59692         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
59693         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
59694         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
59695         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
59696         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
59698         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
59699         _XOPEN_SOURCE_EXTENDED for XPG4.
59701         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
59703         * Makeconfig (localtime): Remove variable.
59704         (inst_localtime-file): Likewise.
59706 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
59708         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
59709         Update.
59710         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
59711         Update.
59712         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
59713         Update.
59714         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
59715         Update.
59716         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
59717         Update.
59718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
59719         Update.
59720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
59721         Update.
59722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
59723         Update.
59724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
59725         Update.
59727 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
59729         [BZ #2550]
59730         [BZ #2570]
59731         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
59732         comparisons to determine direction to adjust input.
59733         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
59734         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
59735         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
59736         Likewise.
59737         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
59738         Likewise.
59739         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
59740         Likewise.
59741         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
59742         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
59743         Likewise.
59744         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
59745         Likewise.
59746         * math/libm-test.inc (nexttoward_test): Add more tests.
59748 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
59750         [BZ #14040]
59751         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
59752         in version GLIBC_2.1, not GLIBC_2.0.
59753         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
59754         Likewise.
59756 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
59758         [BZ #13942]
59759         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
59760         (1 - x) * (1 + x).
59761         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
59762         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
59763         * math/libm-test.inc (acos_test): Add more tests.
59764         (asin_test): Likewise.
59765         * sysdeps/i386/fpu/libm-test-ulps: Update.
59766         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59768         [BZ #14034]
59769         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
59770         of square root.
59771         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
59772         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
59773         * math/libm-test.inc (acos_test_tonearest): New function.
59774         (acos_test_towardzero): Likewise.
59775         (acos_test_downward): Likewise.
59776         (acos_test_upward): Likewise.
59777         (asin_test_tonearest): Likewise.
59778         (asin_test_towardzero): Likewise.
59779         (asin_test_downward): Likewise.
59780         (asin_test_upward): Likewise.
59781         (main): Call the new functions.
59782         * sysdeps/i386/fpu/libm-test-ulps: Update.
59783         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59785         [BZ #13884]
59786         [BZ #13924]
59787         * math/e_exp10.c: Include <float.h>.
59788         (__ieee754_exp10): Handle underflow here rather than multiplying
59789         large negative argument by M_LN10.
59790         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
59791         of __ieee754_expf.
59792         * math/e_exp10l.c: Include <float.h>.
59793         (__ieee754_exp10l): Handle underflow here rather than multiplying
59794         large negative argument by M_LN10l.
59795         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
59796         spurious overflow exception on underflow.
59798 2012-04-29  Marek Polacek  <polacek@redhat.com>
59800         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
59801         (__fortify_function): New macro.
59802         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
59803         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
59804         __extern_always_inline.
59805         * libio/bits/stdio2.h: Likewise.
59806         * libio/bits/stdio.h: Likewise.
59807         * string/string.h: Likewise.
59808         * string/bits/string3.h: Likewise.
59809         * include/stdio.h: Likewise.
59810         * stdlib/bits/stdlib.h: Likewise.
59811         * stdlib/stdlib.h: Likewise.
59812         * rt/bits/mqueue2.h: Likewise.
59813         * rt/mqueue.h: Likewise.
59814         * posix/bits/unistd.h: Likewise.
59815         * posix/unistd.h: Likewise.
59816         * io/bits/poll2.h: Likewise.
59817         * io/bits/fcntl2.h: Likewise.
59818         * io/fcntl.h: Likewise.
59819         * io/sys/poll.h: Likewise.
59820         * misc/bits/syslog.h: Likewise.
59821         * misc/bits/syslog-ldbl.h: Likewise.
59822         * misc/sys/syslog.h: Likewise.
59823         * socket/bits/socket2.h: Likewise.
59824         * socket/sys/socket.h: Likewise.
59825         * debug/tst-chk1.c: Likewise.
59826         * wcsmbs/bits/wchar2.h: Likewise.
59827         * wcsmbs/bits/wchar-ldbl.h: Likewise.
59828         * wcsmbs/wchar.h: Likewise.
59830 2012-04-29  Andreas Jaeger  <aj@suse.de>
59832         * Makerules (tests): Remove enable-check-abi protection.
59833         (check-abi-warn): Remove.
59834         (check-abi-%): Remove check-abi-warn usage.
59836         * configure.in: Remove check-abi configure option.
59837         * configure: Regenerated.
59838         * config.make.in (enable-check-abi): Remove.
59840 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
59842         [BZ #14033]
59843         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
59844         double functions to double *_finite functions.
59846         [BZ #13941]
59847         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
59848         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
59849         LDBL_MIN_EXP.
59850         * stdio-common/Makefile (tests): Add tst-sprintf3.
59851         * stdio-common/tst-sprintf3.c: New file.
59853         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
59854         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
59856 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
59858         * conform/conformtest.pl: Remove duplicate typed-constant
59859         handling.
59861 2012-04-28  David S. Miller  <davem@davemloft.net>
59863         * Makerules (%.abilist): Add vpath on sysdep_dirs.
59864         (check-abi-%): Remove AWK script prerequisite and explicit
59865         abilist directory.
59866         (check-abi): Rewrite to just diff the symlist with the abilist.
59867         (config-tls, config-abi-config): Delete, no longer used.
59868         (update-abi-%): Remove AWK script and explicit abilist directory.
59869         (update-abi): Rewrite to simply compare and conditionally copy the
59870         symlist and the sysdep abilist file.  Remove update-abi-config
59871         checks.
59872         * abilist/ld.abilist: Remove.
59873         * abilist/libBrokenLocale.abilist: Remove.
59874         * abilist/libanl.abilist: Remove.
59875         * abilist/libcrypt.abilist: Remove.
59876         * abilist/libdl.abilist: Remove.
59877         * abilist/librt.abilist: Remove.
59878         * abilist/libthread_db.abilist: Remove.
59879         * abilist/libutil.abilist: Remove.
59880         * scripts/extract-abilist.awk: Remove.
59881         * scripts/merge-abilist.awk: Remove.
59882         * sysdeps/generic/libcidn.abilist: New file.
59883         * sysdeps/generic/libnss_compat.abilist: New file.
59884         * sysdeps/generic/libnss_db.abilist: New file.
59885         * sysdeps/generic/libnss_dns.abilist: New file.
59886         * sysdeps/generic/libnss_files.abilist: New file.
59887         * sysdeps/generic/libnss_hesiod.abilist: New file.
59888         * sysdeps/generic/libnss_nis.abilist: New file.
59889         * sysdeps/generic/libnss_nisplus.abilist: New file.
59890         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
59891         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
59892         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
59893         file.
59894         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
59895         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
59896         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
59897         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
59898         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
59899         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
59900         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
59901         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
59902         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
59903         file.
59904         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
59905         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
59906         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
59907         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
59908         file.
59909         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
59910         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
59911         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
59912         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
59913         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
59914         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
59915         file.
59916         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
59917         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
59918         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
59919         file.
59920         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
59921         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
59922         New file.
59923         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
59924         New file.
59925         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
59926         New file.
59927         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
59928         New file.
59929         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
59930         New file.
59931         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
59932         New file.
59933         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
59934         New file.
59935         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
59936         New file.
59937         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
59938         New file.
59939         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
59940         New file.
59941         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
59942         New file.
59943         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
59944         New file.
59945         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
59946         New file.
59947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
59948         file.
59949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
59950         New file.
59951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
59952         New file.
59953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
59954         file.
59955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
59956         New file.
59957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
59958         New file.
59959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
59960         file.
59961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
59962         New file.
59963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
59964         New file.
59965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
59966         New file.
59967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
59968         New file.
59969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
59970         New file.
59971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
59972         New file.
59973         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
59974         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
59975         file.
59976         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
59977         New file.
59978         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
59979         file.
59980         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
59981         file.
59982         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
59983         file.
59984         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
59985         file.
59986         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
59987         file.
59988         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
59989         New file.
59990         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
59991         file.
59992         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
59993         file.
59994         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
59995         New file.
59996         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
59997         file.
59998         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
59999         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
60000         file.
60001         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
60002         New file.
60003         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
60004         file.
60005         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
60006         file.
60007         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
60008         file.
60009         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
60010         file.
60011         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
60012         file.
60013         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
60014         New file.
60015         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
60016         file.
60017         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
60018         file.
60019         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
60020         New file.
60021         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
60022         file.
60023         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
60024         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
60025         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
60026         file.
60027         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
60028         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
60029         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
60030         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
60031         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
60032         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
60033         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
60034         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
60035         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
60036         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
60037         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
60038         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
60039         file.
60040         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
60041         New file.
60042         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
60043         file.
60044         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
60045         file.
60046         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
60047         file.
60048         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
60049         file.
60050         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
60051         file.
60052         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
60053         New file.
60054         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
60055         New file.
60056         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
60057         file.
60058         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
60059         New file.
60060         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
60061         file.
60062         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
60063         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
60064         file.
60065         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
60066         New file.
60067         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
60068         file.
60069         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
60070         file.
60071         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
60072         file.
60073         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
60074         file.
60075         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
60076         file.
60077         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
60078         New file.
60079         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
60080         New file.
60081         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
60082         file.
60083         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
60084         New file.
60085         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
60086         file.
60088 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
60090         * conform/conformtest.pl: Fix typo in handling typed-constant from
60091         allow-header.
60093 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
60095         * README: Cut down references to pre-2.6 Linux kernels and
60096         Linuxthreads.  Update lists of configurations in libc and ports
60097         and sort alphabetically.  Say "or newer" with Linux kernel version
60098         requirements.
60100         * config.h.in [IS_IN_build]: Allow compiling without optimization.
60102 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
60104         [BZ #887]
60105         * math/libm-test.inc (logb_test_downward): New test to expose
60106         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
60107         rounding mode.
60109 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
60111         [BZ #14027]
60112         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
60113         to be done.
60114         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
60115         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
60117 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
60119         * sysdeps/unix/i386/brk.S: Remove file.
60120         * sysdeps/unix/i386/dl-brk.S: Likewise.
60121         * sysdeps/unix/i386/pipe.S: Likewise.
60122         * sysdeps/unix/i386/sigreturn.S: Likewise.
60123         * sysdeps/unix/i386/syscall.S: Likewise.
60124         * sysdeps/unix/i386/vfork.S: Likewise.
60125         * sysdeps/unix/i386/wait.S: Likewise.
60127         * sysdeps/unix/common/tcsendbrk.c: Move to ...
60128         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
60130         * configure.in (arm*-none*): Do not allow without
60131         --enable-hacker-mode.
60132         (netbsd*): Remove case setting base_os.
60133         (386bsd*): Likewise.
60134         (freebsd*): Likewise.
60135         (bsdi*): Likewise.
60136         (osf*): Likewise.
60137         (sunos*): Likewise.
60138         (ultrix*): Likewise.
60139         (newsos*): Likewise.
60140         (dynix*): Likewise.
60141         (*bsd*): Likewise.
60142         (sysv*): Likewise.
60143         (isc*): Likewise.
60144         (esix*): Likewise.
60145         (sco*): Likewise.
60146         (minix*): Likewise.
60147         (irix4*): Likewise.
60148         (irix6*): Likewise.
60149         (solaris[2-9]*): Likewise.
60150         (none): Likewise.
60151         * configure: Regenerated.
60153 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60155         [BZ #11521]
60156         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
60157         overflow or cancellation in calculating denominator.
60158         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
60159         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
60160         down expression to avoid unexpected rounding in newer GCCs.
60161         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
60163 2012-04-26  David S. Miller  <davem@davemloft.net>
60165         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
60166         long-double compat symbols.
60167         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
60168         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
60169         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
60170         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
60171         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
60172         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
60173         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
60174         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
60175         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
60176         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
60177         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
60178         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
60179         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
60181 2012-04-25  David S. Miller  <davem@davemloft.net>
60183         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
60184         HWCAP_* values only after the memory barriers have been defined.
60185         (atomic_full_barrier): Define.
60186         (atomic_read_barrier): Define.
60187         (atomic_write_barrier): Define.
60189 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
60191         * shlib-versions: Add libgcc_s version information.
60192         * sysdeps/generic/libgcc_s.h: Remove.
60193         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
60194         libgcc_s.h.
60195         * sysdeps/gnu/unwind-resume.c: Likewise.
60196         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
60198 2012-04-25  David S. Miller  <davem@davemloft.net>
60200         * sysdeps/unix/sparc/brk.S: Delete.
60201         * sysdeps/unix/sparc/dl-brk.S: Delete.
60202         * sysdeps/unix/sparc/pipe.S: Delete.
60203         * sysdeps/unix/sparc/sysdep.S: Delete.
60204         * sysdeps/unix/sparc/sysdep.h: Delete.
60205         * sysdeps/unix/sparc/vfork.S: Delete.
60206         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
60207         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
60208         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
60209         (ret_ERRVAL, r0, r1, MOVE): Define.
60210         (JUMPTARGET): Remove.
60211         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
60212         sysdeps/unix/sparc/sysdep.h
60213         (ENTRY, END): Remove.
60214         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
60216 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
60218         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
60219         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
60220         -DIS_IN_build.
60222         * timezone/README: Update upstream location and email address for
60223         tzcode and tzdata.
60224         * timezone/zdump.c: Update from tzcode 2012b.
60225         * timezone/zic.c: Likewise.
60227         * configure.in (libc_cv_as_needed): Remove test.
60228         * configure: Regenerated.
60229         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
60230         conditional definition.
60231         [$(have-as-needed) != yes] (no-as-needed): Likewise.
60232         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
60233         * config.make.in (have-as-needed): Remove variable.
60235 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
60236             Paul Pluzhnikov  <ppluzhnikov@google.com>
60238         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
60239         strings correctly.
60241 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
60243         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
60244         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
60245         * sysdeps/sh/strlen.S: Likewise.
60247 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
60249         * sysdeps/unix/fork.S: Remove file.
60250         * sysdeps/unix/i386/fork.S: Likewise.
60251         * sysdeps/unix/sparc/fork.S: Likewise.
60253         * sysdeps/unix/system.c: Remove file.
60254         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
60256         * sysdeps/unix/getegid.S: Remove file.
60257         * sysdeps/unix/geteuid.S: Likewise.
60259 2012-04-24  Roland McGrath  <roland@hack.frob.com>
60261         * scripts/check-localplt.awk: New file.
60262         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
60263         of diff.
60264         * scripts/data/localplt-generic.data: Add a comment.
60266         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
60267         NODE when __dir_mkfile failed.
60268         * sysdeps/mach/hurd/symlinkat.c: Likewise.
60269         Reported by Ludovic Courtès <ludo@gnu.org>.
60271 2012-04-24  Andreas Jaeger  <aj@suse.de>
60273         * Makerules (common-clean): Also remove gen-as-const-headers
60274         files.
60276 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
60278         * Makerules (native-compile): Do not change working directory for
60279         build.  Use $(OUTPUT_OPTION) in command.
60280         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
60282 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60284         [BZ #13886]
60285         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
60286         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
60287         * math/libm-test.inc (floor_test): Add more tests.
60288         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
60290 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
60292         * sysdeps/unix/getdents.c: Remove file.
60293         * sysdeps/unix/sysv/getdents.c: Likewise.
60294         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
60296         * sysdeps/unix/syscalls.list (madvise): Add syscall from
60297         sysdeps/unix/mman/syscalls.list.
60298         (mmap): Likewise.
60299         (mprotect): Likewise.
60300         (msync): Likewise.
60301         (munmap): Likewise.
60302         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
60303         * sysdeps/unix/mman/syscalls.list: Remove.
60304         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
60306         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
60307         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
60308         * configure: Regenerated.
60309         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
60310         $(libgcc_s_suffix).
60311         * config.make.in (libgcc_s_suffix): Remove variable.
60313 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
60315         * sysdeps/unix/sysv/gethostname.c: Move to ...
60316         * sysdeps/posix/gethostname.c: ... here.
60318         * sysdeps/unix/execve.S: Remove file.
60320         * sysdeps/unix/_exit.S: Remove file.
60322 2012-04-23  Andreas Jaeger  <aj@suse.de>
60324         [BZ #13739]
60325         * manual/Makefile: Remove make dist support, there's no
60326         need for a stand-alone documentation tar ball.
60327         (TEXI2DVI): Define always, it's not in Makeconfig.
60328         (dist): Removed.
60329         (tar-it): Removed.
60330         (edition): Removed.
60331         (glibc-doc-$(edition).tar): Removed
60332         (%.Z): Removed.
60333         (%.gz): Removed.
60334         (%.uu): Removed.
60335         (ETAGS): Remove, it's in Makeconfig.
60336         (move-if-change): Remove, it's in Makeconfig.
60338 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
60340         [BZ #13970]
60341         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
60342         (strtod, strtof, strtold, strtol, strtoul, strtoq)
60343         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
60344         (strtod_l, strtof_l, strtold_l): Remove __wur.
60345         It is not necessarily an error to ignore strtol's return value.
60346         One can reliably look at the stored endptr to decide whether
60347         the number had valid syntax.
60349 2012-04-21  Andreas Jaeger  <aj@suse.de>
60351         [BZ #13739]
60352         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
60354 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
60356         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
60357         * sysdeps/unix/sysv/Versions: Remove file.
60359 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
60361         [BZ #13927]
60362         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60364 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
60366         [BZ #7064]
60367         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
60368         version from __vm86.
60370 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
60372         * sysdeps/unix/common/lxstat.c: Remove file.
60373         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
60375         * sysdeps/unix/sysv/Makefile: Remove file.
60377         * sysdeps/unix/sysv/direct.h: Remove file.
60379         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
60380         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
60381         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
60382         * sysdeps/unix/sysv/bits/signum.h: Likewise.
60383         * sysdeps/unix/sysv/bits/stat.h: Likewise.
60384         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
60385         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
60387         * sysdeps/unix/sysv/setrlimit.c: Remove file.
60389         * sysdeps/unix/xmknod.c: Remove file.
60390         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
60392         * sysdeps/unix/sysv/settimeofday.c: Remove file.
60394         * sysdeps/unix/sysv/i386/time.S: Remove file.
60396         * sysdeps/unix/fxstat.c: Remove file.
60397         * sysdeps/unix/xstat.c: Likewise.
60398         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
60400         * sysdeps/unix/sysv/sigaction.c: Remove file.
60402         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
60403         (sysdep_headers): Remove variable.
60404         [termio.h not in sysdep_headers] (generated): Likewise.
60405         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
60406         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
60407         * sysdeps/unix/sysv/tcdrain.c: Likewise.
60408         * sysdeps/unix/sysv/tcflow.c: Likewise.
60409         * sysdeps/unix/sysv/tcflush.c: Likewise.
60410         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
60411         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
60412         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
60413         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
60414         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
60416         * sysdeps/unix/siglist.c: Remove file.
60418         * sysdeps/unix/getppid.S: Remove file.
60420         * sysdeps/unix/mkdir.c: Remove file.
60421         * sysdeps/unix/rmdir.c: Likewise.
60423 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
60425         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
60426         ERR_MAX value.
60427         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
60428         errlist-compat value.
60430 2012-04-18  David S. Miller  <davem@davemloft.net>
60432         * sysdeps/generic/memcopy.h (reg_char): Delete.
60433         * debug/strcat_chk.c: Use char, not reg_char.
60434         * debug/strcpy_chk.c: Likewise.
60435         * debug/strncat_chk.c: Likewise.
60436         * debug/strncpy_chk.c: Likewise.
60437         * string/memchr.c: Likewise.
60438         * string/memrchr.c: Likewise.
60439         * string/rawmemchr.c: Likewise.
60440         * string/strcat.c: Likewise.
60441         * string/strchr.c: Likewise.
60442         * string/strchrnul.c: Likewise.
60443         * string/strcmp.c: Likewise.
60444         * string/strcpy.c: Likewise.
60445         * string/strncat.c: Likewise.
60446         * string/strncmp.c: Likewise.
60447         * string/strncpy.c: Likewise.
60449 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
60451         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
60452         __builtin_memcopy is called when src and dest ranges are known to not
60453         overlap.
60455 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
60457         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
60458         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
60459         fwd_align_merge macro call.
60460         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
60461         bwd_align_merge macro call.
60462         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
60464 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
60466         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
60467         bwd_align_merge macros.
60468         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
60469         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
60470         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
60472 2012-04-18  David S. Miller  <davem@davemloft.net>
60474         * sysdeps/sparc/sparc64/memcopy.h: Delete.
60476 2012-04-18  Andreas Jaeger  <aj@suse.de>
60478         [BZ# 6794]
60479         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
60480         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
60481         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
60483         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
60484         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
60485         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
60487         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
60488         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
60489         Adjust for changed ldbl-128 files.
60491         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
60492         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
60493         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
60495 2012-04-17  David S. Miller  <davem@davemloft.net>
60497         * sysdeps/sparc/sparc32/memcopy.h: Delete.
60499 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
60501         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
60502         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
60503         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
60504         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
60505         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
60506         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
60508 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60510         [BZ #6794]
60511         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
60512         * math/libm-test.inc: Add ilogb errno and exception tests.
60513         * math/w_ilogb.c: New file: ilogb wrapper.
60514         * math/w_ilogbf.c: New file: ilogbf wrapper.
60515         * math/w_ilogbl.c: New file: ilogbl wrapper.
60516         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
60517         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
60518         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
60519         exception being thrown with 0.0 as argument.
60520         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
60521         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
60522         exception being thrown with 0.0 as argument.
60523         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
60524         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
60525         exception being thrown with 0.0 as argument.
60526         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
60527         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
60528         exception being thrown with 0.0 as argument.
60529         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
60530         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
60531         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
60532         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
60533         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
60534         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
60535         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
60536         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
60537         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
60539 2012-04-17  Petr Baudis  <pasky@ucw.cz>
60541         * include/sys/uio.h: Change __vector to __iovec to avoid clash
60542         with altivec.
60544 2012-04-16  Marek Polacek  <polacek@redhat.com>
60546         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
60548 2012-04-16  Marek Polacek  <polacek@redhat.com>
60550         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
60551         operands of fdivp instruction.
60553 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
60555         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
60556         * elf/tst-auditmod3b.c: Likewise.
60557         * elf/tst-auditmod4b.c: Likewise.
60558         * elf/tst-auditmod5b.c: Likewise.
60559         * elf/tst-auditmod6b.c: Likewise.
60560         * elf/tst-auditmod6c.c: Likewise.
60561         * elf/tst-auditmod7b.c: Likewise.
60562         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
60563         * sysdeps/x86_64/preconfigure.in: Likewise.
60564         * sysdeps/x86_64/preconfigure: Regenerated.
60566 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
60568         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
60569         __ILP32__.
60571 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
60573         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
60574         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
60576 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
60578         [BZ #13973]
60579         * locale/iso-639.def: Fix gl language name. Spotted by
60580         Yaron Shahrabani.
60582 2012-04-12  Roland McGrath  <roland@hack.frob.com>
60584         [BZ #2074]
60585         * libio/libio.h (__io_write_fn): Update comment.
60587 2012-04-12  Petr Baudis  <pasky@ucw.cz>
60589         [BZ #2074]
60590         * stdio.texi (Hook Functions): The user provided writer function
60591         is not allowed to return -1.
60593 2012-04-11  David S. Miller  <davem@davemloft.net>
60595         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60597 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
60599         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
60600         Add a leading slash to rtkaio.
60602 2012-04-11  Jim Meyering  <meyering@redhat.com>
60604         [BZ #11959]
60605         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
60606         It is not necessarily an error to ignore fwrite's return
60607         value.  One can reliably use ferror to test for errors after
60608         the fact.
60610 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
60612         * bits/types.h (__snseconds_t): New type.
60613         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
60615         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
60616         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
60617         (__SNSECONDS_T_TYPE): Likewise.
60618         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
60619         (__SNSECONDS_T_TYPE): Likewise.
60620         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
60621         (__SNSECONDS_T_TYPE): Likewise.
60623 2012-04-10  Andreas Jaeger  <aj@suse.de>
60625         [BZ #2636]
60626         * manual/time.texi (Processor Time): Return type of times is
60627         elapsed real time since an arbitrary point in the past.
60628         (CPU Time): Move CLK_TCK from here...
60629         (Processor Time): ...to here.  Correct description.
60630         * manual/conf.texi (Constants for Sysconf): Correct description of
60631         _SC_CLK_TCK.
60633 2012-04-10  David S. Miller  <davem@davemloft.net>
60635         [BZ #13967]
60636         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
60637         where the is a gap between DT_REL(A) and DT_JMPREL.
60639 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
60641         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
60642         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
60643         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
60645 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
60647         * elf/dl-support.c (_dl_inhibit_cache): New variable.
60648         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
60649         (dl_main): Handle --inhibit-cache.
60650         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
60651         _dl_inhibit_cache.
60652         * elf/dl-load.c (_dl_map_object): Use it.
60653         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
60655 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
60657         [BZ #13872]
60658         * sysdeps/i386/fpu/e_powl.S (p78): New object.
60659         (__ieee754_powl): Saturate large exponents rather than testing for
60660         overflow of y*log2(x).
60661         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
60662         * math/libm-test.inc (pow_test): Do not permit spurious overflow
60663         exceptions.
60665         [BZ #11521]
60666         * math/s_ctan.c: Include <float.h>.
60667         (__ctan): Avoid internal overflow or cancellation in calculating
60668         denominator.
60669         * math/s_ctanf.c: Likewise.
60670         * math/s_ctanl.c: Likewise.
60671         * math/s_ctanh.c: Likewise.
60672         * math/s_ctanhf.c: Likewise.
60673         * math/s_ctanhl.c: Likewise.
60674         * math/libm-test.inc (ctan_test): Add more tests.
60675         (ctanh_test): Likewise.
60676         * sysdeps/i386/fpu/libm-test-ulps: Update.
60677         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60679 2012-04-09  Andreas Jaeger  <aj@suse.de>
60681         [BZ #6894]
60682         * manual/filesys.texi (Directory Entries): Mention that d_namlen
60683         is an optional BSD extension.
60685         [BZ #10254]
60686         * manual/stdio.texi (Opening Streams): Document additional fopen
60687         parameters.
60689 2012-04-09  Roland McGrath  <roland@hack.frob.com>
60691         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
60692         %eax without telling the compiler.
60694 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
60696         [BZ # 13963]
60697         * manual/install.texi: Use sourceware.org.
60699 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
60701         [BZ #13873]
60702         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
60703         (__ieee754_pow): Generate overflow and underflow using huge*huge
60704         and tiny*tiny rather than just returning constant infinity or zero
60705         for large exponents.
60706         * math/libm-test.inc (pow_test): Require overflow exceptions for
60707         applicable cases of large exponents.
60709         [BZ #706]
60710         * sysdeps/i386/fpu/e_pow.S (p10): New object.
60711         (__ieee754_pow): Use iterative multiplication algorithm only for
60712         integer exponents with absolute value below 1024.  Check for odd
60713         integer exponents when using algorithm for real exponents.
60714         * math/libm-test.inc (pow_test): Add more tests.
60715         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60717 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
60719         [BZ #13705]
60720         * math/libm-test.inc (exp_test): Do not allow overflow exception
60721         on underflow test.
60723 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
60725         [BZ #13705]
60726         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
60727         instead of __kernel_standard_f.
60729 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
60731         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
60732         * sysdeps/x86_64/memset_chk.S: Likewise.
60734 2012-04-08  Andreas Jaeger  <aj@suse.de>
60736         [BZ #10153]
60737         * manual/startup.texi (Environment Access): Describe return value
60738         for putenv and setenv.
60740         [BZ #6895]
60741         * manual/filesys.texi (Directory Entries): Add description for
60742         DT_LNK.
60744         [BZ #6890]
60745         * manual/filesys.texi (Directory Entries): Clarify that it's file
60746         system not operating system in the description of DT_UNKNOWN.
60748         [BZ #6578]
60749         * manual/syslog.texi (closelog): Fix reference, it's openlog.
60751 2012-04-08  Stephen Compall  <s11@member.fsf.org>
60753         [BZ #6649]
60754         * manual/llio.texi (Opening and Closing Files): Add cross
60755         reference to explain mode argument.
60757 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
60759         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
60760         * sysdeps/x86_64/memset_chk.S: Likewise.
60762 2012-04-07  David S. Miller  <davem@davemloft.net>
60764         * elf/elf.h (R_SPARC_WDISP10): Define.
60765         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
60766         R_SPARC_SIZE32.
60767         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
60768         R_SPARC_SIZE64 and R_SPARC_H34.
60770 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
60772         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
60773         conditions and remove no longer applicable assertion.
60775 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
60777         * bits/byteswap.h: Include <features.h>.
60778         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
60779         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
60781 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
60783         * bits/byteswap.h (__bswap_16): Removed.
60784         Include <bits/byteswap-16.h> to get __bswap_16.
60785         * sysdeps/i386/bits/byteswap.h: Likewise.
60786         * sysdeps/s390/bits/byteswap.h: Likewise.
60787         * sysdeps/x86_64/bits/byteswap.h: Likewise.
60788         * bits/byteswap-16.h: New file.
60789         * sysdeps/i386/bits/byteswap-16.h: Likewise.
60790         * sysdeps/s390/bits/byteswap-16.h: Likewise.
60791         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
60792         * string/Makefile (headers): Add bits/byteswap-16.h.
60794 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
60796         [BZ #13895]
60797         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
60798         extra indirection.
60799         * nss/Makefile (tests-static, tests): Add tst-nss-static.
60800         * nss/tst-nss-static.c: New.
60802 2012-04-06  Robert Millan  <rmh@gnu.org>
60804         [BZ #6486]
60805         * manual/llio.texi (File Position Primitive): lseek
60806         refers to WHENCE when it really means OFFSET.
60808 2012-04-06  Andreas Jaeger  <aj@suse.de>
60810         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
60811         strncmp declarations.
60813         * abilist/libc.abilist: Add __poll and __ppoll.
60815 2012-04-05  David S. Miller  <davem@davemloft.net>
60817         * scripts/check-local-headers.sh: Accept a host triplet in the
60818         path matched by the exclude regexp.
60820         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
60821         definition.
60822         * sysdeps/powerpc/powerpc32/dl-machine.h
60823         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
60824         * sysdeps/s390/s390-32/dl-machine.h
60825         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
60826         * sysdeps/sparc/sparc32/dl-machine.h
60827         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
60828         * sysdeps/sparc/sparc64/dl-machine.h
60829         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
60831         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
60832         lazy binding.
60833         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
60834         undefined symbol errors.
60836         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
60837         DT_NEEDED entries.
60839 2012-04-05  Michael Matz  <matz@suse.de>
60841         [BZ #13592]
60842         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
60844 2012-04-05  Andreas Jaeger  <aj@suse.de>
60846         [BZ #13908]
60847         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
60848         comment.
60850 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
60852         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
60853         which ROUND is no valid rounding mode.
60855 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
60857         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
60858         read again.
60859         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
60861 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
60863         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
60864         an exception using FPU order intentionally.
60866 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
60868         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
60869         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
60870         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
60871         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
60873 2012-04-05  Simon Josefsson  <simon@josefsson.org>
60875         [BZ #12340]
60876         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
60877         EINVAL when BUFLEN is too smal.
60879 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
60881         [BZ #13553]
60882         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
60883         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
60885 2012-04-03  Andreas Jaeger  <aj@suse.de>
60887         [BZ #13938]
60888         * manual/setjmp.texi (System V contexts): Fix sentence.
60890         [BZ #13926]
60891         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
60892         New macro for this case.
60893         [!__GNUC__] (__bswap_64): New inline function for this case.
60894         * sysdeps/x86_64/bits/byteswap.h: Likewise.
60895         * bits/byteswap.h: Likewise.
60896         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
60897         ull, guard with __GLIBC_HAVE_LONG_LONG.
60899         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
60900         __GLIBC_HAVE_LONG_LONG.
60902         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
60903         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
60905 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
60907         [BZ #13691]
60908         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
60909         inptr and inend, rather than using last_ch.
60911 2012-04-02  David S. Miller  <davem@davemloft.net>
60913         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
60914         * stdio-common/printf-parse.h (read_int): Change return type to
60915         'int', return -1 on INT_MAX overflow.
60916         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
60917         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
60918         overflows INT_MAX.  Check for overflow of in-format-string precision
60919         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
60920         SIZE_MAX not INT_MAX for integer overflow test.
60921         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
60922         skip the construct in the format string but do not record anything.
60923         * stdio-common/bug22.c: Adjust to test both width/prevision
60924         INT_MAX overflow as well as total length INT_MAX overflow.  Check
60925         explicitly for proper errno values.
60927 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
60929         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
60930         CHAR_MAX.
60931         * string/test-strcmp.c [! WIDE]: Likewise.
60932         * time/tst-mktime2.c: Likewise for INT_MAX.
60933         * string/test-string.h: #include <sys/param.h> for MIN.
60935         * csu/init-first.c (__libc_init_first): Call __ctype_init.
60936         * sysdeps/i386/init-first.c (init): Likewise.
60937         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
60938         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
60939         * sysdeps/sh/init-first.c (init): Likewise.
60941 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
60943         * po/ru.po: Update from translation team.
60944         * po/vi.po: Likewise.
60946 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
60948         * resolv/nss_dns/dns-host.c: Merge copyright years.
60950 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60952         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
60953         Optimize memcpy with prefetch if
60954         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
60955         src, dst pointers have unequal 16 byte alignments.
60957 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
60959         [BZ #13928]
60960         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
60961         from a CNAME entry and return the minimum ttl for the query.
60962         (gaih_getanswer_slice): Likewise.
60964 2012-03-30  Jeff Law  <law@redhat.com>
60966         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
60967         due to long keys.
60968         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
60969         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
60971         * resolv/nss_dns/dns-host.c: Update copyright year.
60973 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
60975         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
60976         requests to save a system call.  Fix check that all bytes are sent.
60978         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
60979         comments for sendmmsg.
60981 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
60983         [BZ #13691]
60984         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
60985         with only 1 character between 0x0041 and 0x01b0.
60986         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
60987         * wcsmbs/tst-mbsnrtowcs.c: New file.
60989 2012-03-29  David S. Miller  <davem@davemloft.net>
60991         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
60992         small copies by hand.
60994 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
60996         [BZ #13761]
60997         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
60998         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
60999         group memberships.
61001 2012-03-28  David S. Miller  <davem@davemloft.net>
61003         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
61004         that branches into memcpy.
61005         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
61006         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
61007         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
61008         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
61009         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
61010         bits.
61011         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
61012         implementation too.
61013         * sysdeps/sparc/mempcpy.S: New file.
61015         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
61016         the IFUNC routine in the libc case.
61017         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
61019         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
61020         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
61021         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
61022         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
61023         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
61024         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
61025         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
61026         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
61028         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
61029         loop to 256 bytes instead of 64 bytes and fix test signedness.
61031         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
61032         * sysdeps/sparc/sparc32/Makefile: rather than here...
61033         * sysdeps/sparc/sparc64/Makefile: and here.
61035 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
61037         * malloc/mallocbug.c: Avoid warnings about unused variables.
61039 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
61041         [BZ #13760]
61042         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
61043         in the right place. Discard and retry query if response is
61044         larger than input buffer size.
61046 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
61048         [BZ #369]
61049         [BZ #2678]
61050         [BZ #3866]
61051         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
61052         x for large integer exponent.
61053         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
61054         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
61055         sign of result as needed afterwards.
61056         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
61057         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
61058         result for underflowing pow the same as for overflow.
61059         (__kernel_standard_l): Handle powl overflow and underflow here
61060         rather than calling __kernel_standard.
61061         * math/libm-test.inc (pow_test): Add more tests.
61063         [BZ #3868]
61064         [BZ #13879]
61065         [BZ #13910]
61066         [BZ #13911]
61067         [BZ #13912]
61068         [BZ #13913]
61069         [BZ #13915]
61070         [BZ #13916]
61071         [BZ #13917]
61072         [BZ #13918]
61073         [BZ #13919]
61074         [BZ #13920]
61075         [BZ #13921]
61076         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
61077         * sysdeps/ieee754/k_standard.c: Include <float.h>.
61078         (__kernel_standard_l): New function.
61079         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
61080         __kernel_standard.
61081         * math/w_acosl.c (__acosl): Likewise.
61082         * math/w_asinl.c (__asinl): Likewise.
61083         * math/w_atan2l.c (__atan2l): Likewise.
61084         * math/w_atanhl.c (__atanhl): Likewise.
61085         * math/w_coshl.c (__coshl): Likewise.
61086         * math/w_exp10l.c (__exp10l): Likewise.
61087         * math/w_exp2l.c (__exp2l): Likewise.
61088         * math/w_fmodl.c (__fmodl): Likewise.
61089         * math/w_hypotl.c (__hypotl): Likewise.
61090         * math/w_j0l.c (__j0l, __y0l): Likewise.
61091         * math/w_j1l.c (__j1l, __y1l): Likewise.
61092         * math/w_jnl.c (__jnl, __ynl): Likewise.
61093         * math/w_lgammal.c (__lgammal): Likewise.
61094         * math/w_log10l.c (__log10l): Likewise.
61095         * math/w_log2l.c (__log2l): Likewise.
61096         * math/w_logl.c (__logl): Likewise.
61097         * math/w_powl.c (__powl): Likewise.
61098         * math/w_remainderl.c (__remainderl): Likewise.
61099         * math/w_scalbl.c (sysv_scalbl): Likewise.
61100         * math/w_sinhl.c (__sinhl): Likewise.
61101         * math/w_sqrtl.c (__sqrtl): Likewise.
61102         * math/w_tgammal.c (__tgammal): Likewise.
61103         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
61104         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
61105         * math/libm-test.inc (acos_test): Add more tests.
61106         (acosh_test): Likewise.
61107         (asin_test): Likewise.
61108         (atanh_test): Likewise.
61109         (exp_test): Likewise.
61110         (exp10_test): Likewise.
61111         (exp2_test): Likewise.
61112         (expm1_test): Likewise.
61113         (lgamma_test): Likewise.
61114         (log_test): Likewise.
61115         (log10_test): Likewise.
61116         (log1p_test): Likewise.
61117         (log2_test): Likewise.
61118         (pow_test): Do not allow some spurious overflow exceptions.
61119         (sqrt_test): Add more tests.
61120         (tgamma_test): Likewise.
61121         (y0_test): Likewise.
61122         (y1_test): Likewise.
61123         (yn_test): Likewise.
61125 2012-03-27  Anton Blanchard  <anton@samba.org>
61127         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
61128         MAP_HUGETLB.
61129         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
61130         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
61131         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
61133 2012-03-27  David S. Miller  <davem@davemloft.net>
61135         * conform/Makefile: Run run-conformtest.sh using $(BASH).
61137         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
61138         have-as-vis3 check.
61140 2012-03-27  Andreas Jaeger  <aj@suse.de>
61142         * sysdeps/x86_64/elf/configure.in: Moved to ...
61143         * sysdeps/x86_64/configure.in: ... here.
61144         * sysdeps/x86_64/elf/start.S: Moved to ...
61145         * sysdeps/x86_64/start.S: ... here.
61146         * sysdeps/x86_64/elf/configure: Delete.
61148         * sysdeps/x86_64/configure.in: Merge contents from
61149         sysdeps/i386/configure.in (without i686 check).
61151         * sysdeps/i386/elf/Versions: Merge into ...
61152         * sysdeps/i386/Versions: ... this.
61153         * sysdeps/i386/elf/Versions: Delete file.
61154         * sysdeps/i386/elf/start.S: Moved to ...
61155         * sysdeps/i386/start.S: ...here.
61156         * sysdeps/i386/elf/configure.in: Merge into...
61157         * sysdeps/i386/configure.in: ...here.
61158         * sysdeps/i386/elf/configure.in: Delete file.
61159         * sysdeps/i386/elf/configure: Delete file.
61161         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
61162         * debug/backtracesyms.c: ... here.
61163         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
61164         * debug/backtracesymsfd.c: ... here.
61165         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
61166         * sysdeps/generic/ifunc-sel.h: ... here.
61168         * sysdeps/unix/i386/start.c: Delete file.
61169         * sysdeps/unix/sparc/start.c: Delete file.
61170         * sysdeps/unix/start.c: Delete file.
61172         * sysdeps/sh/elf/configure.in: Moved to ...
61173         * sysdeps/sh/configure.in: ... here.
61174         * sysdeps/sh/elf/start.S: Moved to ...
61175         * sysdeps/sh/start.S: ... here.
61176         * sysdeps/sh/elf/configure: Delete file.
61178         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
61179         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
61180         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
61181         * sysdeps/powerpc/powerpc64/entry.h: ... here.
61182         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
61183         * sysdeps/powerpc/powerpc64/start.S: here.
61184         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
61185         * sysdeps/powerpc/powerpc64/Makefile: ... this.
61186         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
61187         * sysdeps/powerpc/powerpc64/configure.in: ... this.
61188         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
61190         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
61191         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
61192         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
61193         * sysdeps/powerpc/powerpc32/start.S: ... here.
61194         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
61195         * sysdeps/powerpc/powerpc32/configure.in: ... this.
61196         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
61198         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
61199         * sysdeps/powerpc/ifunc-sel.h: ... here.
61200         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
61201         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
61203         * sysdeps/sparc/elf/configure.in: Moved to ...
61204         * sysdeps/sparc/configure.in: ... here.
61205         * sysdeps/sparc/elf/configure: Delete file.
61206         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
61207         * sysdeps/sparc/sparc32/start.S: ... here.
61208         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
61209         * sysdeps/sparc/sparc64/start.S: ... here.
61210         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
61211         * sysdeps/sparc/sparc32/Makefile: ... this.
61212         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
61213         * sysdeps/sparc/sparc64/Makefile: ... this.
61215         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
61216         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
61217         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
61218         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
61219         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
61220         * sysdeps/s390/s390-32/setjmp.S: ... here.
61221         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
61222         * sysdeps/s390/s390-32/configure.in: ... here.
61223         * sysdeps/s390/s390-32/elf/configure: Delete file.
61224         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
61225         * sysdeps/s390/s390-32/start.S: ... here.
61227         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
61228         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
61229         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
61230         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
61231         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
61232         * sysdeps/s390/s390-64/setjmp.S: ... here.
61233         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
61234         * sysdeps/s390/s390-64/configure.in: ... here
61235         * sysdeps/s390/s390-64/elf/configure: Delete file.
61236         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
61237         * sysdeps/s390/s390-64/start.S: ... here.
61238         * sysdeps/s390/s390-64/elf/configure: Delete.
61240         * configure.in: Remove support for elf directories in sysdeps.
61242         * configure: Regenerated.
61243         * sysdeps/i386/configure: Regenerated.
61244         * sysdeps/powerpc/powerpc32/configure: Regenerated.
61245         * sysdeps/powerpc/powerpc64/configure: Regenerated.
61246         * sysdeps/s390/s390-32/configure: Regenerated.
61247         * sysdeps/s390/s390-64/configure: Regenerated.
61248         * sysdeps/sh/configure: Regenerated.
61249         * sysdeps/sparc/configure: Regenerated.
61250         * sysdeps/x86_64/configure: Regenerated.
61252 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
61254         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61256         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
61257         denormal result into account.
61259 2012-03-25  Roland McGrath  <roland@hack.frob.com>
61261         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
61262         Reported by Allan McRae <allan@archlinux.org>.
61264 2012-03-23  Jeff Law  <law@redhat.com>
61266         * nss/getnssent.c (__nss_getent): Fix typo.
61268 2012-03-23  David S. Miller  <davem@davemloft.net>
61270         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61272 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
61274         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
61275         to pad to uint64_t for each field.
61276         (dl_tls_index): Replace unsigned long with uint64_t.
61278 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
61279         Paul Pluzhnikov  <ppluzhnikov@google.com>
61281         [BZ #6528]
61282         * grp/Makefile (otherlibs): Don't set it.
61283         * inet/Makefile (otherlibs): Likewise.
61284         * login/Makefile (otherlibs): Likewise.
61285         * nscd/Makefile (otherlibs): Likewise.
61286         * posix/Makefile (otherlibs): Likewise.
61287         * pwd/Makefile (otherlibs): Likewise.
61288         * rt/Makefile (otherlibs): Likewise.
61289         * sunrpc/Makefile (otherlibs): Likewise.
61290         * nss/Makefile (otherlibs): Likewise.
61291         Add libnss_files to routines and static-only-routines.
61292         ($(objpfx)getent): Remove rule.
61293         * resolv/Makefile: Add libnss_dns and libresolv to routines and
61294         static-only-routines.
61296 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
61298         [BZ #13892]
61299         * math/s_cexp.c: Include <float.h>.
61300         (__cexp): Handle exp result overflowing not necessarily
61301         overflowing both real and imaginary parts of result.
61302         * math/s_cexpf.c: Likewise.
61303         * math/s_cexpl.c: Likewise.
61304         * math/libm-test.inc (cexp_test): Add more tests.
61305         * sysdeps/i386/fpu/libm-test-ulps: Update.
61306         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61308 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
61310         * include/link.h (ELFW): New macro.
61311         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
61312         Replace ELF64_R_TYPE with ELFW(R_TYPE).
61314 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
61316         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
61317         with uint64_t.
61319 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
61321         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
61322         declaration.
61323         (struct La_x32_retval): Likewise.
61325 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
61327         * sysdeps/x86_64/preconfigure.in: New file.
61328         * sysdeps/x86_64/preconfigure: New generated file.
61330 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
61332         [BZ #13824]
61333         * math/e_exp2l.c: Include <float.h>.
61334         (__ieee754_exp2l): Handle overflow and underflow cases
61335         separately.  Only pass fractional part of argument to
61336         __ieee754_expl.
61337         * math/libm-test.inc (exp2_test): Add more tests.
61339         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
61340         negating x to take absolute value.
61341         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
61342         Likewise.
61343         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
61344         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
61345         Likewise.
61346         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
61347         computing low part if x was negated.
61348         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
61350 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
61352         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
61353         la_x32_gnu_pltexit.
61354         (pltexit): Cast int_retval to ptrdiff_t.
61355         * elf/tst-auditmod3b.c: Likewise.
61356         * elf/tst-auditmod4b.c: Likewise.
61357         * elf/tst-auditmod5b.c: Likewise.
61358         * elf/tst-auditmod6b.c: Likewise.
61359         * elf/tst-auditmod6c.c: Likewise.
61360         * elf/tst-auditmod7b.c: Likewise.
61362         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
61363         and x32_gnu_pltexit.
61365         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
61366         __ELF_NATIVE_CLASS.
61367         (La_x32_regs): New macro.
61368         (La_x32_retval): Likewise.
61369         (la_x32_gnu_pltenter): New function prototype.
61370         (la_x32_gnu_pltexit): Likewise.
61372 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
61374         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
61375         exponent.
61377         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61379         * configure.in (libc_cv_cc_nofma): Check for option to disable
61380         generation of FMA instructions.
61381         * configure: Regenerate.
61382         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
61383         * sysdeps/ieee754/dbl-64/Makefile: New file.
61384         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
61385         Remove brandred-fma4.
61386         (CFLAGS-brandred-fma4.c): Remove.
61387         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
61388         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
61389         define.
61390         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
61391         define.
61393 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
61395         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
61396         LLONG_MAX != LONG_MAX.
61397         (_itoa_word): Use _ITOA_WORD_TYPE on value.
61398         (_fitoa_word): Likewise.
61399         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
61400         LLONG_MAX != LONG_MAX.
61401         * stdio-common/_itowa.h: Include <_itoa.h>.
61402         (_itowa_word): Use _ITOA_WORD_TYPE on value.
61403         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
61404         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
61405         only if not defined.
61406         (_ITOA_WORD_TYPE): Likewise.
61407         (_itoa_word): Use _ITOA_WORD_TYPE on value.
61408         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
61410 2012-03-21  David S. Miller  <davem@davemloft.net>
61412         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61414 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
61416         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
61417         of x86_64 when setting libc_cv_slibdir, libdir and
61418         libc_cv_localedir.
61419         * sysdeps/unix/sysv/linux/configure: Regenerated.
61421 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
61423         * manual/lang.texi (Old Varargs): Remove section.
61424         (How Variadic): Update menu.
61425         (va_start): Do not mention varargs.h.
61427 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
61428             Joseph Myers  <joseph@codesourcery.com>
61430         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
61431         link test.
61432         * configure: Regenerated.
61434 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
61436         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
61437         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
61438         conformtest.pl
61440 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
61442         * NOTES: Remove.
61443         * Makefile (files-for-dist): Remove NOTES.
61444         (NOTES): Remove rule.
61445         * README: Don't refer to NOTES.
61446         * manual/creature.texi: Don't include macros.texi.
61447         * manual/intro.texi (creature.texi): Remove comment referring to
61448         NOTES.
61450         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
61451         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
61452         * configure: Regenerated.
61453         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
61454         LIBC_TRY_CC_OPTION.
61455         (libc_cv_as_i686): Likewise.
61456         (libc_cv_cc_avx): Likewise.
61457         (libc_cv_cc_sse2avx): Likewise.
61458         (libc_cv_cc_fma4): Likewise.
61459         (libc_cv_cc_novzeroupper): Likewise.
61460         * sysdeps/i386/configure: Regenerated.
61462         [BZ #13883]
61463         * sysdeps/i386/fpu/s_cexp.S: Remove.
61464         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
61465         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
61466         * math/libm-test.inc (cexp_test): Add more tests.
61467         * sysdeps/i386/fpu/libm-test-ulps: Update.
61468         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61470 2012-03-21  Allan McRae  <allan@archlinux.org>
61472         * timezone/Makefile: Do not install iso3166.tab and zone.tab
61474 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
61476         [BZ #13871]
61477         * math/w_exp2.c: Do not include <float.h>.
61478         (o_threshold, u_threshold): Remove.
61479         (__exp2): Calculate result before checking finiteness and calling
61480         __kernel_standard.
61481         * math/w_exp2f.c: Likewise.
61482         * math/w_exp2l.c: Likewise.
61483         * math/libm-test.inc (exp2_test): Require overflow exception for
61484         1e6 input.
61486         [BZ #3866]
61487         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
61488         range of signed 64-bit integers before using fistpll.  Remove
61489         checks for whether integers fit in mantissa bits.
61490         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
61491         the range of signed 32-bit integers before using fistpl.  Remove
61492         checks for whether integers fit in mantissa bits.
61493         * sysdeps/i386/fpu/e_powl.S (p64): New object.
61494         (__ieee754_powl): Test for y outside the range of signed 64-bit
61495         integers before using fistpll.  Reduce 64-bit values to 63-bit
61496         ones as needed.
61497         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
61498         divide-by-zero is raised for zero to large negative powers.
61499         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
61500         (__ieee754_powl): Test for y outside the range of signed 64-bit
61501         integers before using fistpll.  Reduce 64-bit values to 63-bit
61502         ones as needed.
61503         * math/libm-test.inc (pow_test): Add more tests.
61505 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
61507         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
61508         <stdio-common/_itoa.h>.
61509         * debug/segfault.c: Likewise.
61510         * elf/dl-cache.c: Likewise.
61511         * elf/dl-minimal.c: Likewise.
61512         * elf/dl-misc.c: Likewise.
61513         * elf/dl-sysdep.c: Likewise.
61514         * elf/dl-version.c: Likewise.
61515         * elf/rtld.c: Likewise.
61516         * hurd/hurdsock.c: Likewise.
61517         * hurd/lookup-retry.c: Likewise.
61518         * malloc/malloc.c: Likewise.
61519         * malloc/mtrace.c: Likewise.
61520         * nscd/nscd_getgr_r.c: Likewise.
61521         * nscd/nscd_getpw_r.c: Likewise.
61522         * nscd/nscd_getserv_r.c: Likewise.
61523         * posix/getopt_init.c: Likewise.
61524         * posix/wordexp.c: Likewise.
61525         * stdio-common/_itoa.c: Likewise.
61526         * stdio-common/printf_fphex.c: Likewise.
61527         * stdio-common/vfprintf.c: Likewise.
61528         * string/_strerror.c: Likewise.
61529         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
61530         * sysdeps/i386/i686/hp-timing.h: Likewise.
61531         * sysdeps/mach/_strerror.c: Likewise.
61532         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
61533         * sysdeps/mach/hurd/sethostid.c: Likewise.
61534         * sysdeps/mach/hurd/xmknodat.c: Likewise.
61535         * sysdeps/mach/xpg-strerror.c: Likewise.
61536         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
61537         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
61538         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
61539         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
61540         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
61541         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
61542         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
61543         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
61544         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
61545         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
61546         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
61547         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
61548         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
61549         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
61550         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
61551         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
61552         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
61553         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
61554         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
61555         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
61556         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
61558         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
61560         * stdio-common/_itoa.h: Moved to ...
61561         * sysdeps/generic/_itoa.h: Here.
61563         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
61565         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
61566         instead of "_itoa.h" and "_itowa.h".
61567         * stdio-common/vfprintf.: Likewise.
61569 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
61571         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
61572         <bits/wordsize.h>.
61573         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
61574         (__signbit): Likwise.
61575         (llrintf): Likwise.
61576         (llrint): Likwise.
61578 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
61580         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
61581         __WORDSIZE != 64.
61583 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
61585         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
61586         OVERFLOW_EXCEPTION_OK.
61587         * math/libm-test.inc ("Philosophy"): Update comment about
61588         exception testing.
61589         (OVERFLOW_EXCEPTION): Define.
61590         (OVERFLOW_EXCEPTION_OK): Likewise.
61591         (INVALID_EXCEPTION_OK): Renumber.
61592         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
61593         (IGNORE_ZERO_INF_SIGN): Likewise.
61594         (test_exceptions): Handle FE_OVERFLOW.
61595         (exp10_test): Expect overflow exceptions.
61596         (exp2_test): Likewise.
61597         (expm1_test): Likewise.
61598         (nextafter_test): Likewise.
61599         (pow_test): Likewise.
61600         (scalbn_test): Likewise.
61601         (scalbln_test): Likewise.
61603 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
61605         * sysdeps/x86_64/bits/atomic.h
61606         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
61607         64bit integer.
61608         (atomic_exchange_acq): Likewise.
61609         (__arch_exchange_and_add_body): Likewise.
61610         (__arch_add_body): Likewise.
61611         (atomic_add_negative): Likewise.
61612         (atomic_add_zero): Likewise.
61614 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
61616         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
61617         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
61619 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
61621         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
61622         Check __x86_64__ instead of __WORDSIZE.
61624 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
61626         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
61628 2012-03-19  David S. Miller  <davem@davemloft.net>
61630         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61632         * sysdeps/sparc/fpu/fenv_private.h: New file.
61633         * sysdeps/sparc/fpu/math_private.h: Use it.
61634         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
61635         Remove.
61636         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
61637         (libc_feholdexcept_setroundl): Remove.
61638         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
61639         Remove.
61640         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
61641         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
61643 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
61645         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
61646         int64_t instead of long int.
61647         (INSERT_WORDS64): Likwise.
61649 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
61651         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
61652         _Unwind_GetCFA return to _Unwind_Ptr first.
61654 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
61656         [BZ #13629]
61657         * math/s_clog.c: Include <float.h>.
61658         (__clog): Scale large or subnormal inputs.
61659         * math/s_clogf.c: Likewise.
61660         * math/s_clogl.c: Likewise.
61661         * math/s_clog10.c: Include <float.h>.
61662         (M_LOG10_2): Define.
61663         (__clog10): Scale large or subnormal inputs.
61664         * math/s_clog10f.c: Likewise.
61665         * math/s_clog10l.c: Likewise.
61666         * math/libm-test.inc (clog_test): Add more tests.
61667         (clog10_test): Likewise.
61668         * sysdeps/i386/fpu/libm-test-ulps: Update.
61669         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61671         [BZ #11451]
61672         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
61673         x and y.
61674         * math/libm-test.inc (atan2_test): Add another test.
61676         * Makerules (common-objdir-compile): Remove.
61677         * sysdeps/unix/Makefile (config-generated): Do not add
61678         $(unix-generated) to variable.
61679         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
61680         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
61681         Remove rule.
61682         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
61683         Likewise.
61684         [generic bits/local_lim.h] (before-compile): Do not append to
61685         variable.
61686         [generic bits/local_lim.h] (common-generated): Likewise.
61687         [generic sys/param.h] (before-compile): Do not append to variable.
61688         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
61689         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
61690         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
61691         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
61692         include.
61693         [generic sys/param.h] (sys/param.h-includes): Remove variable.
61694         [generic sys/param.h] (sys/param.h-includes): Remove rule.
61695         [generic sys/param.h] ($(addprefix
61696         $(common-objpfx),$(sys/param.h-includes))): Likewise.
61697         [generic sys/param.h] (common-generated): Do not append to
61698         variable.
61699         [generic sys/param.h] (sysdep_headers): Likewise.
61700         [generic bits/errno.h] (before-compile): Do not append to
61701         variable.
61702         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
61703         rule.
61704         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
61705         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
61706         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
61707         [generic bits/errno.h] (common-generated): Do not append to
61708         variable.
61709         [generic bits/ioctls.h] (before-compile): Do not append to
61710         variable.
61711         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
61712         rule.
61713         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
61714         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
61715         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
61716         rule.
61717         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
61718         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
61719         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
61720         [generic bits/ioctls.h] (common-generated): Do not append to
61721         variable.
61722         [generic sys/syscall.h] (syscall.h): Remove variable.
61723         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
61724         rule.
61725         [generic sys/syscall.h] (before-compile): Do not append to
61726         variable.
61727         [generic sys/syscall.h] (common-generated): Likewise.
61728         * sysdeps/unix/errnos-tmpl.c: Remove file.
61729         * sysdeps/unix/errnos.awk: Likewise.
61730         * sysdeps/unix/ioctls-tmpl.c: Likewise.
61731         * sysdeps/unix/ioctls.awk: Likewise.
61732         * sysdeps/unix/mk-local_lim.c: Likewise.
61733         * sysdeps/unix/snarf-ioctls: Likewise.
61735 2012-03-19  Richard Henderson  <rth@twiddle.net>
61737         * sysdeps/i386/fpu/fenv_private.h: New file.
61738         * sysdeps/i386/fpu/math_private.h: Use it.
61739         (math_opt_barrier, math_force_eval): Remove.
61740         (libc_feholdexcept_setround_53bit): Remove.
61741         (libc_feupdateenv_53bit): Remove.
61742         * sysdeps/x86_64/fpu/math_private.h: Likewise.
61743         (math_opt_barrier, math_force_eval): Remove.
61744         (libc_feholdexcept): Remove.
61745         (libc_feholdexcept_setround): Remove.
61746         (libc_fetestexcept, libc_fesetenv): Remove.
61747         (libc_feupdateenv_test): Remove.
61748         (libc_feupdateenv, libc_feholdsetround): Remove.
61749         (libc_feresetround): Remove.
61751         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
61752         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
61754         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
61755         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
61756         (libc_feupdateenv_testl): New.
61757         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
61758         (libc_feupdateenv_testf): New.
61759         (libc_feupdateenv): Use libc_feupdateenv_test.
61760         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
61761         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
61763         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
61764         (libc_feholdsetroundf, libc_feholdsetroundl): New.
61765         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
61766         (libc_feresetround_noex): New.
61767         (libc_feresetround_noexf): New.
61768         (libc_feresetround_noexl): New.
61769         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
61770         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
61771         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
61772         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
61773         SET_RESTORE_ROUND.
61774         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
61775         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
61776         (__cos): Likewise.
61777         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
61778         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
61779         SET_RESTORE_ROUND_NOEX.
61780         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
61781         SET_RESTORE_ROUND_NOEXF.
61782         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
61783         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
61784         (libc_feholdsetroundf): New.
61785         (libc_feresetround, libc_feresetroundf): New.
61787         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
61788         (libc_feholdexcept_setround_53bit): Convert from macro to function.
61789         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
61791         * sysdeps/generic/math_private.h: Include <fenv.h>.
61792         (default_libc_feholdexcept): New.
61793         (default_libc_feholdexcept_setround): New.
61794         (default_libc_fesetenv, default_libc_feupdateenv): New.
61795         (libc_feholdexcept): Only define if undefined.
61796         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
61797         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
61798         (libc_feholdexcept_setroundl): Likewise.
61799         (libc_feholdexcept_setround_53bit): Likewise.
61800         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
61801         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
61802         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
61803         (libc_feupdateenv_53bit): Likewise.
61804         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
61805         (libc_feholdexcept): Convert from macro to inline function.
61806         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
61807         (libc_fesetenv, libc_feupdateenv): Likewise.
61809         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
61810         not previously defined.
61811         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
61812         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
61813         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
61814         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
61815         * sysdeps/ieee754/flt-32/math_private.h: New file.
61816         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
61817         math_private.h below SET_FLOAT_WORD.
61818         (__isnan, __isinf_ns, __finite): Remove.
61819         (__isnanf, __isinf_nsf, __finitef): Remove.
61821 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
61823         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61825 2012-03-17  David S. Miller  <davem@davemloft.net>
61827         [BZ #6471]
61828         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
61829         for 2.16.
61831 2012-03-16  David S. Miller  <davem@davemloft.net>
61833         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
61834         warnings.
61836         [BZ #6471]
61837         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
61838         properly.
61839         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
61840         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
61841         sysdep_routines when subdir is sysvipc.
61842         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
61843         __getshmlba helper.
61845         * sysdeps/sparc/fpu/libm-test/ulps: Update.
61847 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
61849         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
61850         [__LP64__].
61852 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
61854         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
61855         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
61856         (__lround): Renamed to ...
61857         (__llround): This.  Replace long int with long long int.
61858         Define lround functions as aliases of llround functions.
61859         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
61861 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
61863         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
61864         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
61865         adresses to uintptr_t.  Replace "long int" and "unsigned long
61866         int" with "greg_t" on va_arg.
61868 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
61870         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
61871         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
61873         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
61874         Move e_machine check before EI_CLASS check.  Handle x32
61875         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
61876         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
61877         SKIP_EM_IA_64 and include
61878         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
61880         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
61881         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
61882         (add_system_dir): New macro.
61884         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
61885         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
61887 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
61889         [BZ #2551]
61890         [BZ #2552]
61891         [BZ #2553]
61892         [BZ #2554]
61893         [BZ #2562]
61894         [BZ #2563]
61895         [BZ #2565]
61896         [BZ #2566]
61897         [BZ #2576]
61898         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
61899         (y0): Likewise.
61900         * math/w_j0f.c (j0f): Likewise.
61901         (y0f): Likewise.
61902         * math/w_j0l.c (__j0l): Likewise.
61903         (__y0l): Likewise.
61904         * math/w_j1.c (j1): Likewise.
61905         (y1): Likewise.
61906         * math/w_j1f.c (j1f): Likewise.
61907         (y1f): Likewise.
61908         * math/w_j1l.c (__j1l): Likewise.
61909         (__y1l): Likewise.
61910         * math/w_jn.c (jn): Likewise.
61911         (yn): Likewise.
61912         * math/w_jnf.c (jnf): Likewise.
61913         (ynf): Likewise.
61914         * math/w_jnl.c (__jnl): Likewise.
61915         (__ynl): Likewise.
61916         * math/libm-test.inc (j0_test): Add more tests.
61917         (j1_test): Likewise.
61918         (jn_test): Likewise.  Add trailing semicolon to existing test.
61919         (y0_test): Likewise.
61920         (y1_test): Likewise.
61921         * sysdeps/i386/fpu/libm-test-ulps: Update.
61922         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61924         [BZ #13851]
61925         [BZ #13854]
61926         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
61927         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
61928         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
61929         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
61930         (__tanl): Set errno for infinite argument.
61931         * sysdeps/i386/fpu/mptan.c: Remove.
61932         * sysdeps/i386/fpu/s_tan.S: Likewise.
61933         * sysdeps/i386/fpu/s_tanl.S: Likewise.
61934         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
61935         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
61936         * math/libm-test.inc (tan_test): Add more tests and enable more
61937         tests for double and long double.
61938         * sysdeps/i386/fpu/libm-test-ulps: Update.
61939         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61941 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
61943         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
61944         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
61946 2012-03-16  Roland McGrath  <roland@hack.frob.com>
61948         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
61949         * configure.in: Use it for both main tree and add-ons.
61950         * configure: Regenerated.
61952 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
61954         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
61956 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
61958         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
61959         in comment.
61961         [BZ #13851]
61962         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
61963         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
61964         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
61965         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
61966         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
61967         infinite argument.
61968         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
61969         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
61970         != 0 for prec == 2.
61971         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
61972         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
61973         * sysdeps/i386/fpu/s_cosl.S: Likewise.
61974         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
61975         * sysdeps/i386/fpu/s_sinl.S: Likewise.
61976         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
61977         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
61978         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
61979         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
61980         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
61981         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
61982         * math/libm-test.inc (cos_test): Add more tests and enable more
61983         tests for long double.
61984         (sin_test): Likewise.
61985         (sincos_test): Likewise.
61986         * sysdeps/i386/fpu/libm-test-ulps: Update.
61987         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61989 2012-03-16  David S. Miller  <davem@davemloft.net>
61991         * sysdeps/sparc/fpu/math_private.h: New file.
61993 2012-03-15  David S. Miller  <davem@davemloft.net>
61995         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
61996         file.
61997         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
61998         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
61999         file.
62000         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
62001         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
62002         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
62003         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
62004         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
62005         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
62006         sysdep routines.
62007         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
62009         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
62010         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
62012         * sysdeps/sparc/sparc-ifunc.h: New file.
62013         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
62014         sparc-ifunc.h
62015         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
62016         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
62017         Likewise.
62018         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
62019         Likewise.
62020         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
62021         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
62022         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
62023         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
62024         Likewise.
62025         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
62026         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
62027         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
62028         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
62029         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
62030         Likewise.
62031         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
62032         Likewise.
62033         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
62034         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
62035         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
62036         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
62037         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
62038         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
62039         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
62040         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
62041         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
62042         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
62043         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
62044         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
62045         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
62046         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
62047         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
62048         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
62049         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
62050         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
62051         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
62052         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
62053         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
62054         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
62055         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
62056         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
62058 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
62060         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
62061         scaling.
62062         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62064 2012-03-15  Andreas Jaeger  <aj@suse.de>
62066         [BZ #13852]
62067         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
62068         ieee754/flt-32 implementation for sin, cos and sincos.
62069         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
62070         * sysdeps/i386/fpu/s_cosf.S: Likewise.
62071         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
62072         * sysdeps/i386/fpu/s_sinf.S: Likewise.
62073         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
62074         ieee754/flt-32 implementation for tan.
62076         * math/libm-test.inc (cos_test): Enable some large input tests for
62077         float as well
62078         (sin_test): Likewise.
62079         (sincos_test): Likewise.
62080         (tan_test): Add tests for large input.
62082         * sysdeps/i386/fpu/libm-test-ulps: Update.
62084 2012-03-15  Andreas Jaeger  <aj@suse.de>
62086         [BZ #13658]
62087         * math/libm-test.inc (cos_test): Add more test cases.
62088         (sin_test): Likewise.
62089         (sincos_test): Likewise.
62091 2012-03-15  Andreas Jaeger  <aj@suse.de>
62093         [BZ #13837]
62094         * math/libm-test.inc (cos_test): Add a test case for large input
62095         value.
62096         (sin_test): Likewise.
62097         (sincos_test): Likewise.
62099 2012-03-15  Andreas Jaeger  <aj@suse.de>
62100             Joseph Myers  <joseph@codesourcery.com>
62102         [BZ #13658]
62103         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
62104         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
62105         * sysdeps/i386/fpu/branred.c: Likewise.
62106         * sysdeps/i386/fpu/dosincos.c: Likewise.
62107         * sysdeps/i386/fpu/mpa.c: Likewise.
62108         * sysdeps/i386/fpu/s_cos.S: Likewise.
62109         * sysdeps/i386/fpu/s_sin.S: Likewise.
62110         * sysdeps/i386/fpu/s_sincos.S: Likewise.
62111         * sysdeps/i386/fpu/sincos32.c: Likewise.
62113         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
62114         Define.
62115         (libc_feupdateenv_53bit): Define.
62116         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
62117         Define.
62118         (libc_feupdateenv_53bit): Define.
62120         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
62121         53 bit (without extend i386 double precision).
62123         * math/libm-test.inc (sincos_test): Add tests for large input.
62124         (sin): Likewise.
62125         (cos): Likewise.
62127         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
62129 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
62131         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62133 2012-03-15  David S. Miller  <davem@davemloft.net>
62135         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
62136         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
62137         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
62138         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
62139         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
62140         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
62141         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
62142         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
62143         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
62144         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
62145         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
62146         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
62147         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
62148         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
62149         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
62150         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
62151         file.
62152         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
62153         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
62154         file.
62155         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
62156         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
62157         file.
62158         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
62159         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
62160         file.
62161         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
62162         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
62163         fmin/fmax sysdep routines.
62164         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
62166 2012-03-14  David S. Miller  <davem@davemloft.net>
62168         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
62169         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
62170         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
62171         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
62172         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
62173         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
62174         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
62175         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
62176         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
62177         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
62178         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
62179         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
62180         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
62181         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
62182         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
62183         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
62184         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
62185         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
62186         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
62187         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
62188         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
62189         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
62190         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
62191         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
62192         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
62193         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
62194         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
62195         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
62196         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
62197         routines.
62198         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
62199         file.
62200         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
62201         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
62202         file.
62203         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
62204         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
62205         file.
62206         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
62207         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
62208         file.
62209         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
62210         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
62211         file.
62212         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
62213         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
62214         file.
62215         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
62216         file.
62217         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
62218         file.
62219         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
62220         file.
62221         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
62222         New file.
62223         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
62224         file.
62225         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
62226         file.
62227         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
62228         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
62229         file.
62230         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
62231         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
62232         file.
62233         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
62234         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
62235         file.
62236         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
62237         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
62238         VIS3 routines.
62240         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
62241         New file.
62243         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62245         * sysdeps/sparc/configure.in: New file.
62246         * sysdeps/sparc/configure: Generate.
62247         * configure.in (libc_cv_sparc_as_vis3): Substitute.
62248         * configure: Regenerate.
62249         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
62250         * config.make.in (have-as-vis3): New.
62251         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
62252         available use -Av9d instead of -Av9a.
62253         * sysdeps/sparc/sparc64/Makefile: Likewise.
62254         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
62255         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
62256         New file.
62257         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
62258         file.
62259         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
62260         New file.
62261         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
62262         file.
62263         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
62264         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
62265         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
62266         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
62267         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
62269         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
62270         fzeros/fnegs to load 0x80000000 into a float register instead of
62271         using the stack.
62272         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
62274 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
62276         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62277         bits/syscall.h.
62278         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
62279         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
62280         ($(inst_includedir)/bits/syscall.h): Remove rule.
62281         ($(objpfx)bits/syscall.d): Include instead of
62282         $(objpfx)syscall-list.d.
62283         (generated): Change syscall-list.h and syscall-list.d to
62284         bits/syscall.h and bits/syscall.d.
62286 2012-03-14  Roland McGrath  <roland@hack.frob.com>
62288         [BZ #13846]
62289         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
62291 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
62293         [BZ #13841]
62294         * math/s_csqrt.c: Include <float.h>.
62295         (__csqrt): Scale large or subnormal inputs.
62296         * math/s_csqrtf.c: Likewise.
62297         * math/s_csqrtl.c: Likewise.
62298         * math/libm-test.inc (csqrt_test): Add more tests.
62299         * sysdeps/i386/fpu/libm-test-ulps: Update.
62300         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62302         [BZ #13840]
62303         * math/libm-test.inc (hypot_test): Add more tests.
62305 2012-03-13  David S. Miller  <davem@davemloft.net>
62307         [BZ #13840]
62308         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
62309         double-precision for the calculation instead of scaling.
62311 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
62313         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
62314         manipulate bits before adding and subtracting TWO52[sx].
62315         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
62316         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
62317         Likewise.
62318         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
62320 2012-03-13  David S. Miller  <davem@davemloft.net>
62322         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
62323         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
62324         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
62325         rtld-global-offsets.h
62326         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
62328         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
62329         large parameters.
62331         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
62333         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
62334         'err' in the ifdef scope in which it is actually used.
62336         * nss/nss_db/db-init.c: Include string.h
62338 2012-03-12  David S. Miller  <davem@davemloft.net>
62340         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
62341         masking out of the most significant byte of random value used.
62342         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
62343         Fix coding style in previous change.
62345         * sysdeps/unix/sysv/linux/kernel-features.h
62346         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
62347         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
62348         expression.
62349         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
62350         later.
62352 2012-03-11  David S. Miller  <davem@davemloft.net>
62354         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
62355         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
62356         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
62357         for 'resultvar' otherwise things get truncated on 64-bit.
62359         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
62360         Fix masking out of the most significant byte of random value used.
62362         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62364 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
62366         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62368 2012-03-09  David S. Miller  <davem@davemloft.net>
62370         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
62371         variables with appropriate CPP guards.
62372         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
62373         from the frame pointer, not the stack pointer.  Correct layout
62374         comments.  Fix test on resulting framesize and the management of
62375         the outregs buffer for pltexit.  Preserve floating point return
62376         values across _dl_call_pltexit call.
62377         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
62378         framesize and the management of the outregs buffer for pltexit.
62379         Preserve floating point return values across _dl_call_pltexit
62380         call.
62381         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
62382         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
62383         (la_sparc64_gnu_pltexit): New functions.
62384         (print_exit): Fix format string for return register value.
62386 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
62388         * sunrpc/Makefile (others): Add rpcgen.
62389         ($(objpfx)rpcgen): Remove special build rule and dependency on
62390         libc.
62391         * sunrpc/rpcgen.c: New file.
62393 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
62395         [BZ #13673]
62396         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
62397         * stdio-common/bug-vfprintf-nargs.c: Likewise.
62398         * sysdeps/i386/crti.S: Likewise.
62399         * sysdeps/i386/crtn.S: Likewise.
62400         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
62401         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
62402         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
62403         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
62404         * sysdeps/sh/crti.S: Likewise.
62405         * sysdeps/sh/crtn.S: Likewise.
62406         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
62408         [BZ #13673]
62409         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
62410         with URL.
62411         * locale/programs/locfile-kw.gperf: Likewise.
62412         * locale/programs/charmap-kw.h: Regenerated.
62413         * locale/programs/locfile-kw.h: Likewise.
62415         [BZ #13673]
62416         * intl/plural.y: Replace FSF snail mail address with URL.
62417         * intl/plural.c: Regenerated.
62419 2012-03-09  Richard Henderson  <rth@twiddle.net>
62421         * include/math_private.h: Remove file.
62422         * math/math_private.h: Move file ...
62423         * sysdeps/generic/math_private.h: ... here.
62425         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
62426         * sysdeps/powerpc/fpu/math_private.h: Likewise.
62427         * sysdeps/x86_64/fpu/math_private.h: Likewise.
62429         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
62430         and <math_private.h>.
62431         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
62432         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
62433         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
62434         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
62435         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
62436         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
62437         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
62438         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
62439         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
62440         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
62441         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
62442         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
62443         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
62444         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
62445         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
62446         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
62447         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
62448         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
62449         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
62450         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
62451         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
62452         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
62453         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
62454         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
62455         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
62456         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
62457         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
62458         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
62459         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
62460         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
62461         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
62462         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
62463         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
62464         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
62465         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
62466         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
62467         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
62468         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
62469         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
62470         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
62471         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
62472         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
62473         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
62474         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
62475         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
62476         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
62477         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
62478         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
62479         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
62480         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
62481         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
62482         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
62483         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
62484         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
62485         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
62486         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
62487         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
62488         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
62489         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
62490         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
62491         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
62492         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
62493         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
62494         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
62495         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
62496         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
62497         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
62498         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
62499         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
62500         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
62501         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
62502         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
62503         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
62504         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
62505         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
62506         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
62507         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
62508         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
62509         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
62510         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
62511         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
62512         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
62513         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
62514         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
62515         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
62516         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
62517         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
62518         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
62519         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
62520         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
62521         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
62522         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
62523         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
62524         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
62525         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
62526         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
62527         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
62528         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
62529         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
62530         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
62531         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
62532         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
62533         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
62534         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
62535         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
62536         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
62537         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
62538         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
62539         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
62540         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
62541         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
62542         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
62543         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
62544         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
62545         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
62546         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
62547         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
62548         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
62549         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
62550         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
62551         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
62552         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
62553         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
62554         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
62555         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
62556         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
62557         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
62558         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
62559         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
62560         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
62561         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
62562         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
62563         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
62564         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
62565         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
62566         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
62567         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
62568         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
62569         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
62570         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
62571         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
62572         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
62573         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
62574         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
62575         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
62576         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
62577         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
62578         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
62579         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
62580         * sysdeps/ieee754/k_standard.c: Likewise.
62581         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
62582         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
62583         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
62584         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
62585         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
62586         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
62587         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
62588         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
62589         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
62590         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
62591         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
62592         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
62593         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
62594         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
62595         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
62596         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
62597         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
62598         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
62599         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
62600         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
62601         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
62602         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
62603         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
62604         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
62605         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
62606         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
62607         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
62608         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
62609         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
62610         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
62611         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
62612         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
62613         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
62614         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
62615         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
62616         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
62617         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
62618         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
62619         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
62620         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
62621         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
62622         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
62623         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
62624         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
62625         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
62626         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
62627         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
62628         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
62629         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
62630         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
62631         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
62632         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
62633         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
62634         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
62635         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
62636         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
62637         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
62638         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
62639         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
62640         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
62641         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
62642         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
62643         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
62644         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
62645         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
62646         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
62647         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
62648         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
62649         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
62650         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
62651         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
62652         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
62653         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
62654         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
62655         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
62656         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
62657         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
62658         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
62659         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
62660         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
62661         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
62662         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
62663         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
62664         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
62665         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
62666         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
62667         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
62668         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
62669         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
62670         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
62671         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
62672         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
62673         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
62674         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
62675         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
62676         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
62677         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
62678         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
62679         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
62680         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
62681         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
62682         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
62683         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
62684         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
62685         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
62686         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
62687         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
62688         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
62689         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
62690         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
62691         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
62692         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
62693         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
62694         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
62695         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
62696         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
62697         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
62698         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
62699         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
62700         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
62701         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
62702         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
62703         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
62704         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
62705         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
62706         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
62707         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
62708         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
62709         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
62710         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
62711         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
62712         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
62713         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
62714         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
62715         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
62716         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
62717         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
62718         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
62719         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
62720         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
62721         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
62722         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
62723         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
62724         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
62725         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
62726         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
62727         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
62728         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
62729         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
62730         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
62731         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
62732         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
62733         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
62734         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
62735         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
62736         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
62737         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
62738         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
62739         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
62740         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
62741         * sysdeps/ieee754/s_lib_version.c: Likewise.
62742         * sysdeps/ieee754/s_matherr.c: Likewise.
62743         * sysdeps/ieee754/s_signgam.c: Likewise.
62744         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
62745         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
62746         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
62747         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
62748         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
62749         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
62750         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
62751         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
62752         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
62753         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
62754         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
62755         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
62756         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
62757         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
62758         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
62759         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
62760         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
62761         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
62762         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
62763         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
62764         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
62766 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
62768         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
62769         * sunrpc/rpc_main.c: Likewise.
62770         * sunrpc/rpc_svcout.c: Likewise.
62772 2012-03-09  David S. Miller  <davem@davemloft.net>
62774         * include/math_private.h: New file.
62776 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
62778         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
62779         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
62780         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
62781         from <bits/socket_type.h>.
62782         (enum __socket_type): Don't define here.
62783         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
62784         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62785         bits/socket_type.h.
62787         [BZ #13566]
62788         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
62789         checking __USE_GNU.
62791         * Makerules ($(inst_includedir)/%.h): New rule.
62792         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
62793         (install-others): Remove variable setting.
62794         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
62796 2012-03-08  Richard Henderson  <rth@twiddle.net>
62798         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
62799         from macro to inline function; merge with the
62800         !__LIBC_INTERNAL_MATH_INLINES version.
62801         (__ieee754_sqrtf): Likewise.
62803         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
62804         to inline function.
62805         (__rintf, __floor, __floorf): Likewise.
62807         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
62808         macro to inline function.
62809         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
62811         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
62812         not <math/math_private.h>.
62814 2012-03-08  David S. Miller  <davem@davemloft.net>
62816         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
62817         copyright year.
62818         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
62820 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
62822         * resolv/gai_misc.c (handle_requests): Fix struct timespec
62823         normalization.
62824         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
62825         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
62827 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
62829         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
62830         be defined individually, they must be defined as a block.  Define
62831         S for printing a string instead of hidint the different by using a
62832         macro for adding the 'l'.
62833         * stdio-common/tst-fphex-wide.c: Adjust.
62835 2012-03-07  Marek Polacek  <polacek@redhat.com>
62837         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
62839 2012-03-08  Marek Polacek  <polacek@redhat.com>
62841         [BZ #13806]
62842         * stdio-common/Makefile (tests): Add tst-fphex-wide.
62843         * stdio-common/tst-fphex.c: Define a few macros to make the
62844         test reusable.  Use them.
62845         * stdio-common/tst-fphex-wide.c: New file.
62847 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
62849         [BZ #6911]
62850         * manual/macros.texi (gnusystems): New macro.
62851         (nongnusystems): Likewise.
62852         (gnulinuxhurdsystems): Likewise.
62853         (gnuhurdsystems): Likewise..
62854         (gnulinuxsystems): Likewise.
62855         * manual/charset.texi: Use new macros or @theglibc{} to refer to
62856         variants of the GNU system, not "GNU system".
62857         * manual/conf.texi: Likewise.
62858         * manual/errno.texi: Likewise.  Update example of errno macro
62859         expansion.
62860         * manual/filesys.texi: Likewise.
62861         (getumask): Document as specific to GNU/Hurd.
62862         * manual/install.texi: Likewise.  Reword some references to
62863         GNU/Linux.
62864         * manual/intro.texi: Likewise.
62865         * manual/io.texi: Likewise.
62866         (File Name Portability): Detail which constraints are inapplicable
62867         to all GNU systems and which are only inapplicable to GNU/Hurd.
62868         * manual/job.texi: Likewise.
62869         * manual/llio.texi: Likewise.
62870         (O_NOCTTY): Document as present on GNU/Linux.
62871         * manual/maint.texi: Likewise.
62872         * manual/memory.texi: Likewise.
62873         * manual/pattern.texi: Likewise.
62874         * manual/pipe.texi: Likewise.
62875         * manual/process.texi: Likewise.
62876         * manual/resource.texi: Likewise.
62877         (RUSAGE_CHILDREN): Remove statement about specifying a particular
62878         child on GNU/Hurd.
62879         * manual/setjmp.texi: Likewise.
62880         * manual/signal.texi: Likewise.
62881         * manual/startup.texi: Likewise.
62882         * manual/stdio.texi: Likewise.
62883         * manual/terminal.texi: Likewise.
62884         (ONLCR): Document as POSIX.
62885         (OXTABS): Document availability on GNU/Linux as XTABS.
62886         (ONOEOT): Document availability separately from other bits.
62887         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
62888         * manual/time.texi: Likewise.
62889         * manual/users.texi: Likewise.
62890         * INSTALL: Regenerated.
62891         * sysdeps/gnu/errlist.c: Regenerated.
62893         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
62894         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
62895         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
62896         puts.
62897         * configure: Regenerated.
62899 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
62901         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
62902         default includes instead of AC_HEADER_CHECK.
62903         * sysdeps/i386/configure: Regenerated.
62905         [BZ #10716]
62906         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
62907         * math/s_cacoshf.c (__cacoshf): Likewise.
62908         * math/s_cacoshl.c (__cacoshl): Likewise.
62909         * math/s_casinh.c (__casinh): Set signs of result from argument.
62910         * math/s_casinhf.c (__casinhf): Likewise.
62911         * math/s_casinhl.c (__casinhl): Likewise.
62912         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
62913         (casinh_test): Add more tests.
62914         * sysdeps/i386/fpu/libm-test-ulps: Update.
62915         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62917 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
62919         * po/zh_TW.po: Update from translation team.
62921         * login/Makefile (distribute): Remove variable.
62922         * catgets/Makefile: Likewise.
62923         * mach/Makefile: Likewise.
62924         * malloc/Makefile: Likewise.
62925         * misc/Makefile: Likewise.
62926         * iconv/Makefile: Likewise.
62927         * nscd/Makefile: Likewise.
62928         * hurd/Makefile: Likewise.
62929         * manual/Makefile: Likewise.
62930         * locale/Makefile: Likewise.
62931         * intl/Makefile: Likewise.
62932         * conform/Makefile: Likewise.
62933         * nss/Makefile: Likewise.
62934         * time/Makefile: Likewise.
62935         * soft-fp/Makefile: Likewise.
62936         * dirent/Makefile: Likewise.
62937         * gmon/Makefile: Likewise.
62938         * po/Makefile: Likewise.
62939         * rt/Makefile: Likewise.
62940         * socket/Makefile: Likewise.
62941         * math/Makefile: Likewise.
62942         * signal/Makefile: Likewise.
62943         * debug/Makefile: Likewise.
62944         * elf/Makefile: Likewise.
62945         * timezone/Makefile: Likewise.
62946         * stdlib/Makefile: Likewise.
62947         * iconvdata/Makefile: Likewise.
62948         * sunrpc/Makefile: Likewise.
62949         * io/Makefile: Likewise.
62950         * argp/Makefile: Likewise.
62951         * inet/Makefile: Likewise.
62952         * hesiod/Makefile: Likewise.
62953         * grp/Makefile: Likewise.
62954         * csu/Makefile: Likewise.
62955         * wctype/Makefile: Likewise.
62956         * crypt/Makefile: Likewise.
62957         * libio/Makefile: Likewise.
62958         * string/Makefile: Likewise.
62959         * nis/Makefile: Likewise.
62960         * resolv/Makefile: Likewise.
62961         * stdio-common/Makefile: Likewise.
62962         * wcsmbs/Makefile: Likewise.
62963         * dlfcn/Makefile: Likewise.
62964         * posix/Makefile: Likewise.
62966         [BZ #6959]
62967         * timezone/Makefile: Don't install timezone files, just the programs
62968         and scripts.
62970 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
62972         * nss/databases.def: Add missing gshadow entry.
62974         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
62976 2012-03-06  Marek Polacek  <polacek@redhat.com>
62978         [BZ #13726]
62979         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
62980         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
62981         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
62982         * stdio-common/tst-long-dbl-fphex.c: New file.
62984 2012-03-06  David S. Miller  <davem@davemloft.net>
62986         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
62987         (set_obp_int): New function.
62988         (get_obp_int): New function.
62989         (__get_clockfreq_via_dev_openprom): Likewise.
62990         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
62991         Avoid unused variable warnings on 'val' and use builtin_expect.
62992         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
62993         __builtin_expect.
62994         (INLINE_CLONE_SYSCALL): Likewise.
62996 2012-03-05  David S. Miller  <davem@davemloft.net>
62998         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63000 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
63002         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63004         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
63005         only for |x| >= 40.
63006         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
63008 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
63010         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
63011         Replace gettimeofday with __vdso_gettimeofday.
63013         * sysdeps/unix/sysv/linux/x86_64/init-first.c
63014         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
63015         __vdso_clock_gettime and __vdso_getcpu.
63017         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
63018         time with __vdso_time.
63020 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
63022         * manual/lang.texi (size_t): Note types to which size_t may be
63023         equivalent with the GNU C Library, but do not describe when
63024         differences between them are significant.
63026 2012-03-05  Andreas Jaeger  <aj@suse.de>
63028         * sysdeps/i386/fpu/libm-test-ulps: Update.
63030 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
63032         [BZ #3976]
63033         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
63034         (__ieee754_pow): Save and restore rounding mode and use
63035         round-to-nearest for main computations.
63036         * math/libm-test.inc (pow_test_tonearest): New function.
63037         (pow_test_towardzero): Likewise.
63038         (pow_test_downward): Likewise.
63039         (pow_test_upward): Likewise.
63040         (main): Call the new functions.
63041         * sysdeps/i386/fpu/libm-test-ulps: Update.
63042         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63044         [BZ #3976]
63045         * math/libm-test.inc (cosh_test_tonearest): New function.
63046         (cosh_test_towardzero): Likewise.
63047         (cosh_test_downward): Likewise.
63048         (cosh_test_upward): Likewise.
63049         (sinh_test_tonearest): Likewise.
63050         (sinh_test_towardzero): Likewise.
63051         (sinh_test_downward): Likewise.
63052         (sinh_test_upward): Likewise.
63053         (main): Call the new functions.
63054         * sysdeps/i386/fpu/libm-test-ulps: Update.
63055         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63057 2012-03-05  Tom de Vries  <tom@codesourcery.com>
63059         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
63060         default stack guard is set in last bytes.
63061         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
63063 2012-03-05  Kees Cook  <keescook@chromium.org>
63065         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
63067         [BZ #13656]
63068         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
63069         possibly allocate from heap instead of stack.
63070         * stdio-common/bug-vfprintf-nargs.c: New file.
63071         * stdio-common/Makefile (tests): Add nargs overflow test.
63073 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
63075         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63077 2012-03-03  Marek Polacek  <polacek@redhat.com>
63079         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
63080         * math/math_private.h: Likewise.
63081         * stdlib/tst-strtod.c: Likewise.
63082         * sysdeps/i386/i486/bits/atomic.h: Likewise.
63083         * sysdeps/x86_64/bits/atomic.h: Likewise.
63085 2012-03-02  David S. Miller  <davem@davemloft.net>
63087         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
63088         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
63089         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
63090         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
63091         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
63092         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
63093         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
63094         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
63096 2012-03-02  Roland McGrath  <roland@hack.frob.com>
63098         [BZ #13792]
63099         * manual/examples/README: New file, says the example source files
63100         can be used under GPL>=2.
63101         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
63102         line containing just "*/".
63103         * manual/examples/add.c: Add copyright header (GPL>=2).
63104         * manual/examples/argp-ex1.c: Likewise.
63105         * manual/examples/argp-ex2.c: Likewise.
63106         * manual/examples/argp-ex3.c: Likewise.
63107         * manual/examples/argp-ex4.c: Likewise.
63108         * manual/examples/atexit.c: Likewise.
63109         * manual/examples/db.c: Likewise.
63110         * manual/examples/dir.c: Likewise.
63111         * manual/examples/dir2.c: Likewise.
63112         * manual/examples/execinfo.c: Likewise.
63113         * manual/examples/filecli.c: Likewise.
63114         * manual/examples/filesrv.c: Likewise.
63115         * manual/examples/fmtmsgexpl.c: Likewise.
63116         * manual/examples/genpass.c: Likewise.
63117         * manual/examples/inetcli.c: Likewise.
63118         * manual/examples/inetsrv.c: Likewise.
63119         * manual/examples/isockad.c: Likewise.
63120         * manual/examples/longopt.c: Likewise.
63121         * manual/examples/memopen.c: Likewise.
63122         * manual/examples/memstrm.c: Likewise.
63123         * manual/examples/mkfsock.c: Likewise.
63124         * manual/examples/mkisock.c: Likewise.
63125         * manual/examples/mygetpass.c: Likewise.
63126         * manual/examples/pipe.c: Likewise.
63127         * manual/examples/popen.c: Likewise.
63128         * manual/examples/rprintf.c: Likewise.
63129         * manual/examples/search.c: Likewise.
63130         * manual/examples/select.c: Likewise.
63131         * manual/examples/setjmp.c: Likewise.
63132         * manual/examples/sigh1.c: Likewise.
63133         * manual/examples/sigusr.c: Likewise.
63134         * manual/examples/stpcpy.c: Likewise.
63135         * manual/examples/strdupa.c: Likewise.
63136         * manual/examples/strftim.c: Likewise.
63137         * manual/examples/strncat.c: Likewise.
63138         * manual/examples/subopt.c: Likewise.
63139         * manual/examples/swapcontext.c: Likewise.
63140         * manual/examples/termios.c: Likewise.
63141         * manual/examples/testopt.c: Likewise.
63142         * manual/examples/testpass.c: Likewise.
63143         * manual/examples/timeval_subtract.c: Likewise.
63145         [BZ #13792]
63146         * manual/time.texi (Elapsed Time): Move timeval_subtract example
63147         function to ...
63148         * manual/timeval_subtract.c.texi: ... here, new file.
63150 2012-03-02  David S. Miller  <davem@davemloft.net>
63152         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
63154 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
63156         [BZ #3976]
63157         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
63158         (__sin): Save and restore rounding mode and use round-to-nearest
63159         for all computations.
63160         (__cos): Save and restore rounding mode and use round-to-nearest
63161         for all computations.
63162         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
63163         <fenv.h>.
63164         (tan): Save and restore rounding mode and use round-to-nearest for
63165         all computations.
63166         * math/libm-test.inc (cos_test_tonearest): New function.
63167         (cos_test_towardzero): Likewise.
63168         (cos_test_downward): Likewise.
63169         (cos_test_upward): Likewise.
63170         (sin_test_tonearest): Likewise.
63171         (sin_test_towardzero): Likewise.
63172         (sin_test_downward): Likewise.
63173         (sin_test_upward): Likewise.
63174         (tan_test_tonearest): Likewise.
63175         (tan_test_towardzero): Likewise.
63176         (tan_test_downward): Likewise.
63177         (tan_test_upward): Likewise.
63178         (main): Call the new functions.
63179         * sysdeps/i386/fpu/libm-test-ulps: Update.
63180         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63182         [BZ #10135]
63183         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
63184         small n, then large n, before computing and testing k+n.
63185         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
63186         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
63187         Likewise.
63188         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
63189         Likewise.
63190         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
63191         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
63192         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
63193         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
63194         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
63195         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
63196         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
63197         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
63198         * math/libm-test.inc (scalbn_test): Add more tests.
63199         (scalbln_test): Likewise.
63201         * manual/filesys.texi (mode_t): Describe constraints on size and
63202         signedness, not exact equivalence to a particular type.
63203         (ino_t): Likewise.
63204         (ino64_t): Likewise.
63205         (dev_t): Likewise.
63206         (nlink_t): Likewise.
63207         (blkcnt_t): Likewise.
63208         (blkcnt64_t): Likewise.
63209         * manual/llio.texi (off_t): Likewise.
63211         [BZ #3976]
63212         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
63213         (__ieee754_exp): Save and restore rounding mode and use
63214         round-to-nearest for all computations.
63215         * math/libm-test.inc (exp_test_tonearest): New function.
63216         (exp_test_towardzero): Likewise.
63217         (exp_test_downward): Likewise.
63218         (exp_test_upward): Likewise.
63219         (main): Call the new functions.
63220         * sysdeps/i386/fpu/libm-test-ulps: Update.
63221         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63223 2012-03-01  Chris Demetriou  <cgd@google.com>
63225         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
63226         have predictable order.
63228 2012-03-01  David S. Miller  <davem@davemloft.net>
63230         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
63232         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
63233         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
63234         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
63235         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
63237         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
63238         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
63239         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
63240         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
63241         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
63242         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
63243         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
63244         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
63245         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
63247         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63249         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
63250         * sysdeps/sparc/fpu/libm-test-ulps: to here.
63251         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
63253         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
63254         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
63255         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
63256         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
63257         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
63258         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
63259         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
63260         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
63261         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
63262         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
63263         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
63264         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
63265         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
63266         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
63267         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
63268         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
63269         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
63270         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
63271         * sysdeps/sparc/elf/configure: Regenerated.
63273 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
63275         * configure.in (AS, LD): Require binutils 2.20 or later.
63276         * configure: Regenerated.
63277         * manual/install.texi (Tools for Compilation): Give binutils 2.20
63278         as required minimum version.
63279         * INSTALL: Regenerated.
63281         [BZ #2541]
63282         [BZ #4108]
63283         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
63284         before squaring exponent.
63285         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
63286         bottom long double and 27 bits of top long double before squaring
63287         exponent.
63288         * math/libm-test.inc (erfc_test): Add more tests.
63289         * sysdeps/i386/fpu/libm-test-ulps: Update.
63290         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
63291         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63293 2012-03-01  Kai Tietz  <ktietz@redhat.com>
63295         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
63296         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
63297         containing bit-fields.
63298         * soft-fp/extended.h (_FP_UNION_E): Likewise.
63299         * soft-fp/single.h (_FP_UNION_S): Likewise.
63300         * soft-fp/double.h (_FP_UNION_D): Likewise.
63302 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
63304         [BZ #13786]
63305         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
63306         not include ../strcmp.S.
63307         [USE_AS_STRNCASECMP_L]: Likewise.
63308         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
63309         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
63310         * sysdeps/i386/i686/multiarch/strncase_l-c.c
63311         (__strncasecmp_l_ia32): Define as alias to
63312         __strncasecmp_l_nonascii.
63314         [BZ #5794]
63315         * math/libm-test.inc (expm1_test): Add test for bug 5794.
63316         * sysdeps/i386/fpu/libm-test-ulps: Update.
63317         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63319         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
63320         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63322 2012-02-29  Jeff Law  <law@redhat.com>
63324         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
63325         out of bounds read.
63327 2012-02-29  Marek Polacek  <polacek@redhat.com>
63329         [BZ #13706]
63330         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
63331         * elf/Makefile: Add rules to run tst-unused-dep.out.
63333 2012-02-28  David S. Miller  <davem@davemloft.net>
63335         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
63336         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
63337         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
63338         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
63339         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
63340         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
63342 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
63344         * math/libm-test.inc (llround_test): Move one test from
63345         lround_test.  Use TEST_f_L in moved test.
63346         (lround_test): Move misplaced test to llround_test.  Add testcase
63347         from bug 2561.
63349 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
63351         * sysdeps/x86_64/fpu/e_expf.S: New file.
63352         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
63354 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
63356         [BZ #13637]
63357         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
63358         of remain_len that may cause incomplete multi-byte character and
63359         false match.
63360         * posix/bug-regex33.c: New file.
63361         * posix/Makefile (tests): Add bug-regex33.
63363 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
63365         * manual/macros.texi: New file.
63366         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
63367         * manual/libc.texinfo: Include macros.texi.
63368         * manual/creatute.texi: Likewise.
63369         * manual/install.texi: Likewise.
63370         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
63371         @glibcadj{} in references to the GNU C Library.
63372         * manual/charset.texi: Likewise.
63373         * manual/conf.texi: Likewise.
63374         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
63375         when not using those macros.
63376         * manual/creature.texi: Likewise.
63377         * manual/crypt.texi: Likewise.
63378         * manual/errno.texi: Likewise.
63379         * manual/filesys.texi: Likewise.
63380         * manual/header.texi: Likewise.
63381         * manual/install.texi: Likewise.
63382         * manual/intro.texi: Likewise.
63383         * manual/io.texi: Likewise.
63384         * manual/job.texi: Likewise.
63385         * manual/lang.texi: Likewise.
63386         * manual/libc.texiinfo: Likewise.
63387         * manual/llio.texi: Likewise.
63388         * manual/locale.texi: Likewise.
63389         * manual/maint.texi: Likewise.
63390         * manual/math.texi: Likewise.
63391         * manual/memory.texi: Likewise.
63392         * manual/message.texi: Likewise.
63393         * manual/nss.texi: Likewise.
63394         * manual/pattern.texi: Likewise.
63395         * manual/process.texi: Likewise.
63396         * manual/resource.texi: Likewise.
63397         * manual/search.texi: Likewise.
63398         * manual/setjmp.texi: Likewise.
63399         * manual/signal.texi: Likewise.
63400         * manual/socket.texi: Likewise.
63401         * manual/startup.texi: Likewise.
63402         * manual/stdio.texi: Likewise.
63403         * manual/string.texi: Likewise.
63404         * manual/sysinfo.texi: Likewise.
63405         * manual/syslog.texi: Likewise.
63406         * manual/terminal.texi: Likewise.
63407         * manual/time.texi: Likewise.
63408         * manual/users.texi: Likewise.
63409         * INSTALL: Regenerated.
63410         * NOTES: Regenerated.
63411         * sysdeps/gnu/errlist.c: Regenerated.
63413 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
63415         * include/dirent.h: Include <dirstream.h> before
63416         <dirent/dirent.h>.
63418 2012-02-28  David S. Miller  <davem@davemloft.net>
63420         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
63421         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
63422         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
63423         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
63425 2012-02-27  David S. Miller  <davem@davemloft.net>
63427         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
63428         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
63429         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
63430         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
63432         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
63433         frame pointer instead of stack pointer relative arg slot.
63434         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
63435         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
63436         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
63438 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
63440         [BZ #3992]
63441         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
63443 2012-02-27  David S. Miller  <davem@davemloft.net>
63445         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
63446         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
63447         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
63448         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
63449         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
63450         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
63451         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
63452         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
63454 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
63456         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
63457         later.  Allow versions 5-9.
63458         * configure: Regenerated.
63459         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
63460         required minimum version and 4.6 as recommended version.  Do not
63461         mention bugs in GCC 2.7 and 2.8.
63462         * INSTALL: Regenerated.
63464 2012-02-27  David S. Miller  <davem@davemloft.net>
63466         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
63467         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
63468         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
63469         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
63470         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
63471         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
63472         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
63473         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
63475         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
63476         manipulate bits before adding and subtracting TWO112[sx].
63477         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
63479 2012-02-27  Roland McGrath  <roland@hack.frob.com>
63481         [BZ #13775]
63482         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
63483         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
63484         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
63485         being in POSIX, because they are in 1003.1-2008.
63487         * rt/tst-aio.c: Include <fcntl.h>.
63488         * rt/tst-aio7.c: Likewise.
63489         * rt/tst-aio64.c: Likewise.
63491         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
63493 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
63495         * manual/install.texi (--with-headers): Describe headers as
63496         interface headers, not private headers.
63497         (Specific advice for GNU/Linux systems): Describe use of headers
63498         from "make headers_install", not private headers from older
63499         kernels.
63500         * INSTALL: Regenerated.
63501         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
63502         Change to 2.6.19.
63503         * sysdeps/unix/sysv/linux/configure: Regenerated.
63505         * manual/llio.texi (fclean): Remove documentation.
63507         * manual/Makefile (libc-texi-generated): New variable.  Include
63508         version.texi.
63509         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
63510         $(libc-texi-generated), not duplicated list of files.
63511         (version.texi, stamp-version): New rules.
63512         (realclean): Remove $(libc-texi-generated), not individual files
63513         from that list.  Do not remove dir-add.texinfo.
63514         * manual/libc.texinfo: Comment out uses of edition numbers and
63515         references to printed manual.  Remove last-updated dates.
63516         (EDITION): Comment out.
63517         (ISBN): Likewise.
63518         (VERSION, UPDATED): Remove.
63519         (version.texi): Include.
63521 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
63523         * sysdeps/posix/spawni.c: Include <signal.h>.
63524         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
63525         * sysdeps/pthread/aio_fsync.c: Likewise.
63527 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
63529         * conform/Makefile (tests): Run only when not cross-compiling and
63530         when fast-check is not defined.
63532         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
63533         * conform/data/limits.h-data: Fixes for POSIX2008.
63534         * conform/run-conformtest.sh: Run all tests.
63535         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
63536         headers.
63537         * include/bits/dlfcn.h: Likewise.
63538         * include/langinfo.h: Likewise.
63539         * include/monetary.h: Likewise.
63540         * include/sys/poll.h: Likewise.
63542         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
63543         for __USE_GNU.
63544         * posix/spawn.h: Define __need_sigset_t.
63545         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
63546         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
63547         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
63548         to get sigevent_t only.
63549         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
63550         only for __USE_GNU.
63551         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
63552         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
63553         process_vm_writev only for __USE_GNU.
63554         * termios/termios.h: Declare tcgetsid also for POSIX2008.
63556         * conform/Makefile: For now ignore errors from run-conformtest.
63557         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
63558         POSIX to avoid namespace pollution.  Don't prepend headers.
63559         * conform/data/aio.h-data: Fixes for POSIX testing.
63560         * conform/data/fcntl.h-data: Likewise.
63561         * conform/data/glob.h-data: Likewise.
63562         * conform/data/grp.h-data: Likewise.
63563         * conform/data/pthread.h-data: Likewise.
63564         * conform/data/pwd.h-data: Likewise.
63565         * conform/data/signal.h-data: Likewise.
63566         * conform/data/spawn.h-data: Likewise.
63567         * conform/data/stdio.h-data: Likewise.
63568         * conform/data/stdlib.h-data: Likewise.
63569         * conform/data/stropts.h-data: Likewise.
63570         * conform/data/sys/mman.h-data: Likewise.
63571         * conform/data/sys/stat.h-data: Likewise.
63572         * conform/data/sys/types.h-data: Likewise.
63573         * conform/data/sys/wait.h-data: Likewise.
63574         * conform/data/time.h-data: Likewise.
63575         * conform/data/unistd.h-data: Likewise.
63576         * conform/data/utime.h-data: Likewise.
63578         * io/sys/stat.h: fchmod was always in POSIX.
63579         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
63580         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
63581         * rt/aio.h: Define __need_timespec before including <time.h>.
63582         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
63583         struct.  Add forward declaration of pthread_attr_t and use it in
63584         sigevent.
63585         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
63586         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
63587         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
63588         always remove CLK_TCK definition.
63590 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
63592         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
63594 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
63596         * conform/run-conformtest.sh: New file.
63597         * conform/Makefile: Run run-conformtest for tests.
63598         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
63599         support.
63601         * conform/data/uchar.h-data: New file.
63602         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
63603         * conform/data/arpa/inet.h-data: Likewise.
63604         * conform/data/assert.h-data: Likewise.
63605         * conform/data/complex.h-data: Likewise.
63606         * conform/data/cpio.h-data: Likewise.
63607         * conform/data/ctype.h-data: Likewise.
63608         * conform/data/dirent.h-data: Likewise.
63609         * conform/data/dlfcn.h-data: Likewise.
63610         * conform/data/errno.h-data: Likewise.
63611         * conform/data/fcntl.h-data: Likewise.
63612         * conform/data/float.h-data: Likewise.
63613         * conform/data/fmtmsg.h-data: Likewise.
63614         * conform/data/fnmatch.h-data: Likewise.
63615         * conform/data/ftw.h-data: Likewise.
63616         * conform/data/glob.h-data: Likewise.
63617         * conform/data/grp.h-data: Likewise.
63618         * conform/data/iconv.h-data: Likewise.
63619         * conform/data/inttypes.h-data: Likewise.
63620         * conform/data/langinfo.h-data: Likewise.
63621         * conform/data/libgen.h-data: Likewise.
63622         * conform/data/limits.h-data: Likewise.
63623         * conform/data/locale.h-data: Likewise.
63624         * conform/data/math.h-data: Likewise.
63625         * conform/data/monetary.h-data: Likewise.
63626         * conform/data/mqueue.h-data: Likewise.
63627         * conform/data/ndbm.h-data: Likewise.
63628         * conform/data/net/if.h-data: Likewise.
63629         * conform/data/netdb.h-data: Likewise.
63630         * conform/data/netinet/in.h-data: Likewise.
63631         * conform/data/nl_types.h-data: Likewise.
63632         * conform/data/poll.h-data: Likewise.
63633         * conform/data/pthread.h-data: Likewise.
63634         * conform/data/pwd.h-data: Likewise.
63635         * conform/data/regex.h-data: Likewise.
63636         * conform/data/sched.h-data: Likewise.
63637         * conform/data/search.h-data: Likewise.
63638         * conform/data/semaphore.h-data: Likewise.
63639         * conform/data/setjmp.h-data: Likewise.
63640         * conform/data/signal.h-data: Likewise.
63641         * conform/data/spawn.h-data: Likewise.
63642         * conform/data/stdarg.h-data: Likewise.
63643         * conform/data/stdio.h-data: Likewise.
63644         * conform/data/stdlib.h-data: Likewise.
63645         * conform/data/string.h-data: Likewise.
63646         * conform/data/strings.h-data: Likewise.
63647         * conform/data/stropts.h-data: Likewise.
63648         * conform/data/sys/ipc.h-data: Likewise.
63649         * conform/data/sys/mman.h-data: Likewise.
63650         * conform/data/sys/msg.h-data: Likewise.
63651         * conform/data/sys/resource.h-data: Likewise.
63652         * conform/data/sys/select.h-data: Likewise.
63653         * conform/data/sys/sem.h-data: Likewise.
63654         * conform/data/sys/shm.h-data: Likewise.
63655         * conform/data/sys/socket.h-data: Likewise.
63656         * conform/data/sys/stat.h-data: Likewise.
63657         * conform/data/sys/statvfs.h-data: Likewise.
63658         * conform/data/sys/time.h-data: Likewise.
63659         * conform/data/sys/timeb.h-data: Likewise.
63660         * conform/data/sys/times.h-data: Likewise.
63661         * conform/data/sys/types.h-data: Likewise.
63662         * conform/data/sys/uio.h-data: Likewise.
63663         * conform/data/sys/un.h-data: Likewise.
63664         * conform/data/sys/utsname.h-data: Likewise.
63665         * conform/data/sys/wait.h-data: Likewise.
63666         * conform/data/syslog.h-data: Likewise.
63667         * conform/data/tar.h-data: Likewise.
63668         * conform/data/termios.h-data: Likewise.
63669         * conform/data/utime.h-data: Likewise.
63670         * conform/data/utmpx.h-data: Likewise.
63671         * conform/data/varargs.h-data: Likewise.
63672         * conform/data/wchar.h-data: Likewise.
63673         * conform/data/wctype.h-data: Likewise.
63674         * conform/data/wordexp.h-data: Likewise.
63676         * include/stropts.h: New file.
63677         * include/uchar.h: New file.
63678         * include/aio.h: Changes to allow conformtest.pl to use the headers.
63679         * include/assert.h: Likewise.
63680         * include/ctype.h: Likewise.
63681         * include/dirent.h: Likewise.
63682         * include/dlfcn.h: Likewise.
63683         * include/fcntl.h: Likewise.
63684         * include/fnmatch.h: Likewise.
63685         * include/glob.h: Likewise.
63686         * include/grp.h: Likewise.
63687         * include/libio.h: Likewise.
63688         * include/locale.h: Likewise.
63689         * include/math.h: Likewise.
63690         * include/net/if.h: Likewise.
63691         * include/netdb.h: Likewise.
63692         * include/netinet/in.h: Likewise.
63693         * include/pthread.h: Likewise.
63694         * include/pwd.h: Likewise.
63695         * include/regex.h: Likewise.
63696         * include/sched.h: Likewise.
63697         * include/search.h: Likewise.
63698         * include/setjmp.h: Likewise.
63699         * include/signal.h: Likewise.
63700         * include/stdio.h: Likewise.
63701         * include/stdlib.h: Likewise.
63702         * include/string.h: Likewise.
63703         * include/sys/cdefs.h: Likewise.
63704         * include/sys/mman.h: Likewise.
63705         * include/sys/msg.h: Likewise.
63706         * include/sys/resource.h: Likewise.
63707         * include/sys/select.h: Likewise.
63708         * include/sys/socket.h: Likewise.
63709         * include/sys/stat.h: Likewise.
63710         * include/sys/statvfs.h: Likewise.
63711         * include/sys/time.h: Likewise.
63712         * include/sys/times.h: Likewise.
63713         * include/sys/uio.h: Likewise.
63714         * include/sys/utsname.h: Likewise.
63715         * include/sys/wait.h: Likewise.
63716         * include/termios.h: Likewise.
63717         * include/time.h: Likewise.
63718         * include/ulimit.h: Likewise.
63719         * include/unistd.h: Likewise.
63720         * include/utime.h: Likewise.
63721         * include/wchar.h: Likewise.
63722         * include/wctype.h: Likewise.
63723         * include/wordexp.h: Likewise.
63725         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
63727         * time/time.h: TIME_UTC must be a macro.
63728         Make timespec_get available for ISO C11 only as well.
63730 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
63732         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
63733         Reported by Peng Haitao <penght@cn.fujitsu.com>.
63735 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
63737         * configure.in: Use -o not -a in test for unsupported multi-arch.
63739 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
63741         * manual/texinfo.tex: Update to version 2012-01-19.16.
63743 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
63745         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
63747 2012-02-24  Roland McGrath  <roland@hack.frob.com>
63749         [BZ #13738]
63750         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
63751         * manual/fdl-1.3.texi: New file.
63752         * manual/fdl-1.1.texi: File removed.
63754         [BZ #13738]
63755         * manual/libc.texinfo (FDL_VERSION): New @set.
63756         Use it for mention of FDL in cover text.
63757         (Documentation License): Use it in @include file name.
63759 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
63760             Roland McGrath  <roland@hack.frob.com>
63762         [BZ #5461]
63763         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
63764         (not LONG_LONG_MAX and LONG_LONG_MIN.
63765         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
63766         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
63767         name.
63768         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
63770 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
63772         [BZ #2547]
63773         [BZ #11365]
63774         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
63775         manipulate bits before adding and subtracting TWO23[sx].
63776         * math/libm-test.inc (nearbyint_test): Add more tests.
63778 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
63780         [BZ #2548]
63781         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
63782         bits before adding and subtracting TWO23[sx].
63783         * math/libm-test.inc (rint_test): Add more tests.
63784         (rint_test_tonearest): Likewise.
63785         (rint_test_towardzero): Likewise.
63786         (rint_test_downward): Likewise.
63787         (rint_test_upward: Likewise.
63789 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
63791         [BZ #10110]
63792         * include/stdc-predef.h: New file.  Extracted from features.h.
63793         * include/features.h: Include stdc-predef.h.
63794         * Makefile (headers): Add stdc-predef.h.
63795         * CONFORMANCE (Compiler limitations): Update.
63797 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
63799         * manual/libc.texinfo (VERSION, UPDATED): Revert.
63801 2012-02-21  David S. Miller  <davem@davemloft.net>
63803         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
63804         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
63806 2012-02-20  David S. Miller  <davem@davemloft.net>
63808         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
63809         using a normal save/restore sequence, rather than allocating a
63810         dummy stack frame just to store a frame pointer and restore.
63811         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
63813 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
63815         * manual/install.texi: Fix stray word in line-wrapped comment.
63817 2012-02-20  David S. Miller  <davem@davemloft.net>
63819         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
63820         both binutils and gcc support GOTDATA.
63822         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
63823         "rd %pc" in the PIC register setup sequences.
63825         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
63826         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
63827         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
63828         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
63829         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
63830         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
63831         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
63832         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
63833         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
63834         (SYSCALL_ERROR_HANDLER): Likewise.
63835         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
63836         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
63837         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
63838         (SYSCALL_ERROR_HANDLER): Likewise.
63840         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
63841         (HAVE_GCC_GOTDATA): New.
63842         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
63843         relocation support in both binutils and gcc.
63844         * sysdeps/sparc/elf/configure: Regenerate.
63846         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
63847         * sysdeps/sparc/sparc32/elf/configure: Delete.
63848         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
63849         * sysdeps/sparc/sparc64/elf/configure: Delete.
63850         * sysdeps/sparc/elf/configure.in: New file.
63851         * sysdeps/sparc/elf/configure: Generate.
63853         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
63854         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
63855         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
63856         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
63857         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
63859 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
63861         * manual/install.texi: Do not mention specific glibc version
63862         numbers.
63863         * manual/libc.texinfo (VERSION, UPDATED): Update.
63864         (@copying): Use @copyright{} and range of years.
63866 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
63868         [BZ #13695]
63869         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
63870         [crti.S not in sysdirs] (generated): Do not append.
63871         [crti.S not in sysdirs] (omit-deps): Likewise.
63872         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
63873         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
63874         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
63875         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
63876         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
63877         Likewise.
63878         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
63879         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
63880         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
63881         * csu/defs.awk: Remove file.
63882         * sysdeps/generic/initfini.c: Likewise.
63883         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
63884         variable.
63885         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
63886         Likewise.
63888 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
63890         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
63891         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
63892         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
63893         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
63894         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
63895         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
63896         <bits/epoll.h>.
63897         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
63898         (__EPOLL_PACKED): Define to empty if not defined by
63899         <bits/epoll.h>.
63900         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
63901         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63902         bits/epoll.h.
63904 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
63906         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
63907         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
63908         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
63909         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
63910         <bits/timerfd.h>.
63911         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
63912         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63913         bits/timerfd.h.
63915 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
63917         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
63918         in C locale.
63919         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
63920         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
63921         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
63922         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63924 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
63926         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
63927         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
63929 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
63931         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
63932         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
63933         defined.
63934         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
63935         Likewise.
63936         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
63937         entry for 2.16.
63939 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
63941         * math/w_acos.c: Use non-signaling floating-point comparisons.
63942         * math/w_acosf.c: Likewise.
63943         * math/w_acosh.c: Likewise.
63944         * math/w_acoshf.c: Likewise.
63945         * math/w_acoshl.c: Likewise.
63946         * math/w_acosl.c: Likewise.
63947         * math/w_asin.c: Likewise.
63948         * math/w_asinf.c: Likewise.
63949         * math/w_asinl.c: Likewise.
63950         * math/w_atanh.c: Likewise.
63951         * math/w_atanhf.c: Likewise.
63952         * math/w_atanhl.c: Likewise.
63953         * math/w_exp2.c: Likewise.
63954         * math/w_exp2f.c: Likewise.
63955         * math/w_exp2l.c: Likewise.
63956         * math/w_j0.c: Likewise.
63957         * math/w_j0f.c: Likewise.
63958         * math/w_j0l.c: Likewise.
63959         * math/w_j1.c: Likewise.
63960         * math/w_j1f.c: Likewise.
63961         * math/w_j1l.c: Likewise.
63962         * math/w_jn.c: Likewise.
63963         * math/w_jnf.c: Likewise.
63964         * math/w_log.c: Likewise.
63965         * math/w_log10.c: Likewise.
63966         * math/w_log10f.c: Likewise.
63967         * math/w_log10l.c: Likewise.
63968         * math/w_log2.c: Likewise.
63969         * math/w_log2f.c: Likewise.
63970         * math/w_log2l.c: Likewise.
63971         * math/w_logf.c: Likewise.
63972         * math/w_logl.c: Likewise.
63973         * math/w_sqrt.c: Likewise.
63974         * math/w_sqrtf.c: Likewise.
63975         * math/w_sqrtl.c: Likewise.
63976         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
63977         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
63978         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
63979         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
63980         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
63982 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
63984         [BZ #9739]
63985         * manual/string.texi (strnlen): Use correct parameter name in
63986         equivalent expression.
63988 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
63990         [BZ #11174]
63991         * manual/users.texi (seteuid): Consistently use neweuid for
63992         argument name.
63994 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
63996         [BZ #13704]
63997         * manual/nss.texi (Services in the NSS configuration): Correct
63998         list of services in example configuration file.
64000 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
64002         [BZ #11322]
64003         * manual/arith.texi: Remove statements about negative zero
64004         behaving identically to zero.
64006 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
64008         [BZ #5993]
64009         * manual/install.texi: Do not document upgrading from libc5.
64011 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
64013         [BZ #4596]
64014         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
64016 2012-02-18  David S. Miller  <davem@davemloft.net>
64018         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
64019         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
64020         %o7 across the call.
64021         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
64022         instead.
64023         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
64024         SETUP_PIC_REG_LEAF.
64025         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
64026         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
64027         * sysdeps/sparc/crtn.S: Likewise.
64029 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
64031         * aout/Makefile: Remove.
64033 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
64035         [BZ #13058]
64036         * manual/examples/argp-ex1.c (main): Format definition in GNU
64037         style.
64038         * manual/examples/argp-ex2.c (main): Likewise.
64039         * manual/examples/argp-ex3.c (main): Likewise.
64040         * manual/examples/argp-ex4.c (main): Likewise.
64041         * manual/examples/longopt.c (main): Use new-style prototype
64042         definition.
64043         * manual/examples/strncat.c (main): Specify return type and use
64044         (void) for arguments.
64045         * manual/examples/subopt.c (main): Use char **argv argument.
64047 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
64049         [BZ #5077]
64050         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
64051         rounding modes.
64053 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
64055         [BZ #6907]
64056         * manual/string.texi (strchr): Change when strchrnul is
64057         recommended.
64059 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
64061         [BZ #174]
64062         * manual/locale.texi (setlocale): Document LOCPATH.
64064 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
64066         [BZ #10210]
64067         * manual/process.texi (execle): Move @dots{} before last argument.
64069 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
64071         [BZ #12047]
64072         * manual/charset.texi (Generic Charset Conversion): Fix typo
64073         (LC_TYPE -> LC_CTYPE).
64075 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
64077         [BZ #5805]
64078         * manual/arith.texi (scalbn): Use @var{} on parameter names.
64079         (scalbnf): Likewise.
64080         (scalbnl): Likewise.
64081         (scalbln): Likewise.
64082         (scalblnf): Likewise.
64083         (scalblnl): Likewise.
64084         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
64085         (vwarnx): Likewise.
64086         (verr): Likewise.
64087         (verrx): Likewise.
64088         * manual/filesys.texi (telldir): Use braces around return type.
64089         * manual/llio.texi (mmap): Add space after comma.
64090         (mmap64): Likewise.
64091         * manual/math.texi (jn): Use @var{} on parameter names.
64092         (jnf): Likewise.
64093         (jnl): Likewise.
64094         (yn): Likewise.
64095         (ynf): Likewise.
64096         (ynl): Likewise.
64097         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
64098         line.
64099         * manual/resource.texi (ulimit): Use @dots{} instead of literal
64100         "...".
64101         (sched_get_priority_min): Remove semicolon on @deftypefun line.
64102         (sched_get_priority_max): Likewise.
64103         * manual/signal.texi (sigvec): Add space after comma.
64104         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
64105         names.
64106         (if_indextoname): Likewise.
64107         (if_freenameindex): Likewise.
64108         (sendto): Use ',' instead of '.' in prototype.
64109         * manual/startup.texi (syscall): Use @dots{} instead of literal
64110         "...".
64111         * manual/stdio.texi (__fpending): Separate initial words of
64112         paragraph from @deftypefun line.
64113         * manual/syslog.texi (syslog): Use @dots{} instead of literal
64114         "...".
64115         (vsyslog): Use @var{} on parameter names.
64116         * manual/terminal.texi (stty): Use @var{} on parameter names.
64117         * manual/users.texi (getutmp): Use @var{} on parameter names.
64118         (getutmpx): Likewise.
64120 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
64122         [BZ #6884]
64123         * manual/stdio.texi (fopen): Fix typos in description of
64124         ",ccs=STRING".
64126 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
64128         [BZ #4026]
64129         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
64130         get clock_id definition.
64132 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
64134         [BZ #4822]
64135         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
64136         (madvise): Cast every argument to void on its own.
64138 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
64140         [BZ #9902]
64141         * manual/startup.texi (Exit Status): Fix typo.
64143 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
64145         [BZ #10140]
64146         * manual/examples/argp-ex1.c: Include <stdlib.h>.
64147         * manual/examples/argp-ex2.c: Likewise.
64148         * manual/examples/argp-ex3.c: Likewise.
64150 2012-02-16  Richard Henderson  <rth@redhat.com>
64152         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
64153         * sysdeps/s390/s390-32/initfini.c: Remove.
64154         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
64155         * sysdeps/s390/s390-64/initfini.c: Remove.
64157 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
64159         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
64160         compiler output for sysdeps/generic/initfini.c.
64161         * sysdeps/sh/elf/initfini.c: Remove file.
64163 2012-02-16  David S. Miller  <davem@davemloft.net>
64165         [BZ #11494]
64166         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
64168         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
64169         * sysdeps/sparc/crti.S: New file.
64170         * sysdeps/sparc/crtn.S: New file.
64171         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
64172         * sysdeps/sparc/sparc64/Makefile: Likewise.
64174 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
64176         [BZ #3335]
64177         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
64179 2012-02-15  Roland McGrath  <roland@hack.frob.com>
64181         [BZ #4822]
64182         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
64184         * mach/devstream.c (cookie_io_functions_t): Macro removed.
64185         (write, read, close): Likewise.
64186         Patch by Aurelien Jarno <aurelien@aurel32.net>.
64188 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
64190         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
64191         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
64192         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
64193         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
64194         <bits/signalfd.h>.
64195         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
64196         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64197         bits/signalfd.h.
64199 2012-02-14  Marek Polacek  <polacek@redhat.com>
64201         * sysdeps/x86_64/crti.S: New file.
64202         * sysdeps/x86_64/crtn.S: New file.
64203         * sysdeps/x86_64/elf/initfini.c: Remove file.
64205 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
64207         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
64208         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
64209         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
64210         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
64211         <bits/inotify.h>.
64212         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
64213         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64214         bits/inotify.h.
64216 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
64218         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
64219         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
64220         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
64221         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
64222         <bits/eventfd.h>.
64223         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
64224         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64225         bits/eventfd.h.
64227 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
64229         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
64230         __feraiseexcept instead of feraiseexcept.
64232         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
64233         nanosleep invocations.
64234         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
64235         strings, and add error checking for a nanosleep invocations.
64237 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
64239         Replace FSF snail mail address with URLs, as per GNU coding standards.
64240         Most of the snail mail addresses were wrong anyway, and omitting
64241         them makes the source code easier to maintain.  Almost all of the
64242         changes are to license notices and to locale LC_IDENTIFICATION
64243         addresses, except for this one:
64244         * manual/libc.texinfo: In "Published by", give the FSF's URL,
64245         not its snail mail address.
64247 2012-02-09  Richard Henderson  <rth@twiddle.net>
64249         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
64250         of kernel-features.h.
64252         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
64254 2012-02-08  Marek Polacek  <polacek@redhat.com>
64256         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
64257         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
64258         * sysdeps/gnu/_G_config.h: Likewise.
64259         * sysdeps/generic/_G_config.h: Likewise.
64261 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
64263         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
64264         tests.
64265         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64267         * sysdeps/powerpc/powerpc32/crti.S: New file.
64268         * sysdeps/powerpc/powerpc32/crtn.S: New file.
64269         * sysdeps/powerpc/powerpc64/crti.S: New file.
64270         * sysdeps/powerpc/powerpc64/crtn.S: New file.
64272         * Makeconfig (have-initfini): Don't set.
64273         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
64274         * configure.in (nopic_initfini): Don't substitute.
64275         * config.h.in (HAVE_INITFINI): Don't #undef.
64276         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
64277         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
64279 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
64281         Support crti.S and crtn.S provided directly by architectures.
64282         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
64283         [crti.S in sysdirs] (omit-deps): Likewise.
64284         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
64285         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
64286         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
64287         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
64288         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
64289         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
64290         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
64291         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
64292         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
64293         compiler output for sysdeps/generic/initfini.c.
64294         * sysdeps/i386/elf/Makefile: Remove file.
64295         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
64297 2012-02-07  Marek Polacek  <polacek@redhat.com>
64299         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
64300         * sysdeps/gnu/_G_config.h: Likewise.
64301         * sysdeps/mach/hurd/_G_config.h: Likewise.
64303 2012-02-07  Marek Polacek  <polacek@redhat.com>
64305         * math/Makefile (tests): Add tst-CMPLX2.
64306         * math/tst-CMPLX2.c: New file.
64308 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
64310         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
64312         * math/libm-test.inc (jn_test): Add missing L suffix.
64314 2012-02-06  Marek Polacek  <polacek@redhat.com>
64316         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
64317         * sysdeps/i386/fpu/e_powf.S: Likewise.
64318         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
64319         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
64320         * sysdeps/i386/fpu/e_acosh.S: Likewise.
64321         * sysdeps/i386/fpu/e_pow.S: Likewise.
64322         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
64323         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
64324         * sysdeps/i386/fpu/s_expm1.S: Likewise.
64325         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
64326         * sysdeps/i386/fpu/e_log2.S: Likewise.
64327         * sysdeps/i386/fpu/e_log2l.S: Likewise.
64328         * sysdeps/i386/fpu/e_scalb.S: Likewise.
64329         * sysdeps/i386/fpu/e_powl.S: Likewise.
64330         * sysdeps/i386/fpu/s_log1p.S: Likewise.
64331         * sysdeps/i386/fpu/e_log10f.S: Likewise.
64332         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
64333         * sysdeps/i386/fpu/e_logl.S: Likewise.
64334         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
64335         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
64336         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
64337         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
64338         * sysdeps/i386/fpu/e_log2f.S: Likewise.
64339         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
64340         * sysdeps/i386/fpu/e_log.S: Likewise.
64341         * sysdeps/i386/fpu/s_cexp.S: Likewise.
64342         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
64343         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
64344         * sysdeps/i386/fpu/e_logf.S: Likewise.
64345         * sysdeps/i386/fpu/e_log10l.S: Likewise.
64346         * sysdeps/i386/fpu/e_atanh.S: Likewise.
64347         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
64348         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
64349         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
64350         * sysdeps/i386/fpu/e_log10.S: Likewise.
64351         * sysdeps/i386/fpu/s_frexp.S: Likewise.
64352         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
64353         * sysdeps/i386/fpu/s_asinh.S: Likewise.
64354         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
64355         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
64356         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
64357         * sysdeps/i386/asm-syntax.h: Likewise.
64358         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
64359         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
64360         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
64361         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
64362         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
64363         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
64364         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
64365         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
64366         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
64367         * sysdeps/powerpc/sysdep.h: Likewise.
64368         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
64369         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
64371 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
64373         [BZ #411]
64374         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
64376 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
64378         * sysdeps/i386/sysdep.h: Include <features.h>.
64379         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
64380         version.
64382 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
64384         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
64385         Define.
64386         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
64387         LOAD_PIC_REG_STR.
64389 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
64391         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
64392         (SETUP_PIC_REG): Use GET_PC_THUNK.
64393         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
64394         macro.
64396 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
64398         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
64399         for non-PIC compilation.
64400         (SETUP_PIC_REG): Add .p2align directive.
64401         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
64402         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
64403         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
64404         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
64405         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
64406         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
64407         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
64408         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
64409         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
64410         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
64411         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
64412         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
64413         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
64414         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
64415         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
64416         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
64417         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
64418         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
64419         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
64420         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
64421         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
64422         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
64423         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
64424         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
64425         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
64426         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
64427         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
64428         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
64429         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
64430         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
64431         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
64432         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
64433         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
64434         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
64435         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
64436         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
64437         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
64438         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
64439         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
64440         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
64441         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
64443 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
64445         * math/tst-CMPLX.c: Include <stdio.h>.
64447 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
64449         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
64450         float.
64451         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
64452         * sysdeps/sparc/bits/mathdef.h: Likewise.
64454 2012-01-31  Marek Polacek  <polacek@redhat.com>
64456         * libio/libio.h: Don't define _PARAMS.
64457         * locale/programs/config.h: Don't define PARAMS.
64458         * stdlib/strtol_l.c: Likewise.
64459         (__strtol_l): Remove PARAMS from the prototype.
64461 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
64463         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
64464         names.  Just use the correct names.  Remove unnecessary wrapper
64465         functions.
64466         * malloc/arena.c: Likewise.
64467         * malloc/hooks.c: Likewise.
64469         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
64470         ARENA_TEST says not to.  Simplify test for creation of a new arena.
64471         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
64473 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
64475         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
64476         into tail calls.
64477         (update_get_addr): New function.
64478         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
64479         GET_ADDR_MODULE parameter.
64481 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
64483         * crypt/cert.c: Remove __STDC__ conditionals.
64484         * crypt/crypt-entry.c: Likewise.
64485         * crypt/crypt_util.c: Likewise.
64486         * libio/filedoalloc.c: Likewise.
64487         * libio/fileops.c: Likewise.
64488         * libio/genops.c: Likewise.
64489         * libio/iofclose.c: Likewise.
64490         * libio/iofdopen.c: Likewise.
64491         * libio/iofopen.c: Likewise.
64492         * libio/iofopen64.c: Likewise.
64493         * libio/iogetdelim.c: Likewise.
64494         * libio/iopopen.c: Likewise.
64495         * libio/obprintf.c: Likewise.
64496         * libio/oldfileops.c: Likewise.
64497         * libio/oldiofclose.c: Likewise.
64498         * libio/oldiofdopen.c: Likewise.
64499         * libio/oldiofopen.c: Likewise.
64500         * libio/oldiopopen.c: Likewise.
64501         * libio/wfiledoalloc.c: Likewise.
64502         * libio/wgenops.c: Likewise.
64503         * locale/programs/xmalloc.c: Likewise.
64504         * misc/syslog.c: Likewise.
64505         * stdio-common/xbug.c: Likewise.
64506         * string/memchr.c: Likewise.
64507         * string/memcmp.c: Likewise.
64508         * string/memrchr.c: Likewise.
64509         * string/rawmemchr.c: Likewise.
64510         * sysdeps/posix/getcwd.c: Likewise.
64511         * time/strftime_l.c: Likewise.
64513 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
64515         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
64516         * config.make.in (config-cflags-sse2avx): Define.
64517         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
64518         Fix typo.
64520 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
64522         * scripts/config.guess: Update from upstream config git repository.
64523         * scripts/config.sub: Likewise.
64525 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
64527         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
64528         (EM_NUM): Update.
64529         (R_TILEPRO_*, R_TILEGX_*): New macros.
64531         * scripts/firstversions.awk: Fix bug in version range handling.
64533         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
64535         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
64537         * include/sys/epoll.h: New file.
64538         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
64539         libc_hidden_def.
64541 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
64543         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
64544         Avoid unnecessary __WORDSIZE == 64 test.
64545         (fmaxf): Use VEX format if possible.
64546         (fmax): Likewise.
64547         (fminf): Likewise.
64548         (fmin): Likewise.
64550         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
64551         * math/math_private.h: Remove libc_fegetround* and
64552         libc_fesetround*.
64553         * sysdeps/i386/configure.in: Check for -msse2avx.
64554         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
64555         also if SSE2AVX is defined.
64556         Remove libc_fegetround* and libc_fesetround*.
64557         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
64558         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
64559         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
64560         of HAS_YMM_USABLE.
64561         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
64562         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
64563         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
64564         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
64565         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
64567         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
64569 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64571         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
64572         size is not set.
64573         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
64575 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
64577         [BZ #13618]
64578         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
64579         relocation.
64580         * Makeconfig (libm): Define.
64581         * elf/Makefile: Add rules to build and run tst-relsort1.
64582         * elf/tst-relsort1.c: New file.
64583         * elf/tst-relsort1mod1.c: New file.
64584         * elf/tst-relsort1mod2.c: New file.
64586 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
64588         * math/s_ldexp.c: Remove __STDC__ conditionals.
64589         * math/s_ldexpf.c: Likewise.
64590         * math/s_ldexpl.c: Likewise.
64591         * math/s_nextafter.c: Likewise.
64592         * math/s_nexttowardf.c: Likewise.
64593         * math/s_significand.c: Likewise.
64594         * math/s_significandf.c: Likewise.
64595         * math/s_significandl.c: Likewise.
64596         * math/w_jnl.c: Likewise.
64597         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
64598         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
64599         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
64600         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
64601         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
64602         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
64603         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
64604         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
64605         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
64606         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
64607         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
64608         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
64609         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
64610         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
64611         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
64612         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
64613         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
64614         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
64615         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
64616         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
64617         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
64618         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
64619         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
64620         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
64621         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
64622         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
64623         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
64624         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
64625         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
64626         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
64627         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
64628         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
64629         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
64630         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
64631         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
64632         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
64633         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
64634         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
64635         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
64636         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
64637         * sysdeps/ieee754/k_standard.c: Likewise.
64638         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
64639         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
64640         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
64641         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
64642         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
64643         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
64644         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
64645         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
64646         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
64647         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
64648         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
64649         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
64650         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
64651         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
64652         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
64653         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
64654         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
64655         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
64656         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
64657         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
64658         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
64659         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
64660         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
64661         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
64662         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
64663         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
64664         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
64665         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
64666         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
64667         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
64668         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
64669         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
64670         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
64671         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
64672         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
64673         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
64674         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
64675         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
64676         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
64677         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
64678         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
64679         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
64680         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
64681         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
64682         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
64683         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
64684         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
64685         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
64686         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
64687         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
64688         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
64689         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
64690         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
64691         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
64692         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
64693         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
64694         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
64695         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
64696         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
64697         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
64698         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
64699         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
64700         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
64701         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
64702         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
64703         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
64704         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
64705         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
64706         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
64707         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
64708         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
64709         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
64710         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
64711         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
64712         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
64713         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
64714         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
64715         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
64716         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
64717         * sysdeps/ieee754/s_matherr.c: Likewise.
64718         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
64719         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
64720         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
64721         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
64723 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
64725         * crypt/md5.h: Remove __STDC__ conditionals.
64726         * libio/libioP.h: Likewise.
64727         * locale/programs/config.h: Likewise.
64728         * sysdeps/generic/sysdep.h: Likewise.
64729         * sysdeps/i386/asm-syntax.h: Likewise.
64730         * sysdeps/s390/asm-syntax.h: Likewise.
64731         * sysdeps/unix/sysdep.h: Likewise.
64732         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
64733         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
64735 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
64737         * libio/libio.h: Remove __STDC__ conditionals.
64738         * malloc/obstack.h: Likewise.
64739         * math/complex.h: Likewise.
64740         * math/math.h: Likewise.
64741         * sysdeps/generic/_G_config.h: Likewise.
64742         * sysdeps/gnu/_G_config.h: Likewise.
64743         * sysdeps/mach/hurd/_G_config.h: Likewise.
64744         * sysdeps/powerpc/bits/mathdef.h: Likewise.
64745         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
64746         * sysdeps/sparc/bits/mathdef.h: Likewise.
64748 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
64750         [BZ #13583]
64751         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
64752         Clean up HAS_* macros.
64753         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
64754         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
64755         possible.
64756         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
64757         HAS_AVX.
64758         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
64759         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
64760         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
64761         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
64762         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
64764 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
64766         * elf/tst-unique3.cc (gets): Remove declaration.
64767         * elf/tst-unique3lib.cc (gets): Likewise.
64768         * elf/tst-unique3lib2.cc (gets): Likewise.
64769         * elf/tst-unique4.cc (gets): Likewise.
64771 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
64773         * include/stdio.h: Add C++ protection.  Add gets declarations and
64774         definitions.
64775         * debug/tst-chk1.c: Don't declare gets here.
64776         * stdio-common/tst-gets.c: Likewise.
64778 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
64780         * posix/glob: Remove directory.
64782 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
64784         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
64786 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
64788         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
64789         of the non-standard EPFNOSUPPORT.
64791 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64793         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
64794         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
64795         ANYWHERE set to 1 only on KERN_NO_SPACE error.
64797 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
64799         * wcsmbs/uchar.h: Test __STDC_VERSION__.
64801 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
64803         * nscd/aicache.c (addhstaiX): Do not cache negative results of
64804         transient errors.
64805         * nscd/grpcache.c (cache_addgr): Likewise.
64806         * nscd/hstcache.c (cache_addhst): Likewise.
64807         * nscd/initgrcache.c (addinitgroupsX): Likewise.
64808         * nscd/pwdcache.c (cache_addpw): Likewise.
64809         * nscd/servicescache.c (cache_addserv): Likewise.
64811 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
64813         * malloc/malloc.c: Various cleanups.
64814         * malloc/hooks.c: Likewise.
64816         * stdlib/Makefile (tests): Add bug-fmtmsg1.
64817         * stdlib/bug-fmtmsg1.c: New file.
64819         * stdlib/fmtmsg.c (init): Add missing unlock.
64820         Patch by Peng Haitao <penght@cn.fujitsu.com>.
64822 2012-01-12  Marek Polacek  <polacek@redhat.com>
64824         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
64825         and _GNU_SOURCE.
64827 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
64829         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
64830         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
64831         macro to ensure uniqueness of label name.
64832         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
64833         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
64835 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
64837         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
64839         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
64840         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
64841         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
64842         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
64844 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
64846         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
64848         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
64849         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
64850         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
64852         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
64854         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
64855         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
64856         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
64857         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
64859         * math/bits/math-finite.h: Add ldexp support.
64861 2012-01-10  Marek Polacek  <polacek@redhat.com>
64863         * locale/programs/localedef.h (show_archive_content): Add noreturn
64864         attribute.
64866 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
64868         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
64870 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
64872         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
64874         * io/Makefile (headers): Add bits/poll2.h.
64876 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
64878         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
64879         typo #include statement.
64881 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
64883         * include/sys/cdefs.h: Define __attribute_alloc_size.
64884         * catgets/gencat.c: Add alloc_size attribute and apply consistently
64885         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
64886         * elf/pldd.c: Likewise.
64887         * iconv/iconv_charmap.c: Likewise.
64888         * iconv/iconvconfig.c: Likewise.
64889         * iconv/strtab.c: Likewise.
64890         * locale/programs/locale.c: Likewise.
64891         * locale/programs/localedef.h: Likewise.
64892         * locale/programs/simple-hash.c: Likewise.
64893         * nscd/nscd.h: Likewise.
64894         * nss/makedb.c: Likewise.
64895         * sysdeps/generic/ldconfig.h: Likewise.
64896         * locale/programs/localedef.c: Remove xmalloc prototype.
64897         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
64899 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
64901         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
64902         appropriate.
64904 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
64906         * math/Makefile (tests): Add tst-CMPLX.
64907         * math/tst-CMPLX.c: New file.
64909         * math/complex.h (CMPLXL): Fix typo.
64911         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
64912         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
64913         GLIBC_2.16.
64914         * debug/tst-chk1.c: Add poll and ppoll tests.
64915         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
64916         * include/sys/poll.h: Add hidden proto for ppoll.
64917         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
64918         * sysdeps/mach/hurd/ppoll.c: Likewise.
64919         * io/ppoll.c: Likewise.
64920         * debug/poll_chk.c: New file.
64921         * debug/ppoll_chk.c: New file.
64922         * include/bits/poll2.h: New file.
64923         * io/bits/poll2.h: New file.
64925         [BZ #1350]
64926         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
64928         * configure.in: static is always set to yes.  Remove.
64929         * config.make.in: Don't set build-static.
64930         * Makeconfig: Remove use of build-static.
64931         * dlfcn/Makefile: Likewise.
64932         * elf/Makefile: Likewise.
64933         * math/Makefile: Likewise.
64934         * misc/Makefile: Likewise.
64935         * nptl/Makefile: Likewise.
64936         * sysdeps/mach/hurd/Makefile: Likewise.
64938         * configure.in: PWD_P is not used anymore.
64939         * config.make.in: Remove PWD_P entry.
64941         * configure.in: Remove last remnants of RANLIB.
64942         No need to check for signed size_t anymore.
64943         Don't set libc_commonpagesize and libc_relro_required here for Alpha
64944         and IA-64.
64945         Remove __builtin_expect test because we require at least gcc 3.4.
64946         * aclocal.m4: Likewise.
64948         * wcsmbs/mbrtoc16.c: Implement using towc function.
64949         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
64950         * wcsmbs/wcsmbsload.c: Likewise.
64951         * iconv/gconv_simple.c: Likewise.
64952         * iconv/gconv_int.h: Likewise.
64953         * iconv/gconv_builtin.h: Likewise.
64954         * iconv/iconv_prog.c: Remove CHAR16 handling.
64956         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
64958         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
64960         * configure.in: Remove --with-elf and --enable-bounded options.
64961         Dont set base_machine for ia64.  More non-ELF conditions removed.
64962         Remove testing and setting of leading underscore information.
64963         * config.make.in (build-bounded): Set to no.
64964         * config.h.in: Remove NO_UNDERSCORES entry.
64965         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
64966         them.
64967         * csu/start.c: Remove !NO_UNDERSCORE code.
64968         * locale/localeinfo.h: Likewise.
64969         * sysdeps/generic/machine-gmon.h: Likewise.
64970         * sysdeps/generic/sysdep.h: Likewise.
64971         * sysdeps/i386/sysdep.h: Likewise.
64972         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
64973         * sysdeps/mach/sysdep.h: Likewise.
64974         * sysdeps/s390/s390-32/sysdep.h: Likewise.
64975         * sysdeps/s390/s390-64/sysdep.h: Likewise.
64976         * sysdeps/sh/sysdep.h: Likewise.
64977         * sysdeps/sparc/sparc32/alloca.S: Likewise.
64978         * sysdeps/unix/i386/sysdep.S: Likewise.
64979         * sysdeps/unix/sparc/start.c: Likewise.
64980         * sysdeps/unix/sparc/sysdep.S: Likewise.
64981         * sysdeps/unix/sparc/sysdep.h: Likewise.
64982         * sysdeps/unix/start.c: Likewise.
64983         * sysdeps/unix/x86_64/sysdep.S: Likewise.
64984         * sysdeps/x86_64/sysdep.h: Likewise.
64986 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
64988         [BZ #13553]
64989         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
64990         for non-gcc.
64991         * argp/argp-fmtstream.h: Use const instead __const.
64992         * argp/argp.h: Likewise.
64993         * assert/assert.h: Likewise.
64994         * bits/fenv.h: Likewise.
64995         * bits/sched.h: Likewise.
64996         * bits/sigset.h: Likewise.
64997         * bits/sigthread.h: Likewise.
64998         * catgets/nl_types.h: Likewise.
64999         * conform/data/pthread.h-data: Likewise.
65000         * crypt/crypt-private.h: Likewise.
65001         * crypt/crypt.h: Likewise.
65002         * crypt/crypt_util.c: Likewise.
65003         * ctype/ctype.h: Likewise.
65004         * debug/execinfo.h: Likewise.
65005         * debug/mbsnrtowcs_chk.c: Likewise.
65006         * debug/mbsrtowcs_chk.c: Likewise.
65007         * debug/wcsnrtombs_chk.c: Likewise.
65008         * debug/wcsrtombs_chk.c: Likewise.
65009         * debug/wcstombs_chk.c: Likewise.
65010         * dirent/dirent.h: Likewise.
65011         * dlfcn/dlfcn.h: Likewise.
65012         * elf/neededtest4.c: Likewise.
65013         * grp/grp.h: Likewise.
65014         * gshadow/gshadow.h: Likewise.
65015         * iconv/gconv.h: Likewise.
65016         * iconv/gconv_int.h: Likewise.
65017         * iconv/gconv_simple.c: Likewise.
65018         * iconv/iconv.h: Likewise.
65019         * iconv/loop.c: Likewise.
65020         * iconv/skeleton.c: Likewise.
65021         * include/aio.h: Likewise.
65022         * include/aliases.h: Likewise.
65023         * include/argz.h: Likewise.
65024         * include/arpa/inet.h: Likewise.
65025         * include/assert.h: Likewise.
65026         * include/dirent.h: Likewise.
65027         * include/dlfcn.h: Likewise.
65028         * include/execinfo.h: Likewise.
65029         * include/fcntl.h: Likewise.
65030         * include/fenv.h: Likewise.
65031         * include/glob.h: Likewise.
65032         * include/grp.h: Likewise.
65033         * include/libintl.h: Likewise.
65034         * include/mntent.h: Likewise.
65035         * include/netdb.h: Likewise.
65036         * include/pwd.h: Likewise.
65037         * include/rpc/netdb.h: Likewise.
65038         * include/sched.h: Likewise.
65039         * include/search.h: Likewise.
65040         * include/shadow.h: Likewise.
65041         * include/signal.h: Likewise.
65042         * include/stdio.h: Likewise.
65043         * include/stdlib.h: Likewise.
65044         * include/string.h: Likewise.
65045         * include/sys/socket.h: Likewise.
65046         * include/sys/stat.h: Likewise.
65047         * include/sys/statfs.h: Likewise.
65048         * include/sys/statvfs.h: Likewise.
65049         * include/sys/syslog.h: Likewise.
65050         * include/sys/time.h: Likewise.
65051         * include/sys/uio.h: Likewise.
65052         * include/time.h: Likewise.
65053         * include/unistd.h: Likewise.
65054         * include/utmp.h: Likewise.
65055         * include/wchar.h: Likewise.
65056         * include/wctype.h: Likewise.
65057         * inet/aliases.h: Likewise.
65058         * inet/arpa/inet.h: Likewise.
65059         * inet/netinet/ether.h: Likewise.
65060         * inet/netinet/in.h: Likewise.
65061         * intl/libintl.h: Likewise.
65062         * io/bits/fcntl2.h: Likewise.
65063         * io/fcntl.h: Likewise.
65064         * io/ftw.h: Likewise.
65065         * io/sys/poll.h: Likewise.
65066         * io/sys/stat.h: Likewise.
65067         * io/sys/statfs.h: Likewise.
65068         * io/sys/statvfs.h: Likewise.
65069         * io/utime.h: Likewise.
65070         * libio/bits/stdio.h: Likewise.
65071         * libio/bits/stdio2.h: Likewise.
65072         * libio/libio.h: Likewise.
65073         * libio/libioP.h: Likewise.
65074         * libio/stdio.h: Likewise.
65075         * locale/lc-ctype.c: Likewise.
65076         * locale/locale.h: Likewise.
65077         * login/utmp.h: Likewise.
65078         * malloc/arena.c: Likewise.
65079         * malloc/malloc.c: Likewise.
65080         * malloc/malloc.h: Likewise.
65081         * malloc/mcheck.c: Likewise.
65082         * malloc/mtrace.c: Likewise.
65083         * math/bits/mathcalls.h: Likewise.
65084         * math/fenv.h: Likewise.
65085         * math/math_private.h: Likewise.
65086         * misc/bits/error.h: Likewise.
65087         * misc/bits/syslog.h: Likewise.
65088         * misc/err.h: Likewise.
65089         * misc/error.h: Likewise.
65090         * misc/fstab.h: Likewise.
65091         * misc/mntent.h: Likewise.
65092         * misc/regexp.h: Likewise.
65093         * misc/search.h: Likewise.
65094         * misc/sgtty.h: Likewise.
65095         * misc/sys/mman.h: Likewise.
65096         * misc/sys/syslog.h: Likewise.
65097         * misc/sys/uio.h: Likewise.
65098         * misc/sys/xattr.h: Likewise.
65099         * misc/ttyent.h: Likewise.
65100         * nis/rpcsvc/ypclnt.h: Likewise.
65101         * nss/nss.h: Likewise.
65102         * posix/bits/unistd.h: Likewise.
65103         * posix/fnmatch.h: Likewise.
65104         * posix/glob.h: Likewise.
65105         * posix/sched.h: Likewise.
65106         * posix/spawn.h: Likewise.
65107         * posix/sys/wait.h: Likewise.
65108         * posix/unistd.h: Likewise.
65109         * posix/wordexp.h: Likewise.
65110         * pwd/pwd.h: Likewise.
65111         * resolv/netdb.h: Likewise.
65112         * resource/sys/resource.h: Likewise.
65113         * rt/aio.h: Likewise.
65114         * rt/bits/mqueue2.h: Likewise.
65115         * rt/mqueue.h: Likewise.
65116         * shadow/shadow.h: Likewise.
65117         * signal/signal.h: Likewise.
65118         * socket/send.c: Likewise.
65119         * socket/sendto.c: Likewise.
65120         * socket/sys/socket.h: Likewise.
65121         * stdio-common/printf.h: Likewise.
65122         * stdlib/bits/stdlib.h: Likewise.
65123         * stdlib/fmtmsg.h: Likewise.
65124         * stdlib/monetary.h: Likewise.
65125         * stdlib/stdlib.h: Likewise.
65126         * stdlib/ucontext.h: Likewise.
65127         * streams/stropts.h: Likewise.
65128         * string/argz.h: Likewise.
65129         * string/bits/string2.h: Likewise.
65130         * string/string.h: Likewise.
65131         * string/strings.h: Likewise.
65132         * sunrpc/rpc/auth.h: Likewise.
65133         * sunrpc/rpc/auth_des.h: Likewise.
65134         * sunrpc/rpc/clnt.h: Likewise.
65135         * sunrpc/rpc/netdb.h: Likewise.
65136         * sunrpc/rpc/pmap_clnt.h: Likewise.
65137         * sunrpc/rpc/xdr.h: Likewise.
65138         * sysdeps/generic/inttypes.h: Likewise.
65139         * sysdeps/generic/net/if.h: Likewise.
65140         * sysdeps/generic/sys/swap.h: Likewise.
65141         * sysdeps/gnu/net/if.h: Likewise.
65142         * sysdeps/gnu/utmpx.h: Likewise.
65143         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
65144         * sysdeps/i386/i486/bits/string.h: Likewise.
65145         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
65146         * sysdeps/s390/bits/string.h: Likewise.
65147         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
65148         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
65149         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
65150         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
65151         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
65152         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
65153         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
65154         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
65155         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
65156         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
65157         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
65158         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
65159         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
65160         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
65161         * sysdeps/unix/sysv/linux/readv.c: Likewise.
65162         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
65163         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
65164         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
65165         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
65166         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
65167         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
65168         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
65169         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
65170         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
65171         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
65172         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
65173         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
65174         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
65175         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
65176         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
65177         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
65178         * sysvipc/sys/ipc.h: Likewise.
65179         * sysvipc/sys/msg.h: Likewise.
65180         * sysvipc/sys/sem.h: Likewise.
65181         * sysvipc/sys/shm.h: Likewise.
65182         * termios/termios.h: Likewise.
65183         * time/sys/time.h: Likewise.
65184         * time/time.h: Likewise.
65185         * wcsmbs/bits/wchar2.h: Likewise.
65186         * wcsmbs/uchar.h: Likewise.
65187         * wcsmbs/wchar.h: Likewise.
65188         * wctype/wctype.h: Likewise.
65190         [BZ #13551]
65191         * Makeconfig: Remove all but ELF support including AIX support.
65192         * Makerules: Likewise.
65193         * config.h.in: Likewise.
65194         * config.make.in: Likewise.
65195         * configure: Likewise.
65196         * configure.in: Likewise.
65197         * csu/Makefile: Likewise.
65198         * csu/version.c: Likewise.
65199         * debug/Makefile: Likewise.
65200         * dlfcn/Makefile: Likewise.
65201         * elf/Makefile: Likewise.
65202         * extra-lib.mk: Likewise.
65203         * iconv/Makefile: Likewise.
65204         * include/libc-symbols.h: Likewise.
65205         * include/shlib-compat.h: Likewise.
65206         * resolv/Makefile: Likewise.
65207         * resolv/res_libc.c: Likewise.
65208         * rt/Makefile: Likewise.
65209         * sysdeps/i386/asm-syntax.h: Likewise.
65210         * sysdeps/i386/sysdep.h: Likewise.
65211         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
65212         * sysdeps/mach/sysdep.h: Likewise.
65213         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
65214         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
65215         * sysdeps/s390/asm-syntax.h: Likewise.
65216         * sysdeps/s390/s390-32/sysdep.h: Likewise.
65217         * sysdeps/s390/s390-64/sysdep.h: Likewise.
65218         * sysdeps/sh/sysdep.h: Likewise.
65219         * sysdeps/unix/sparc/sysdep.h: Likewise.
65220         * sysdeps/wordsize-32/divdi3.c: Likewise.
65221         * sysdeps/x86_64/sysdep.h: Likewise.
65223         * argp/Versions: Remove _argp_unlock_xxx.
65225         [BZ #13559]
65226         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
65227         * abilist/libBrokenLocale.abilist: Likewise.
65228         * abilist/libanl.abilist: Likewise.
65229         * abilist/libc.abilist: Likewise.
65230         * abilist/libcrypt.abilist: Likewise.
65231         * abilist/libdl.abilist: Likewise.
65232         * abilist/libm.abilist: Likewise.
65233         * abilist/libnsl.abilist: Likewise.
65234         * abilist/libpthread.abilist: Likewise.
65235         * abilist/libresolv.abilist: Likewise.
65236         * abilist/librt.abilist: Likewise.
65237         * abilist/libthread_db.abilist: Likewise.
65238         * abilist/libutil.abilist: Likewise.
65239         * abilist/libnss_db.abilist: New file.
65241         * scripts/abilist.awk: Add support for indirect functions.
65243         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
65245         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
65247         * shlib-versions: Remove entries for ports architectures.
65249         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
65250         files in ports.
65251         * elf/stackguard-macros.h: Remove support for IA-64.
65252         * elf/tst-auditmod1.c: Likewise.
65253         * sysdeps/generic/ldsodefs.h: Likewise.
65255         * sysdeps/unix/sysv/linux/configure.in: Ports should define
65256         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
65257         configure files.
65259         [BZ #13552]
65260         * configure.in: Remove --enable-omitfp support.
65261         * FAQ.in: Adjust.
65262         * config.make.in: Likewise.
65263         * Makeconfig: Likewise.
65264         * manual/install.texi: Likewise.
65266         In case anyone cares, the IA-64 architecture could move to ports.
65267         * sysdeps/ia64/*: Removed.
65268         * sysdeps/unix/sysv/linux/ia64/*: Removed.
65269         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
65271         [BZ #13555]
65272         * configure.in: Remove entries for unsupported architectures.
65274         [BZ #13533]
65275         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
65276         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
65277         routines.
65278         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
65279         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
65280         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
65281         fall back to using wcrtomb.
65282         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
65283         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
65284         renaming.
65285         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
65286         * wcsmbs/tst-c16c32-1.c: New file.
65288         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
65289         local variable.
65291         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
65293         * elf/tst-unique3.cc: Add explicit declaration of gets.
65294         * elf/tst-unique3lib.cc: Likewise.
65295         * elf/tst-unique3lib2.cc: Likewise.
65296         * elf/tst-unique4.cc: Likewise.
65298         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
65300 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
65302         [BZ #13566]
65303         * assert/assert.h (static_assert): Don't define for C++.
65304         * libio/stdio.h (gets): Do declare for C++ <= C++11.
65305         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
65307 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
65309         * iconv/loop.c (single loop): Fix assertion in storing of
65310         remaining bytes.
65312         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
65314 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
65316         * posix/getconf.c: Update copyright year.
65317         * nss/getent.c: Likewise.
65318         * nss/makedb.c: Likewise.
65319         * iconv/iconvconfig.c: Likewise.
65320         * iconv/iconv_prog.c: Likewise.
65321         * elf/ldconfig.c: Likewise.
65322         * elf/pldd.c: Likewise.
65323         * elf/sotruss.ksh: Likewise.
65324         * catgets/gencat.c: Likewise.
65325         * csu/version.c: Likewise.
65326         * elf/ldd.bash.in: Likewise.
65327         * elf/sprof.c (print_version): Likewise.
65328         * locale/programs/locale.c: Likewise.
65329         * locale/programs/localedef.c: Likewise.
65330         * login/programs/pt_chown.c: Likewise.
65331         * nscd/nscd.c (print_version): Likewise.
65332         * debug/xtrace.sh: Likewise.
65333         * malloc/memusage.sh: Likewise.
65334         * malloc/mtrace.pl: Likewise.
65335         * debug/catchsegv.sh: Likewise.
65337 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
65339         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
65340         pure attribute.
65342 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
65344         [BZ #13533]
65345         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
65346         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
65347         transformations.
65348         * iconv/gconv_int.h: Likewise.
65349         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
65350         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
65351         from libc for GLIBC_2.16.
65352         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
65353         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
65354         * wcsmbs/uchar.h: Really define mbstate_t.
65355         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
65356         * wcsmbs/c16rtomb.c: New file.
65357         * wcsmbs/mbrtoc16.c: New file.
65358         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
65359         for C/POSIX locale.
65360         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
65361         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
65363         * wcsmbs/wchar.h: Add missing __restrict.
65365 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
65367         [BZ #13532]
65368         * time/Makefile (routines): Add timespec_get.
65369         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
65370         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
65371         timespec for ISO C11.
65372         * time/timespec_get.c: New file.
65373         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
65374         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
65376         [BZ #13531]
65377         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
65378         * stdlib/stdlib.h: Declare aligned_alloc.
65379         * Versions.def: Add GLIBC_2.16 for libc.
65380         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
65382         [BZ 13527]
65383         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
65384         ISO C11.
65386         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
65387         code.
65389         [BZ #13528]
65390         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
65392         [BZ #13529]
65393         * assert/assert.h (static_assert): Define.
65395         * version.h: Update for 2.16 development version.
65397         [BZ #13526]
65398         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
65399         _ISOC11_SOURCE.
65401         * version.h (RELEASE): Bump for 2.15 release.
65402         * include/features.h (__GLIBC_MINOR__): Bump to 15.
65404         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
65405         Patch by Marek Polacek <mpolacek@redhat.com>.
65407         * bits/byteswap.h: Protect long long constants with __extension__.
65408         * sysdeps/i386/bits/byteswap.h: Likewise.
65409         * sysdeps/ia64/bits/byteswap.h: Likewise.
65410         * sysdeps/s390/bits/byteswap.h: Likewise.
65411         * sysdeps/x86_64/bits/byteswap.h: Likewise.
65413 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65415         [BZ #13540]
65416         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
65417         destination buffer.
65418         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
65420 2011-12-23  Marek Polacek  <polacek@redhat.com>
65422         * elf/dl-addr.c (determine_info): Add inline keyword.
65423         * elf/tst-auditmod4b.c (check_avx): Likewise.
65424         * elf/tst-auditmod6b.c (check_avx): Likewise.
65425         * elf/tst-auditmod6c.c (check_avx): Likewise.
65426         * elf/tst-auditmod7b.c (check_avx): Likewise.
65428 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
65430         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
65431         !__SSE_MATH__.
65433 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65435         [BZ #13540]
65436         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
65437         processing for last bytes.
65439 2011-08-06  Bruno Haible  <bruno@clisp.org>
65441         [BZ #13061]
65442         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
65443         U+0385, not to U+1FEE.
65445         [BZ #13062]
65446         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
65447         entry for U+00A5 U+0301.
65449 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
65451         [BZ #13166]
65452         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
65453         buffer for the output is too small.
65455         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
65456         optimization.
65458         [BZ #13185]
65459         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
65460         SSE flags if possible.
65462 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65464         [BZ #13540]
65465         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
65466         processing for last bytes.
65468 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
65470         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
65471         (syscall-list-default-options, syscall-list-default-condition)
65472         (syscall-list-includes): Define.
65473         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
65474         list of ABIs and options and #if conditions for each ABI.  Do not
65475         handle common syscalls between ABIs specially.
65476         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
65477         Remove.
65478         (syscall-list-variants, syscall-list-32bit-options)
65479         (syscall-list-32bit-condition, syscall-list-64bit-options)
65480         (syscall-list-64bit-condition): Define.
65481         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
65482         (syscall-list-variants, syscall-list-32bit-options)
65483         (syscall-list-32bit-condition, syscall-list-64bit-options)
65484         (syscall-list-64bit-condition): Define.
65485         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
65486         Remove.
65487         (syscall-list-variants, syscall-list-32bit-options)
65488         (syscall-list-32bit-condition, syscall-list-64bit-options)
65489         (syscall-list-64bit-condition): Define.
65490         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
65491         Remove.
65492         (syscall-list-variants, syscall-list-32bit-options)
65493         (syscall-list-32bit-condition, syscall-list-64bit-options)
65494         (syscall-list-64bit-condition): Define.
65496 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
65498         * locale/iso-639.def: Add brx entry.
65500         [BZ #13328]
65501         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
65502         Proposed by Mariusz_Cukr <marcukr@op.pl>.
65504         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
65505         __feraiseexcept_renamed.
65507 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
65509         [BZ #13538]
65510         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
65511         EPOLLET with unsigned values.
65512         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
65513         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
65515         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
65516         to large cancellation.
65517         * math/s_cacoshf.c: Likewise.
65518         * math/s_cacoshl.c: Likewise.
65520 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
65522         [BZ #13305]
65523         [BZ #12786]
65524         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
65525         * math/s_cacoshf.c: Likewise.
65526         * math/s_cacoshl.c: Likewise.
65528 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
65530         [BZ #13439]
65531         * iconv/gconv.h: Define __GCONV_SWAP.
65532         * iconvdata/unicode.c: The swap bit must be stored in __flags.
65533         * iconvdata/utf-16.c: Likewise.
65534         * iconvdata/utf-32.c: Likewise.
65536 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
65538         [BZ #13524]
65539         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
65540         numerator after shifting it by one limb.
65542 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
65544         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
65545         under [__USE_EXTERN_INLINES].
65547 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
65549         [BZ #13446]
65550         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
65552 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65554         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
65555         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
65556         optimized code.
65557         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
65558         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
65559         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
65560         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
65561         for strncasecmp/strncasecmp_l compilation.
65562         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
65563         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
65565 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
65567         [BZ #13484]
65568         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
65569         of __asm__.
65571 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
65573         [BZ #13506]
65574         * time/tzfile.c (__tzfile_read): Check values from file header.
65576 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
65578         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
65579         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
65580         * powerpc/powerpc32/dl-start.S: Likewise.
65581         * powerpc/powerpc32/elf/start.S: Likewise.
65582         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
65583         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
65584         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
65585         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
65586         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
65587         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
65588         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
65589         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
65590         * powerpc/powerpc32/fpu/s_round.S: Likewise.
65591         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
65592         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
65593         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
65594         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
65595         * powerpc/powerpc32/memset.S: Likewise.
65596         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
65597         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
65598         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
65599         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
65600         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
65601         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
65602         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
65603         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
65604         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
65605         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
65606         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
65607         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
65608         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
65610 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65612         * math/libm-test.inc: Added more nearbyint tests.
65613         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
65614         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
65615         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
65616         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
65618 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
65620         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
65621         FD_CLOEXEC.
65623 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65625         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
65626         Add wcscpy-ssse3 wcscpy-c.
65627         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
65628         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
65629         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
65630         * sysdeps/x86_64/wcschr.S: New file.
65631         * sysdeps/x86_64/wcsrchr.S: New file.
65632         * string/test-strcmp.c: Remove checking of wcscmp function for
65633         wrong alignments.
65634         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
65635         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
65636         wcsrchr-sse2 wcsrchr-c.
65637         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
65638         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
65639         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
65640         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
65641         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
65642         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
65643         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
65644         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
65645         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
65646         * wcsmbc/wcschr.c (WCSCHR): New macro.
65648 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65650         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
65651         * wcsmbs/test-wcsrchr.c: New file.
65652         * string/test-strrchr.c: Add wcsrchr support.
65653         (WIDE): New macro.
65654         * wcsmbs/test-wcscpy.c: New file.
65655         * string/test-strcpy.c: Add wcscpy support.
65656         (WIDE): New macro.
65658 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
65660         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
65661         the inner loop.
65663 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
65665         [BZ #13472]
65666         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
65668 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
65670         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
65671         Minor optimizations.
65673         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
65674         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
65675         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
65677 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
65679         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
65680         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
65681         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
65682         for gcc to avoid warnings.
65683         * inet/Makefile (tests): Add tst-checks.
65684         * inet/tst-checks.c: New file.
65686         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
65687         warning.
65689         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
65690         __wmemcmp_sse2.
65692         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
65693         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
65695         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
65697 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
65699         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
65700         problem.
65702         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
65704 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
65706         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
65707         conditional on GCC version.
65708         (__arch_compare_and_exchange_val_8_acq)
65709         (__arch_compare_and_exchange_val_16_acq)
65710         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
65711         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
65712         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
65714 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
65716         * sysdeps/sh/backtrace.c: New file.
65718 2011-12-02  Andreas Schwab  <schwab@redhat.com>
65720         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
65721         parenthesis.
65723 2011-12-01  Andreas Schwab  <schwab@redhat.com>
65725         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
65726         falling back to utime.
65728 2011-11-30  Andreas Schwab  <schwab@redhat.com>
65730         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
65731         expectations for float.
65733 2011-11-29  Andreas Schwab  <schwab@redhat.com>
65735         * locale/weight.h (findidx): Add parameter len.
65736         * locale/weightwc.h (findidx): Likewise.
65737         * posix/fnmatch_loop.c (FCT): Adjust caller.
65738         * posix/regcomp.c (build_equiv_class): Likewise.
65739         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
65740         * posix/regexec.c (check_node_accept_bytes): Likewise.
65741         * string/strcoll_l.c (STRCOLL): Likewise.
65742         * string/strxfrm_l.c (STRXFRM): Likewise.
65744 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
65746         * Makefile.in: Remove CVSOPT handling.
65747         * configure.in: Remove use of AC_REVISION.
65748         * iconvdata/Makefile (distribute): No need to filter out CVS.
65749         * scripts/list-sources.sh: Remove CVS, subversion and monotone
65750         handling.
65752 2011-11-16  Andreas Schwab  <schwab@redhat.com>
65754         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
65755         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
65756         [USE_AS_STRNCASECMP_L]: Likewise.
65757         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
65758         NO_TLS_DIRECT_SEG_REFS.
65759         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
65760         Fix argument offsets for non-PIC.
65761         [USE_AS_STRNCASECMP_L]: Likewise.
65762         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
65763         NO_TLS_DIRECT_SEG_REFS.
65765 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
65767         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
65768         O_CLOEXEC.
65769         * locale/loadlocale.c (_nl_load_locale): Likewise.
65771 2011-11-15  Andreas Schwab  <schwab@redhat.com>
65773         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
65774         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
65775         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
65776         (SYSCALL_GETTIME): Set errno on error.
65778         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
65779         count references to noai6ai_cached.
65781 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
65783         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
65785         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
65786         FD_CLOEXEC for /proc/self/maps.
65788         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
65789         FD_CLOEXEC for /proc/meminfo.
65791         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
65792         gai.conf.
65794         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
65795         FD_CLOEXEC for given file.
65797         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
65799         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
65800         FD_CLOEXEC for /etc/hosts.
65801         (_gethtent): Likewise.
65803         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
65805         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
65806         cancellation and set FD_CLOEXEC for /etc/netgroup.
65808         * nss/nss_files/files-key.c (search): Don't allow cancellation when
65809         reading /etc/publickey.
65811         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
65812         allow cancellation when reading /etc/group.
65814         * nss/nss_files/files-alias.c (internal_setent): Don't allow
65815         cancellation.
65816         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
65818         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
65819         when using data file.
65821         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
65823         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
65824         (write_nis_obj): Use "c" and "e" in fopen.
65826         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
65828         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
65830         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
65832         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
65834         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
65835         locale.alias.
65837         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
65839         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
65841         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
65843         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
65844         file parsing and set FD_CLOEXEC.
65846 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
65848         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
65850 2011-11-14  Andreas Schwab  <schwab@redhat.com>
65852         * malloc/arena.c (arena_get2): Don't call reused_arena when
65853         _int_new_arena failed.
65855 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
65857         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
65858         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
65859         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
65860         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
65861         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
65862         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
65863         to compile strcasecmp and strncasecmp.
65864         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
65865         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
65867         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
65869 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
65871         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
65872         locale-defines.sym to gen-as-const-headers.
65873         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
65874         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
65875         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
65876         to compile strcasecmp and strncasecmp.
65877         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
65878         strcasecmp_l and strncasecmp_l.
65879         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
65880         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
65881         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
65882         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
65883         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
65884         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
65885         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
65886         * sysdeps/i386/i686/multiarch/strncase.S: New file.
65887         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
65888         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
65889         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
65891 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
65893         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
65894         result of SYSDEP_GETTIME_CPU to retval.
65895         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
65896         parameter list to macro.  Remove trailing semicolon.  Adjust users.
65898         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
65899         variable.
65901         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
65902         mantissa words.
65903         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
65905         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
65906         from unused variable.
65908         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
65909         DWARF definitions.
65910         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
65911         for assembling.
65913         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
65914         over namespaces.
65916         * sunrpc/rpc_prot.c (rejected): Fix case value.
65918         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
65919         unsigned long long int to avoid warnings in shift.
65921         * posix/regex_internal.c (re_string_reconstruct): Actually use result
65922         of use of trans.
65923         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
65924         variable tmp.
65926         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
65927         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
65928         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
65930         * nis/nis_table.c (nis_list): Use variable of correct type for
65931         result of __follow_path call.
65933 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65935         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
65936         of math functions ceil, trunc, floor, round, and sqrt, when
65937         avaliable on the platform.
65938         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
65939         name clash.
65940         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
65941         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
65942         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
65944 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
65946         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
65947         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
65949 2011-11-11  Roland McGrath  <roland@hack.frob.com>
65951         * include/unistd.h: Fix __readlink return type.
65952         Reported by Chris Metcalf <cmetcalf@tilera.com>.
65954 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
65956         * stdlib/ucontext.h: Undo last change for makecontext.
65958 2011-11-11  Andreas Schwab  <schwab@redhat.com>
65960         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
65962         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
65963         * setjmp/setjmp.h: Mark functions as non-leaf.
65964         * setjmp/bits/setjmp2.h: Likewise.
65965         * stdlib/ucontext.h: Likewise.
65967 2011-11-10  Andreas Schwab  <schwab@redhat.com>
65969         * malloc/arena.c (_int_new_arena): Don't increment narenas.
65970         (reused_arena): Don't check arena limit.
65971         (arena_get2): Atomically check arena limit.
65973 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
65975         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
65976         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
65978         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
65979         instructions.
65981 2011-11-07  Andreas Schwab  <schwab@redhat.com>
65983         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
65984         handler when locking.
65986         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
65987         Fix size of allocated buffer.
65989 2011-11-04  Andreas Schwab  <schwab@redhat.com>
65991         [BZ #10103]
65992         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
65993         declarations for long double functions.
65994         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
65996         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
65998 2011-11-03  Andreas Schwab  <schwab@redhat.com>
66000         * nscd/nscd.c (main): Don't start AVC thread until credentials are
66001         installed.
66003         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
66004         is disabled.
66006 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66008         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
66010 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
66012         * include/alloca.h (stackinfo_alloca_round): Define.
66013         (extend_alloca): Use it.
66014         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
66015         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
66016         here.
66018         * scripts/check-local-headers.sh: Ignore libaudit.h.
66020         * nscd/Makefile (extra-objs): Make recursively expanded.
66022 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
66024         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
66025         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
66027         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
66028         * posix/tst-rfc3484-2.c: Likewise.
66029         * posix/tst-rfc3484-3.c: Likewise.
66031         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
66032         process_vm_writev.
66033         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
66034         process_vm_writev.
66035         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
66036         process_vm_writev from libc using GLIBC_2.15 version.
66038         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
66040 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
66042         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
66043         stack usage.
66045 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
66047         [BZ #13367]
66048         * nss/getent.c (initgroups_keys): Show error message in case no group
66049         names are given.
66051         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
66052         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
66053         __bump_nl_timestamp.
66054         * nscd/connections (nscd_init): When host database is served open
66055         netlink socket and request notification about configuration changes.
66056         (main_loop_poll): Track netlink file descriptor and bump timestamp
66057         in case data becomes available.
66058         (main_loop_epoll): Likewise.
66059         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
66060         (database_pers_head): Add extra_data fileds.
66061         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
66062         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
66063         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
66064         Adjust caller.
66065         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
66066         in6ai data, call __free_in6ai.
66067         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
66068         Add -DHAVE_NETLINK.
66069         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
66070         interface information.  Reuse previous data if netlink timestamp
66071         is not changed.
66072         (__bump_nl_timestamp): New function.
66073         (__free_in6ai): New function.
66075 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
66077         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
66078         close_not_cancel_no_status here.
66079         (__check_pf): Reorganize code a bit to not call close twice if OOM.
66081 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
66083         [BZ #13276]
66084         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
66085         return value.
66087         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
66088         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
66089         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
66091 2011-07-03  Andreas Jaeger  <aj@suse.de>
66093         [BZ #10709]
66094         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
66095         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
66096         * math/libm-test.inc (sin_test): Add test case.
66098 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
66100         [BZ #13337]
66101         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
66102         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
66104         * elf/chroot_canon.c (chroot_canon): Cleanups.
66106         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
66108         [BZ #13335]
66109         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
66110         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
66112         * string/test-strchr.c: Make usable for strchrnul testing.
66113         * string/test-strchrnul.c: New file.
66114         * string/Makefile (strop-tests): Add strchrnul.
66116         * po/it.po: Update from translation team.
66117         * po/es.po: Likewise.
66119 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
66121         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
66122         the three constants needed as parameters.  Drop the others.
66123         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
66124         __m128i_strloadu_tolower.
66125         Create and initialize variable zero and use it in all the places
66126         where _mm_setzero_si128 was used.
66128         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
66129         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
66130         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
66131         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
66132         anymore.
66133         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
66134         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
66135         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
66136         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
66137         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
66138         __mpranred, __mptan.
66139         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
66140         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
66141         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
66142         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
66143         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
66144         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
66145         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
66146         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
66147         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
66149 2011-10-28  Andreas Schwab  <schwab@redhat.com>
66151         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
66152         redefine if SHARED.
66153         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
66155         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
66156         wide char related routines to wcsmbs subdir.
66158 2011-10-27  Andreas Schwab  <schwab@redhat.com>
66160         [BZ #13344]
66161         * misc/sys/cdefs.h (__THROWNL): Define.
66162         * posix/unistd.h: Use __THREADNL instead of __THREAD
66163         for memory synchronization functions.
66165 2011-10-26  Roland McGrath  <roland@hack.frob.com>
66167         [BZ #13349]
66168         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
66169         doesn't exist.
66170         * manual/stdio.texi (Obstack Streams): Node removed.
66172 2011-10-26  Andreas Schwab  <schwab@redhat.com>
66174         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
66175         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
66176         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
66178         * math/math_private.h (math_force_eval): Allow non-addressable
66179         arguments.
66180         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
66182 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
66184         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
66185         file is not needed.
66187         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
66188         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
66189         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
66190         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
66191         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
66192         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
66193         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
66194         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
66195         Add AVX variants.
66196         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
66197         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
66198         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
66199         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
66200         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
66201         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
66202         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
66203         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
66204         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
66205         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
66206         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
66207         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
66208         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
66209         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
66210         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
66211         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
66212         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
66213         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
66214         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
66216         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
66217         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
66219         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
66220         place.  Use VEX encoding when compiling for AVX.
66222 2011-10-25  Andreas Schwab  <schwab@redhat.com>
66224         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
66225         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
66227         * string/test-strchr.c (do_test): Don't generate NUL bytes.
66229 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
66231         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
66232         useless if() expression.
66233         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
66234         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
66235         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
66236         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
66237         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
66238         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
66239         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
66240         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
66241         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
66242         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
66243         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
66244         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
66245         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
66246         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
66247         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
66248         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
66249         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
66250         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
66251         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
66253         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
66255 2011-10-25  Andreas Schwab  <schwab@redhat.com>
66257         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
66258         condition.
66259         * elf/dl-fini.c (_dl_sort_fini): Likewise.
66261 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
66263         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
66264         .text section.  Avoid duplicate constants.
66265         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
66266         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
66267         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
66268         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
66269         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
66270         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
66271         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
66272         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
66273         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
66274         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
66275         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
66276         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
66277         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
66278         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
66279         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
66280         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
66281         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
66282         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
66283         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
66284         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
66285         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
66286         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
66287         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
66288         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
66289         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
66290         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
66291         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
66292         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
66293         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
66294         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
66295         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
66296         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
66297         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
66298         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
66299         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
66300         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
66301         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
66302         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
66303         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
66304         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
66305         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
66306         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
66307         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
66308         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
66309         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
66311 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
66313         * sysdeps/x86_64/dla.h: Move to ...
66314         * sysdeps/x86_64/fpu/dla.h: ...here.
66315         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
66316         situations.  Use __builtin_fma only for gcc 4.6 and up.
66318         * config.make.in: Add have-mfma4 entry.
66319         * configure.in: Substitute libc_cv_cc_fma4.
66320         * math/Makefile (dbl-only-routines): Add sincostab.
66321         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
66322         Use __sincostab not sincos.
66323         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
66324         name is a macro.
66325         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
66326         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
66327         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
66328         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
66329         using __copysign.
66330         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
66331         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
66332         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
66333         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
66334         and __inv.
66335         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
66336         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
66337         __copysign.
66338         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
66339         define aliases when function name is a macro.
66340         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
66341         sysdeps/ieee754/dbl-64/sincos.tbl.
66342         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
66343         fma4-enabled routines.
66344         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
66345         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
66346         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
66347         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
66348         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
66349         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
66350         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
66351         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
66352         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
66353         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
66354         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
66355         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
66356         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
66357         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
66358         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
66359         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
66360         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
66361         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
66362         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
66363         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
66364         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
66365         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
66366         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
66367         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
66368         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
66369         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
66370         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
66371         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
66372         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
66373         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
66375         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
66376         rename.
66377         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
66378         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
66379         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
66380         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
66381         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
66382         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
66383         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
66384         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
66386 2011-10-24  Andreas Schwab  <schwab@redhat.com>
66388         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
66390 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
66392         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
66394         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
66395         prediction.
66396         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
66398         * string/strnlen.c: Don't define STRNLEN, reverse logic.
66399         Remove unused variable magic_bits.
66400         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
66402         * string/strnlen.c: Define and use STRNLEN macro.
66403         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
66404         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
66405         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
66406         * wcsmbs/wcslen.c: Define and use WCSLEN.
66407         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
66408         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
66409         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
66410         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
66411         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
66412         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
66413         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
66415 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66417         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
66418         strnlen-sse2-no-bsf.
66419         Rename strlen-no-bsf to strlen-sse2-no-bsf.
66420         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
66421         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
66422         Add strnlen support.
66423         (USE_AS_STRNLEN): New macro.
66424         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
66425         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
66426         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
66427         * sysdeps/x86_64/wcslen.S: New file.
66429 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
66431         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
66432         XMM-moves are used for copying on small sizes.
66434 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66436         * wcsmbs/Makefile (strop-tests): Add wcschr.
66437         * wcsmbs/test-wcschr.c: New file.
66438         * string/test-strchr.c: Update.
66439         Add wcschr support.
66440         (WIDE): New macro.
66442 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66444         * wcsmbs/Makefile (strop-tests): Add wcslen.
66445         * wcsmbs/test-wcslen.c: New file.
66446         * string/test-strlen.c: Update.
66447         Add wcslen support.
66448         (WIDE): New macro.
66450 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
66452         * po/it.po: Update from translation team.
66454 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66456         * sysdeps/x86_64/wcscmp.S: Update.
66457         Fix wrong comparison semantics.
66458         wcscmp shall use signed comparison not unsigned.
66459         Don't use substraction to avoid overflow bug.
66460         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
66461         * wcsmbc/wcscmp.c: Likewise.
66462         * string/test-strcmp.c: Likewise.
66463         Add new tests to check cases with negative values.
66465 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
66467         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
66468         * sysdeps/x86_64/dla.h: ...here.  New file.
66469         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
66470         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
66471         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
66472         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
66473         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
66474         * sysdeps/ieee754/dbl-64/e_sqrt.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-23  Andreas Schwab  <schwab@linux-m68k.org>
66481         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
66482         __ynl_finite aliases.
66484 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
66486         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66488         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
66489         define DLA_FMA.
66490         [DLA_FMA] (EMULV): Use DLA_FMA.
66491         [DLA_FMA] (MUL12): Use EMULV.
66492         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
66493         that are not needed.
66494         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
66495         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
66496         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
66497         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
66498         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
66499         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
66500         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
66502 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
66504         * math/s_nan.c: Undef __nan.
66505         * math/s_nanf.c: Undef __nanf.
66506         * math/s_nanl.c: Undef __nanl.
66507         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
66508         "math_private.h".
66510 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
66512         * math/s_catan.c: Add branch predictions.
66513         * math/s_catanf.c: Likewise.
66514         * math/s_catanh.c: Likewise.
66515         * math/s_catanhf.c: Likewise.
66516         * math/s_catanhl.c: Likewise.
66517         * math/s_catanl.c: Likewise.
66518         * math/s_cexp.c: Likewise.
66519         * math/s_cexpf.c: Likewise.
66520         * math/s_cexpl.c: Likewise.
66521         * math/s_clog.c: Likewise.
66522         * math/s_clog10.c: Likewise.
66523         * math/s_clog10f.c: Likewise.
66524         * math/s_clog10l.c: Likewise.
66525         * math/s_clogf.c: Likewise.
66526         * math/s_clogl.c: Likewise.
66527         * math/s_csqrt.c: Likewise.
66528         * math/s_csqrtf.c: Likewise.
66529         * math/s_csqrtl.c: Likewise.
66530         * math/s_ctanf.c: Likewise.
66531         * math/s_ctanh.c: Likewise.
66532         * math/s_ctanhf.c: Likewise.
66533         * math/s_ctanhl.c: Likewise.
66534         * math/s_ctanl.c: Likewise.
66536         * math/math_private.h: Define __nan, __nanf, __nanl.
66537         * math/s_cacosh.c: Include <math_private.h>.
66538         * math/s_cacoshl.c: Likewise.
66539         * math/s_casinh.c: Likewise.
66540         * math/s_casinhf.c: Likewise.
66541         * math/s_casinhl.c: Likewise.
66542         * math/s_ccos.c: Rely entire on ccosh.
66543         * math/s_ccosf.c: Rely entire on ccoshf.
66544         * math/s_ccosl.c: Rely entirely on ccoshl.
66545         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
66546         Remove tests for FE_INVALID.
66547         * math/s_ccoshf.c: Likewise.
66548         * math/s_ccoshl.c: Likewise.
66549         * math/s_csin.c: Likewise.
66550         * math/s_csinf.c: Likewise.
66551         * math/s_csinh.c Likewise.
66552         * math/s_csinhf.c: Likewise.
66553         * math/s_csinhl.c: Likewise.
66554         * math/s_csinl.c: Likewise.
66555         * math/s_ctan.c: Likewise.
66556         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
66557         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
66558         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
66560 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
66562         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
66563         compilation problems.
66565         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
66566         __builtin_expect.
66568 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
66570         * sysdeps/i386/configure.in: Test for -mfma4 option.
66571         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
66572         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
66573         COMMON_CPUID_INDEX_80000001.
66574         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
66575         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
66576         use it if FMA3 is not supported.
66577         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
66579         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
66580         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
66582 2011-10-20  Andreas Schwab  <schwab@redhat.com>
66584         [BZ #12892]
66585         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
66586         it would create a cycle with a link time dependency.
66588 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
66590         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
66591         instruction.
66592         * string/Makefile (strop-tests): Add rawmemchr.
66593         * string/test-rawmemchr.c: New file.
66595         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
66596         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
66597         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
66598         when compiling str{,n}casecmp and when AVX is available.  Hook up
66599         new optimized code in initializers.
66601 2011-10-19  Andreas Schwab  <schwab@redhat.com>
66603         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
66604         __feraiseexcept instead of feraiseexcept.
66606 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
66608         * math/math_private.h: Define defaults for libc_fetestexcept and
66609         libc_feupdateenv.
66610         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
66611         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
66612         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
66613         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
66614         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
66615         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
66616         libc_fetestexcept and libc_feupdateenv.
66618         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
66619         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
66620         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
66621         * sysdeps/x86_64/fpu/math_private.h: Define special version of
66622         libc_feholdexcept_setround.
66624         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
66625         Add s_nearbyint-c and s_nearbyintf-c.
66626         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
66627         nearbyintf inlines.
66628         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
66629         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
66630         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
66631         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
66633         * math/math_private.h: Define defaults for libc_fegetround,
66634         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
66635         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
66636         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
66637         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
66638         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
66639         standard functions.
66640         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
66641         Remove comments and hacks for old compiler versions.
66642         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
66643         libc_fegetround, libc_fesetround, libc_feholdexcept, and
66644         libc_feholdexceptl.
66646 2011-10-18  Andreas Schwab  <schwab@redhat.com>
66648         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
66649         (__feraiseexcept_renamed): Add __NTH.
66650         (feraiseexcept): Add __NTH.  Rename local variables to fix
66651         namespace violations.
66653 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
66655         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
66657         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
66659         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
66660         recently added interfaces.
66661         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
66663         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
66664         about macro parameter expansion.
66666         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
66667         __NO_MATH_INLINES is defined.  Cleanups.
66669         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
66670         and __floorf is target has SSE4.1.
66671         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
66672         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
66673         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
66674         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
66676         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
66677         name.
66678         (floorf): Likewise.
66680         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
66682 2011-10-17  Andreas Schwab  <schwab@redhat.com>
66684         * misc/sys/cdefs.h: Fix last change.
66686         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
66687         database lookup.
66689 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
66691         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
66693         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
66694         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
66695         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
66696         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
66697         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
66698         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
66699         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
66700         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
66701         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
66702         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
66703         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
66704         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
66705         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
66706         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
66707         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
66708         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
66709         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
66710         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
66711         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
66712         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
66713         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
66714         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
66716         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
66717         ceil, ceilf, floor, floorf.
66719         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
66720         Perform IRELATIVE relocations last.
66722         * elf/do-rel.h: Add another parameter nrelative, replacing the
66723         local variable with the same name.  Change name of the function
66724         to end in Rel or Rela (uppercase).
66725         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
66726         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
66727         elf_dynamic_do_##reloc function.
66729 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
66731         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
66732         is sufficient, at least on modern CPUs.
66734         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
66736         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
66737         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
66739         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
66740         __expl_finite.
66741         * math/bits/math-finite.h: Add entries for exp.
66742         * math/e_expl.c: Add __*_finite alias.
66743         * sysdeps/i386/fpu/e_exp.S: Likewise.
66744         * sysdeps/i386/fpu/e_expf.S: Likewise.
66745         * sysdeps/i386/fpu/e_expl.c: Likewise.
66746         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
66747         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
66748         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
66749         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
66750         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
66751         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
66752         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
66754         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
66755         is sufficient, at least on modern CPUs.
66757         * ctype/ctype-info.c (__ctype_init): Define.
66758         * include/ctype.h (__ctype_init): Declare.
66759         (__ctype_b_loc): The variable is always initialized.
66760         (__ctype_toupper_loc): Likewise.
66761         (__ctype_tolower_loc): Likewise.
66762         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
66763         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
66765 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
66767         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
66769         * configure.in: Also look in $cxxmachine/include for C++ system
66770         headers.
66772 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66774         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
66775         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
66776         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
66777         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
66778         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
66779         (USE_AS_WMEMCMP): New macro.
66780         Fixing indents.
66781         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
66782         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
66783         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
66784         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
66785         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
66786         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
66787         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
66788         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
66789         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
66790         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
66791         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
66792         (USE_AS_WMEMCMP): New macro.
66793         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
66794         * sysdeps/string/test-memcmp.c: Update.
66795         Fix simple_wmemcmp.
66796         Add new tests.
66797         * wcsmbs/wmemcmp.c: Update.
66798         (WMEMCMP): New macro.
66799         Fix overflow bug.
66801 2011-10-12  Andreas Jaeger  <aj@suse.de>
66803         [BZ #13268]
66804         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
66806 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
66808         * libio/iofwide.c (do_length): Avoid warning.
66810         * ctype/ctype.h (__isctype_f): Add missing __THROW.
66812 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
66814         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
66816         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
66817         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
66818         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
66819         * sysdeps/i386/i686/fpu/e_log.S: New file.
66820         * sysdeps/i386/i686/fpu/e_logf.S: New file.
66821         * sysdeps/i386/i686/fpu/e_logl.S: New file.
66823         * ctype/ctype.h: Add support for inlined isXXX functions when
66824         compiling C++ code.
66826 2011-10-14  Andreas Schwab  <schwab@redhat.com>
66828         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
66830         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
66832 2011-10-13  Roland McGrath  <roland@hack.frob.com>
66834         [BZ #13291]
66835         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
66837 2011-10-13  Andreas Schwab  <schwab@redhat.com>
66839         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
66840         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
66841         feraiseexcept.
66843         * sysdeps/x86_64/memrchr.S: Check for zero size.
66845         * string/stratcliff.c: Add memrchr tests.
66847 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66849         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
66850         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
66851         rawmemchr-sse2 rawmemchr-sse2-bsf.
66852         * sysdeps/i386/i686/multiarch/memchr.S: New file.
66853         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
66854         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
66855         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
66856         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
66857         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
66858         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
66859         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
66860         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
66861         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
66862         * string/memrchr.c (MEMRCHR): New macro.
66864 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
66866         Add integration with gcc's -ffinite-math-only and optimize wrapper
66867         functions in libm.
66868         * Versions.def: Define GLIBC_2.15 version for libm.
66869         * math/Makefile (headers): Add bits/math-finite.h.
66870         * math/bits/math-finite.h: New file.
66871         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
66872         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
66873         * math/e_acoshl.c: Add __*_finite alias.
66874         * math/e_acosl.c: Likewise.
66875         * math/e_asinl.c: Likewise.
66876         * math/e_atan2l.c: Likewise.
66877         * math/e_atanhl.c: Likewise.
66878         * math/e_coshl.c: Likewise.
66879         * math/e_exp10.c: Likewise.
66880         * math/e_exp10f.c: Likewise.
66881         * math/e_exp10l.c: Likewise.
66882         * math/e_exp2l.c: Likewise.
66883         * math/e_fmodl.c: Likewise.
66884         * math/e_gammal_r.c: Likewise.
66885         * math/e_hypotl.c: Likewise.
66886         * math/e_j0l.c: Likewise.
66887         * math/e_j1l.c: Likewise.
66888         * math/e_jnl.c: Likewise.
66889         * math/e_lgammal_r.c: Likewise.
66890         * math/e_log10l.c: Likewise.
66891         * math/e_log2l.c: Likewise.
66892         * math/e_logl.c: Likewise.
66893         * math/e_powl.c: Likewise.
66894         * math/e_sinhl.c: Likewise.
66895         * math/e_sqrtl.c: Likewise.
66896         * math/e_scalb.c: Completely rewritten and optimized.
66897         * math/e_scalbf.c: Likewise.
66898         * math/e_scalbl.c: Likewise.
66899         * math/w_acos.c: Likewise.
66900         * math/w_acosf.c: Likewise.
66901         * math/w_acosl.c: Likewise.
66902         * math/w_acosh.c: Likewise.
66903         * math/w_acoshf.c: Likewise.
66904         * math/w_acoshl.c: Likewise.
66905         * math/w_asin.c: Likewise.
66906         * math/w_asinf.c: Likewise.
66907         * math/w_asinl.c: Likewise.
66908         * math/w_atan2.c: Likewise.
66909         * math/w_atan2f.c: Likewise.
66910         * math/w_atan2l.c: Likewise.
66911         * math/w_atanh.c: Likewise.
66912         * math/w_atanhf.c: Likewise.
66913         * math/w_atanhl.c: Likewise.
66914         * math/w_exp10.c: Likewise.
66915         * math/w_exp10f.c: Likewise.
66916         * math/w_exp10l.c: Likewise.
66917         * math/w_fmod.c: Likewise.
66918         * math/w_fmodf.c: Likewise.
66919         * math/w_fmodl.c: Likewise.
66920         * math/w_j0.c: Likewise.
66921         * math/w_j0f.c: Likewise.
66922         * math/w_j0l.c: Likewise.
66923         * math/w_j1.c: Likewise.
66924         * math/w_j1f.c: Likewise.
66925         * math/w_j1l.c: Likewise.
66926         * math/w_jn.c: Likewise.
66927         * math/w_jnf.c: Likewise.
66928         * math/w_log.c: Likewise.
66929         * math/w_logf.c: Likewise.
66930         * math/w_logl.c: Likewise.
66931         * math/w_log10.c: Likewise.
66932         * math/w_log10f.c: Likewise.
66933         * math/w_log10l.c: Likewise.
66934         * math/w_log2.c: Likewise.
66935         * math/w_log2f.c: Likewise.
66936         * math/w_log2l.c: Likewise.
66937         * math/w_pow.c: Likewise.
66938         * math/w_powf.c: Likewise.
66939         * math/w_powl.c: Likewise.
66940         * math/w_remainder.c: Likewise.
66941         * math/w_remainderf.c: Likewise.
66942         * math/w_remainderl.c: Likewise.
66943         * math/w_scalb.c: Likewise.
66944         * math/w_scalbf.c: Likewise.
66945         * math/w_scalbl.c: Likewise.
66946         * math/w_sqrt.c: Likewise.
66947         * math/w_sqrtf.c: Likewise.
66948         * math/w_sqrtl.c: Likewise.
66949         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
66950         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
66951         used.
66952         * math/math_private.h: Declare __kernel_standard_f.
66953         * math/w_cosh.c: Remove cruft and optimize a bit.
66954         * math/w_coshf.c: Likewise.
66955         * math/w_coshl.c: Likewise.
66956         * math/w_exp2.c: Likewise.
66957         * math/w_exp2f.c: Likewise.
66958         * math/w_exp2l.c: Likewise.
66959         * math/w_hypot.c: Likewise.
66960         * math/w_hypotf.c: Likewise.
66961         * math/w_hypotl.c: Likewise.
66962         * math/w_lgamma.c: Likewise.
66963         * math/w_lgamma_r.c: Likewise.
66964         * math/w_lgammaf.c: Likewise.
66965         * math/w_lgammaf_r.c: Likewise.
66966         * math/w_lgammal.c: Likewise.
66967         * math/w_lgammal_r.c: Likewise.
66968         * math/w_sinh.c: Likewise.
66969         * math/w_sinhf.c: Likewise.
66970         * math/w_sinhl.c: Likewise.
66971         * math/w_tgamma.c: Likewise.
66972         * math/w_tgammaf.c: Likewise.
66973         * math/w_tgammal.c: Likewise.
66974         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
66975         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
66976         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
66977         Minor optimizations.  Pretty printing.  Remove cruft.
66978         * sysdeps/i386/fpu/e_acosf.S: Likewise.
66979         * sysdeps/i386/fpu/e_acosh.S: Likewise.
66980         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
66981         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
66982         * sysdeps/i386/fpu/e_acosl.c: Likewise.
66983         * sysdeps/i386/fpu/e_asin.S: Likewise.
66984         * sysdeps/i386/fpu/e_asinf.S: Likewise.
66985         * sysdeps/i386/fpu/e_atan2.S: Likewise.
66986         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
66987         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
66988         * sysdeps/i386/fpu/e_atanh.S: Likewise.
66989         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
66990         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
66991         * sysdeps/i386/fpu/e_exp10.S: Likewise.
66992         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
66993         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
66994         * sysdeps/i386/fpu/e_exp2.S: Likewise.
66995         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
66996         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
66997         * sysdeps/i386/fpu/e_fmod.S: Likewise.
66998         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
66999         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
67000         * sysdeps/i386/fpu/e_hypot.S: Likewise.
67001         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
67002         * sysdeps/i386/fpu/e_log.S: Likewise.
67003         * sysdeps/i386/fpu/e_log10.S: Likewise.
67004         * sysdeps/i386/fpu/e_log10f.S: Likewise.
67005         * sysdeps/i386/fpu/e_log10l.S: Likewise.
67006         * sysdeps/i386/fpu/e_log2.S: Likewise.
67007         * sysdeps/i386/fpu/e_log2f.S: Likewise.
67008         * sysdeps/i386/fpu/e_log2l.S: Likewise.
67009         * sysdeps/i386/fpu/e_logf.S: Likewise.
67010         * sysdeps/i386/fpu/e_logl.S: Likewise.
67011         * sysdeps/i386/fpu/e_pow.S: Likewise.
67012         * sysdeps/i386/fpu/e_powf.S: Likewise.
67013         * sysdeps/i386/fpu/e_powl.S: Likewise.
67014         * sysdeps/i386/fpu/e_remainder.S: Likewise.
67015         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
67016         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
67017         * sysdeps/i386/fpu/e_scalb.S: Likewise.
67018         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
67019         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
67020         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
67021         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
67022         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
67023         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
67024         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
67025         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
67026         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
67027         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
67028         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
67029         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
67030         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
67031         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
67032         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
67033         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
67034         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
67035         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
67036         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
67037         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
67038         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
67039         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
67040         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
67041         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
67042         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
67043         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
67044         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
67045         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
67046         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
67047         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
67048         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
67049         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
67050         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
67051         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
67052         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
67053         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
67054         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
67055         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
67056         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
67057         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
67058         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
67059         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
67060         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
67061         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
67062         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
67063         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
67064         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
67065         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
67066         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
67067         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
67068         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
67069         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
67070         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
67071         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
67072         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
67073         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
67074         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
67075         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
67076         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
67077         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
67078         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
67079         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
67080         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
67081         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
67082         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
67083         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
67084         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
67085         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
67086         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
67087         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
67088         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
67089         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
67090         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
67091         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
67092         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
67093         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
67094         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
67095         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
67096         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
67097         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
67098         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
67099         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
67100         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
67101         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
67102         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
67103         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
67104         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
67105         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
67106         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
67107         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
67108         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
67109         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
67110         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
67111         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
67112         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
67113         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
67114         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
67115         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
67116         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
67117         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
67118         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
67119         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
67120         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
67121         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
67122         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
67123         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
67124         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
67125         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
67126         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
67127         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
67128         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
67129         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
67130         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
67131         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
67132         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
67133         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
67134         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
67135         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
67136         (__isnanf): Likewise.
67137         (__isinf_ns): Likewise.
67138         (__isinf_nsf): Likewise.
67139         (__finite): Likewise.
67140         (__finitef): Likewise.
67141         (__ieee754_sqrt): Define as macro.
67142         (__ieee754_sqrtf): Define as macro.
67143         (__ieee754_sqrtl): Define as macro.
67144         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
67145         inlined copy.
67146         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
67147         __FINITE_MATH_ONLY__ consistent.
67148         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
67150 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
67152         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
67153         of rawmemchr.
67155         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
67157 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
67159         * po/ja.po: Update from translation team.
67161 2011-10-08  Roland McGrath  <roland@hack.frob.com>
67163         * locale/programs/locarchive.c (prepare_address_space): New function.
67164         (create_archive, enlarge_archive, open_archive): Use it.
67166         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
67167         inside [SHARED], where it is used.
67169         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
67171         * nss/getent.c (netgroup_keys): Remove unused variable.
67172         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
67174 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
67176         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
67177         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
67178         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
67179         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
67180         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
67181         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
67182         * math/Makefile (libm-calls): Add s_isinf_ns.
67183         * math/divtc3.c: Use __isinf_nsl instead of isinf.
67184         * math/multc3.c: Likewise.
67185         * math/s_casin.c: Likewise.
67186         * math/s_casinf.c: Likewise.
67187         * math/s_casinl.c: Likewise.
67188         * math/s_ccos.c: Likewise.
67189         * math/s_ccosf.c: Likewise.
67190         * math/s_ccosl.c: Likewise.
67191         * math/s_ctan.c: Likewise.
67192         * math/s_ctanf.c: Likewise.
67193         * math/s_ctanh.c: Likewise.
67194         * math/s_ctanhf.c: Likewise.
67195         * math/s_ctanhl.c: Likewise.
67196         * math/s_ctanl.c: Likewise.
67197         * math/w_fmod.c: Likewise.
67198         * math/w_fmodf.c: Likewise.
67199         * math/w_fmodl.c: Likewise.
67200         * math/w_remainder.c: Likewise.
67201         * math/w_remainderf.c: Likewise.
67202         * math/w_remainderl.c: Likewise.
67203         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
67204         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
67205         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
67206         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
67207         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
67208         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
67209         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
67210         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
67212         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
67213         of the number.
67214         * stdio-common/printf_fphex.c: Likewise.
67215         * stdio-common/printf_size.c: Likewise.
67217         * math/e_exp10.c: Include math_private.h using <...> not "...".
67218         * math/e_exp10f.c: Likewise.
67219         * math/e_exp10l.c: Likewise.
67220         * math/e_exp2l.c: Likewise.
67221         * math/e_j0l.c: Likewise.
67222         * math/e_j1l.c: Likewise.
67223         * math/e_jnl.c: Likewise.
67224         * math/e_lgammal_r.c: Likewise.
67225         * math/e_rem_pio2l.c: Likewise.
67226         * math/e_scalb.c: Likewise.
67227         * math/e_scalbf.c: Likewise.
67228         * math/e_scalbl.c: Likewise.
67229         * math/k_cosl.c: Likewise.
67230         * math/k_sinl.c: Likewise.
67231         * math/k_tanl.c: Likewise.
67232         * math/s_cacoshf.c: Likewise.
67233         * math/s_catan.c: Likewise.
67234         * math/s_catanf.c: Likewise.
67235         * math/s_catanh.c: Likewise.
67236         * math/s_catanhf.c: Likewise.
67237         * math/s_catanhl.c: Likewise.
67238         * math/s_catanl.c: Likewise.
67239         * math/s_ccosh.c: Likewise.
67240         * math/s_ccoshf.c: Likewise.
67241         * math/s_ccoshl.c: Likewise.
67242         * math/s_cexp.c: Likewise.
67243         * math/s_cexpf.c: Likewise.
67244         * math/s_cexpl.c: Likewise.
67245         * math/s_clog.c: Likewise.
67246         * math/s_clog10.c: Likewise.
67247         * math/s_clog10f.c: Likewise.
67248         * math/s_clog10l.c: Likewise.
67249         * math/s_clogf.c: Likewise.
67250         * math/s_clogl.c: Likewise.
67251         * math/s_csin.c: Likewise.
67252         * math/s_csinf.c: Likewise.
67253         * math/s_csinh.c: Likewise.
67254         * math/s_csinhf.c: Likewise.
67255         * math/s_csinhl.c: Likewise.
67256         * math/s_csinl.c: Likewise.
67257         * math/s_csqrt.c: Likewise.
67258         * math/s_csqrtf.c: Likewise.
67259         * math/s_csqrtl.c: Likewise.
67260         * math/s_ctan.c: Likewise.
67261         * math/s_ctanf.c: Likewise.
67262         * math/s_ctanh.c: Likewise.
67263         * math/s_ctanhf.c: Likewise.
67264         * math/s_ctanhl.c: Likewise.
67265         * math/s_ctanl.c: Likewise.
67266         * math/s_ldexp.c: Likewise.
67267         * math/s_ldexpf.c: Likewise.
67268         * math/s_ldexpl.c: Likewise.
67269         * math/s_significand.c: Likewise.
67270         * math/s_significandf.c: Likewise.
67271         * math/s_significandl.c: Likewise.
67272         * math/w_acos.c: Likewise.
67273         * math/w_acosf.c: Likewise.
67274         * math/w_acosh.c: Likewise.
67275         * math/w_acoshf.c: Likewise.
67276         * math/w_acoshl.c: Likewise.
67277         * math/w_acosl.c: Likewise.
67278         * math/w_asin.c: Likewise.
67279         * math/w_asinf.c: Likewise.
67280         * math/w_asinl.c: Likewise.
67281         * math/w_atan2.c: Likewise.
67282         * math/w_atan2f.c: Likewise.
67283         * math/w_atan2l.c: Likewise.
67284         * math/w_atanh.c: Likewise.
67285         * math/w_atanhf.c: Likewise.
67286         * math/w_atanhl.c: Likewise.
67287         * math/w_cosh.c: Likewise.
67288         * math/w_coshf.c: Likewise.
67289         * math/w_coshl.c: Likewise.
67290         * math/w_dremf.c: Likewise.
67291         * math/w_exp10.c: Likewise.
67292         * math/w_exp10f.c: Likewise.
67293         * math/w_exp10l.c: Likewise.
67294         * math/w_exp2.c: Likewise.
67295         * math/w_exp2f.c: Likewise.
67296         * math/w_fmod.c: Likewise.
67297         * math/w_fmodf.c: Likewise.
67298         * math/w_fmodl.c: Likewise.
67299         * math/w_hypot.c: Likewise.
67300         * math/w_hypotf.c: Likewise.
67301         * math/w_hypotl.c: Likewise.
67302         * math/w_j0.c: Likewise.
67303         * math/w_j0f.c: Likewise.
67304         * math/w_j0l.c: Likewise.
67305         * math/w_j1.c: Likewise.
67306         * math/w_j1f.c: Likewise.
67307         * math/w_j1l.c: Likewise.
67308         * math/w_jn.c: Likewise.
67309         * math/w_jnf.c: Likewise.
67310         * math/w_jnl.c: Likewise.
67311         * math/w_lgamma.c: Likewise.
67312         * math/w_lgamma_r.c: Likewise.
67313         * math/w_lgammaf.c: Likewise.
67314         * math/w_lgammaf_r.c: Likewise.
67315         * math/w_lgammal.c: Likewise.
67316         * math/w_lgammal_r.c: Likewise.
67317         * math/w_log.c: Likewise.
67318         * math/w_log10.c: Likewise.
67319         * math/w_log10f.c: Likewise.
67320         * math/w_log10l.c: Likewise.
67321         * math/w_log2.c: Likewise.
67322         * math/w_log2f.c: Likewise.
67323         * math/w_log2l.c: Likewise.
67324         * math/w_logf.c: Likewise.
67325         * math/w_logl.c: Likewise.
67326         * math/w_pow.c: Likewise.
67327         * math/w_powf.c: Likewise.
67328         * math/w_powl.c: Likewise.
67329         * math/w_remainder.c: Likewise.
67330         * math/w_remainderf.c: Likewise.
67331         * math/w_remainderl.c: Likewise.
67332         * math/w_scalb.c: Likewise.
67333         * math/w_scalbf.c: Likewise.
67334         * math/w_scalbl.c: Likewise.
67335         * math/w_sinh.c: Likewise.
67336         * math/w_sinhf.c: Likewise.
67337         * math/w_sinhl.c: Likewise.
67338         * math/w_sqrt.c: Likewise.
67339         * math/w_sqrtf.c: Likewise.
67340         * math/w_sqrtl.c: Likewise.
67341         * math/w_tgamma.c: Likewise.
67342         * math/w_tgammaf.c: Likewise.
67343         * math/w_tgammal.c: Likewise.
67345         * po/ja.po: Update from translation team.
67347 2011-09-29  Andreas Jaeger  <aj@suse.de>
67349         [BZ #13179]
67350         * sunrpc/netname.c (netname2host): Fix logic.
67352         [BZ #6779]
67353         [BZ #6783]
67354         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
67355         correctly.
67356         * math/w_remainder.c (__remainder): Likewise.
67357         * math/w_remainderf.c (__remainderf): Likewise.
67358         * math/libm-test.inc (remainder_test): Add test cases.
67360 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67362         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
67363         sdiv_qrnnd.
67365 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
67367         * string/test-memcmp.c: Avoid unncessary #defines.
67368         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
67370 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67372         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
67373         Use new sse2 version for core i3 - i7 as it's faster
67374         than sse42 version.
67375         (bit_Prefer_PMINUB_for_stringop): New.
67376         * sysdeps/x86_64/rawmemchr.S: Update.
67377         Replace with faster SSE2 version.
67378         * sysdeps/x86_64/memrchr.S: New file.
67379         * sysdeps/x86_64/memchr.S: Update.
67380         Replace with faster SSE2 version.
67382 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
67384         * elf/dl-load.c (lose): Add cast to avoid warning.
67386 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
67388         * po/ca.po: Update from translation team.
67390         * inet/getnetgrent_r.c: Hook up nscd.
67391         * nscd/Makefile (routines): Add nscd_netgroup.
67392         (nscd-modules): Add netgroupcache.
67393         (CFLAGS-netgroupcache.c): Define.
67394         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
67395         (cache_search): Add const to second parameter.
67396         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
67397         INNETGR.
67398         (dbs): Add netgrdb entry.
67399         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
67400         (verify_persistent_db): Handle netgrdb.
67401         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
67402         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
67403         GETFDNETGR.
67404         (netgroup_response_header): Define.
67405         (innetgroup_response_header): Define.
67406         (datahead): Add netgroup_response_header and innetgroup_response_header
67407         elements.
67408         * nscd/nscd.conf: Add entries for netgroup cache.
67409         * nscd/nscd.h (dbtype): Add netgrdb.
67410         (_PATH_NSCD_NETGROUP_DB): Define.
67411         (netgroup_iov_disabled): Declare.
67412         (xmalloc, xcalloc, xrealloc): Move declarations here.
67413         (cache_search): Adjust prototype.
67414         Add netgroup-related prototypes.
67415         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
67416         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
67417         (__nscd_innetgr): Declare.
67418         * nscd/selinux.c (perms): Use access_vector_t as element type and
67419         add netgroup-related initializers.
67420         * nscd/netgroupcache.c: New file.
67421         * nscd/nscd_netgroup.c: New file.
67422         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
67423         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
67424         For four parameters use innetgr.
67425         * nss/nss_files/files-init.c: Add definition and callback for netgr.
67426         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
67427         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
67428         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
67430         * nscd/connections.c (register_traced_file): Don't register file
67431         for disabled databases.
67433 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
67435         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
67437         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
67438         from tree and freeing node.
67440 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
67442         * nss/nsswitch.c (__nss_database_lookup): Handle
67443         nss_parse_service_list out of memory case.
67445 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
67447         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
67448         out of memory case.
67450 2011-10-04  Andreas Schwab  <schwab@redhat.com>
67452         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
67453         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
67454         pass it down.
67455         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
67456         elf_machine_rela, elf_machine_lazy_rel.
67457         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
67458         (ELF_DYNAMIC_DO_REL): Likewise.
67459         (ELF_DYNAMIC_DO_RELA): Likewise.
67460         (ELF_DYNAMIC_RELOCATE): Likewise.
67461         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
67462         to ELF_DYNAMIC_DO_REL.
67463         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
67464         (dl_main): In trace mode always set __RTLD_NOIFUNC.
67465         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
67466         elf_machine_rela.
67467         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
67468         skip_ifunc, don't call ifunc function if non-zero.
67469         (elf_machine_rela): Likewise.
67470         (elf_machine_lazy_rel): Likewise.
67471         (elf_machine_lazy_rela): Likewise.
67472         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
67473         (elf_machine_lazy_rel): Likewise.
67474         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
67475         Likewise.
67476         (elf_machine_lazy_rel): Likewise.
67477         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
67478         Likewise.
67479         (elf_machine_lazy_rel): Likewise.
67480         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
67481         (elf_machine_lazy_rel): Likewise.
67482         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
67483         (elf_machine_lazy_rel): Likewise.
67484         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
67485         (elf_machine_lazy_rel): Likewise.
67486         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
67487         (elf_machine_lazy_rel): Likewise.
67488         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
67489         (elf_machine_lazy_rel): Likewise.
67490         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
67491         (elf_machine_lazy_rel): Likewise.
67493 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
67495         * nss/nss_files/files-init.c (_nss_files_init): Use static
67496         initialization for all the *_traced_file variables.
67498 2011-09-28  Andreas Schwab  <schwab@redhat.com>
67500         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
67502 2011-09-27  Roland McGrath  <roland@hack.frob.com>
67504         [BZ #13226]
67505         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
67507 2011-09-27  Andreas Schwab  <schwab@redhat.com>
67509         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
67510         Reread the line before reparsing it.
67512 2011-09-26  Andreas Schwab  <schwab@redhat.com>
67514         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
67516 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
67517             Maxim Kuvyrkov  <maxim@codesourcery.com>
67518             Joseph Myers  <joseph@codesourcery.com>
67520         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
67521         if needed for __stack_chk_guard.
67523 2011-09-19  Roland McGrath  <roland@hack.frob.com>
67525         * sysdeps/posix/spawni.c (script_execute): Always define it.
67526         It will be optimized away if unused.
67527         (maybe_script_execute): New function.
67528         (__spawni): Call it.
67530         * Makerules: Don't include tls.make.
67531         (config-tls): Always set to thread.
67532         * tls.make.c: File removed.
67534 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
67536         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
67537         * config.make.in (CPPFLAGS-config): New substituted variable.
67539 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
67541         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
67543         [BZ #13192]
67544         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
67545         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
67547 2011-09-15  Roland McGrath  <roland@hack.frob.com>
67549         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
67550         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
67551         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
67552         (CALL_FAIL): Likewise.
67553         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
67554         (CALL_FAIL): Macro removed.
67555         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
67557 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
67559         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
67560         for __FINITE_MATH_ONLY__ == 1.
67562 2011-09-15  Andreas Schwab  <schwab@redhat.com>
67564         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
67565         __ieee754_sqrt instead of sqrt.
67566         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
67567         __ieee754_sqrtf instead of sqrtf.
67568         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
67569         __floorf instead of floorf.
67570         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
67571         __floorf, __truncf instead of floorf, truncf.
67573 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
67575         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
67577         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
67578         __extern_always_inline.
67579         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
67580         32-bit.
67582 2011-09-14  Andreas Schwab  <schwab@redhat.com>
67584         * elf/rtld.c (dl_main): Also relocate in dependency order when
67585         doing symbol dependency testing.
67587 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
67589         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
67590         Always define `refsym'.
67592 2011-09-13  Andreas Schwab  <schwab@redhat.com>
67594         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
67595         (__FD_ELT): Renamed from __FDELT.
67596         * misc/bits/select2.h (__FD_ELT): Likewise.
67597         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
67598         __FD_MASK instead of __FDELT, __FDMASK.
67599         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
67600         Likewise.
67601         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
67602         Likewise.
67604         * elf/Makefile (gen-ldd): Fix pattern.
67606         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
67607         (init_tls): Likewise.
67609 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
67611         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
67613 2011-09-12  Andreas Schwab  <schwab@redhat.com>
67615         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
67616         `struct cmsghdr *' instead of `void *'.
67617         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
67618         Likewise.
67620 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
67622         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
67623         if non-absolute.
67624         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
67625         ldd_rewrite_script.
67627 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
67629         * configure.in: Remove --with-tls option.
67630         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
67631         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
67632         out in case it is missing.
67633         * sysdeps/ia64/elf/configure.in: Likewise.
67634         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
67635         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
67636         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
67637         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
67638         * sysdeps/sh/elf/configure.in: Likewise.
67639         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
67640         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
67641         * sysdeps/x86_64/elf/configure.in: Likewise.
67642         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
67643         * sysdeps/mach/hurd/tls.h: Likewise.
67645         [BZ #13067]
67646         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
67648         [BZ #13090]
67649         * configure.in: Fix use of AC_INIT.
67651         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
67653 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
67655         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
67656         __set_errno.
67657         * malloc/hooks.c: Likewise.
67659         [BZ #11929]
67660         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
67661         variables statically.
67662         (narenas): Initialize.
67663         (list_lock): Initialize.
67664         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
67665         initializtion of main_arena and list_lock.  Small cleanups.
67666         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
67667         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
67668         Add initializers to main_arena and mp_.
67669         (malloc_state): Remove pagesize member.  Change all users to use
67670         GLRO(dl_pagesize).
67672         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
67673         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
67674         is always initialized.
67676         * malloc/malloc.c: Removed unused configurations and dead code.
67677         * malloc/arena.c: Likewise.
67678         * malloc/hooks.c: Likewise.
67679         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
67681         * include/tls.h: Removed.  USE___THREAD must always be defined.
67682         * bits/libc-tsd.h: Don't handle !USE___THREAD.
67683         * elf/dl-libc.c: Likewise.
67684         * elf/dl-tsd.c: Likewise.
67685         * include/errno.h: Likewise.
67686         * include/netdb.h: Likewise.
67687         * include/resolv.h: Likewise.
67688         * inet/herrno-loc.c: Likewise.
67689         * inet/herrno.c: Likewise.
67690         * malloc/arena.c: Likewise.
67691         * malloc/hooks.c: Likewise.
67692         * malloc/malloc.c: Likewise.
67693         * resolv/res-state.c: Likewise.
67694         * resolv/res_libc.c: Likewise.
67695         * sysdeps/i386/dl-machine.h: Likewise.
67696         * sysdeps/ia64/dl-machine.h: Likewise.
67697         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
67698         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
67699         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
67700         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
67701         * sysdeps/sh/dl-machine.h: Likewise.
67702         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
67703         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
67704         * sysdeps/unix/i386/sysdep.S: Likewise.
67705         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
67706         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
67707         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
67708         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
67709         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
67710         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
67711         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
67712         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
67713         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
67714         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
67715         * sysdeps/unix/x86_64/sysdep.S: Likewise.
67716         * sysdeps/x86_64/dl-machine.h: Likewise.
67717         * tls.make.c: Likewise.
67719         * configure.in: Remove --with-__thread option.  Make tests for
67720         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
67721         tls_model attribute fail if no support is available.  Remove
67722         USE_IN_LIBIO.
67723         * Makeconfig: Adjust for dropped configure option.  All features are
67724         now mandatory.
67725         * Makerules: Likewise.
67726         * Versions.def: Likewise.
67727         * argp/argp-fmtstream.c: Likewise.
67728         * argp/argp-fmtstream.h: Likewise.
67729         * argp/argp-help.c: Likewise.
67730         * assert/assert.c: Likewise.
67731         * config.h.in: Likewise.
67732         * config.make.in: Likewise.
67733         * configure: Likewise.
67734         * configure.in: Likewise.
67735         * csu/Versions: Likewise.
67736         * csu/init.c: Likewise.
67737         * elf/tst-audit2.c: Likewise.
67738         * elf/tst-tls10.c: Likewise.
67739         * elf/tst-tls10.h: Likewise.
67740         * elf/tst-tls11.c: Likewise.
67741         * elf/tst-tls12.c: Likewise.
67742         * elf/tst-tls14.c: Likewise.
67743         * elf/tst-tlsmod11.c: Likewise.
67744         * elf/tst-tlsmod12.c: Likewise.
67745         * elf/tst-tlsmod13.c: Likewise.
67746         * elf/tst-tlsmod13a.c: Likewise.
67747         * elf/tst-tlsmod14a.c: Likewise.
67748         * elf/tst-tlsmod15b.c: Likewise.
67749         * elf/tst-tlsmod16a.c: Likewise.
67750         * elf/tst-tlsmod16b.c: Likewise.
67751         * elf/tst-tlsmod7.c: Likewise.
67752         * elf/tst-tlsmod8.c: Likewise.
67753         * elf/tst-tlsmod9.c: Likewise.
67754         * gmon/gmon.c: Likewise.
67755         * grp/fgetgrent_r.c: Likewise.
67756         * grp/putgrent.c: Likewise.
67757         * hurd/fopenport.c: Likewise.
67758         * include/libc-symbols.h: Likewise.
67759         * include/tls.h: Likewise.
67760         * intl/gettextP.h: Likewise.
67761         * intl/loadinfo.h: Likewise.
67762         * locale/global-locale.c: Likewise.
67763         * locale/localeinfo.h: Likewise.
67764         * mach/devstream.c: Likewise.
67765         * malloc/arena.c: Likewise.
67766         * malloc/set-freeres.c: Likewise.
67767         * misc/err.c: Likewise.
67768         * misc/getttyent.c: Likewise.
67769         * misc/mntent_r.c: Likewise.
67770         * posix/getopt.c: Likewise.
67771         * posix/wordexp.c: Likewise.
67772         * pwd/fgetpwent_r.c: Likewise.
67773         * resolv/Versions: Likewise.
67774         * resolv/res_hconf.c: Likewise.
67775         * shadow/fgetspent_r.c: Likewise.
67776         * shadow/putspent.c: Likewise.
67777         * stdio-common/printf_fphex.c: Likewise.
67778         * stdio-common/tmpfile.c: Likewise.
67779         * stdlib/abort.c: Likewise.
67780         * stdlib/fmtmsg.c: Likewise.
67781         * sunrpc/auth_unix.c: Likewise.
67782         * sunrpc/clnt_perr.c: Likewise.
67783         * sunrpc/clnt_tcp.c: Likewise.
67784         * sunrpc/clnt_udp.c: Likewise.
67785         * sunrpc/clnt_unix.c: Likewise.
67786         * sunrpc/openchild.c: Likewise.
67787         * sunrpc/svc_simple.c: Likewise.
67788         * sunrpc/svc_tcp.c: Likewise.
67789         * sunrpc/svc_udp.c: Likewise.
67790         * sunrpc/svc_unix.c: Likewise.
67791         * sunrpc/xdr.c: Likewise.
67792         * sunrpc/xdr_array.c: Likewise.
67793         * sunrpc/xdr_rec.c: Likewise.
67794         * sunrpc/xdr_ref.c: Likewise.
67795         * sunrpc/xdr_stdio.c: Likewise.
67797 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
67799         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
67801 2011-07-03  Andreas Jaeger  <aj@suse.de>
67803         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
67804         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
67805         regenerate with gen-libm-tests.pl.
67807 2010-05-12  Petr Baudis  <pasky@suse.cz>
67809         [BZ #11589]
67810         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
67811         around j0() zero points by switching to j1().
67812         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
67813         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
67814         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
67815         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
67817 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
67819         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
67820         instead of 0.
67821         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
67822         instead of 0.
67823         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
67824         Patch in part by Pavel Roskin <proski@gnu.org>.
67826         [BZ #13138]
67827         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
67828         realloc.
67829         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
67830         Free memory block if necessary.
67832         [BZ #12847]
67833         * libio/genops.c (INTDEF): For string streams the _lock pointer can
67834         be NULL.  Don't lock in this case.
67836 2011-09-09  Roland McGrath  <roland@hack.frob.com>
67838         * elf/elf.h (ELFOSABI_GNU): New macro.
67839         (ELFOSABI_LINUX): Define to that.
67841 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
67843         * string/strncat.c (strncat): Undef the symbol in case it has been
67844         defined in bits/string.h.
67846 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
67848         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
67850         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
67851         link map.
67853 2011-08-17  Andreas Jaeger  <aj@suse.de>
67855         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
67857 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
67858             Ian Lance Taylor  <iant@google.com>
67860         * math/libm-test.inc (lround_test): New testcase.
67861         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
67863 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
67865         * Makefile: Remove support for automatic cvs check-ins.
67866         * Makerules: Likewise.
67867         * config.make.in: Likewise.
67868         * configure.in: Likewise.
67869         * intl/Makefile: Likewise.
67870         * locale/Makefile: Likewise.
67871         * po/Makefile: Likewise.
67872         * posix/Makefile: Likewise.
67873         * sysdeps/gnu/Makefile: Likewise.
67874         * sysdeps/mach/hurd/Makefile: Likewise.
67875         * sysdeps/sparc/sparc32/Makefile: Likewise.
67877         [BZ #13118]
67878         * posix/Makefile (bug-regex32-ENV): Define.
67879         Patch by John Stanley <jpsinthemix@verizon.net>.
67881         * misc/Makefile (headers): Add bits/select2.h.
67882         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
67883         * misc/bits/select2.h: New file.
67884         * include/bits/select2.h: New file.
67885         * debug/Makefile (routines): Add fdelt_chk.
67886         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
67887         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
67888         FD_ISSET.
67889         * debug/fdelt_chk.c: New file.
67891         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
67892         * wcsmbs/test-wmemcmp.c: Likewise.
67893         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
67894         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
67896 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67898         * string/Makefile (strop-tests): Add memcmp.
67899         * string/test-wmemcmp.c: New file.
67900         * string/test-memcmp.c: Add wmemcmp support.
67902 2011-09-08  Roland McGrath  <roland@hack.frob.com>
67904         [BZ #13153]
67905         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
67906         2011-07-19 change.
67908         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
67909         garbage value in a __mach_port_mod_refs call in the cases of the
67910         task-self and thread-self ports.
67912 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67914         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
67916 2011-09-08  Andreas Schwab  <schwab@redhat.com>
67918         * elf/dl-load.c (lose): Check for non-null L.
67920 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
67922         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
67924         * elf/dl-libc.c (dlerror_run): Pass back error code from
67925         dl_catch_error.
67927         [BZ #13123]
67928         * elf/dl-load.c (lose): Free l_origin if it is valid.
67930         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
67931         names.
67932         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
67933         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
67934         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
67935         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
67936         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
67937         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
67939 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67941         * sysdeps/powerpc/fpu/e_hypot.c: New file.
67942         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
67943         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
67944         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
67945         * sysdeps/powerpc/fpu/k_cosf.c: New file.
67946         * sysdeps/powerpc/fpu/k_sinf.c: New file.
67947         * sysdeps/powerpc/fpu/s_cosf.c: New file.
67948         * sysdeps/powerpc/fpu/s_sinf.c: New file.
67949         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
67950         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
67952 2011-08-15  Alan Modra  <amodra@gmail.com>
67954         [BZ #13092]
67955         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
67956         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
67957         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
67958         ppc_mcount to static-only-routines.
67959         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
67960         __mcount_internal.
67961         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
67962         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
67964 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
67966         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
67967         for finite and infinity parameters.
67969 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
67971         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
67972         and add nop instructions for throughput optimization.
67973         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
67975 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
67977         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
67978         aligned copy for power7 with vector-scalar instructions.
67979         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
67981 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
67983         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
67984         AVX check.
67986 2011-09-07  Andreas Schwab  <schwab@redhat.com>
67988         [BZ #13144]
67989         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
67990         last change.
67992 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
67994         * sysdeps/unix/sysv/linux/x86_64/init-first.c
67995         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
67996         syscall wrapper around clock_gettime in __vdso_clock_gettime.
67997         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
67998         clock_gettime.
68000 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
68002         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
68003         Forgot to demangle the pointer.
68005         * sysdeps/i386/sysdep.h: Define atom_text_section.
68006         * sysdeps/x86_64/sysdep.h: Likewise.
68007         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
68008         section with atom_text_section.
68009         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
68010         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
68011         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
68012         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
68013         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
68015         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
68016         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
68017         already be defined.  Change to take two parameters and don't assign
68018         result to variable.  Adjust all users.
68019         Define INTERNAL_GETTIME if not already defined.
68020         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
68021         call.
68022         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
68023         HAVE_CLOCK_GETTIME_VSYSCALL.
68024         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
68026         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
68027         gettimeofday vsyscall, just use time.
68029 2011-09-06  Andreas Schwab  <schwab@redhat.com>
68031         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
68032         <errno.h>.
68034 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
68036         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
68037         syscall on x86-64.
68038         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
68039         syscall.
68040         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
68041         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
68042         syscall if possible.
68044 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
68046         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
68047         e_ident.  Don't pass to find_mapsXX.
68048         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
68050 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
68052         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
68053         strchr-sse2-no-bsf strrchr-sse2-no-bsf
68054         * sysdeps/x86_64/multiarch/strchr.S: Update.
68055         Check bit_slow_BSF bit.
68056         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
68057         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
68058         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
68060 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
68062         [BZ #13134]
68063         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
68064         before glibc 2.15.
68065         (tryshell): Define.
68066         (__spawni): Change last parameter to be flag.  Test
68067         SPAWN_XFLAGS_USE_PATH flag to use path or not.
68068         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
68069         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
68070         * posix/spawni.c: Likewise.
68071         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
68072         * posix/spawnp.c: Likewise.  Change normal version to use
68073         SPAWN_XFLAGS_USE_PATH.
68074         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
68075         SPAWN_XFLAGS_TRY_SHELL.
68077         [BZ #13150]
68078         * posix/glob.h: Remove gcc 1.x support.
68080         [BZ #13068]
68081         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
68083 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
68085         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
68086         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
68087         strrchr-sse2-bsf
68088         * sysdeps/i386/i686/multiarch/strchr.S: New file.
68089         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
68090         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
68091         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
68092         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
68093         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
68095 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68097         * sysdeps/x86_64/wcscmp.S: New file.
68099         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
68100         wcscmp-c wcscmp-sse2
68101         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
68102         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
68103         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
68104         * wcsmbs/wcscmp.c: Allow renaming.
68106 2011-09-05  David S. Miller  <davem@davemloft.net>
68108         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
68109         stack slot, rather than the struct return pointer slot.
68110         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
68111         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
68112         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
68113         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
68115 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
68117         * po/ja.po: Update from translation team.
68119         [BZ #13144]
68120         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
68121         kernel in 64-bit binaries.
68123 2011-09-01  David S. Miller  <davem@davemloft.net>
68125         * elf/elf.h (HWCAP_SPARC_*): Move to..
68126         * sysdeps/sparc/sysdep.h: this new file and add new values.
68127         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
68128         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
68129         _DL_HWCAP_COUNT to 24.
68130         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
68131         entries.
68132         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
68133         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
68134         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
68135         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
68136         instead of magic constants.
68137         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
68139 2011-08-31  David S. Miller  <davem@davemloft.net>
68141         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
68142         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
68143         Reimplement to do errno handling inline.
68144         (SYSCALL_ERROR_HANDLER): New macro.
68145         (__SYSCALL_STRING): Do not do errno handling in asm.
68146         (__CLONE_SYSCALL_STRING): Delete.
68147         (__INTERNAL_SYSCALL_STRING): Delete.
68148         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
68149         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
68150         (PSEUDO): Reimplement to do errno handling inline.
68151         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
68152         (SYSCALL_ERROR_HANDLER): New macro.
68153         (__SYSCALL_STRING): Do not do errno handling in asm.
68154         (__CLONE_SYSCALL_STRING): Delete.
68155         (__INTERNAL_SYSCALL_STRING): Delete.
68156         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
68157         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
68158         i386.
68159         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
68160         (inline_syscall*): Add 'err' argument.
68161         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
68162         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
68163         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
68164         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
68166         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
68167         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
68169 2011-08-30  Andreas Schwab  <schwab@redhat.com>
68171         * elf/rtld.c (dl_main): Relocate objects in dependency order.
68173 2011-08-29  Jiri Olsa <jolsa@redhat.com>
68175         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
68176         directive.
68178 2011-08-24  David S. Miller  <davem@davemloft.net>
68180         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
68182 2011-08-24  Andreas Schwab  <schwab@redhat.com>
68184         * elf/Makefile: Add rules to build and run unload8 test.
68185         * elf/unload8.c: New file.
68186         * elf/unload8mod1.c: New file.
68187         * elf/unload8mod1x.c: New file.
68188         * elf/unload8mod2.c: New file.
68189         * elf/unload8mod3.c: New file.
68191         * elf/dl-close.c (_dl_close_worker): Reset private search list if
68192         it wasn't used.
68194 2011-08-23  David S. Miller  <davem@davemloft.net>
68196         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
68197         subtract stack bias.
68198         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
68199         %sp not %fp in calculations.
68200         (_JMPBUF_UNWINDS_ADJ): Likewise.
68202         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
68203         (aio_suspend): Call it to force an exception region around the
68204         AIO_MISC_WAIT() invocation.
68206 2011-08-23  Andreas Schwab  <schwab@redhat.com>
68208         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
68209         backslash.
68211 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
68213         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
68214         protection macro.
68215         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
68216         and <dl-machine.h>.
68217         (Elf64_FuncDesc): Remove.
68219 2011-08-22  David S. Miller  <davem@davemloft.net>
68221         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
68222         sigaltstack check, add missing cfi directives.
68223         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
68224         missing cfi directives, and sigaltstack handling.
68226 2011-08-16  Andreas Schwab  <schwab@redhat.com>
68228         [BZ #11724]
68229         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
68230         object is seen twice.
68231         * elf/dl-fini.c (_dl_sort_fini): Likewise.
68233         * elf/Makefile (distribute): Add tst-initorder2.c.
68234         (tests): Add tst-initorder2.
68235         (modules-names): Add tst-initorder2a tst-initorder2b
68236         tst-initorder2c tst-initorder2d.  Add rules to build them.
68237         ($(objpfx)tst-initorder2.out): New rule.
68238         * elf/tst-initorder2.c: New file.
68239         * elf/tst-initorder2.exp: New file.
68241 2011-08-22  Andreas Schwab  <schwab@redhat.com>
68243         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
68245         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
68246         dependencies back to end of function.
68248         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
68249         $(elfobjdir)/ld.so.
68251 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
68253         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
68254         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
68255         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
68256         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
68257         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
68258         of __vdso_gettimeofday.
68259         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
68260         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
68261         attribute_hidden.
68262         (_libc_vdso_platform_setup): Remove initialization of
68263         __vdso_gettimeofday and __vdso_time.
68265 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
68267         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
68268         and fgetc_unlocked.
68269         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
68270         getc_unlocked.
68272         * elf/dl-open.c (add_to_global): Report additions to the global scope
68273         for LD_DEBUG=scopes.
68274         (dl_open_worker): Also print scope of newly loaded dependencies.
68275         (_dl_show_scope): Indicate if there is no scope.
68277         [BZ #13114]
68278         * stdio-common/Makefile (tests): Add bug24.
68279         * stdio-common/bug24.c: New file.
68281 2011-08-19  Andreas Jaeger  <aj@suse.de>
68283         [BZ #13114]
68284         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
68285         non-existant file when using close-on-exec mode.
68287 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
68289         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
68290         the very first instruction.
68292         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
68293         the CFI state in the end.
68294         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
68295         inclusion of dl-trampoline.h.
68296         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
68298 2011-08-19  Andreas Schwab  <schwab@redhat.com>
68300         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
68301         expectations for long double.
68303         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
68304         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
68306 2011-08-14  David S. Miller  <davem@davemloft.net>
68308         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
68309         artificual limit depends upon the system page size.
68311 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
68313         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
68314         * resolv/Makefile: Define CFLAGS-libresolv.
68316 2011-08-17  Andreas Schwab  <schwab@redhat.com>
68318         * nss/makedb.c (compute_tables): Make variables used in nested
68319         function static.
68321 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
68323         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
68324         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
68325         if buffer was too small.
68327         * elf/pldd.c (main): Attach to all threads in the process.
68328         Rewrite /proc handling to use *at functions.
68330 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
68332         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
68333         specifies first scope to show.
68334         (dl_open_worker): Update callers.  Move printing scope of new
68335         object to before the relocation.
68336         * elf/rtld.c (dl_main): Update _dl_show_scope call.
68337         * sysdeps/generic/ldsodefs.h: Update declaration.
68339         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
68340         string for the scope number.
68342 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
68344         * nscd/servicescache.c (cache_addserv): Make sure written is always
68345         initialized.
68347 2011-08-14  Roland McGrath  <roland@hack.frob.com>
68349         * sysdeps/i386/i486/bits/atomic.h
68350         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
68351         statement expression, so as to suppress "set but not used" warning.
68352         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
68354         * string/strncat.c (STRNCAT): Use prototype definition.
68356         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
68357         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
68358         -Iprograms here.
68359         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
68360         (localedef-modules): Add localedef.
68361         (locale-modules): Add locale.
68363         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
68364         * elf/rtld.c (dl_main): Invert order of assignment in last change,
68365         to avoid a warning.
68367 2011-08-14  David S. Miller  <davem@davemloft.net>
68369         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
68370         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
68372 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
68374         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
68375         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
68376         * elf/rtld.c (dl_main): Set l_name of vDSO.
68377         Call _dl_show_scope when DL_DEBUG_SCOPES.
68378         (process_dl_debug): Recognize scopes flag and also set it for all.
68379         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
68380         Declare _dl_show_scope.
68382         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
68383         (do_dlopen): Pass caller_dlopen to dl_open.
68384         (__libc_dlopen_mode): Initialize caller_dlopen.
68386         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
68387         of libc.  Make tolower call locale-independent.  Optimize a bit by
68388         using isdigit instead of isalnum.
68389         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
68391 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
68393         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
68394         was a dependency or dynamically loaded.
68396 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
68398         * intl/l10nflist.c: Allow architecture-specific pop function.
68399         * sysdeps/x86_64/l10nflist.c: New file.
68401         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
68402         classification.
68404 2011-08-10  Andreas Schwab  <schwab@redhat.com>
68406         * include/dirent.h: Add libc_hidden_proto for scandirat and
68407         scandirat64.  Don't declare __scandirat64.
68408         * dirent/scandirat.c: Add libc_hidden_def.
68409         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
68410         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
68412 2011-08-10  David S. Miller  <davem@davemloft.net>
68414         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
68415         enum.
68416         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
68417         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
68418         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
68420 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
68422         * Versions.def [libc]: Add GLIBC_2.15.
68423         * dirent/Makefile (routines): Add scandirat and scandirat64.
68424         * dirent/Versions [libc]: Export scandirat and scandirat64 for
68425         GLIBC_2.15.
68426         * dirent/dirent.h: Declare scandirat and scandirat64.
68427         * dirent/scandirat.c: New file.
68428         * dirent/scandirat64.c: New file.
68429         * sysdeps/wordsize-64/scandirat.c: New file.
68430         * sysdeps/wordsize-64/scandirat64.c: New file.
68431         * dirent/opendir.c: Define opendirat.
68432         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
68433         using scandirat.
68434         * dirent/scandir64.c: Adjust for scandir.c change.
68435         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
68436         __scandirat64, and __scandir_cancel_handler.
68437         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
68438         additional parameter and use openat instead of open (outside of ld.so).
68439         Add new __opendir as wrapper around __opendirat.
68440         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
68441         here without requiring old scandirat implementation.
68443 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
68445         * dirent/scandir.c (cancel_handler): Renamed to
68446         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
68447         defined.  Adjust users.
68448         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
68449         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
68451 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
68453         * string/test-string.h (IMPL): Use __STRING to expand name and then
68454         stringify it.
68456         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
68457         of cleanups.
68459 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68461         * string/Makefile: Update.
68462         (strop-tests): Append strncat.
68463         * string/test-wcscmp.c: New file.
68464         New comprehensive test for wcscmp.
68465         * string/test-strcmp.c: Update.
68466         (WIDE): New define.
68468 2011-07-22  Andreas Schwab  <schwab@redhat.com>
68470         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
68471         line.
68473 2011-07-26  Andreas Schwab  <schwab@redhat.com>
68475         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
68476         encoding to ACE if AI_IDN.
68478 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
68480         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
68481         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
68483 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
68485         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
68486         Fix overflow bug in strncat.
68487         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
68489         * string/test-strncat.c: Update.
68490         Add new tests for checking overflow bugs.
68492 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
68494         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
68495         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
68496         * sysdeps/i386/i686/multiarch/strcat.S: New file.
68497         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
68498         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
68499         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
68500         * sysdeps/i386/i686/multiarch/strncat.S: New file.
68501         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
68502         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
68504         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
68505         (USE_AS_STRCAT): Define.
68506         Add strcat and strncat support.
68507         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
68509 2011-07-25  Andreas Schwab  <schwab@redhat.com>
68511         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
68512         __n bigger than INT_MAX+1.
68513         (__strncmp_g): Likewise.
68515 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
68517         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
68518         * libio/stido.h: Likewise.
68520         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
68521         (AF_NFC): Define.
68522         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
68523         (AF_NFC): Define.
68525         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
68526         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
68527         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
68528         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
68529         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
68531         [BZ #13021]
68532         * scripts/test-installation.pl: Don't expect libnss_test1 to be
68533         installed.
68535         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
68536         typo.
68537         (_dl_x86_64_save_sse): Likewise.
68539 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
68541         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
68542         OSXSAVE.
68543         (_dl_x86_64_save_sse): Likewise.
68545         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
68547         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
68549 2011-07-21  Andreas Schwab  <schwab@redhat.com>
68551         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
68552         change.
68553         (_dl_x86_64_save_sse): Use correct AVX check.
68555 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68557         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
68558         bug in strncpy/strncat.
68559         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
68561 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
68563         * string/tester.c (test_strcat): Add tests for different alignments
68564         of source and destination.
68565         (test_strncat): Likewise.
68567 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
68569         [BZ #12852]
68570         * posix/glob.c (glob): Check passed in values before using them in
68571         expressions to avoid some overflows.
68572         (glob_in_dir): Likewise.
68574         [BZ #13007]
68575         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
68576         check for AVX enablement so that we don't crash with old kernels and
68577         new hardware.
68578         * elf/tst-audit4.c: Add same checks here.
68579         * elf/tst-audit6.c: Likewise.
68581         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
68583 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
68585         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
68587 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
68589         * po/cs.po: Update from translation team.
68590         * po/bg.po: Likewise.
68592 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
68594         * misc/sys/cdefs.h: Add support for const attribute.
68595         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
68596         to gnu_dev_{major,minor,makedev} functions.
68598 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
68600         * intl/dcigettext.c (get_output_charset): Add missing bracket.
68602 2011-07-20  Andreas Schwab  <schwab@redhat.com>
68604         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
68605         strlen results.
68607 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68609         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
68610         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
68611         register in order to avoid conflicts with the soft frame pointer
68612         being held in r11 when necessary.
68613         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
68614         (INTERNAL_VSYSCALL_NCS): Likewise.
68616 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
68618         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
68619         * elf/dl-fini.c (_dl_fini): Adjust caller.
68620         * elf/dl-close.c (_dl_close_worker): Likewise.
68621         * sysdeps/generic/ldsodefs.h: Adjust declaration.
68623 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
68625         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
68626         "aux_cache->nlibs < 0".
68628         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
68629         in the reload-count case.
68631 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
68633         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
68634         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
68635         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
68636         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
68637         * sysdeps/x86_64/multiarch/strcat.S: New file.
68638         * sysdeps/x86_64/multiarch/strncat.S: New file.
68639         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
68640         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
68641         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
68642         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
68643         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
68644         (USE_AS_STRCAT): Define.
68645         Add strcat and strncat support.
68646         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
68647         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
68648         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
68649         * string/strncat.c: Update.
68650         (USE_AS_STRNCAT): Define.
68651         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
68652         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
68653         and i7.
68654         * sysdeps/x86_64/multiarch/init-arch.h
68655         (bit_Prefer_PMINUB_for_stringop): New.
68656         (index_Prefer_PMINUB_for_stringop): Likewise.
68657         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
68658         bit_Prefer_PMINUB_for_stringop.
68660 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
68662         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
68663         buffer64.
68664         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
68665         of casting of buffer.
68666         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
68667         buffer32 and buffer64.
68668         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
68669         writes instead of casting of buffer.
68670         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
68671         buffer32.
68672         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
68673         casting of buffer.
68675 2011-07-19  Andreas Schwab  <schwab@redhat.com>
68677         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
68679 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
68681         * nscd/nscd.c (termination_handler): Don't do anything for a database
68682         if it has not yet been initialized.
68684 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
68686         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
68688 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
68690         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
68692 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
68694         * po/nl.po: Update from translation team.
68695         * po/sv.po: Likewise.
68697 2011-07-16  Roland McGrath  <roland@hack.frob.com>
68699         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
68700         now disallowed by GCC.
68702         * configure.in (use-default-link): Default to yes if a test -shared
68703         link meets our qualifications.
68704         * configure: Regenerated.
68706         * config.make.in (output-format): New variable.
68707         * configure.in: Check for ld --print-output-format support.
68708         * configure: Regenerated.
68709         * Makerules ($(common-objpfx)format.lds)
68710         [$(output-format) != unknown]: Just use $(output-format),
68711         instead of the linker-script munging.
68713 2011-07-14  Roland McGrath  <roland@hack.frob.com>
68715         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
68716         of $(common-objpfx)shlib.lds.
68717         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
68719         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
68720         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
68722         * configure.in (-z relro check): Adjust test code to add a large
68723         writable data section after it.
68724         * configure: Regenerated.
68726 2011-07-11  Roland McGrath  <roland@hack.frob.com>
68728         * configure.in (-z relro check): Fix test code to make the variable
68729         truly const.
68730         * configure: Regenerated.
68732 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
68734         * nscd/nscd.h (struct traced_file): Define.
68735         (struct database_dyn): Remove inotify_descr, reset_res, and filename
68736         elements.  Add traced_files.
68737         (inotify_fd): Declare.
68738         (register_traced_file): Declare.
68739         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
68740         (inotify_fd): Export.
68741         (resolv_conf_descr): Remove.
68742         (nscd_init): Move inotify descriptor creation to main.
68743         Don't register files for notification here.
68744         (register_traced_file): New function.
68745         (invalidate_cache): Don't use reset_res to determine whether to call
68746         res_init, go through the list of registered files.
68747         (main_loop_poll): The inotify descriptors are now stored in the
68748         structures for the traced files.
68749         (main_loop_epoll): Likewise
68750         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
68751         to __nss_disable_nscd.
68752         * nscd/cache.c (prune_cache): There is no single inotify descriptor
68753         for a database anymore.  Check the records for all the registered
68754         files instead.
68755         * nss/Makefile (libnss_files-routines): Add files-init.
68756         (libnss_db-routines): Add db-init.
68757         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
68758         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
68759         * nss/nss_db/db-init.c: New file.
68760         * nss/nss_files/files-init.c: New file.
68761         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
68762         __nss_lookup_function.
68763         (__nss_lookup_function): Call nss_load_library.
68764         (nss_load_all_libraries): New function.
68765         (__nss_disable_nscd): Take parameter with callback function for files
68766         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
68767         used for the cached services.
68768         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
68769         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
68770         options for features to all the files in nscd.
68772         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
68774 2011-07-10  Roland McGrath  <roland@hack.frob.com>
68776         * csu/elf-init.c (__libc_csu_init): Comment typo.
68778 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
68780         * po/pl.po: Update from translation team.
68781         * po/ja.po: Likewise.
68782         * po/ru.po: Likewise.
68783         * po/ko.po: Likewise.
68784         * po/fr.po: Likewise.
68786 2011-07-09  Roland McGrath  <roland@hack.frob.com>
68788         * configure.in (.ctors/.dtors header and trailer check):
68789         Use an empirical test on a built program.
68790         * configure: Regenerated.
68792         * configure.in (-z relro check): Use an empirical test on a built DSO.
68793         Detect, but do not require, on ia64.
68794         * configure: Regenerated.
68796         * configure.in (READELF): Find it with AC_CHECK_TOOL.
68797         Update tests that use readelf to use $READELF instead.
68798         * configure: Regenerated.
68800 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
68802         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
68803         if the result is not used.
68805 2011-07-05  Andreas Jaeger  <aj@suse.de>
68807         [BZ#9696]
68808         * stdlib/tst-strtod.c: Add testcase.
68810 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
68812         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
68813         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
68814         The latter has a higher limit.  Take additional parameter to pass to
68815         the new function.
68816         (__pathconf): Pass file to __statfs_link_max.
68817         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
68818         __statfs_link_max.
68819         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
68820         __statfs_link_max.
68822         [BZ #12868]
68823         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
68824         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
68825         Handle Lustre.
68826         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
68827         (__statfs_filesize_max): Likewise.
68828         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
68830 2011-07-05  Andreas Jaeger  <aj@suse.de>
68832         * resolv/res_comp.c (dn_skipname): Remove unused variable.
68834 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
68836         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
68837         `status' variable.
68838         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
68839         Likewise.
68841 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
68843         * Makefile (strop-tests): Add strncat.
68844         * string/test-strncat.c: New file.
68846 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
68848         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
68850 2011-06-21  Andreas Jaeger  <aj@suse.de>
68852         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
68853         Copy rule from iconvdata/Makefile.
68855 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
68857         [BZ #12922]
68858         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
68859         but no long options are defined, just return 'W'.
68861 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
68863         [BZ #9696]
68864         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
68866 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
68868         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
68869         netgroups to read.
68870         (innetgr): Likewise.
68872 2011-07-05  Roland McGrath  <roland@hack.frob.com>
68874         * config.make.in (install_root): Default to $(DESTDIR).
68876 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
68878         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
68880 2011-07-02  Roland McGrath  <roland@hack.frob.com>
68882         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
68884         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
68885         containing directory rather than embedding absolute directory names.
68887         * scripts/check-local-headers.sh: Rewritten using awk.
68888         Match by word, not by line.  Print error messages for matches.
68889         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
68891         * Makerules [shlib-lds-flags empty]:
68892         ($(common-objpfx)libc_pic.opts): New target.
68893         ($(common-objpfx)libc_pic.os.clean): New target.
68894         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
68896         * config.make.in (OBJCOPY): New variable.
68897         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
68898         * configure: Regenerated.
68900         * config.make.in (use-default-link): New variable.
68901         * configure.in (use_default_link): Grok --with-default-link to set it.
68902         * configure: Regenerated.
68903         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
68904         (shlib-lds, shlib-lds-flags): Define to empty.
68906         * Makerules (shlib-lds): New variable.
68907         (shlib-lds-flags): New variable.
68908         (build-shlib, build-moduile, build-module-asneeded): Use it.
68909         ($(common-objpfx)libc.so): Use $(shlib-lds).
68910         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
68911         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
68913         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
68914         DT_FLAGS/DT_FLAGS_1 with zero flags.
68916         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
68917         linker script munging.
68919 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
68921         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
68922         as 128-bit value.
68923         * crypt/sha512.c (sha512_process_block): Perform total addition using
68924         128-bit if possible.
68925         (__sha512_finish_ctx): Likewise.
68926         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
68927         as 64-bit value.
68928         * crypt/sha256.c (SWAP64): Define.
68929         (sha256_process_block): Perform total addition using 64-bit if
68930         possible.
68931         (__sha256_finish_ctx): Likewise.
68933 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
68935         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
68936         * nscd/initgrcache.c (addinitgroupsX): Likewise.
68937         * nscd/hstcache.c (cache_addhst): Likewise.
68938         * nscd/grpcache.c (cache_addgr): Likewise.
68939         * nscd/aicache.c (addhstaiX): Likewise
68940         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
68942 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
68944         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
68945         * nscd/initgrcache.c (addinitgroupsX): Likewise.
68946         * nscd/hstcache.c (cache_addhst): Likewise.
68947         * nscd/grpcache.c (cache_addgr): Likewise.
68948         * nscd/aicache.c (addhstaiX): Likewise
68950 2011-07-01  Andreas Schwab  <schwab@redhat.com>
68952         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
68953         domain only when needed.
68955 2011-06-30  Andreas Schwab  <schwab@redhat.com>
68957         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
68958         is always restored.
68960 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
68962         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
68963         are re-adding the entry.
68964         * nscd/servicescache.c (cache_addserv): Likewise.
68966 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
68968         * sysdeps/generic/dl-irel.h: fix protection against multiple
68969         inclusions.
68970         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
68972 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
68974         [BZ #12935]
68975         * malloc/memusage.sh: Fix quoting in message.
68976         * debug/xtrace.sh: Likewise.
68978         * configure.in: Remove support for --experimental-malloc option, make
68979         it the default.
68980         * config.make.in: Likewise.
68981         * malloc/Makefile: Likewise.
68983 2011-06-27  Andreas Schwab  <schwab@redhat.com>
68985         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
68986         two-byte characters.
68988 2011-06-27  Roland McGrath  <roland@hack.frob.com>
68990         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
68991         AC_CACHE_CHECK invocation.
68992         * configure: Regenerated.
68994         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
68996 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
68998         [BZ #12350]
68999         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
69000         bit from old_res_options.
69002         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
69004         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
69005         value type for setfct.
69007 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
69009         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
69010         __gettimeofday instead of gettimeofday.
69012 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
69014         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
69016 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
69018         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
69020         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
69021         info.
69023 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
69025         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
69026         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
69027         strcpy-sse2-unaligned strncpy-sse2-unaligned
69028         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
69029         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
69030         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
69031         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
69032         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
69033         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
69034         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
69035         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
69036         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
69037         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
69038         (STRCPY): Support SSE2 and SSSE3 versions.
69040 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
69042         [BZ #12874]
69043         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
69044         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
69045         kernels which artificially limit size of requests.
69047 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
69049         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
69050         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
69051         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
69052         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
69053         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
69054         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
69055         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
69056         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
69057         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
69058         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
69059         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
69060         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
69061         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
69062         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
69063         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
69064         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
69065         Enable unaligned load optimization for Intel Core i3, i5 and i7
69066         processors.
69067         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
69068         Define.
69069         (index_Fast_Unaligned_Load): Define.
69070         (HAS_FAST_UNALIGNED_LOAD): Define.
69072 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
69074         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
69076 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
69078         [BZ #12907]
69079         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
69080         until it is clear that the information is realy needed.
69081         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
69083 2011-06-22  Andreas Schwab  <schwab@redhat.com>
69085         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
69087 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
69089         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
69090         /sys/devices/system/cpu/online if it is usable.
69092         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
69093         reading the information from the /proc filesystem to once a second.
69095 2011-06-21  Andreas Jaeger  <aj@suse.de>
69097         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
69098         NULL after inclusion of kernel headers.
69100 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
69102         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
69103         calls to internal_setent.
69105         [BZ #12885]
69106         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
69107         addresses using gethostbyname4_r ignore IPv4 addresses.
69109         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
69110         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
69112         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
69114 2011-06-20  David S. Miller  <davem@davemloft.net>
69116         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
69117         inclusions.
69118         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
69120         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
69121         (elf_irel): Use it.
69122         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
69123         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
69124         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
69125         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
69126         * sysdeps/x86_64/dl-irel.h: Likewise.
69128         * elf/dl-runtime.c: Use elf_ifunc_invoke.
69129         * elf/dl-sym.c: Likewise.
69131 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
69133         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
69134         need to dereference resplen2.
69136 2011-06-14  Andreas Schwab  <schwab@redhat.com>
69138         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
69140 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
69142         * Makeconfig: Define vardbdir and inst_vardbdir.
69143         * nss/Makefile: Add rules to install db-Makefile.
69145         * nss/nss_db/db-XXX.c: Cleanup.
69147         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
69148         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
69149         GLIBC_PRIVATE.
69150         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
69151         * nss/makedb.c: Implement -g option to specify that value strings
69152         are generated and should not be added to table iterated over for
69153         get*ent calls.
69154         * nss/nss_db/db-initgroups.c: New file.
69156         * nss/getent.c: Add support for initgroups lookups through getgrouplist
69157         interface.
69159         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
69160         (internal_getgrouplist): Adjust to name change.
69161         Update use_initgroups_entry if this is not the first call.
69162         * nss/databases.def: Add initgroups entry.
69164         * nss/makedb.c (compute_tables): Check result of multiple hash table
69165         sizes to minimize maximum chain length.
69167 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
69169         * Versions.def: Add entry for libnss_db.
69170         * shlib-versions: Likewise.
69171         * nss/Makefile: Add rules to build libnss_db.
69172         * nss/Versions: Add libnss_db information.  Organize libnss_files
69173         entries better.
69174         * nss/db-Makefile: Add gshadow support.  Change rules for the new
69175         makedb progra.  Some minor improvements to generate smaller files.
69176         * nss/nss_db/nss_db.h: Move NSS database header data structures to
69177         here from...
69178         * nss/makedb.c: ...here.
69179         Improve database format to be smaller and require less memory at
69180         runtime.
69181         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
69182         db anymore.
69183         * nss/nss_db/db-netgrp.c: Likewise.
69184         * nss/nss_db/db-open.c: Likewise.
69185         * nss/nss_files/flies-XXX.x: Adjust comments.
69186         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
69187         * nss/nss_files/files-grp.c: Likewise.
69188         * nss/nss_files/files-hosts.c: Likewise.
69189         * nss/nss_files/files-network.c: Likewise.
69190         * nss/nss_files/files-proto.c: Likewise.
69191         * nss/nss_files/files-pwd.c: Likewise.
69192         * nss/nss_files/files-rpc.c: Likewise.
69193         * nss/nss_files/files-service.c: Likewise.
69194         * nss/nss_files/files-sgrp.c: Likewise.
69195         * nss/nss_files/files-spwd.c: Likewise.
69196         * nss/nss_db/db-alias.c: Removed.
69197         * nss/nss_db/dummy-db.h: Removed.
69199 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
69201         * nss/makedb.c: Rewritten to not use database library.
69202         * nss/Makefile: Update to build new makedb program.
69204 2011-06-14  Andreas Jaeger  <aj@suse.de>
69206         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
69207         memset declaration.
69209 2011-06-10  Andreas Schwab  <schwab@redhat.com>
69211         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
69212         tmpbuf.
69214 2011-06-10  Roland McGrath  <roland@hack.frob.com>
69216         * Makerules (shlib.lds): Fail if the linker script comes out empty.
69217         * elf/Makefile ($(objpfx)ld.so): Likewise.
69219         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
69220         Don't list ld.so twice in dependencies.
69222         * posix/bug-regex31.c: Include <stdlib.h>.
69224         * nscd/hstcache.c (cache_addhst): Remove unused variable.
69226         * nis/nss_compat/compat-spwd.c
69227         (getspent_next_nss_netgr): Remove unused variable.
69228         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
69230         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
69231         nonmembers" output to use the right array.
69233         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
69235         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
69237         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
69238         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
69239         * catgets/gencat.c (read_input_file): Likewise.
69240         * locale/programs/locarchive.c (enlarge_archive): Likewise.
69242         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
69243         variable definition inside #if's controlling its use.
69245         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
69247         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
69249         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
69251         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
69252         unreachable code.
69254         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
69256         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
69257         * configure: Regenerated.
69259         * Makerules: Revert last change.
69260         * elf/Makefile: Likewise.
69262 2011-06-09  Roland McGrath  <roland@hack.frob.com>
69264         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
69265         * elf/Makefile ($(objpfx)librtld.os): Likewise.
69266         (reloc-link): Likewise.
69268 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
69270         * elf/Makefile: Add rules to build pldd.
69271         * elf/pldd.c: New file.
69272         * elf/pldd-xx.c: New file.
69274 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
69276         * version.h: Update for 2.15 development version.
69278 2011-06-07  David S. Miller  <davem@davemloft.net>
69280         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
69281         ifuncs.
69282         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
69283         elf_machine_lazy_rel): Likewise.
69284         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
69285         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
69286         elf_machine_lazy_rel): Likewise.
69287         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
69288         dl_hwcap via passed in argument.
69289         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
69290         Likewise.
69292 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69294         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
69296 2011-06-06  Roland McGrath  <roland@hack.frob.com>
69298         [BZ #12849]
69299         * manual/fdl-1.1.texi: New file, verbatim from:
69300         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
69301         * manual/lgpl-2.1.texi: New file, verbatim from:
69302         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
69303         * manual/Makefile (licenses): New variable, list those new file names.
69304         (texis): Use it.
69305         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
69307         * manual/fdl.texi: File removed.
69308         * manual/lesser.texi: File removed.
69309         * manual/libc.texinfo (Copying, Documentation License):
69310         Use new @include file names, put @appendix directive before @include.
69312 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
69314         [BZ #12841]
69315         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
69316         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
69317         (mq_open): Add __NTH.
69319 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
69321         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
69322         Assume Intel Core i3/i5/i7 processor if AVX is available.
69324 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
69326         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
69327         typo.
69329 2011-05-31  Andreas Schwab  <schwab@redhat.com>
69331         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
69332         memory.  Use alloca_account.  Fix memory leak when retrying.
69334 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
69336         * version.h (RELEASE): Bump for 2.14 release.
69337         * include/features.h (__GLIBC_MINOR__): Bump to 14.
69339         * config.make.in (RANLIB): Remove entry.
69341 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
69343         * po/Makefile (po-sed-cmd): Add ksh to extensions.
69344         (libc.pot): Work around missing support for .ksh extension in xgettext.
69346         [BZ #12684]
69347         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
69348         if both request failed.
69349         (send_dg): In case of server errors clear resplen or *resplen2.
69351         [BZ #12454]
69352         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
69353         when there are multiple maps.
69354         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
69355         (_dl_fini): Remove test here.
69357         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
69359 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
69361         [BZ #12350]
69362         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
69363         bit from old_res_options.
69364         (gaih_inet): Likewise.
69366         [BZ #11099]
69367         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
69368         as signed.
69370         * resolv/res_init.c (res_setoptions): Make the code more compact.
69372         [BZ #11558]
69373         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
69374         set RES_USEVC.
69376         [BZ #11634]
69377         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
69379         * malloc/malloc.h: Mark malloc hook variables as deprecated.
69381         [BZ #11781]
69382         * malloc/malloc.h: Declare malloc hook variables as volatile.
69384         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
69385         in last patch.
69387         [BZ #11799]
69388         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
69389         raise in the comment.
69390         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
69391         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
69392         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
69394 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
69396         [BZ #12811]
69397         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
69398         grow the buffers more if it already has to be sufficient.
69399         (build_wcs_upper_buffer): Likewise.
69400         * posix/regexec.c (check_matching): Likewise.
69401         (clean_state_log_if_needed): Likewise.
69402         (extend_buffers): Don't enlarge buffers beyond size of the input
69403         buffer.
69404         Patches mostly by Emil Wojak <emil@wojak.eu>.
69405         * posix/bug-regex32.c: New file.
69406         * posix/Makefile (tests): Add bug-regex32.
69408         * locale/findlocale.c (_nl_find_locale): Return right away if
69409         _nl_explode_name failed.
69410         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
69412         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
69414         * debug/xtrace.sh: Unify messages.
69415         * malloc/memusage.sh: Likewise.
69417         [BZ #12813]
69418         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
69419         time symbol from vDSO.  Substitute with vsyscall if not available.
69420         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
69421         __vdso_time.
69423         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
69424         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
69425         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
69426         Add sendmmsg and internal_sendmmsg.
69427         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
69428         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
69429         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
69431         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
69432         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
69433         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
69435 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
69437         [BZ #12813]
69438         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
69439         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
69440         available.
69441         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
69442         __vdso_getcpu.
69444         [BZ #12814]
69445         * iconvdata/Makefile (tests): Add bug-iconv9.
69446         * iconvdata/bug-iconv9.c: New file.
69448 2011-05-27  Andreas Schwab  <schwab@redhat.com>
69450         [BZ #12814]
69451         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
69453 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
69455         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
69456         (struct user_regs_struct): Change intcs field back to cs.
69458 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
69460         * po/ja.po: Update from translation team.
69462 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
69464         [BZ #12795]
69465         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
69466         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
69468 2011-05-20  Andreas Schwab  <schwab@redhat.com>
69470         * stdlib/longlong.h: Update from GCC.
69472 2011-05-23  Andreas Schwab  <schwab@redhat.com>
69474         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
69475         parameter name.
69476         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
69477         Add parameter name.
69478         (__sysconf): Pass it down.
69480 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
69482         [BZ #12671]
69483         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
69484         some situations.
69485         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
69486         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
69487         add in in __libc_use_alloca calls.  Adjust callers.
69488         (glob): Use malloc in some situations.
69490         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
69491         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
69492         pltexit.
69494 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
69496         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
69497         and CLOCK_BOOTTIME_ALARM.
69499         [BZ #12782]
69500         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
69501         is returned.
69503         * string/_strerror.c (__strerror_r): Print negative errors as signed
69504         numbers.
69506         [BZ #12777]
69507         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
69508         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
69509         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
69511         * configure.in: Fix typo in redirection and correct removal of test
69512         files in two cases.
69514         [BZ #12788]
69515         * locale/setlocale.c (new_composite_name): Fix test to check for
69516         identical name of all categories.
69518         [BZ #12792]
69519         * libio/filedoalloc.c (local_isatty): New function.
69520         (_IO_file_doallocate): Use local_isatty.
69521         * stdio-common/perror.c (perror): In case a new stream is used
69522         forward the stream error.
69523         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
69524         error flag.
69526 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
69528         [BZ #11884]
69529         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
69530         alloca.
69531         * include/alloca.h (extend_alloca_account): Define.
69533         [BZ #11857]
69534         * posix/regex.h: Fix comments with documentation of user-accessible
69535         fields after compilation and describe correct free'ing of pattern
69536         after re_compile_pattern.
69537         Patch by Reuben Thomas <rrt@sc3d.org>.
69539 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
69541         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
69542         and -mno-altivec to prevent the compiler from using Altivec and/or
69543         VSX instructions when the corresponding registers are not available.
69545 2011-05-19  Andreas Schwab  <schwab@redhat.com>
69547         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
69549 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
69551         * libio/freopen.c (freopen): Use __dup2, not dup2.
69552         * libio/freopen64.c (freopen64): Likewise.
69554 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
69556         [BZ #12775]
69557         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
69558         * math/Makefile (tests): Add test-powl.
69559         (CFLAGS-test-powl.c): Define.
69560         * math/test-powl.c: New file.
69562 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
69564         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
69566 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
69568         [BZ #11837]
69569         * iconvdata/gb18030.c: Update to GB18020-2005.
69571 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
69573         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
69574         RE_SYNTAX_POSIX_AWK): Update to match recent development.
69575         Patch by Aharon Robbins <arnold@skeeve.com>.
69577         [BZ #11892]
69578         * stdlib/putenv.c (putenv): Don't always create copy of the variable
69579         on the stack.
69581         [BZ #11895]
69582         * misc/pselect.c (__pselect): Handle timeout value errors hidden
69583         through underflows.
69585         [BZ #12766]
69586         * misc/error.c (error_at_line): Ensure file_name and old_file_name
69587         point to strings before performing equality test for error_one_per_line
69588         mode.
69590         [BZ #11697]
69591         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
69593         [BZ #11820]
69594         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
69595         (struct user_fpregs_struct): Avoid __uint*_t types.
69597         [BZ #6420]
69598         * malloc/mtrace.c (tr_where): Add additional parameter to point to
69599         symbol info.  Use it instead of calling _dl_addr locally.
69600         (lock_and_info): New function.
69601         (tr_freehook): Call lock_and_info and pass symbol info as additional
69602         parameter to tr_where.
69603         (tr_mallochook): Likewise.
69604         (tr_reallochook): Likewise.
69605         (tr_memalignhook): Likewise.
69607         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
69608         used and couldn't be at all thread-safe.
69610 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
69612         * libio/freopen.c (freopen): Don't close old file descriptor
69613         before the new one is opened.  Instead dup the new file descriptor
69614         to the old one after the new stream is created.
69615         * libio/freopen64.c (freopen64): Likewise.
69616         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
69617         * libio/fileops.c (_IO_new_file_close_it): Handle new
69618         _IO_FLAGS2_NOCLOSE flag.
69619         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
69620         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
69621         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
69622         _IO_FLAGS2_NOCLOSE flag.
69623         * include/unistd.h: Add hidden_proto for dup3.
69624         Define __have_dup3.
69625         * io/dup3.c: Define hidden symbol.
69626         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
69628         [BZ #7101]
69629         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
69630         when an incomplete long option is used.
69631         * posix/tst-getopt_long1.c: New file.
69632         * posix/Makefile (tests): Add tst-getopt_long1.
69634         [BZ #10138]
69635         * scripts/config.guess: Update from autoconf-2.68.
69636         * scripts/config.sub: Likewise.
69638         [BZ #10157]
69639         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
69640         tests into ...
69641         (has_cpuclock): ...this.  New function.
69642         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
69643         macro here based on has_cpuclock code.
69645         [BZ #10149]
69646         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
69647         First byte (not low byte) is now always NUL.
69648         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
69650         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
69651         Use non-cancelable interfaces.
69653         [BZ #9809]
69654         * locale/iso-639.def: Add entry for Sorani.
69656         [BZ #11901]
69657         * include/stdlib.h: Move include protection to the right place.
69658         Define abort_msg_s.  Declare __abort_msg with it.
69659         * stdlib/abort.c (__abort_msg): Adjust type.
69660         * assert/assert.c (__assert_fail_base): New function.  Majority
69661         of code from __assert_fail.  Allocate memory for __abort_msg with
69662         mmap.
69663         (__assert_fail): Now call __assert_fail_base.
69664         * assert/assert-perr.c: Remove bulk of implementation.  Use
69665         __assert_fail_base.
69666         * include/assert.hL Declare __assert_fail_base.
69667         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
69668         mmap.
69669         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
69671 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
69673         [BZ #11952]
69674         [BZ #12453]
69675         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
69676         until all modules are registered in the DTV.
69677         * elf/Makefile: Add rules to build and run tst-tls19.
69678         * elf/tst-tls19.c: New file.
69679         * elf/tst-tls19mod1.c: New file.
69680         * elf/tst-tls19mod2.c: New file.
69681         * elf/tst-tls19mod3.c: New file.
69682         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
69684         [BZ #12083]
69685         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
69686         correctly.
69688         [BZ #12601]
69689         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
69690         two-byte sequence errors.
69691         * iconvdata/Makefile (tests): Add bug-iconv8.
69692         * iconvdata/bug-iconv8.c: New file.
69694         [BZ #12626]
69695         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
69696         buf2 definition.
69698         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
69700         [BZ #12432]
69701         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
69702         (dummy_getcfa): New function.
69703         (init): Get _Unwind_GetCFA address, use dummy if not found.
69704         (backtrace_helper): In recursion check, also check whether CFA changes.
69705         (__backtrace): Completely initialize arg.
69707         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
69708         storing incomplete byte sequence in state object.  Avoid testing for
69709         guaranteed too small input if we know there is enough data available.
69711 2011-05-11  Andreas Schwab  <schwab@redhat.com>
69713         * Makeconfig (+link-pie): Indent.
69714         * Rules (binaries-pie): Define if $(have-fpie) and
69715         $(build-shared).
69716         (binaries-shared): Also filter out $(binaries-pie).
69717         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
69718         * nscd/Makefile (others-pie): Add nscd.
69719         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
69720         ($(objpfx)nscd): Remove command override.
69721         * login/Makefile (others-pie): Add pt_chown.
69722         ($(objpfx)pt_chown): Remove command override.
69723         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
69724         remove command overrides.
69726 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
69728         * libio/tst_putwc.c: Fix error messages.
69730         [BZ #12724]
69731         * libio/fileops.c (_IO_new_file_close_it): Always flush when
69732         currently writing and seek to current position when not.
69733         * libio/Makefile (tests): Add bug-fclose1.
69734         * libio/bug-fclose1.c: New file.
69736 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
69738         [BZ #12511]
69739         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
69740         don't set DF_1_NODELETE here.
69741         (do_lookup_x): When entering new entry test for copy relocation
69742         and if necessary set DF_1_NODELETE flag.
69743         * elf/tst-unique4.cc: New file.
69744         * elf/tst-unique4.h: New file.
69745         * elf/tst-unique4lib.cc: New file.
69746         * elf/Makefile: Add rules to build and run tst-unique4.
69747         Patch by Piotr Bury <pbury@goahead.com>.
69749 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
69751         [BZ #12052]
69752         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
69754         [BZ #12625]
69755         * misc/mntent_r.c (addmntent): Flush the stream after the output
69757         [BZ #12393]
69758         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
69759         (is_trusted_path_normalize): Skip initial colon.  Append slash
69760         to empty buffer.  Duplicate is_trusted_path code but allow
69761         constructed patch to be prefix.
69762         (is_dst): Allow $ORIGIN followed by /.
69763         (_dl_dst_substitute): Correct clearing of check_for_trusted.
69764         Correct testing of result of is_trusted_path_normalize
69765         (decompose_rpath): Fix warning.
69767 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
69769         [BZ #11257]
69770         * grp/initgroups.c (internal_getgrouplist): When we found the service
69771         list through the initgroups entry in nsswitch.conf do not always
69772         continue on a successful lookup.  Don't always use the
69773         __nss_group_database value if it is set.
69774         * nss/nsswitch.conf (initgroups): Change action for successful db
69775         lookup to continue for compatibility.
69777 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
69779         [BZ #11532]
69780         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
69781         and CP774 modules.
69782         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
69783         and CP774 modules.
69784         * iconvdata/tst-tables.sh: Likewise.
69785         * iconvdata/cp770.c: New file.
69786         * iconvdata/cp771.c: New file.
69787         * iconvdata/cp772.c: New file.
69788         * iconvdata/cp773.c: New file.
69789         * iconvdata/cp774.c: New file.
69790         * iconvdata/testdata/CP770: New file.
69791         * iconvdata/testdata/CP770..UTF8: New file.
69792         * iconvdata/testdata/CP771: New file.
69793         * iconvdata/testdata/CP771..UTF8: New file.
69794         * iconvdata/testdata/CP772: New file.
69795         * iconvdata/testdata/CP772..UTF8: New file.
69796         * iconvdata/testdata/CP773: New file.
69797         * iconvdata/testdata/CP773..UTF8: New file.
69798         * iconvdata/testdata/CP774: New file.
69799         * iconvdata/testdata/CP774..UTF8: New file.
69801         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
69802         END CHARMAP line.
69803         * iconvdata/gen-8bit-gap.sh: Likewise.
69804         * iconvdata/gen-8bit.sh: Likewise.
69806         * locale/iso-639.def: Add ary entry.
69808         [BZ #11258]
69809         * locale/C-translit.h.in: Add U20A1 transliteration.
69811         [BZ #12178]
69812         * locale/iso-639.def: Add wae entry.
69813         Patch by Kevin Bortis <bortis@translate-wae.ch>.
69815         [BZ #12545]
69816         * locale/programs/localedef.c (construct_output_path): Use ssize_t
69817         for n.
69819         [BZ #12711]
69820         * locale/C-translit.h.in: Add entry for U20B9.
69821         Patch by pravin.d.s@gmail.com.
69823 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
69825         [BZ #12713]
69826         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
69827         ENAMETOOLONG use generic getcwd.
69828         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
69829         in rtld.  Use *stat64.
69830         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
69831         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
69832         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
69833         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
69834         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
69835         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
69836         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
69837         __fstatat64 macros.
69838         * include/dirent.h: Add libc_hidden_proto for rewinddir.
69839         * dirent/rewinddir.c: Add libc_hidden_def.
69840         * sysdeps/mach/hurd/rewinddir.c: Likewise.
69841         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
69843         * include/dirent.h (__alloc_dir): Add flags parameter.
69844         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
69845         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
69846         __alloc_dir.
69847         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
69848         from fdopendir if O_CLOEXEC is already set.
69850 2011-03-15  Alan Modra  <amodra@gmail.com>
69852         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
69853         l_tls_firstbyte_offset non-zero.  Save padding offset in
69854         l_tls_firstbyte_offset for later use.
69855         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
69856         freeing static tls block.
69858 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
69860         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
69861         where #ifdef was intended.  The intent is to prevent ARG_MAX from
69862         being defined by the kernel headers.
69864 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
69866         [BZ #12734]
69867         * resolv/resolv.h: Define RES_NOTLDQUERY.
69868         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
69869         no-tld-query and set RES_NOTLDQUERY.
69870         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
69871         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
69872         modern BIND to search name as TLD unless forbidden.
69874 2011-05-07  Petr Baudis  <pasky@suse.cz>
69875             Ulrich Drepper  <drepper@gmail.com>
69877         [BZ #12393]
69878         * elf/dl-load.c (fillin_rpath): Move trusted path check...
69879         (is_trusted_path): ...to here.
69880         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
69881         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
69882         using is_trusted_path_normalize() in setuid scripts.
69884 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
69886         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
69887         __BEGIN/__END_DECLS.
69889 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
69891         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
69892         NSS_STATUS_NOTFOUND if no record was found.
69894 2011-05-05  Andreas Schwab  <schwab@redhat.com>
69896         * sunrpc/Makefile (headers): Add rpc/netdb.h.
69897         (headers-not-in-tirpc): Remove rpc/netdb.h
69898         * resolv/netdb.h: Revert last change.
69900 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
69902         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
69903         circular dependency between libgcc.a and libc.a.
69905 2011-05-05  Andreas Schwab  <schwab@redhat.com>
69907         * resolv/netdb.h: Don't include <rpc/netdb.h>.
69908         * nis/Makefile: Don't install rpcsvc/*.
69909         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
69910         instead of <rpc/types.h>.
69911         (MAXHOSTNAMELEN): Define.
69913 2011-05-03  Andreas Schwab  <schwab@redhat.com>
69915         * elf/ldconfig.c (add_dir): Don't crash on empty path.
69917 2011-04-28  Maciej Babinski  <mbabinski@google.com>
69919         [BZ #12714]
69920         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
69921         gethostbyname4_r when IPv6 results are possible.
69923 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
69925         [BZ #12723]
69926         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
69927         _PC_PIPE_BUF handling.
69929 2011-04-30  Bruno Haible  <bruno@clisp.org>
69931         [BZ #12717]
69932         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
69933         * resolv/netdb.h (getnameinfo): Change type of flags parameter
69934         to 'int'.
69935         * inet/getnameinfo.c (getnameinfo): Likewise.
69937 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
69939         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
69940         to groups setting in database lookup.
69941         * nss/nsswitch.conf: Add initgroups entry.
69943 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
69945         [BZ #12685]
69946         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
69947         mode string.
69948         Patch by Eric Blake <eblake@redhat.com>.
69950 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
69952         * sunrpc/Makefile (need-export-routines): Add svc_run.
69953         (routines): Remove svc_run.
69954         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
69955         * sunrpc/clnt_perr.c (clnt_perrno): Export.
69956         * sunrpc/svc_run.c (svc_run): Likewise.
69957         * sunrpc/svc_udp.c (svcudp_create): Likewise.
69959 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
69961         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
69962         problem in reallocation in last patch.
69964 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
69966         * sunrpc/Makefile: Move inclusion of Rules.
69968 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
69970         * nss/nss_files/files-initgroups.c: New file.
69971         * nss/Makefile (libnss_files-routines): Add files-initgroups.
69972         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
69973         _nss_files_initgroups_dyn.
69975 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
69977         * elf/elf.h (R_ARM_IRELATIVE): Define.
69979 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
69981         * po/ru.po: Update from translation team.
69983 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
69985         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
69986         dependencies.
69988 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
69990         [BZ #12653]
69991         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
69992         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
69993         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
69994         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
69995         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
69997 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
69999         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
70000         differing bytes.
70001         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
70002         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
70003         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
70005 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
70007         [BZ #12420]
70008         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
70009         storing it.
70010         * stdlib/bug-getcontext.c: New file.
70011         * stdlib/Makefile: Add rules to build and run bug-getcontext.
70013 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70015         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
70016         instructions into .machine "z9-109".
70017         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
70018         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
70020 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70022         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
70023         between environment variables and auxiliary vector.
70025 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
70027         * Makefile: Add rules to build linkobj/libc.so.
70028         * include/libc-symbols.h: Define libc_hidden_nolink.
70029         * include/rpc/auth.h: Mark functions which are to be hidden.
70030         * include/rpc/auth_des.h: Likewise.
70031         * include/rpc/auth_unix.h: Likewise.
70032         * include/rpc/clnt.h: Likewise.
70033         * include/rpc/des_crypt.h: Likewise.
70034         * include/rpc/key_prot.h: Likewise.
70035         * include/rpc/pmap_clnt.h: Likewise.
70036         * include/rpc/pmap_prot.h: Likewise.
70037         * include/rpc/pmap_rmt.h: Likewise.
70038         * include/rpc/rpc_msg.h: Likewise.
70039         * include/rpc/svc.h: Likewise.
70040         * include/rpc/svc_auth.h: Likewise.
70041         * include/rpc/xdr.h: Likewise.
70042         * nis/Makefile: Link all DSOs against linkobj/libc.so.
70043         * nss/Makefile: Likewise.
70044         * sunrpc/Makefile: Don't install headers.  Build library with normal
70045         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
70046         * sunrpc/auth_des.c: Hide exported symbols by default, export some
70047         for the compat linking library.  Remove use of INTDEF/INTUSE.
70048         * sunrpc/auth_none.c: Likewise.
70049         * sunrpc/auth_unix.c: Likewise.
70050         * sunrpc/authdes_prot.c: Likewise.
70051         * sunrpc/authuxprot.c: Likewise.
70052         * sunrpc/clnt_gen.c: Likewise.
70053         * sunrpc/clnt_perr.c: Likewise.
70054         * sunrpc/clnt_raw.c: Likewise.
70055         * sunrpc/clnt_simp.c: Likewise.
70056         * sunrpc/clnt_tcp.c: Likewise.
70057         * sunrpc/clnt_udp.c: Likewise.
70058         * sunrpc/clnt_unix.c: Likewise.
70059         * sunrpc/des_crypt.c: Likewise.
70060         * sunrpc/des_soft.c: Likewise.
70061         * sunrpc/get_myaddr.c: Likewise.
70062         * sunrpc/key_call.c: Likewise.
70063         * sunrpc/key_prot.c: Likewise.
70064         * sunrpc/netname.c: Likewise.
70065         * sunrpc/pm_getmaps.c: Likewise.
70066         * sunrpc/pm_getport.c: Likewise.
70067         * sunrpc/pmap_clnt.c: Likewise.
70068         * sunrpc/pmap_prot.c: Likewise.
70069         * sunrpc/pmap_prot2.c: Likewise.
70070         * sunrpc/pmap_rmt.c: Likewise.
70071         * sunrpc/publickey.c: Likewise.
70072         * sunrpc/rpc_cmsg.c: Likewise.
70073         * sunrpc/rpc_common.c: Likewise.
70074         * sunrpc/rpc_dtable.c: Likewise.
70075         * sunrpc/rpc_prot.c: Likewise.
70076         * sunrpc/rpc_thread.c: Likewise.
70077         * sunrpc/rtime.c: Likewise.
70078         * sunrpc/svc.c: Likewise.
70079         * sunrpc/svc_auth.c: Likewise.
70080         * sunrpc/svc_authux.c: Likewise.
70081         * sunrpc/svc_raw.c: Likewise.
70082         * sunrpc/svc_run.c: Likewise.
70083         * sunrpc/svc_simple.c: Likewise.
70084         * sunrpc/svc_tcp.c: Likewise.
70085         * sunrpc/svc_udp.c: Likewise.
70086         * sunrpc/svc_unix.c: Likewise.
70087         * sunrpc/svcauth_des.c: Likewise.
70088         * sunrpc/xcrypt.c: Likewise.
70089         * sunrpc/xdr.c: Likewise.
70090         * sunrpc/xdr_array.c: Likewise.
70091         * sunrpc/xdr_float.c: Likewise.
70092         * sunrpc/xdr_intXX_t.c: Likewise.
70093         * sunrpc/xdr_mem.c: Likewise.
70094         * sunrpc/xdr_rec.c: Likewise.
70095         * sunrpc/xdr_ref.c: Likewise.
70096         * sunrpc/xdr_sizeof.c: Likewise.
70097         * sunrpc/xdr_stdio.c: Likewise.
70099 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
70101         [BZ #12650]
70102         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
70103         * sysdeps/ia64/dl-tls.h: Likewise.
70104         * sysdeps/powerpc/dl-tls.h: Likewise.
70105         * sysdeps/s390/dl-tls.h: Likewise.
70106         * sysdeps/sh/dl-tls.h: Likewise.
70107         * sysdeps/sparc/dl-tls.h: Likewise.
70108         * sysdeps/x86_64/dl-tls.h: Likewise.
70109         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
70111 2011-03-14  Andreas Schwab  <schwab@redhat.com>
70113         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
70114         rpath element also skip the following colon.
70115         (expand_dynamic_string_token): Add is_path parameter and pass
70116         down to DL_DST_REQUIRED and _dl_dst_substitute.
70117         (decompose_rpath): Call expand_dynamic_string_token with
70118         non-zero is_path.  Ignore empty rpaths.
70119         (_dl_map_object_from_fd): Call expand_dynamic_string_token
70120         with zero is_path.
70122 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
70124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
70125         Make cancelable.
70127 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
70129         [BZ #12655]
70130         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
70131         Patch by Filipe David Manana <fdmanana@apache.org>.
70133 2011-04-07  Andreas Schwab  <schwab@redhat.com>
70135         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
70136         Maintain aligned stack.
70137         (CHECK_RSP): Remove unused macro.
70139 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
70141         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
70142         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
70144 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
70146         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
70148         * include/features.h: Mention __USE_XOPEN2K8 in comment.
70150 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
70152         [BZ #12518]
70153         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
70154         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
70155         * sysdeps/x86_64/memmove.c: New file.
70156         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
70157         (memcpy): Renamed to ...
70158         (__new_memcpy): This.
70159         (memcpy): Provide GLIBC_2_14 memcpy.
70160         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
70161         (memcpy): Provide GLIBC_2_2_5 memcpy.
70163 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
70165         [BZ #12631]
70166         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
70168 2011-03-30  Andreas Schwab  <schwab@redhat.com>
70170         * misc/syncfs.c: New file.
70171         * misc/Makefile (routines): Add syncfs.
70172         * posix/unistd.h: Declare syncfs.
70173         * sysdeps/unix/syscalls.list: Add syncfs.
70175 2011-04-01  Andreas Schwab  <schwab@redhat.com>
70177         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
70178         open_by_handle_at.
70179         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
70180         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
70181         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
70182         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
70183         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
70184         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
70185         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
70187 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
70189         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
70190         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
70191         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
70192         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
70193         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
70194         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
70195         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
70197         * io/Makefile: Compile fallocate.c, fallocate64.c, and
70198         sync_file_range.c with -fexceptions.
70199         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
70200         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
70201         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
70202         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
70203         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
70204         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
70205         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
70206         sync_file_range as cancellation point
70207         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
70208         now a wrapper around __call_sync_file_range with cancellation handling.
70209         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
70210         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
70211         function name to __call_sync_file_range.
70212         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
70213         Add call_sync_file_range.
70215 2011-04-01  Andreas Schwab  <schwab@redhat.com>
70217         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
70218         bits/timex.h.
70220 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
70222         * iconv/iconv.h: Fix typo in comment.
70223         * io/fcntl.h: Likewise.
70224         * libio/stdio.h: Likewise.
70225         * posix/spawn.h: Likewise.
70226         * posix/unistd.h: Likewise.
70227         * stdlib/stdlib.h: Likewise.
70228         * time/time.h: Likewise.
70229         * wcsmbs/wchar.h: Likewise.
70231         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
70232         open_by_handle): Add.
70233         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
70234         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
70235         Augment a few comments.
70236         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
70237         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
70238         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
70239         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
70240         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
70241         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
70242         open_by_handle.
70244         * io/fcntl.h (AT_EMPTY_PATH): Define.
70246 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
70248         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
70249         * sysdeps/unix/sysv/linux/bits/time.h: New file.
70250         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
70251         to...
70252         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
70253         * Versions.def: Add GLIBC_2.14.
70254         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
70255         Export.
70257 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
70259         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
70260         round counter.
70261         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
70263 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
70265         [BZ #12597]
70266         * string/test-strncmp.c (do_page_test): New function.
70267         (check2): Likewise.
70268         (test_main): Call check2.
70269         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
70271 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
70273         [BZ #12587]
70274         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
70275         Handle cache information in CPU leaf 4.
70276         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
70278 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
70280         [BZ #12583]
70281         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
70282         character representation.
70283         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
70285 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
70287         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
70288         END(__isnan) to END(__isnanf) to match function entry point/label
70289         EALIGN(__isnanf,...).
70291 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
70293         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
70295 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
70297         [BZ #12510]
70298         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
70299         copy from the symbol referenced in the relocation to initialize the
70300         used variable.
70301         Patch by Piotr Bury <pbury@goahead.com>.
70302         * elf/Makefile: Add rules to build and tst-unique3.
70303         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
70304         * elf/tst-unique3.cc: New file.
70305         * elf/tst-unique3.h: New file.
70306         * elf/tst-unique3lib.cc: New file.
70307         * elf/tst-unique3lib2.cc: New file.
70309         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
70311 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
70313         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
70314         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
70315         to _start.
70317 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
70319         * elf/dl-load.c (_dl_map_object): If we are looking for the first
70320         to-be-loaded object along a path to loader is ld.so.
70322 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
70323             Ulrich Drepper  <drepper@gmail.com>
70325         * sysdeps/x86_64/memset.S: After aligning destination, code
70326         branches to different locations depending on the value of
70327         misalignment, when multiarch is enabled. Fix this.
70329 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
70331         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
70332         Set _x86_64_preferred_memory_instruction for AMD processsors.
70333         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
70334         Set bit_Prefer_SSE_for_memop for AMD processors.
70336 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
70338         * libio/fmemopen.c (fmemopen): Optimize a bit.
70340 2011-03-03  Andreas Schwab  <schwab@redhat.com>
70342         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
70344 2011-03-03  Roland McGrath  <roland@redhat.com>
70346         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
70348 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
70350         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
70351         __bzero_ultra1 instead of __memset_ultra1.
70353 2011-02-23  Andreas Schwab  <schwab@redhat.com>
70354             Ulrich Drepper  <drepper@gmail.com>
70356         [BZ #12509]
70357         * include/link.h (struct link_map): Add l_orig_initfini.
70358         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
70359         returning unsuccessfully.
70360         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
70361         close of a file loaded at startup, restore the original l_initfini
70362         list.
70363         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
70364         list, store the pointer.
70365         * elf/Makefile ($(objpfx)noload-mem): New rule.
70366         (noload-ENV): Define.
70367         (tests): Add $(objpfx)noload-mem.
70368         * elf/noload.c: Include <memcheck.h>.
70369         (main): Call mtrace.  Close all opened handles.
70371 2011-02-17  Andreas Schwab  <schwab@redhat.com>
70373         [BZ #12454]
70374         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
70375         dependencies are missing.
70377 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70379         Fix __if_freereq crash: Unlike the generic version which uses free,
70380         Hurd needs munmap.
70381         * sysdeps/mach/hurd/ifreq.h: New file.
70383 2011-01-27  Petr Baudis  <pasky@suse.cz>
70384             Ulrich Drepper  <drepper@gmail.com>
70386         [BZ 12445]#
70387         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
70388         to extend_alloca().
70389         * stdio-common/bug23.c: New file.
70390         * stdio-common/Makefile (tests): Add bug23.
70392 2010-09-28  Andreas Schwab  <schwab@redhat.com>
70393             Ulrich Drepper  <drepper@gmail.com>
70395         [BZ #12489]
70396         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
70397         before performing relro protection.  At old place add assertion
70398         to make sure nothing changed.
70400 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
70401             Glauber de Oliveira Costa  <glommer@gmail.com>
70403         * elf/elf.h: Add new ARM TLS relocs.
70405 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
70407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
70408         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
70409         cast from r3.
70410         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
70411         'tests' variable.
70412         * sysdeps/wordsize-64/tst-writev.c: New file.
70414 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
70416         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
70417         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
70418         insns in _dl_start to prevent a TOC reference before relocs are
70419         resolved.
70421 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
70423         [BZ #12469]
70424         * Makeconfig: Remove RANLIB definition.
70425         * Makerules: Don't use RANLIB.
70426         * aclocal.m4: Remove ranlib test.
70427         * configure.in: No need to check for ranlib.
70428         * elf/rtld-Rules: Don't use RANLIB.
70430 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70432         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
70433         protection macro.
70434         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
70435         inclusion protection macro.
70437         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
70438         SIGRTMIN and SIGRTMAX and print information in that case only when
70439         SIGRTMIN is defined.
70441 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
70443         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
70444         arginfo fn returning -1.
70446         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
70447         and thousands string is zero terminated.
70449 2011-02-03  Andreas Schwab  <schwab@redhat.com>
70451         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
70452         sysdeps/unix/sysv/linux/bits/socket.h.
70454 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70456         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
70457         (__CPU_COUNT): Remove old macros.
70458         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
70459         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
70460         (__CPU_ALLOC, __CPU_FREE): Add macros.
70461         (__sched_cpualloc, __sched_cpufree): Add declarations.
70463 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
70465         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
70466         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
70467         * nscd/aicache.c (addhstaiX): Return timeout of added value.
70468         (readdhstai): Return value of addhstaiX call.
70469         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
70470         (addgrbyX): Return value returned by cache_addgr.
70471         (readdgrbyname): Return value returned by addgrbyX.
70472         (readdgrbygid): Likewise.
70473         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
70474         (addpwbyX): Return value returned by cache_addpw.
70475         (readdpwbyname): Return value returned by addhstbyX.
70476         (readdpwbyuid): Likewise.
70477         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
70478         (addservbyX): Return value returned by cache_addserv.
70479         (readdservbyname): Return value returned by addservbyX:
70480         (readdservbyport): Likewise.
70481         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
70482         (addhstbyX): Return value returned by cache_addhst.
70483         (readdhstbyname): Return value returned by addhstbyX.
70484         (readdhstbyaddr): Likewise.
70485         (readdhstbynamev6): Likewise.
70486         (readdhstbyaddrv6): Likewise.
70487         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
70488         (readdinitgroups): Return value returned by addinitgroupsX.
70489         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
70490         (prune_cache): Keep track of timeout value of re-added entries.
70491         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
70492         * nscd/nscd.h: Adjust prototypes of readd* functions.
70494 2011-02-04  Roland McGrath  <roland@redhat.com>
70496         * nis/nis_server.c (nis_servstate): Use the right name for 0.
70497         (nis_stats): Likewise.
70498         * nis/nis_modify.c (nis_modify): Likewise.
70499         * nis/nis_remove.c (nis_remove): Likewise.
70500         * nis/nis_add.c (nis_add): Likewise.
70502         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
70504         * posix/fnmatch_loop.c: Add some consts.
70506         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
70508 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
70510         [BZ #12460]
70511         * config.make.in (config-cflags-novzeroupper): Define.
70512         * configure.in: Substitute libc_cv_cc_novzeroupper.
70513         * elf/Makefile (AVX-CFLAGS): Define.
70514         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
70515         (CFLAGS-tst-auditmod4a.c): Likewise.
70516         (CFLAGS-tst-auditmod4b.c): Likewise.
70517         (CFLAGS-tst-auditmod6b.c): Likewise.
70518         (CFLAGS-tst-auditmod6c.c): Likewise.
70519         (CFLAGS-tst-auditmod7b.c): Likewise.
70520         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
70522 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
70524         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
70525         function to the callback.
70526         Patch partly by Jiri Olsa <jolsa@redhat.com>.
70528 2011-02-02  Andreas Schwab  <schwab@redhat.com>
70530         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
70531         of errno.
70533 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
70535         [BZ #11724]
70536         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
70537         of constructors.
70538         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
70539         of destructors.
70540         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
70542         [BZ #11724]
70543         * elf/Makefile: Add rules to build and run new test.
70544         * elf/tst-initorder.c: New file.
70545         * elf/tst-initorder.exp: New file.
70546         * elf/tst-initordera1.c: New file.
70547         * elf/tst-initordera2.c: New file.
70548         * elf/tst-initordera3.c: New file.
70549         * elf/tst-initordera4.c: New file.
70550         * elf/tst-initorderb1.c: New file.
70551         * elf/tst-initorderb2.c: New file.
70552         * elf/tst-order-a1.c: New file.
70553         * elf/tst-order-a2.c: New file.
70554         * elf/tst-order-a3.c: New file.
70555         * elf/tst-order-a4.c: New file.
70556         * elf/tst-order-b1.c: New file.
70557         * elf/tst-order-b2.c: New file.
70558         * elf/tst-order-main.c: New file.
70559         New test case by George Gensure <werkt0@gmail.com>.
70561 2010-10-01  Andreas Schwab  <schwab@redhat.com>
70563         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
70564         decoding ACE if AI_CANONIDN.
70566 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
70568         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
70570 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
70572         * version.h (RELEASE): Bump for 2.13 release.
70573         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
70575         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
70577         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
70578         MADV_NOHUGEPAGE.
70579         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
70580         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
70581         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
70582         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
70583         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
70584         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
70586         * posix/getconf.c: Update copyright year.
70587         * catgets/gencat.c: Likewise.
70588         * csu/version.c: Likewise.
70589         * debug/catchsegv.sh: Likewise.
70590         * debug/xtrace.sh: Likewise.
70591         * elf/ldconfig.c: Likewise.
70592         * elf/ldd.bash.in: Likewise.
70593         * elf/sprof.c (print_version): Likewise.
70594         * iconv/iconv_prog.c: Likewise.
70595         * iconv/iconvconfig.c: Likewise.
70596         * locale/programs/locale.c: Likewise.
70597         * locale/programs/localedef.c: Likewise.
70598         * malloc/memusage.sh: Likewise.
70599         * malloc/mtrace.pl: Likewise.
70600         * nscd/nscd.c (print_version): Likewise.
70601         * nss/getent.c: Likewise.
70603         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
70604         PF_CAIF, and PF_ALG.
70605         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
70607 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
70609         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
70610         (modules-names): Use them.
70611         (ifunc-test-modules, ifunc-pie-tests): Define.
70612         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
70613         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
70614         (test-extras): Likewise.
70615         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
70616         $(compile-command.c).
70617         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
70618         (all-built-dso): Define.
70619         (check-textrel.out, check-execstack.out): Depend on it.
70621         * configure.in: Don't override --enable-multi-arch.
70623 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
70625         [BZ #6812]
70626         * nscd/hstcache.c (tryagain): Define.
70627         (cache_addhst): Return tryagain not notfound for temporary errors.
70628         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
70629         failed.
70631 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
70633         [BZ #10563]
70634         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
70635         to make the syscall.
70636         * sysdeps/unix/sysv/linux/setgroups.c: New file.
70638         [BZ #12378]
70639         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
70640         and fall back to matching as normal character if the string ends before
70641         the matching ']' is found.  This is what POSIX requires.
70642         * posix/testfnm.c: Adjust test result.
70643         * posix/globtest.sh: Adjust test result.  Add new test.
70644         * posix/tst-fnmatch.input: Likewise.
70645         * posix/tst-fnmatch2.c: Add new test.
70647 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
70649         * elf/Makefile (check-execstack): Revert last change.  Depend on
70650         check-execstack.h.
70651         (check-execstack.h): New target.
70652         (generated): Add check-execstack.h.
70653         * elf/check-execstack.c: Include "check-execstack.h".
70654         (main): Revert last change.
70655         (handle_file): Return zero if GNU_STACK is absent and
70656         DEFAULT_STACK_PERMS doesn't include PF_X.
70658 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
70660         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
70661         in child fails because the descriptor is already closed.
70662         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
70663         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
70664         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
70666         [BZ #12397]
70667         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
70668         syscall.
70670         [BZ #10484]
70671         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
70672         temporary buffer used to handle multi lookups locally.
70673         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
70675 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
70677         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
70678         loader is ld.so.
70680 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
70682         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
70683         alignment for SSE2.
70685 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
70687         [BZ #12394]
70688         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
70689         characters.  When rounding increased number of integer digits recompute
70690         number of groups.
70691         * stdio-common/tst-grouping.c: New file.
70692         * stdio-common/Makefile: Add rules to build and run tst-grouping.
70694 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
70696         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
70697         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
70699         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
70700         void.
70701         * bits/select.h: Likewise.
70703 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
70705         * po/ja.po: Update from translation team.
70707 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
70709         [BZ #11155]
70710         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
70711         implementation just like for lxstat, fxstatat, et al.
70713 2010-12-27  Jim Meyering  <meyering@redhat.com>
70715         [BZ #12348]
70716         * posix/regexec.c (build_trtable): Return failure indication upon
70717         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
70719 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
70721         [BZ #12201]
70722         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
70723         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
70724         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
70725         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
70727         [BZ #12207]
70728         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
70730         [BZ #12204]
70731         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
70732         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
70734 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
70736         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
70737         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
70738         script has SORT_BY_INIT_PRIORITY.
70739         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
70740         NO_CTORS_DTORS_SECTIONS is defined.
70741         * elf/soinit.c: Likewise.
70742         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
70743         NO_CTORS_DTORS_SECTIONS is defined.
70744         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
70745         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
70746         * sysdeps/sh/init-first.c: Likewise.
70747         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
70749 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
70751         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
70752         always use the slow path.
70754 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
70756         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
70757         similar rule which adds the sysdep directories to the header search in
70758         order to pick up the correct platform stackinfo.h.
70759         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
70760         perform test if it is, otherwise return successfully without testing.
70761         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
70762         DEFAULT_STACK_PERMS define in stackinfo.h.
70763         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
70764         defined in stackinfo.h.
70765         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
70766         DEFAULT_STACK_PERMS defined in stackinfo.h.
70767         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
70768         * sysdeps/ia64/stackinfo.h: Likewise.
70769         * sysdeps/s390/stackinfo.h: Likewise.
70770         * sysdeps/sh/stackinfo.h: Likewise.
70771         * sysdeps/sparc/stackinfo.h: Likewise.
70772         * sysdeps/x86_64/stackinfo.h: Likewise.
70773         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
70774         PF_X for powerpc64.  Retain PF_X for powerpc32.
70776 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
70778         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
70779         accurately.
70780         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
70781         GETDENTS_64BIT_ALIGNED.
70783 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
70785         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
70787 2010-12-10  Andreas Schwab  <schwab@redhat.com>
70789         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
70790         _GNU_SOURCE.
70792         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
70793         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
70794         Remove __restrict.
70795         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
70796         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
70798 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
70800         [BZ #11655]
70801         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
70802         are initialized.
70804 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
70806         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
70808 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
70810         * po/it.po: Update from translation team.
70812 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
70814         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
70815         unused codes.
70817 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
70819         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
70821 2010-11-24  Andreas Schwab  <schwab@redhat.com>
70823         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
70824         specially.
70825         (gaih_getanswer_slice): Likewise.
70827 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
70829         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
70831 2010-05-31  Petr Baudis  <pasky@suse.cz>
70833         [BZ #11149]
70834         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
70835         silently even in the chroot mode.
70837 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
70839         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
70840         last patch a bit.  Pretty printing
70842 2010-05-31  Petr Baudis <pasky@suse.cz>
70844         [BZ #10085]
70845         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
70846         initialization of skip_initgroups_dyn.
70848 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
70850         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
70851         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
70853 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
70855         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
70857 2010-11-11  Andreas Schwab  <schwab@redhat.com>
70859         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
70860         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
70861         (tst-fnmatch-ENV): Set MALLOC_TRACE.
70862         ($(objpfx)tst-fnmatch-mem): New rule.
70863         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
70864         * posix/tst-fnmatch.c (main): Call mtrace.
70866 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
70868         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
70869         Support Intel processor model 6 and model 0x2c.
70871 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
70873         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
70874           signed comparison.
70876 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
70878         [BZ #12205]
70879         * string/test-strncasecmp.c (check_result): New function.
70880         (do_one_test): Use it.
70881         (check1): New function.
70882         (test_main): Use it.
70883         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
70884         Support strcasecmp and strncasecmp.
70886 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
70888         [BZ #12194]
70889         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
70890         * sysdeps/x86_64/bits/byteswap.h: Likewise.
70892 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
70894         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
70895         IFUNC support.
70896         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
70897         memset-x86-64.
70898         * sysdeps/x86_64/multiarch/bzero.S: New file.
70899         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
70900         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
70901         * sysdeps/x86_64/multiarch/memset.S: New file.
70902         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
70903         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
70904         Set bit_Prefer_SSE_for_memop for Intel processors.
70905         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
70906         Define.
70907         (index_Prefer_SSE_for_memop): Define.
70908         (HAS_PREFER_SSE_FOR_MEMOP): Define.
70910 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
70912         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
70913         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
70915 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
70917         [BZ #12191]
70918         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
70919         (__x86_64_raw_data_cache_size_half): Likewise.
70920         (__x86_64_raw_shared_cache_size): Likewise.
70921         (__x86_64_raw_shared_cache_size_half): Likewise.
70923         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
70924         (__x86_64_raw_data_cache_size_half): Likewise.
70925         (__x86_64_raw_shared_cache_size): Likewise.
70926         (__x86_64_raw_shared_cache_size_half): Likewise.
70927         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
70928         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
70929         and __x86_64_raw_shared_cache_size_half.  Round
70930         __x86_64_data_cache_size_half, __x86_64_data_cache_size
70931         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
70932         to multiple of 256 bytes.
70934 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
70936         [BZ #12167]
70937         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
70938         of inacessible symlinks.  Verify result of symlink before returning it.
70939         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
70940         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
70942 2010-10-28  Erich Ritz  <erichritz@gmail.com>
70944         * math/math.h (isinf): Fix typo in comment.
70946 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
70948         * po/da.po: Update from translation team.
70950 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
70952         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
70953         is added to the list.
70955 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70956             Ulrich Drepper  <drepper@gmail.com>
70958         * elf/dl-object.c (_dl_new_object): Don't append the new object to
70959         the global list here.  Move code to...
70960         (_dl_add_to_namespace_list): ...here.  New function.
70961         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
70962         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
70963         * elf/dl-load.c (lose): Don't remove the element from the list.
70964         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
70965         (_dl_map_object): Likewise.
70967 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
70969         [BZ #12159]
70970         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
70971         into all bytes of SSE register.
70972         Patch by Richard Li <richardpku@gmail.com>.
70974 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
70976         [BZ #12140]
70977         * malloc/malloc.c (_int_free): Fill correct number of bytes when
70978         perturbing.
70980 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
70982         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
70983         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
70984         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
70985         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
70986         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
70987         submachine.
70988         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
70990 2010-10-22  Andreas Schwab  <schwab@redhat.com>
70992         * include/dlfcn.h (__RTLD_SECURE): Define.
70993         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
70994         mode & __RTLD_SECURE instead.
70995         (open_path): Rename preloaded parameter to secure.
70996         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
70997         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
70998         * elf/dl-deps.c (openaux): Likewise.
70999         * elf/rtld.c (struct map_args): Remove is_preloaded.
71000         (map_doit): Don't use it.
71001         (dl_main): Likewise.
71002         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
71003         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
71005 2010-09-09  Andreas Schwab  <schwab@redhat.com>
71007         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
71008         (sysd-rules-targets): Remove duplicates.
71009         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
71010         rtld-%.$o dependency.
71012 2010-10-18  Andreas Schwab  <schwab@redhat.com>
71014         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
71015         _dl_map_object do it.
71017 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
71019         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
71020         fast fma builtins, define the macros in the C99 standard.
71021         (FP_FAST_FMAF): Likewise.
71022         (FP_FAST_FMAL): Likewise.
71023         * sysdeps/x86_64/bits/mathdef.h: Likewise.
71025         * bits/mathdef.h: Update copyright year.
71026         * sysdeps/powerpc/bits/mathdef.h: Likewise.
71028 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
71030         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
71031         builtins, define the macros in the C99 standard.
71032         (FP_FAST_FMAF): Likewise.
71033         (FP_FAST_FMAL): Likewise.
71034         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
71035         multiply/add.
71036         (FP_FAST_FMAF): Likewise.
71038 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
71040         [BZ #3268]
71041         * math/libm-test.inc (fma_test): Some new testcases.
71042         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
71043         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
71044         y and infinite z.  Do multiplication by C already in long double.
71045         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
71046         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
71047         y and infinite z.  Do bitwise or of inexact bit into u.d.
71048         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
71049         * sysdeps/i386/fpu/s_fmaf.S: Removed.
71050         * sysdeps/i386/fpu/s_fma.S: Removed.
71051         * sysdeps/i386/fpu/s_fmal.S: Removed.
71053 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
71055         [BZ #3268]
71056         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
71057         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
71058         computation is not scheduled after fetestexcept.  Fix value
71059         of minimum denormal long double.
71061 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
71063         [BZ #3268]
71064         * math/libm-test.inc (fma_test): Add some more tests.
71065         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
71066         correctly.
71068 2010-10-15  Andreas Schwab  <schwab@redhat.com>
71070         * scripts/data/localplt-s390-linux-gnu.data: New file.
71071         * scripts/data/localplt-s390x-linux-gnu.data: New file.
71073 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
71075         [BZ #3268]
71076         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
71077         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
71078         instead of dbl-64.
71079         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
71080         inlines.
71081         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
71082         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
71083         if one of x and y is very large and the other is subnormal.
71084         * sysdeps/s390/fpu/s_fmaf.c: New file.
71085         * sysdeps/s390/fpu/s_fma.c: New file.
71086         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
71087         * sysdeps/powerpc/fpu/s_fma.S: New file.
71088         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
71089         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
71090         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
71092 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
71094         [BZ #3268]
71095         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
71096         fma tests.
71097         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
71098         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
71099         * sysdeps/i386/i686/multiarch/s_fma.c: Include
71100         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
71101         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
71102         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
71103         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
71105 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
71107         [BZ #12078]
71108         * posix/regcomp.c (parse_branch): One more memory leak plugged.
71109         * posix/bug-regex31.input: Add test case.
71111 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
71113         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
71114         * posix/bug-regex31.input: New file.
71116         [BZ #12078]
71117         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
71118         (parse_sub_exp): Fix last change, use postorder.
71120         * posix/bug-regex31.c: New file.
71121         * posix/Makefile: Add rules to build and run bug-regex31.
71123         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
71125         [BZ #12078]
71126         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
71128         [BZ #12108]
71129         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
71130         to have entries in sys_siglist.
71132         [BZ #12093]
71133         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
71134         be NULL.
71136 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
71138         [BZ #3268]
71139         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
71140         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
71141         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
71142         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
71143         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
71144         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
71145         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
71146         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
71147         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
71148         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
71149         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
71150         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
71151         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
71152         * math/ftestexcept.c (fetestexcept): Likewise.
71153         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
71154         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
71155         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
71156         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
71157         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
71158         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
71159         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
71161 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
71163         [BZ #12107]
71164         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
71165         newline.
71167 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
71169         * string/bug-strstr1.c: New file.
71170         * string/Makefile: Add rules to build and run bug-strstr1.
71172 2010-10-05  Eric Blake  <eblake@redhat.com>
71174         [BZ #12092]
71175         * string/str-two-way.h (two_way_long_needle): Always clear memory
71176         when skipping input due to the shift table.
71178 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
71180         [BZ #12005]
71181         * malloc/mcheck.c: Handle large requests.
71183         [BZ #12077]
71184         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
71185         for strncmp and strncasecmp.
71186         * string/stratcliff.c: Add tests for strcmp and strncmp.
71187         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
71189 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
71191         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
71192         __set_fpscr.
71194 2010-09-30  Andreas Jaeger  <aj@suse.de>
71196         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
71197         (CGROUP_SUPER_MAGIC): Define.
71198         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
71199         Handle btrfs and cgroup file systems.
71200         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
71201         Likewise.
71203 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
71205         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
71206         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
71208 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71210         [BZ #12067]
71211         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
71212         trying to locate the ELF header.
71214 2010-09-27  Andreas Schwab  <schwab@redhat.com>
71216         [BZ #11611]
71217         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
71218         Mask out sign-bit copies when constructing f_fsid.
71220 2010-09-24  Petr Baudis <pasky@suse.cz>
71222         * debug/stack_chk_fail_local.c: Add missing licence exception.
71223         * debug/warning-nop.c: Likewise.
71225 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
71227         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
71228         implementing getdents64 using getdents syscall, set d_type if
71229         __ASSUME_GETDENTS32_D_TYPE.
71231 2010-09-16  Andreas Schwab  <schwab@redhat.com>
71233         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
71234         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
71236 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
71238         [BZ #12037]
71239         * posix/unistd.h: Undo change of feature selection for ftruncate from
71240         2010-01-11.
71242 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
71244         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
71245         detection.
71247 2010-09-20  Andreas Schwab  <schwab@redhat.com>
71249         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
71250         fanotify_mark.
71251         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
71253 2010-09-14  Andreas Schwab  <schwab@redhat.com>
71255         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
71256         variables after CHECK_SP call.
71257         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
71259 2010-09-13  Andreas Schwab  <schwab@redhat.com>
71260             Ulrich Drepper  <drepper@redhat.com>
71262         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
71263         re-relocationg ld.so.
71264         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
71265         _dl_init_paths call.
71266         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
71267         here anymore.
71269 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
71271         * resolv/res_init.c (__res_vinit): Count the default server we added.
71273 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
71274             Ulrich Drepper  <drepper@redhat.com>
71276         [BZ #11968]
71277         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
71278         (____longjmp_chk): Use %ebx for saving value across system call.
71279         Add unwind info.
71281 2010-09-06  Andreas Schwab  <schwab@redhat.com>
71283         * manual/Makefile: Don't mix pattern rules with normal rules.
71285 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
71287         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
71288         operation.
71289         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
71290         * libio/iofopncook.c (_IO_cookie_init): Likewise.
71291         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
71292         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
71293         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
71294         Likewise.
71296 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
71298         [BZ #11979]
71299         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
71300         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
71302 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
71304         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
71305         * sysdeps/x86_64/addmul_1.S: Likewise.
71306         * sysdeps/x86_64/lshift.S: Likewise.
71307         * sysdeps/x86_64/mul_1.S: Likewise.
71308         * sysdeps/x86_64/rshift.S: Likewise.
71309         * sysdeps/x86_64/sub_n.S: Likewise.
71310         * sysdeps/x86_64/submul_1.S: Likewise.
71312 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71314         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
71315         Define __sched_param instead of SCHED_* and sched_param when
71316         <bits/sched.h> is included with __need_schedparam defined.
71317         * bits/sched.h [__need_schedparam]
71318         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
71319         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
71320         (__defined_schedparam): Define to 1.
71321         (__sched_param): New structure, identical to sched_param.
71322         (__need_schedparam): Undefine.
71324 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
71326         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
71327         (epoll_create1): Declare.
71329         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
71331 2010-08-31  Andreas Schwab  <schwab@redhat.com>
71333         [BZ #7066]
71334         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
71335         shifting retval into place.
71337 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
71339         * nis/rpcsvc/nis.h: Update copyright notice.
71340         * nis/rpcsvc/nis.x: Likewise.
71341         * nis/rpcsvc/nis_callback.h: Likewise.
71342         * nis/rpcsvc/nis_callback.x: Likewise.
71343         * nis/rpcsvc/nis_object.x: Likewise.
71344         * nis/rpcsvc/nis_tags.h: Likewise.
71345         * nis/rpcsvc/yp.h: Likewise.
71346         * nis/rpcsvc/yp.x: Likewise.
71347         * nis/rpcsvc/ypupd.h: Likewise.
71348         * nis/yp_xdr.c: Likewise.
71349         * nis/ypupdate_xdr.c: Likewise.
71351         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
71352         mainly the body of pmap_getport.  Add parameters to specify timeouts.
71353         (pmap_getport): Use __libc_rpc_getport.
71354         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
71355         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
71356         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
71358 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
71360         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
71361         fanotify_mark.
71363 2010-08-27  Roland McGrath  <roland@redhat.com>
71365         * sysdeps/i386/i686/multiarch/Makefile
71366         (CFLAGS-varshift.c): New variable.
71368 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
71370         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
71371         * sysdeps/i386/i686/multiarch/varshift.c: New file.
71373         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
71375         * sysdeps/x86_64/strlen.S: Minimal code improvement.
71377 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
71379         * sysdeps/x86_64/strlen.S: Unroll the loop.
71380         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
71381         strlen-sse2 strlen-sse2-bsf.
71382         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
71383         __strlen_no_bsf if bit_Slow_BSF is set.
71384         (__strlen_sse42): Removed.
71385         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
71386         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
71388 2010-08-25  Roland McGrath  <roland@redhat.com>
71390         * sysdeps/x86_64/multiarch/varshift.S: File removed.
71391         * sysdeps/x86_64/multiarch/varshift.c: New file.
71392         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
71393         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
71394         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
71395         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
71397 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
71399         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
71400         strlen-sse2 strlen-sse2-bsf.
71401         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
71402         __strlen_sse2_bsf if bit_Slow_BSF is unset.
71403         (__strlen_sse2): Removed.
71404         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
71405         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
71406         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
71407         bit_Slow_BSF for Atom.
71408         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
71409         (index_Slow_BSF): Define.
71410         (HAS_SLOW_BSF): Define.
71412 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
71414         [BZ #10851]
71415         * resolv/res_init.c (__res_vinit): When no server address at all
71416         is given default to loopback.
71418 2010-08-24  Roland McGrath  <roland@redhat.com>
71420         * configure.in: Remove config-name.h generation.
71421         * configure: Regenerated.
71422         * config-name.in: File removed.
71423         * scripts/config-uname.sh: New file.
71424         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
71425         ($(objdir)config-name.h): New target.
71427         * sunrpc/rpc_parse.h: Avoid nested comment.
71429 2010-08-24  Richard Henderson  <rth@redhat.com>
71430             Ulrich Drepper  <drepper@redhat.com>
71431             H.J. Lu  <hongjiu.lu@intel.com>
71433         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
71434         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
71435         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
71436         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
71437         _mm_alignr_epi8 with _mm_loadu_si128.
71438         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
71439         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
71440         (__m128i_shift_right): Removed.
71441         * sysdeps/i386/i686/multiarch/varshift.h: New file.
71442         * sysdeps/i386/i686/multiarch/varshift.S: New file.
71443         * sysdeps/x86_64/multiarch/varshift.h: New file.
71444         * sysdeps/x86_64/multiarch/varshift.S: New file.
71446 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
71448         * configure.in: Move assembler checks to before sysdep dir checking.
71450 2010-08-20  Petr Baudis  <pasky@suse.cz>
71452         * LICENSES: Sync the sunrpc license.
71454 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
71456         * sunrpc/auth_des.c: Update copyright notice once again.
71457         * sunrpc/auth_none.c: Likewise.
71458         * sunrpc/auth_unix.c: Likewise.
71459         * sunrpc/authdes_prot.c: Likewise.
71460         * sunrpc/authuxprot.c: Likewise.
71461         * sunrpc/bindrsvprt.c: Likewise.
71462         * sunrpc/clnt_gen.c: Likewise.
71463         * sunrpc/clnt_perr.c: Likewise.
71464         * sunrpc/clnt_raw.c: Likewise.
71465         * sunrpc/clnt_simp.c: Likewise.
71466         * sunrpc/clnt_tcp.c: Likewise.
71467         * sunrpc/clnt_udp.c: Likewise.
71468         * sunrpc/clnt_unix.c: Likewise.
71469         * sunrpc/des_crypt.c: Likewise.
71470         * sunrpc/des_soft.c: Likewise.
71471         * sunrpc/get_myaddr.c: Likewise.
71472         * sunrpc/getrpcport.c: Likewise.
71473         * sunrpc/key_call.c: Likewise.
71474         * sunrpc/key_prot.c: Likewise.
71475         * sunrpc/openchild.c: Likewise.
71476         * sunrpc/pm_getmaps.c: Likewise.
71477         * sunrpc/pm_getport.c: Likewise.
71478         * sunrpc/pmap_clnt.c: Likewise.
71479         * sunrpc/pmap_prot.c: Likewise.
71480         * sunrpc/pmap_prot2.c: Likewise.
71481         * sunrpc/pmap_rmt.c: Likewise.
71482         * sunrpc/rpc/auth.h: Likewise.
71483         * sunrpc/rpc/auth_unix.h: Likewise.
71484         * sunrpc/rpc/clnt.h: Likewise.
71485         * sunrpc/rpc/des_crypt.h: Likewise.
71486         * sunrpc/rpc/key_prot.h: Likewise.
71487         * sunrpc/rpc/netdb.h: Likewise.
71488         * sunrpc/rpc/pmap_clnt.h: Likewise.
71489         * sunrpc/rpc/pmap_prot.h: Likewise.
71490         * sunrpc/rpc/pmap_rmt.h: Likewise.
71491         * sunrpc/rpc/rpc.h: Likewise.
71492         * sunrpc/rpc/rpc_des.h: Likewise.
71493         * sunrpc/rpc/rpc_msg.h: Likewise.
71494         * sunrpc/rpc/svc.h: Likewise.
71495         * sunrpc/rpc/svc_auth.h: Likewise.
71496         * sunrpc/rpc/types.h: Likewise.
71497         * sunrpc/rpc/xdr.h: Likewise.
71498         * sunrpc/rpc_clntout.c: Likewise.
71499         * sunrpc/rpc_cmsg.c: Likewise.
71500         * sunrpc/rpc_common.c: Likewise.
71501         * sunrpc/rpc_cout.c: Likewise.
71502         * sunrpc/rpc_dtable.c: Likewise.
71503         * sunrpc/rpc_hout.c: Likewise.
71504         * sunrpc/rpc_main.c: Likewise.
71505         * sunrpc/rpc_parse.c: Likewise.
71506         * sunrpc/rpc_parse.h: Likewise.
71507         * sunrpc/rpc_prot.c: Likewise.
71508         * sunrpc/rpc_sample.c: Likewise.
71509         * sunrpc/rpc_scan.c: Likewise.
71510         * sunrpc/rpc_scan.h: Likewise.
71511         * sunrpc/rpc_svcout.c: Likewise.
71512         * sunrpc/rpc_tblout.c: Likewise.
71513         * sunrpc/rpc_util.c: Likewise.
71514         * sunrpc/rpc_util.h: Likewise.
71515         * sunrpc/rpcinfo.c: Likewise.
71516         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
71517         * sunrpc/rpcsvc/key_prot.x: Likewise.
71518         * sunrpc/rpcsvc/klm_prot.x: Likewise.
71519         * sunrpc/rpcsvc/mount.x: Likewise.
71520         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
71521         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
71522         * sunrpc/rpcsvc/rex.x: Likewise.
71523         * sunrpc/rpcsvc/rstat.x: Likewise.
71524         * sunrpc/rpcsvc/rusers.x: Likewise.
71525         * sunrpc/rpcsvc/sm_inter.x: Likewise.
71526         * sunrpc/rpcsvc/spray.x: Likewise.
71527         * sunrpc/rpcsvc/yppasswd.x: Likewise.
71528         * sunrpc/rtime.c: Likewise.
71529         * sunrpc/svc.c: Likewise.
71530         * sunrpc/svc_auth.c: Likewise.
71531         * sunrpc/svc_authux.c: Likewise.
71532         * sunrpc/svc_raw.c: Likewise.
71533         * sunrpc/svc_run.c: Likewise.
71534         * sunrpc/svc_simple.c: Likewise.
71535         * sunrpc/svc_tcp.c: Likewise.
71536         * sunrpc/svc_udp.c: Likewise.
71537         * sunrpc/svc_unix.c: Likewise.
71538         * sunrpc/svcauth_des.c: Likewise.
71539         * sunrpc/xcrypt.c: Likewise.
71540         * sunrpc/xdr.c: Likewise.
71541         * sunrpc/xdr_array.c: Likewise.
71542         * sunrpc/xdr_float.c: Likewise.
71543         * sunrpc/xdr_mem.c: Likewise.
71544         * sunrpc/xdr_rec.c: Likewise.
71545         * sunrpc/xdr_ref.c: Likewise.
71546         * sunrpc/xdr_sizeof.c: Likewise.
71547         * sunrpc/xdr_stdio.c: Likewise.
71549         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
71550         handling.
71552 2010-08-19  Andreas Schwab  <schwab@redhat.com>
71554         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
71556 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
71558         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
71559         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
71560         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
71561         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
71562         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
71563         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
71564         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
71565         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
71566         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
71567         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
71568         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
71569         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
71570         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
71571         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
71573 2010-07-26  Anton Blanchard  <anton@samba.org>
71575         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
71576         * malloc/arena.c (heap_trim): Likewise.
71578 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
71580         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
71581         here.  Not...
71582         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
71583         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
71585 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
71587         * sysdeps/i386/elf/Makefile: New file.
71589 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
71591         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
71592         from fanotify_init.
71593         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
71594         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
71596 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
71598         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
71599         of strncasecmp_l.
71600         * sysdeps/multiarch/strcmp.S: Likewise.
71602 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
71604         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
71605         strncase_l-nonascii.
71606         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
71607         Add strncase_l-ssse3.
71608         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
71609         * sysdeps/x86_64/strcmp.S: Likewise.
71610         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
71611         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
71612         * sysdeps/x86_64/strncase.S: New file.
71613         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
71614         * sysdeps/x86_64/strncase_l.S: New file.
71615         * string/Makefile (strop-tests): Add strncasecmp.
71616         * string/test-strncasecmp.c: New file.
71618         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
71619         warning.
71621         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
71622         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
71624 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
71626         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
71628 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
71630         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
71631         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
71632         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
71634 2010-05-01  Alan Modra  <amodra@gmail.com>
71636         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
71637         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
71638         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
71639         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
71640         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
71641         tidying.  Don't tail-call __sigjmp_save for static lib.
71642         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
71643         save location.
71644         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
71645         (CALL_MCOUNT): Add eh info, and nop after bl.
71646         (TAIL_CALL_SYSCALL_ERROR): New macro.
71647         (PSEUDO_RET): Use it.
71648         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
71649         Correct save location of integer regs and cr.
71650         (_dl_profile_resolve): Correct cr save location.  Delete nops
71651         after bl when SHARED.  Reduce cfi size a little by better
71652         placement of cfi directives.
71653         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
71654         make a stack frame.  Instead use parm save area as a temp.
71655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
71656         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
71657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
71658         Don't make a stack frame for parent, use parm save area.
71659         Increase child stack frame to 112 bytes.  Don't save unused reg,
71660         and adjust reg usage.  Set up cfi on error recovery and
71661         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
71662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
71663         (__makecontext): Add dummy nop after jump to exit.
71664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
71665         Use correct parm save area and cr save, reduce stack frame.
71666         Correct cfi for possible PSEUDO_RET frame setup.
71667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
71668         Branch to local label emitted by PSEUDO_RET rather than
71669         __syscall_error.
71671 2010-08-12  Andreas Schwab  <schwab@redhat.com>
71673         [BZ #11904]
71674         * locale/programs/locale.c (print_assignment): New function.
71675         (show_locale_vars): Use it.
71677 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
71679         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
71680         field.
71681         (struct statfs64): Likewise.
71682         (_STATFS_F_FLAGS): Define.
71683         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
71684         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
71685         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
71686         (ST_VALID): Define locally.
71687         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
71688         __statvfs_getflags, use the provided value.
71689         * sysdeps/unix/sysv/linux/kernel-features.h: Define
71690         __ASSUME_STATFS_F_FLAGS.
71692         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
71694         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
71695         Add sys/fanotify.h.
71696         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
71697         fanotify_mask for GLIBC_2.13.
71698         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
71699         fanotify_init and fanotify_mark.
71700         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
71701         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
71703         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
71704         Add prlimit.
71705         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
71706         prlimit64 for GLIBC_2.13.
71707         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
71708         prlimit64.
71709         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
71710         syscall.
71711         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
71712         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
71713         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
71714         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
71715         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
71716         add prlimit alias.
71717         * sysdeps/unix/sysv/linux/prlimit.c: New file.
71719         [BZ #11903]
71720         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
71721         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
71723         * nss/Makefile: Add rules to build and run tst-nss-test1.
71724         * shlib-versions: Add entry for libnss_test1.
71725         * nss/nss_test1.c: New file.
71726         * nss/tst-nss-test1.c: New file.
71728         * nss/nsswitch.c (__nss_database_custom): Define new variable.
71729         (__nss_configure_lookup): Set appropriate entry in
71730         __nss_configure_lookup to true.
71731         * nss/nsswitch.h: Define enum with indeces of databases in
71732         databases and __nss_database_custom arrays.  Declare
71733         __nss_database_custom.
71734         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
71735         to avoid using nscd when custom rules are installed.
71736         * nss/getXXbyYY_r.c: Likewise.
71737         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
71739         * nss/nss_files/files-parse.c: Whitespace fixes.
71741 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
71743         [BZ #11883]
71744         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
71745         * posix/fnmatch_loop.c: Likewise.
71747 2010-07-17  Andi Kleen  <ak@linux.intel.com>
71749         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
71750         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
71751         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
71752         * Versions.def [GLIBC_2.13]: Add.
71754 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
71756         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
71757         Also fail if tpwd after pwuid call is NULL.
71759 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71761         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
71762         when converting to ms.
71764 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71766         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
71767         EOPNOTSUPP errors with ENOTTY.
71768         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
71769         EOPNOTSUPP errors with ENOTTY.
71771 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
71773         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
71774         Add strcasecmp_l-ssse3.
71775         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
71776         strcasecmp.
71777         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
71778         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
71779         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
71781 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
71783         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
71785         * string/Makefile (strop-tests): Add strcasecmp.
71786         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
71787         strcasecmp_l-nonascii.
71788         (gen-as-const-headers): Add locale-defines.sym.
71789         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
71790         * sysdeps/x86_64/strcasecmp.S: New file.
71791         * sysdeps/x86_64/strcasecmp_l.S: New file.
71792         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
71793         * sysdeps/x86_64/locale-defines.sym: New file.
71794         * string/test-strcasecmp.c: New file.
71796         * string/test-strcasestr.c: Test both ends of the range of characters.
71797         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
71799 2010-07-29  Roland McGrath  <roland@redhat.com>
71801         [BZ #11856]
71802         * manual/locale.texi (Yes-or-No Questions): Fix example code.
71804 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
71806         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
71807         for ld.so.
71809 2010-07-27  Andreas Schwab  <schwab@redhat.com>
71811         * manual/memory.texi (Malloc Tunable Parameters): Document
71812         M_PERTURB.
71814 2010-07-26  Roland McGrath  <roland@redhat.com>
71816         [BZ #11840]
71817         * configure.in (-fgnu89-inline check): Set and substitute
71818         gnu89_inline, not libc_cv_gnu89_inline.
71819         * configure: Regenerated.
71820         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
71822 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
71824         * string/test-strnlen.c: New file.
71825         * string/Makefile (strop-tests): Add strnlen.
71826         * string/tester.c (test_strnlen): Add a few more test cases.
71827         * string/tst-strlen.c: Better error reporting.
71829         * sysdeps/x86_64/strnlen.S: New file.
71831 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
71833         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
71834         lower-latency instructions.
71836 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
71838         * string/test-strcasestr.c: New file.
71839         * string/test-strstr.c: New file.
71840         * string/Makefile (strop-tests): Add strstr and strcasestr.
71841         * string/str-two-way.h: Don't undefine MAX.
71842         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
71844 2010-07-21  Andreas Schwab  <schwab@redhat.com>
71846         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
71847         strcasestr-nonascii.
71848         (CFLAGS-strcasestr-nonascii.c): Define.
71849         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
71850         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
71851         Remove unused attribute.
71853 2010-07-20  Roland McGrath  <roland@redhat.com>
71855         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
71856         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
71857         ld.so.cache was broken.  With it, there is no way to disable dsocaps
71858         like LD_HWCAP_MASK can disable hwcaps.
71860 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
71862         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
71864 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
71866         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
71867         call in strcasestr.
71868         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
71869         __strcasestr_sse42_nonascii.
71870         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
71871         strcasestr-nonascii.c.
71872         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
71874 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
71876         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
71877         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
71878         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
71879         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
71881 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
71883         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
71884         fcntl.
71886 2010-07-06  Andreas Schwab  <schwab@redhat.com>
71888         [BZ #11577]
71889         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
71890         dl_signal_cerror.
71892 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
71894         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
71895         _PC_PIPE_BUF using F_GETPIPE_SZ.
71897 2010-07-05  Roland McGrath  <roland@redhat.com>
71899         * manual/arith.texi (Rounding Functions): Fix rint description
71900         implicit in round description.
71902 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
71904         * elf/Makefile: Fix linking for a few tests to make recent linker
71905         happy.
71907 2010-06-30  Andreas Schwab  <schwab@redhat.com>
71909         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
71910         $(common-objpfx)libc_nonshared.a.
71912 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
71914         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
71915         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
71916         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
71917         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
71918         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
71919         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
71920         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
71921         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
71922         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
71923         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
71924         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
71925         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
71926         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
71927         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
71928         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
71929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
71930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
71931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
71932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
71933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
71934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
71935         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
71936         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
71937         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
71938         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
71939         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
71940         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
71941         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
71942         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
71943         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
71944         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
71945         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
71946         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
71947         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
71948         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
71949         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
71950         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
71951         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
71952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
71953         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
71954         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
71955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
71956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
71957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
71958         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
71959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
71960         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
71961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
71963 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
71965         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
71966         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
71967         * string/memmove.c (memmove): Renamed to ...
71968         (MEMMOVE): ...this.  Default to memmove.
71969         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
71970         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
71971         (END_CHK): Define.
71972         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
71973         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
71974         mempcpy-ssse3-back memmove-ssse3-back.
71975         * sysdeps/x86_64/multiarch/bcopy.S: New file .
71976         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
71977         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
71978         * sysdeps/x86_64/multiarch/memcpy.S: New file.
71979         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
71980         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
71981         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
71982         * sysdeps/x86_64/multiarch/memmove.c: New file.
71983         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
71984         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
71985         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
71986         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
71987         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
71988         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
71989         Define.
71990         (index_Fast_Copy_Backward): Define.
71991         (HAS_ARCH_FEATURE): Define.
71992         (HAS_FAST_REP_STRING): Define.
71993         (HAS_FAST_COPY_BACKWARD): Define.
71995 2010-06-21  Andreas Schwab  <schwab@redhat.com>
71997         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
71998         Restore proper fallback handling.
72000 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
72002         [BZ #11701]
72003         * posix/group_member.c (__group_member): Correct checking loop.
72005         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
72006         OOM in getpwuid_r correctly.  Return error number when the caller
72007         should return, otherwise -1.
72008         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
72009         call returning > 0 value.
72010         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
72012 2010-06-07  Andreas Schwab  <schwab@redhat.com>
72014         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
72015         libc_nonshared.a from targets in modules-names.
72017 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
72019         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
72020         requires it.
72022 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
72024         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
72025         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
72026         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
72027         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
72029 2010-06-02  Andreas Schwab  <schwab@redhat.com>
72031         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
72033 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
72035         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
72036         and F_GETPIPE_SZ.
72037         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
72038         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
72039         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
72040         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
72041         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
72042         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
72044 2010-06-14  Roland McGrath  <roland@redhat.com>
72046         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
72048 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
72050         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
72051         __REDIRECT followed by __THROW.
72052         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
72053         * posix/getopt.h (getopt): Likewise.
72055 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
72057         * hurd/lookup-at.c (__file_name_lookup_at): Accept
72058         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
72059         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
72060         in AT_FLAGS.
72061         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
72062         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
72064 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
72066         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
72068 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
72070         [BZ #11640]
72071         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
72072         Properly check family and model.
72074 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
72076         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
72078 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
72080         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
72082 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
72084         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
72085         symbol reference.
72087 2010-05-19  Andreas Schwab  <schwab@redhat.com>
72089         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
72090         symbol reference.
72092 2010-05-21  Andreas Schwab  <schwab@redhat.com>
72094         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
72095         and internal_recvmmsg.
72096         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
72097         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
72098         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
72099         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
72101         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
72102         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
72103         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
72105 2010-05-20  Andreas Schwab  <schwab@redhat.com>
72107         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
72109 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
72111         POWER7 optimizations.
72112         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
72113         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
72115 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
72117         * version.h: Update for 2.13 development version.
72119 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
72121         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
72122         exceptions.  Return 0.
72124 2010-05-07  Roland McGrath  <roland@redhat.com>
72126         * elf/ldconfig.c (main): Add a const.
72128 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
72130         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
72131         (args_options): Add no-idn option.
72132         (ahosts_keys_int): Add idn_flags to ai_flags.
72133         (parse_option): Handle 'i' option to clear idn_flags.
72135         * malloc/malloc.c (_int_free): Possible race in the most recently
72136         added check.  Only act on the data if no current modification
72137         happened.
72139 See ChangeLog.17 for earlier changes.