Update NEWS with 2.24 template
[glibc.git] / ChangeLog
blob276334210004c7d6ab13a9b4b48f2b8e9eab012f
1 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3         * NEWS: Update with 2.24 template.
5 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
7         [BZ #19678]
8         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
9         Ensure +0.0 is returned when taking the next value below the least
10         positive value.
12 2016-02-19  Florian Weimer  <fweimer@redhat.com>
14         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
15         available.  Do not define NO_THREADS.
16         * malloc/malloc.c: Do not check NO_THREADS.
17         * malloc/arena.c: Likewise.
19 2016-02-19  Florian Weimer  <fweimer@redhat.com>
21         * malloc/malloc.c (__libc_mallinfo): Update comment.
22         (struct malloc_par): Remove max_total_mem member, it was always 0.
23         (int_mallinfo): Store 0 into usmblks (no functional change).
24         * malloc/hooks.c (struct malloc_state): Document that
25         max_total_mem is always 0.
26         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
27         always 0.
28         * manual/memory.texi (Statistics of Malloc): Likewise.
30 2016-02-19  Florian Weimer  <fweimer@redhat.com>
32         * malloc/malloc.c (sysmalloc): Do not update arena_max.
33         * malloc/arena.c (arena_max): Remove.
34         (heap_trim, _int_new_arena): Do not update arena_max.
36 2016-02-19  Florian Weimer  <fweimer@redhat.com>
38         * resolv/res_init.c (res_ninit): Update comment.
40 2016-02-19  Florian Weimer  <fweimer@redhat.com>
42         [BZ #19505]
43         * posix/spawn_int.h: Add headers and include guard.
44         (__spawn_valid_fd): New function.
45         * posix/spawn_faction_addopen.c
46         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
47         * posix/spawn_faction_addclose.c
48         (posix_spawn_file_actions_addclose): Likewise.
49         * posix/spawn_faction_adddup2.c
50         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
51         second file descriptor.
52         * posix/spawn_valid_fd.c: New file.
53         * posix/tst-posix_spawn-fd.c: New file.
54         * posix/Makefile (routines): Add spawn_valid_fd.
55         (tests): Add tst-posix_spawn-fd.
57 2016-02-19  Florian Weimer  <fweimer@redhat.com>
59         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
60         (do_test): Limit the number of arenas, so that we can use fewer
61         outer threads.  Limit timeout to 3 seconds, in preparation for a
62         larger TIMEOUT value.
64 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
66         [BZ #19674]
67         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
68         sign in overflowing and underflowing results when overflow or
69         underflow is detected early.  Include sign in result before rather
70         than after scaling.
72         [BZ #19603]
73         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
74         (__ieee754_remainderl): Adjust sign of integer version of low part
75         when taking absolute value of high part.
76         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
77         * math/libm-test.inc (remainder_test_data): Add another test.
78         (remquo_test_data): Likewise.
80 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
82         [BZ #19602]
83         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
84         equal high parts and both low parts zero specially.
85         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
86         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
87         Add test-fmodl-ldbl-128ibm.
89         [BZ #19595]
90         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
91         common logic for all cases of shifting subnormal results.  Do not
92         insert sign bit in shifted mantissa.  Always pass -1023 as biased
93         exponent to ldbl_insert_mantissa in subnormal case.
95         [BZ #19594]
96         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
97         on high and low parts then adjust result and use
98         ldbl_canonicalize_int if needed.
100         [BZ #19593]
101         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
102         on high part and __floor or __ceil on low part then use
103         ldbl_canonicalize_int if needed.
105         [BZ #19592]
106         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
107         high and low parts then use ldbl_canonicalize_int if needed.
109         [BZ #17899]
110         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
111         New function.
112         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
113         on high and low parts then use ldbl_canonicalize_int if needed.
115 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
117         * configure: Regenerated.
119         * po/libc.pot: Regenerated.
121         * po/be.po: Updated translation.
122         * po/bg.po: Likewise.
123         * po/ca.po: Likewise.
124         * po/cs.po: Likewise.
125         * po/da.po: Likewise.
126         * po/el.po: Likewise.
127         * po/eo.po: Likewise.
128         * po/es.po: Likewise.
129         * po/fi.po: Likewise.
130         * po/fr.po: Likewise.
131         * po/gl.po: Likewise.
132         * po/hr.po: Likewise.
133         * po/hu.po: Likewise.
134         * po/ia.po: Likewise.
135         * po/id.po: Likewise.
136         * po/it.po: Likewise.
137         * po/ja.po: Likewise.
138         * po/lt.po: Likewise.
139         * po/nb.po: Likewise.
140         * po/nl.po: Likewise.
141         * po/pt_BR.po: Likewise.
142         * po/rw.po: Likewise.
143         * po/sk.po: Likewise.
144         * po/sl.po: Likewise.
145         * po/sv.po: Likewise.
146         * po/tr.po: Likewise.
147         * po/zh_CN.po: Likewise.
148         * po/zh_TW.po: Likewise.
150         * version.h (RELEAES): Set to "development".
151         (VERSION): Set to 2.23.90.
153         * version.h (RELEASE): Set to "stable".
154         (VERSION): Set to 2.23.
155         * include/feature.h (__GLIBC_MINOR__): Set to 23.
157         * NEWS: Updated fixed bugs.
159 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
160             Wilco Dijkstra  <wdijkstr@arm.com>
162         [BZ #19462]
163         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
164         (_STRING_INLINE_unaligned): This.
165         * include/string.h: Include <string_private.h>.
166         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
167         _STRING_INLINE_unaligned.
168         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
169         (_STRING_INLINE_unaligned): New.
170         * sysdeps/aarch64/string_private.h: New file.
171         * sysdeps/generic/string_private.h: Likewise.
172         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
173         * sysdeps/s390/string_private.h: Likewise.
174         * sysdeps/x86/string_private.h: Likewise.
175         * sysdeps/m68k/m680x0/m68020/bits/string.h
176         (_STRING_ARCH_unaligned): Renamed to ...
177         (_STRING_INLINE_unaligned): This.
178         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
179         to ...
180         (_STRING_INLINE_unaligned): This.
181         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
182         to ...
183         (_STRING_INLINE_unaligned): This.
184         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
185         to ...
186         (_STRING_INLINE_unaligned): This.
188 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
189             H.J. Lu  <hongjiu.lu@intel.com>
191         [BZ #19590]
192         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
193         relocation.
195 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
197         [BZ #18665]
198         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
199         *herrno_p.
200         (gaih_getanswer): Document functional behviour. Return tryagain
201         if any result is tryagain.
202         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
203         when freed.
204         * resolv/res_send.c: Add copyright text.
205         (__libc_res_nsend): Document that MAXPACKET is expected.
206         (send_vc): Document. Remove buffer reuse.
207         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
208         size of the buffer. Add Dprint for truncated UDP buffer.
210 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
212         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
213         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
214         * INSTALL: Regenerate.
216 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
217             Jonathan Wakely  <jwakely@redhat.com>
218             Carlos O'Donell  <carlos@redhat.com>
220         [BZ 19439]
221         * math/Makefile (tests): Add test-math-isinff.
222         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
223         * math/bits/mathcalls.h [__USE_MISC]: Use
224         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
225         functions not in C++11 and which don't conflict e.g. isinff,
226         isinfl etc.
227         * math/test-math-isinff.cc: New file.
229 2016-02-12  Florian Weimer  <fweimer@redhat.com>
231         * misc/bug18240.c (do_test): Set RLIMIT_AS.
233 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
235         [BZ #19529]
236         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
238 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
240         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
242 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
244         [BZ #19550]
245         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
246         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
247         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
248         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
249         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
250         New syscall entry.
251         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
252         New syscall entry.
253         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
254         syscall entry.
256 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
258         [BZ #18240]
259         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
260         unsigned int wraparound.
262 2016-01-27  Florian Weimer  <fweimer@redhat.com>
264         [BZ #18240]
265         * misc/bug18240.c: New test.
266         * misc/Makefile (tests): Add it.
268 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
269             Joseph Myers  <joseph@codesourcery.com>
271         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
272         load in branch delay slot when less than a word of input left.
274 2016-01-27  Andreas Schwab  <schwab@suse.de>
276         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
277         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
278         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
279         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
281 2016-01-26  David S. Miller  <davem@davemloft.net>
283         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
285 2016-01-25  David S. Miller  <davem@davemloft.net>
287         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
288         __sqrtl_finite.
289         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
290         instead using versioned_symbol.
291         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
292         of entries.
294         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
295         __sqrtl_finite to GLIBC_2.23
297 2016-01-25  Ricchard Henderson  <rth@redhat.com>
299         * sysdeps/alpha/fpu/libm-test-ulps: Update.
301 2016-01-25  Andreas Schwab  <schwab@suse.de>
303         [BZ #17514]
304         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
305         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
306         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
307         * nptl/tst-mutex-errorcheck.c: New file.
309 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
311         [BZ #18560]
312         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
313         (IPCOP_semop): Likewise.
314         (IPCOP_semget): Likewise.
315         (IPCOP_semctl): Likewise.
316         (IPCOP_msgsnd): Likewise.
317         (IPCOP_msgrcv): Likewise.
318         (IPCOP_msgget): Likewise.
319         (IPCOP_msgctl): Likewise.
320         (IPCOP_shmat): Likewise.
321         (IPCOP_shmdt): Likewise.
322         (IPCOP_shmget): Likewise.
323         (IPCOP_shmctl): Likewise.
325 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
327         * string/tst-endian.c: Include <libc-internal.h>.
328         (do_test): Ignore tautological-compare warnings around
329         "htobeXX (beXXtoh (i)) != i" and
330         "htoleXX (leXXtoh (i)) != i" if-statements.
332 2016-01-24  David S. Miller  <davem@davemloft.net>
334         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
335         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
336         alias.
337         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
338         __sqrtl_finite.
340         * sysdeps/sparc/fpu/libm-test-ulps: Update.
342 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
344         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
345         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
346         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
348 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
350         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
351         (thread_func): Use new function to simplify barrier check.
352         (do_test): Use new function to simplify checking barrier exit
353         code, and actually join the child thread.
355 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
357         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
358         semicolon.
359         (__libc_tend): Likewise.
360         (__libc_tabort): Likewise.
362 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
364         * sysdeps/nios2/libm-test-ulps: Update.
365         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
366         (__gtsf2): Likewise.
367         (__unorddf2): Likewise.
368         (__unordsf2): Likewise.
369         (__ledf2): Likewise.
371 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
373         * nis/nis_table.c (__follow_path): Disable diagnostic for
374         uninitialized variable that is a false positive for gcc 4.7.
375         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
377 2016-01-20  Roland McGrath  <roland@hack.frob.com>
379         * sysdeps/nacl/lowlevellock-futex.h
380         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
381         Always evaluate PRIVATE argument.
383 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
385         [BZ #19490]
386         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
387         (pthread_cond_broadcast): Use ENTRY/END
388         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
389         (pthread_cond_signal): Likewise
390         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
391         Likewise
392         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
393         Likewise
394         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
395         Likewise
397 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
399         * sysdeps/ieee754/dbl-64/s_finite.c
400         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
401         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
402         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
403         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
404         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
406         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
407         (__gtsf2): Add as optional for libc.so.
408         (__unordsf2): Likewise.
409         (__signbit): Remove for libc.so.
410         (__signbitl): Likewise.
412 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
414         * iconvdata/bug-iconv11.c (test_ibm93x):
415         Use %zu printf format specifier for size_t argument.
417 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
419         * math/gen-libm-test.pl (parse_ulps): Do not reduce
420         already-recorded ulps.
421         * sysdeps/arm/libm-test-ulps: Regenerated.
422         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
423         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
424         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
426 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
427             Paul Pluzhnikov  <ppluzhnikov@google.com>
429         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
430         assembler not supporting AVX-512.
432 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
434         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
436 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
438         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
439         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
441         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
443         * sysdeps/arm/libm-test-ulps: Regenerated.
445 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
447         [BZ #19451]
448         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
450 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
452         [BZ #19486]
453         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
454         * sysdeps/generic/fix-fp-int-convert-overflow.h
455         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
456         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
457         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
458         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
459         Likewise.
460         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
461         Avoid conversions to long int where inexact exceptions
462         could be raised.
463         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
464         Likewise.
465         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
466         Avoid conversions to long long int where inexact exceptions
467         could be raised.
468         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
469         Likewise.
471 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
473         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
474         * configure: Regenerated.
476 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
478         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
480 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
482         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
483         outside of comment.
485 2016-01-15  Torvald Riegel  <triegel@redhat.com>
487         * nptl/tst-barrier1.c: Add description on first line.
488         * nptl/tst-barrier2.c: Likewise.
489         * nptl/tst-barrier3.c: Likewise.
490         * nptl/tst-barrier4.c: Likewise.
491         * nptl/tst-barrier5.c: Likewise.
493 2016-01-15  Torvald Riegel  <triegel@redhat.com>
495         [BZ #18868]
496         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
498 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
500         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
501         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
502         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
503         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
504         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
505         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
506         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
507         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
508         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
509         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
510         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
512 2016-01-15  Torvald Riegel  <triegel@redhat.com>
514         [BZ #13065]
515         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
516         new implementation.
517         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
518         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
519         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
520         (BARRIER_IN_THRESHOLD): New macro.
521         * nptl/pthread_barrierattr_setpshared.c
522         (pthread_barrierattr_setpshared): Clean up.
523         * nptl/tst-barrier4.c: Correct comment.
524         * nptl/tst-barrier5.c: New file.
525         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
526         (gen-as-const-headers): Remove lowlevelbarrier.sym.
527         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
528         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
529         * nptl/lowlevelbarrier.sym: Remove.
530         * nptl/DESIGN-barrier.txt: Remove.
531         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
532         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
533         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
534         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
535         error.
536         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
537         implementation.
539 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
541         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
542         (do_child): Mask SIGRTMIN while thr is running.
544 2016-01-15  Martin Sebor  <msebor@redhat.com>
546         [BZ #19432]
547         * iconvdata/Makefile: Add bug-iconv11.
548         * iconvdata/bug-iconv11.c: New test.
549         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
550         * iconvdata/ibm933.c: Same.
551         * iconvdata/ibm935.c: Same.
552         * iconvdata/ibm937.c: Same.
553         * iconvdata/ibm939.c: Same.
555 2016-01-15  Martin Sebor  <msebor@redhat.com>
557         [BZ #19443]
558         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
559         [DEBUG] (_ufc_set_bits): Declare used.
560         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
561         [DEBUG] (print_all): Declare used.
562         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
563         operands of the ternary ?: expression to target type.
564         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
565         calling the undeclared abort.
566         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
568 2016-01-15  Martin Sebor  <msebor@redhat.com>
570         [BZ #18755]
571         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
572         warnings.
573         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
574         (__gai_create_helper_thread): Same.
575         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
576         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
577         to suppress -Wmaybe-uninitialized warnings.
579 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
581         [BZ #19465]
582         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
583         inside if.
584         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
585         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
586         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
588 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
590         [BZ #19466]
591         * time/tst-mktime2.c (time_t_max): Removed.
592         (time_t_min): Likewise.
593         (TYPE_SIGNED): New.
594         (TYPE_MINIMUM): Likewise.
595         (TYPE_MAXIMUM): Likewise.
596         (TIME_T_MIN): Likewise.
597         (TIME_T_MAX): Likewise.
598         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
599         and TIME_T_MIN.
600         (do_test): Likewise.
602 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
604         [BZ #19467]
605         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
606         index_Fast_Unaligned_Load flag for Excavator family CPUs.
608 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
610         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
612 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
614         * benchtests/Makefile (PYTHON): Define.
615         (bench-func): Use $(PYTHON) to run python scripts.
616         ($(objpfx)bench-%.c): Likewise.
618 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
620         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
621         leading slash when `file_name' is "/".
623 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
625         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
626         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
627         Likewise.
628         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
629         Likewise.
630         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
631         Likewise.
632         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
633         enum constant and macro.
634         (PTRACE_SETSIGMASK): Likewise.
635         (PTRACE_SECCOMP_GET_FILTER): Likewise.
636         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
637         (PTRACE_GETSIGMASK): Likewise.
638         (PTRACE_SETSIGMASK): Likewise.
639         (PTRACE_SECCOMP_GET_FILTER): Likewise.
640         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
641         Likewise.
642         (PTRACE_SETSIGMASK): Likewise.
643         (PTRACE_SECCOMP_GET_FILTER): Likewise.
644         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
645         (PTRACE_GETSIGMASK): Likewise.
646         (PTRACE_SETSIGMASK): Likewise.
647         (PTRACE_SECCOMP_GET_FILTER): Likewise.
648         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
649         Likewise.
650         (PTRACE_SETSIGMASK): Likewise.
651         (PTRACE_SECCOMP_GET_FILTER): Likewise.
652         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
653         Likewise.
654         (PTRACE_SETSIGMASK): Likewise.
655         (PTRACE_SECCOMP_GET_FILTER): Likewise.
656         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
657         Likewise.
658         (PTRACE_SETSIGMASK): Likewise.
659         (PTRACE_SECCOMP_GET_FILTER): Likewise.
661 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
662             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
664         [BZ #19439]
665         * math/bits/mathcalls.h
666         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
667         prototype.
668         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
670 2016-01-11  Andreas Schwab  <schwab@suse.de>
672         [BZ #19253]
673         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
674         cache when TZDEFRULES was used.
675         * time/tst-tzname.c: New file.
676         * time/Makefile (test): Add tst-tzname.
677         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
678         * timezone/Makefile (test-zones): Add $(posixrules-file).
679         ($(testdata)/$(posixrules-file)): New rule.
681 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
683         Fix doc quoting problems with Texinfo 5
684         Without this change, in the info file output, Texinfo 5 quotes code
685         in text with undirected single quotes 'like this' and generates
686         code examples that with many PDF readers cannot be cut out of PDFs
687         and pasted into code.
688         * manual/libc.texinfo: Configure the libc manual like the GNU
689         Emacs manual, by using @documentencoding and setting
690         txicodequoteundirected and txicodequotebacktick.  This way,
691         Texinfo 5 quotes code in text with directed single quotes ‘like
692         this’ and produces examples that can be cut out of PDFs.  This
693         change causes Texinfo 5 to generate info files that contain UTF-8
694         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
695         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
697 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
699         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
700         __libc_tabort, __libc_tend): New wrappers that enforce compiler
701         barriers to their respective compiler built-ins.
702         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
703         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
704         * sysdeps/powerpc/sysdep.h: Likewise.
705         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
706         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
707         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
709 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
711         * scripts/config.guess: Revert previous shebang change.
712         * scripts/config.sub: Likewise.
713         * scripts/mkinstalldirs: Likewise.
715 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
717         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
718         PPC_FEATURE2_HAS_IEEE128.
719         * sysdeps/powerpc/dl-procinfo.c:
720         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
722 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
724         [BZ #19415]
725         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
726         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
727         (_dl_lookup_address): Rewrite using function resolver trampoline.
728         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
729         two bits in address.
731 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
733         * longlong.h: Change !__SHMEDIA__ to
734         (!defined (__SHMEDIA__) || !__SHMEDIA__).
735         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
737 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
738             Joseph Myers  <joseph@codesourcery.com>
739             Mark Shinwell  <shinwell@codesourcery.com>
740             Andrew Stubbs  <ams@codesourcery.com>
741             Rich Felker <dalias@libc.org>
743         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
745 2016-01-07  Richard Henderson  <rth@redhat.com>
747         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
749 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
751         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
752         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
753         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
754         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
755         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
757 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
758             Joseph Myers  <joseph@codesourcery.com>
760         * timezone/private.h: Update from tzcode 2015g.
761         * timezone/tzfile.h: Likewise.
762         * timezone/tzselect.ksh: Likewise.
763         * timezone/zdump.c: Likewise.
764         * timezone/zic.c: Likewise.
765         * timezone/ialloc.c: Remove file.
766         * timezone/scheck.c: Likewise.
767         * timezone/Makefile (extra-objs): Remove variable.
768         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
769         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
770         -Wno-maybe-uninitialized.
771         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
772         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
773         (CFLAGS-ialloc.c): Remove variable.
774         (CFLAGS-scheck.c): Likewise.
775         * timezone/README: Update list of files from tzcode.
777 2016-01-07  Khem Raj  <raj.khem@gmail.com>
779         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
780         instead of __fxprintf when _LIBC is undefined.
782 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
784         * catgets/test-gencat.sh: Remove space after shebang.
785         * conform/GlibcConform.pm: Likewise.
786         * conform/check-header-lists.sh: Likewise.
787         * conform/conformtest.pl: Likewise.
788         * conform/linknamespace.pl: Likewise.
789         * conform/list-header-symbols.pl: Likewise.
790         * debug/catchsegv.sh: Likewise.
791         * elf/genrtldtbl.awk: Likewise.
792         * elf/tst-pathopt.sh: Likewise.
793         * elf/tst-rtld-load-self.sh: Likewise.
794         * grp/tst_fgetgrent.sh: Likewise.
795         * iconvdata/gen-8bit-gap-1.sh: Likewise.
796         * iconvdata/gen-8bit-gap.sh: Likewise.
797         * iconvdata/gen-8bit.sh: Likewise.
798         * iconvdata/run-iconv-test.sh: Likewise.
799         * intl/tst-gettext.sh: Likewise.
800         * intl/tst-gettext2.sh: Likewise.
801         * intl/tst-gettext4.sh: Likewise.
802         * intl/tst-gettext6.sh: Likewise.
803         * intl/tst-translit.sh: Likewise.
804         * io/ftwtest-sh: Likewise.
805         * libio/test-freopen.sh: Likewise.
806         * locale/gen-translit.pl: Likewise.
807         * malloc/tst-mtrace.sh: Likewise.
808         * manual/check-safety.sh: Likewise.
809         * manual/libc-texinfo.sh: Likewise.
810         * manual/tsort.awk: Likewise.
811         * manual/xtract-typefun.awk: Likewise.
812         * nptl/tst-cancel-wrappers.sh: Likewise.
813         * nptl/tst-tls6.sh: Likewise.
814         * posix/globtest.sh: Likewise.
815         * posix/tst-getconf.sh: Likewise.
816         * posix/wordexp-tst.sh: Likewise.
817         * scripts/check-c++-types.sh: Likewise.
818         * scripts/check-local-headers.sh: Likewise.
819         * scripts/config.guess: Likewise.
820         * scripts/config.sub: Likewise.
821         * scripts/cpp: Likewise.
822         * scripts/cross-test-ssh.sh: Likewise.
823         * scripts/documented.sh: Likewise.
824         * scripts/evaluate-test.sh: Likewise.
825         * scripts/gen-libc-abis: Likewise.
826         * scripts/gen-sorted.awk: Likewise.
827         * scripts/list-fixed-bugs.py: Likewise.
828         * scripts/merge-test-results.sh: Likewise.
829         * scripts/mkinstalldirs: Likewise.
830         * scripts/rellns-sh: Likewise.
831         * scripts/test-installation.pl: Likewise.
832         * scripts/update-copyrights: Likewise.
833         * stdio-common/tst-printf.sh: Likewise.
834         * stdio-common/tst-unbputc.sh: Likewise.
835         * stdlib/tst-fmtmsg.sh: Likewise.
836         * stdlib/tst-setcontext3.sh: Likewise.
837         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
838         * sysdeps/unix/make-syscalls.sh: Likewise.
840 2016-01-06  John David Anglin  <dave.anglin@bell.net>
842         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
843         asm stw with atomic_exchange_rel.  Add explanatory comment.
844         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
845         Likewise.
847 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
849         [BZ #19122]
850         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
851         * sysdeps/generic/dl-unistd.h: New file.
852         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
854 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
856          [BZ #19122]
857          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
858          * sysdeps/generic/dl-mman.h: New file.
859          * sysdeps/mach/hurd/dl-mman.h: Likewise.
861 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
863         * manual/texinfo.tex: Update to version 2016-01-04.21 with
864         trailing whitespace removed.
865         * scripts/config.guess: Update to version 2016-01-01.
866         * scripts/config.sub: Update to version 2016-01-01.
867         * scripts/move-if-change: Update from gnulib.
869 2016-01-04  Anton Blanchard  <anton@samba.org>
871         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
872         for array indices.
873         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
875 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
877         * NEWS: Update copyright dates.
878         * catgets/gencat.c (print_version): Likewise.
879         * csu/version.c (banner): Likewise.
880         * debug/catchsegv.sh: Likewise.
881         * debug/pcprofiledump.c (print_version): Likewise.
882         * debug/xtrace.sh (do_version): Likewise.
883         * elf/ldconfig.c (print_version): Likewise.
884         * elf/ldd.bash.in: Likewise.
885         * elf/pldd.c (print_version): Likewise.
886         * elf/sotruss.sh: Likewise.
887         * elf/sprof.c (print_version): Likewise.
888         * iconv/iconv_prog.c (print_version): Likewise.
889         * iconv/iconvconfig.c (print_version): Likewise.
890         * locale/programs/locale.c (print_version): Likewise.
891         * locale/programs/localedef.c (print_version): Likewise.
892         * login/programs/pt_chown.c (print_version): Likewise.
893         * malloc/memusage.sh (do_version): Likewise.
894         * malloc/memusagestat.c (print_version): Likewise.
895         * malloc/mtrace.pl: Likewise.
896         * manual/libc.texinfo: Likewise.
897         * nptl/version.c (banner): Likewise.
898         * nscd/nscd.c (print_version): Likewise.
899         * nss/getent.c (print_version): Likewise.
900         * nss/makedb.c (print_version): Likewise.
901         * posix/getconf.c (main): Likewise.
902         * scripts/test-installation.pl: Likewise.
903         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
905         * All files with FSF copyright notices: Update copyright dates
906         using scripts/update-copyrights.
907         * intl/plural.c: Regenerated.
908         * locale/programs/charmap-kw.h: Likewise.
909         * locale/programs/locfile-kw.h: Likewise.
911 2016-01-02  Helge Deller  <deller@gmx.de>
913         [BZ #19285]
914         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
915         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
916         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
917         (MADV_xxK_PAGES): Remove.
919 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
921         [BZ #15421]
922         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
923         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
924         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
925         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
927 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
929         [BZ #19408]
930         * sysdeps/unix/sysv/linux/personality.c: New file.
931         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
932         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
933         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
934         (sysdep_routines): Add personality.
935         (tests): Add tst-personality.
936         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
937         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
938         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
939         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
940         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
941         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
942         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
943         Likewise.
944         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
945         Likewise.
946         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
947         Likewise.
948         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
949         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
950         Likewise.
952 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
954         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
955         (PATH_ARM_SYSTYPE): Remove.
956         (PATH_CPUINFO): Likewise.
957         (IO_BASE_FOOTBRIDGE): Likewise.
958         (IO_SHIFT_FOOTBRIDGE): Likewise.
959         (struct platform): Likewise.
960         (init_iosys): Remove compatibility code for 2.4 kernels.
961         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
963 2015-12-29  Florian Weimer  <fweimer@redhat.com>
965         * malloc/tst-malloc-thread-fail.c: New file.
966         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
967         (tst-malloc-thread-fail): Link against libpthread.
969 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
971         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
972         (get_parser): New function.
973         (main): New function.
975 2015-12-29  Rob Wu  <rob@robwu.nl>
977         [BZ #19369]
978         * resolv/res_init.c (__res_vinit): Reset defdname before use.
980 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
982         [BZ #19270]
983         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
985 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
987         [BZ #15421]
988         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
990 2015-12-23  Torvald Riegel  <triegel@redhat.com>
992         [BZ #13690]
993         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
994         after releasing it.
995         (__lll_robust_unlock): Likewise.
996         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
997         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
998         (lll_robust_unlock): Likewise.
999         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
1000         Prevent warnings in callers.
1002 2015-12-23  Florian Weimer  <fweimer@redhat.com>
1004         * malloc/arena.c (list_lock): Update comment.
1006 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
1008         * sysdeps/powerpc/hwcapinfo.c: Export symbol
1009         __parse_hwcap_and_convert_at_platform to libc.a.
1011 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
1013         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
1014         platform and feature support for POWER9.
1015         * sysdeps/powerpc/dl-procinfo.h: Likewise.
1016         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
1017         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
1018         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
1019         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
1020         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
1021         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
1022         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
1024 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1026         Harmonize generic stdio-lock support with nptl
1028         This fixes build when _IO_funlockfile is a macro, fixes build where
1029         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
1030         stack unwind.
1032         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
1033         _IO_release_lock ): Use cleanup attribute on new
1034         _IO_acquire_lock_file variable instead of assuming that
1035         _IO_release_lock will be called.
1036         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
1037         _IO_acquire_lock_needs_exceptions_enabled.
1038         (_IO_acquire_lock_clear_flags2): New macro.
1040 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1042         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
1044 2015-12-21  Florian Weimer  <fweimer@redhat.com>
1046         [BZ #19182]
1047         * malloc/arena.c (list_lock): Document lock ordering requirements.
1048         (free_list_lock): New lock.
1049         (ptmalloc_lock_all): Comment on free_list_lock.
1050         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
1051         (detach_arena): Update comment.  free_list_lock is now needed.
1052         (_int_new_arena): Use free_list_lock around detach_arena call.
1053         Acquire arena lock after list_lock.  Add comment, including FIXME
1054         about incorrect synchronization.
1055         (get_free_list): Switch to free_list_lock.
1056         (reused_arena): Acquire free_list_lock around detach_arena call
1057         and attached threads counter update.  Add two FIXMEs about
1058         incorrect synchronization.
1059         (arena_thread_freeres): Switch to free_list_lock.
1060         * malloc/malloc.c (struct malloc_state): Update comments to
1061         mention free_list_lock.
1063 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
1065         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
1066         Remove functions.
1067         (sloww, sloww1): Accept argument to offset quadrant.
1068         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
1069         quadrant.
1070         (__sin, __cos): Consolidate common code into new functions.
1071         (reduce_sincos_1, do_sincos_1): New functions.
1072         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
1074         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
1075         code to new functions.
1076         (reduce_sincos_2, do_sincos_2): New functions.
1077         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
1079         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
1080         common code for sincos.
1081         (__cos) [!IN_SINCOS]: Likewise.
1082         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
1083         New function.
1084         (__sincos): Use it.
1086 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
1088         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
1089         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
1090         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
1092 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
1094         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
1095         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
1096         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
1097         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
1098         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1099         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
1100         index_Prefer_No_VZEROUPPER): New feature.
1101         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
1102         Prefer_No_VZEROUPPER for Knights Landing.
1104 015-12-18  Torvald Riegel  <triegel@redhat.com>
1106         * math/atest-exp2.c (mp_exp_m1): Remove.
1108 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1110         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
1111         syscalls.
1112         (__SYSCALL0): New macro.
1113         (__SYSCALL1): Likewise.
1114         (__SYSCALL2): Likewise.
1115         (__SYSCALL3): Likewise.
1116         (__SYSCALL4): Likewise.
1117         (__SYSCALL5): Likewise.
1118         (__SYSCALL6): Likewise.
1119         (__SYSCALL_CONCAT_X): Likewise.
1120         (__SYSCALL_CONCAT): Likewise.
1121         (__SYSCALL_DIST): Likewise.
1122         (__SYSCALL_CALL): Likewise.
1124 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
1126         [BZ #19363]
1127         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
1129 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1131         [BZ #19375]
1132         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
1133         negative subnormals.
1135 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
1137         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
1138         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
1139         (INTERNAL_SYSCALL_NCS): Use it.
1140         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
1142 2015-12-16  Florian Weimer  <fweimer@redhat.com>
1144         [BZ #19243]
1145         * malloc/arena.c (get_free_list): Remove assert and adjust
1146         reference count handling.  Add comment about reused_arena
1147         interaction.
1148         (reused_arena): Add comments abount get_free_list interaction.
1149         * malloc/tst-malloc-thread-exit.c: New file.
1150         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
1151         (tst-malloc-thread-exit): Link against libpthread.
1153 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
1155         [BZ #19367]
1156         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
1157         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
1158         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
1159         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
1160         (index_Prefer_MAP_32BIT_EXEC): Likewise.
1162 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
1164         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
1165         Silvermont optimizations for Knights Landing.
1167 2015-12-15  Andreas Schwab  <schwab@suse.de>
1169         [BZ #17197]
1170         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
1171         immediately after emitting SI.
1172         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
1173         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
1174         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
1175         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
1176         * iconvdata/bug-iconv10.c: New file.
1177         * iconvdata/Makefile (tests): Add bug-iconv10.
1178         ($(objpfx)bug-iconv10.out): New rule.
1180 2015-12-15  Florian Weimer  <fweimer@redhat.com>
1182         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
1183         aliasing violation.
1185 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
1187         [BZ #18472]
1188         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
1189         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
1190         conditionals for them.
1191         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
1192         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
1193         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
1194         sys/kdaemon.h.
1195         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
1196         compat-only syscall, obsoleted in glibc 2.23.
1197         (create_module): Likewise.
1198         (get_kernel_syms): Likewise.
1199         (query_module): Likewise.
1200         (uselib): Likewise.
1201         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
1203 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
1205         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
1206         <linux/version.h>.
1207         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
1208         conditional code.
1209         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
1210         and ioshift_name initialization.
1212 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
1214         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
1215         Fix indentation.
1217 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
1219         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
1221 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
1223         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
1225 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
1226             Jakub Wilk  <jwilk@debian.org>
1228         [BZ #19347]
1229         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
1230         to change the group of the device to the tty group.
1232 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
1234         Split large string section; add truncation advice
1235         * manual/examples/strncat.c: Remove.
1236         This example was misleading, as the code would have undefined
1237         behavior if "hello" was longer than SIZE.  Anyway, the manual
1238         shouldn't encourage strncpy+strncat for this sort of thing.
1239         * manual/string.texi (Copying Strings and Arrays): Split into
1240         three sections Copying Strings and Arrays, Concatenating Strings,
1241         and Truncating Strings, as this section was way too long.  All
1242         cross-referenced changed.  Add advice about string-truncation
1243         functions.  Remove misleading strncat example.
1245 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
1247         * manual/nss.texi (NSS Modules Interface): Document
1248         NSS_STATUS_NOTFOUND and SUCCESS.
1250 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
1252         [BZ 18568]
1253         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
1254         201505L, for Unicode 8.
1256 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
1258         * locale/C-translit.h: Regenerate.
1260 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
1262         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
1263         and U+0153.
1265 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
1267         [BZ #19351]
1268         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
1269         expanding log(1+z), compare z rather than its square with epsilon
1270         to determine when to avoid evaluating the expansion.
1272         [BZ #19350]
1273         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
1274         Increase overflow threshold.
1276         [BZ #19349]
1277         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
1278         when small.
1280         * sysdeps/unix/sysv/linux/i386/kernel-features.h
1281         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
1282         New macro.
1283         [__LINUX_KERNEL_VERSION >= 0x040300]
1284         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
1285         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
1286         Likewise.
1287         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
1288         Likewise.
1289         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
1290         Likewise.
1291         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
1292         Likewise.
1293         [__LINUX_KERNEL_VERSION >= 0x040300]
1294         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
1295         [__LINUX_KERNEL_VERSION >= 0x040300]
1296         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
1297         [__LINUX_KERNEL_VERSION >= 0x040300]
1298         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
1299         [__LINUX_KERNEL_VERSION >= 0x040300]
1300         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
1301         [__LINUX_KERNEL_VERSION >= 0x040300]
1302         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
1303         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
1304         Likewise.
1305         [__LINUX_KERNEL_VERSION >= 0x040300]
1306         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
1307         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
1308         Likewise.
1309         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
1310         Likewise.
1311         [__LINUX_KERNEL_VERSION >= 0x040300]
1312         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
1313         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
1314         Likewise.
1315         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
1316         Likewise.
1317         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1318         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
1319         Likewise.
1320         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
1321         Likewise.
1322         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
1323         Likewise.
1324         [__LINUX_KERNEL_VERSION >= 0x040300]
1325         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
1326         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
1327         Likewise.
1328         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
1329         Likewise.
1330         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
1331         Likewise.
1332         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
1333         Likewise.
1334         [__LINUX_KERNEL_VERSION >= 0x040300]
1335         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
1336         [__LINUX_KERNEL_VERSION >= 0x040300]
1337         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
1338         [__LINUX_KERNEL_VERSION >= 0x040300]
1339         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
1340         [__LINUX_KERNEL_VERSION >= 0x040300]
1341         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
1342         [__LINUX_KERNEL_VERSION >= 0x040300]
1343         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
1344         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
1345         Likewise.
1346         [__LINUX_KERNEL_VERSION >= 0x040300]
1347         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
1348         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
1349         Likewise.
1350         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
1351         Likewise.
1352         [__LINUX_KERNEL_VERSION >= 0x040300]
1353         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
1354         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
1355         Likewise.
1356         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
1357         Likewise.
1358         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1359         (__ASSUME_SOCKET_SYSCALL): Likewise.
1360         (__ASSUME_BIND_SYSCALL): Likewise.
1361         (__ASSUME_CONNECT_SYSCALL): Likewise.
1362         (__ASSUME_LISTEN_SYSCALL): Likewise.
1363         (__ASSUME_ACCEPT_SYSCALL): Likewise.
1364         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
1365         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
1366         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
1367         (__ASSUME_SEND_SYSCALL): Likewise.
1368         (__ASSUME_SENDTO_SYSCALL): Likewise.
1369         (__ASSUME_RECV_SYSCALL): Likewise.
1370         (__ASSUME_RECVFROM_SYSCALL): Likewise.
1371         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
1372         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
1373         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
1374         (__ASSUME_SENDMSG_SYSCALL): Likewise.
1375         (__ASSUME_RECVMSG_SYSCALL): Likewise.
1376         * sysdeps/unix/sysv/linux/sh/kernel-features.h
1377         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
1378         Likewise.
1379         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
1380         Likewise.
1381         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
1382         Likewise.
1383         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
1384         Likewise.
1385         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
1386         Likewise.
1387         [__LINUX_KERNEL_VERSION >= 0x020625]
1388         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
1389         [__LINUX_KERNEL_VERSION >= 0x020625]
1390         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
1391         [__LINUX_KERNEL_VERSION >= 0x020625]
1392         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
1393         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
1394         Likewise.
1395         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
1396         Likewise.
1397         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
1398         Likewise.
1399         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
1400         Likewise.
1401         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
1402         Likewise.
1403         [__LINUX_KERNEL_VERSION >= 0x020625]
1404         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
1405         [__LINUX_KERNEL_VERSION >= 0x020625]
1406         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
1407         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
1408         Likewise.
1409         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
1410         Likewise.
1412 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
1414         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
1415         record the current if the current ABI and CPU support the FP64
1416         extension.
1417         (has-modd-spreg): Define to record the current if the current ABI and
1418         CPU support 32-bit floating point values in odd FPU registers.
1419         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
1420         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
1421         $(has-modd-spreg) equals yes.
1422         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
1423         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
1424         $(has-modd-spreg) equal yes.
1426 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
1428         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
1429         basename.
1431 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
1433         * benchtests/Makefile (bench-math): Move ffs and ffsll...
1434         (bench-string): ... here.
1435         (bench): Add bench-string.
1436         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
1437         to *-benchset to reflect what they are.
1438         (benchset): Adjust.
1440         * benchtests/sincos-inputs: Add inputs from sin-inputs and
1441         cos-inputs.
1443 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
1445         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
1446         __attribute__ ((__simd__)) for vector math function declarations.
1448 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
1450         Fix typo in strncat, wcsncat manual entries
1451         * manual/string.texi (Copying and Concatenation): Fix typos in
1452         sample implementations of strncat and wcsncat, by having them use
1453         the old value of the destination length, not the new one.
1455 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
1457         [BZ #16961]
1458         [BZ #16962]
1459         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
1460         string on the stack for strtod.
1461         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
1462         a string on the stack for strtof.
1463         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
1464         constructing a string on the stack for strtold.
1465         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
1466         __strtold_nan to GLIBC_PRIVATE.
1467         * math/test-nan-overflow.c: New file.
1468         * math/test-nan-payload.c: Likewise.
1469         * math/Makefile (tests): Add test-nan-overflow and
1470         test-nan-payload.
1472 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
1474         Consistency about byte vs character in string.texi
1475         * manual/string.texi (String and Array Utilities):
1476         Distinguish more carefully among bytes, multibyte characters,
1477         and wide characters.  Use "byte" when talking about C 'char',
1478         to distinguish it more clearly from multibyte characters.
1479         Say "wide character" or "multibyte character" instead of
1480         "character", when a wide or multibyte character is intended.
1481         Similarly for "multibyte string" versus "string".
1482         Define these terms more carefully.
1484 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
1486         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
1487         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
1488         Likewise.
1489         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
1490         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
1491         * sysdeps/sh/math_private.h: New file.
1492         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
1493         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
1494         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
1495         long double function name.
1496         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
1497         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
1498         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
1499         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
1500         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
1501         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
1502         Remove __finitel, __isinfl, and __isnanl.
1503         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
1504         Likewise.
1505         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
1506         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1507         Remove __finitel.
1508         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1509         Likewise.
1510         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1512 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
1514         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
1515         installed libmvec_nonshared.a.
1517 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
1519         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
1520         (sysdep_routines): Likewise.
1521         (sysdep-rtld-routines): Likewise.
1522         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
1523         [$(subdir) = nptl](tests-static): test-get_hwcap-static
1524         * sysdeps/powerpc/Versions: Added new
1525         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
1526         * sysdeps/powerpc/hwcapinfo.c: New file.
1527         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
1528         and parse hwcap, hwcap2 and platform number information.
1529         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
1530         to store HWCAP+HWCAP2 and platform number.
1531         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
1532         for HWCAP+HWCAP2 and platform number in the TCB.
1533         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
1534         the HWCAP, HWCAP2 and platform number in the TCB.
1535         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
1536         (TLS_INIT_TP): Included calls to add the hwcap and
1537         at_platform values in the TCB in TP initialization.
1538         (TLS_DEFINE_INIT_TP): Likewise.
1539         (THREAD_GET_HWCAP): New macro.
1540         (THREAD_SET_HWCAP): Likewise.
1541         (THREAD_GET_AT_PLATFORM): Likewise.
1542         (THREAD_SET_AT_PLATFORM): Likewise.
1543         * sysdeps/powerpc/powerpc32/dl-machine.h:
1544         (dl_platform_init): New function that calls
1545         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
1546         powerpc32.
1547         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
1548         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
1549         this functionality, static linking case.
1550         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
1551         linking case.
1552         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
1553         __parse_hwcap_and_convert_at_platform for the static linking case.
1554         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
1555         Included the new __parse_hwcap_and_convert_at_platform symbol in the
1556         ABI list for GLIBC 2.23.
1557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
1558         Likewise.
1559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
1560         Likewise.
1562 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
1564         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
1565         * configure: Regenerate.
1566         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
1567         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
1569 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
1571         * iconvdata/ibm930.c: Add comment explaining encoding uses.
1572         * iconvdata/ibm933.c: Likewise.
1573         * iconvdata/ibm935.c: Likewise.
1574         * iconvdata/ibm937.c: Likewise.
1575         * iconvdata/ibm939.c: Likewise.
1577 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1579         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
1580         pthread_join.
1581         * nptl/tst-cancel21.c (tf): Likewise.
1583 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
1585         [BZ #19313]
1586         * bits/typesizes.h (__CPU_MASK_TYPE): New.
1587         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
1588         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
1589         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
1590         Likewise.
1591         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
1592         Likewise.
1593         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
1594         Likewise.
1595         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
1596         Likewise.
1597         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
1598         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
1599         unsigned long int with __CPU_MASK_TYPE.
1601 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1603         * sysdeps/aarch64/libm-test-ulps: Regenerated.
1605 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
1607         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
1608         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
1609         t512.x.
1610         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
1612 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
1614         [BZ #19214]
1615         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
1616         argument to return extended model.  Update family and model
1617         with extended family and model when family == 0x0f.
1618         (init_cpu_features): Updated.
1620 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1622         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
1623         signed off_t, so 32bit bigger than 2GiB values are fine actually.
1625         * sysdeps/mach/hurd/mmap64.c: New file.
1627 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
1629         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
1630         rights for its main user thread in NEWTASK.
1632 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
1634         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
1635         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
1637 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
1639         [BZ #14259]
1640         * Makeconfig: Rename localedir to complocaledir.
1641         Rename inst_localedir to inst_complocaledir.
1642         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
1643         * config.make.in: Use complocaledir and libc_cv_complocaledir.
1644         * configure.ac: Use libc_cv_complocaledir.
1645         * configure: Regenerate.
1646         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
1647         -DCOMPLOCALEDIR.
1648         * locale/findlocale.c: Use COMPLOCALEDIR.
1649         * locale/loadarchive.c: Likewise.
1650         * locale/programs/locale.c: Likewise.
1651         * locale/programs/localedef.c: Likewise.
1652         * locale/programs/locarchive.c: Likewise.
1653         * localedata/Makefile: Use inst_complocaledir.
1654         * sysdeps/gnu/configure: Regenerate.
1655         * sysdeps/hppa/configure: Regenerate.
1656         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
1657         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
1658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
1659         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
1660         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
1661         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
1662         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
1664 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
1666         [BZ #19058]
1667         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
1668         AS_NEEDED.
1669         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
1670         workaround.
1671         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
1672         libmvec-static-only-routines): Added new file.
1673         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
1675 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1677         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
1678         of interrupted RPC instead of restoring it.
1680         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
1681         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
1682         libc_hidden_def.
1683         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
1684         into initialized data instead of common. Define rtld_hidden_data_def.
1685         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
1686         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
1687         libc_hidden_def.
1688         (if_freenameindex): Add libc_hidden_weak.
1689         (if_nameindex): Add libc_hidden_weak.
1690         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
1691         __open64.
1692         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
1693         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
1694         * sysdeps/mach/nanosleep.c: Include <time.h>
1695         (__nanosleep): Rename to __libc_nanosleep.
1696         (__nanosleep): Add weak_alias.
1697         (nanosleep): Update alias.
1699 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
1701         * stdlib/strtod_nan.c: New file.
1702         * stdlib/strtod_nan_double.h: Likewise.
1703         * stdlib/strtod_nan_float.h: Likewise.
1704         * stdlib/strtod_nan_main.c: Likewise.
1705         * stdlib/strtod_nan_narrow.h: Likewise.
1706         * stdlib/strtod_nan_wide.h: Likewise.
1707         * stdlib/strtof_nan.c: Likewise.
1708         * stdlib/strtold_nan.c: Likewise.
1709         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
1710         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
1711         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
1712         * wcsmbs/wcstod_nan.c: Likewise.
1713         * wcsmbs/wcstof_nan.c: Likewise.
1714         * wcsmbs/wcstold_nan.c: Likewise.
1715         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
1716         strtold_nan.
1717         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
1718         wcstof_nan.
1719         * include/stdlib.h (__strtof_nan): Declare and use
1720         libc_hidden_proto.
1721         (__strtod_nan): Likewise.
1722         (__strtold_nan): Likewise.
1723         (__wcstof_nan): Likewise.
1724         (__wcstod_nan): Likewise.
1725         (__wcstold_nan): Likewise.
1726         * include/wchar.h (____wcstoull_l_internal): Declare.
1727         * stdlib/strtod_l.c: Do not include <ieee754.h>.
1728         (____strtoull_l_internal): Remove declaration.
1729         (STRTOF_NAN): Define macro.
1730         (SET_MANTISSA): Remove macro.
1731         (STRTOULL): Likewise.
1732         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
1733         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
1734         (STRTOF_NAN): Define macro.
1735         (SET_MANTISSA): Remove macro.
1736         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
1737         (SET_MANTISSA): Remove macro.
1738         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
1739         macro.
1740         (SET_MANTISSA): Remove macro.
1741         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
1742         macro.
1743         (SET_MANTISSA): Remove macro.
1744         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
1745         (SET_MANTISSA): Remove macro.
1746         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
1747         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
1748         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
1750         [BZ #19266]
1751         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
1752         upper case and lower case letters inside NAN(), not using TOLOWER.
1753         * stdlib/tst-strtod-nan-locale-main.c: New file.
1754         * stdlib/tst-strtod-nan-locale.c: Likewise.
1755         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
1756         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
1757         Depend on $(gen-locales).
1758         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
1759         * wcsmbs/tst-wcstod-nan-locale.c: New file.
1760         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
1761         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
1762         Depend on $(gen-locales).
1763         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
1765 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
1767         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
1769         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
1770         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
1771         __finitel, __isinfl, and __isnanl.
1772         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
1773         Likewise.
1774         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
1775         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
1776         __finitel.
1777         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1778         Likewise.
1779         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1781 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
1783         * malloc/memusage.c (me): Remove redundant getenv call.
1785 2015-10-24  Florian Weimer  <fweimer@redhat.com>
1787         [BZ #19143]
1788         [BZ #19164]
1789         * nptl/check-cpuset.h: Remove.
1790         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
1791         Remove CPU set size check.
1792         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
1793         Likewise.
1794         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
1795         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
1796         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
1797         (__pthread_setaffinity_new): Remove CPU set size check.
1798         * sysdeps/unix/sysv/linux/sched_setaffinity.c
1799         (__kernel_cpumask_size): Remove.
1800         (__sched_setaffinity_new): Remove CPU set size check.
1801         * manual/threads.texi (Default Thread Attributes): Remove stale
1802         reference to check_cpuset_attr, determine_cpumask_size in comment.
1803         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
1804         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
1805         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
1806         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
1807         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
1808         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
1809         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
1810         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
1811         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
1812         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
1813         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
1814         skeleton test file.
1815         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
1816         tst-affinity-pid.
1818 2015-11-24  Florian Weimer  <fweimer@redhat.com>
1820         * scripts/update-abilist.sh: New file.
1821         * Makefile (+subdir_targets): Add subdir_update-all-abi.
1822         * Makerules (update-all-abi-%, update-all-abi)
1823         (subdir_update-all-abi): New targets.
1824         * elf/Makefile (update-all-abi): New target.
1826 2015-11-24  Florian Weimer  <fweimer@redhat.com>
1828         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
1829         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
1830         (__libc_lock_define_initialized): Use it.
1831         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
1832         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
1833         * malloc/malloc.c (main_arena): Likewise.
1834         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
1835         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
1837 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
1839         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
1840         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
1841         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
1842         (PTRACE_O_MASK): Update value.
1843         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
1844         New value in enum __ptrace_setoptions.
1845         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
1846         (PTRACE_O_MASK): Update value.
1847         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
1848         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
1849         (PTRACE_O_MASK): Update value.
1850         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
1851         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
1852         (PTRACE_O_MASK): Update value.
1853         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
1854         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
1855         (PTRACE_O_MASK): Update value.
1856         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
1857         New value in enum __ptrace_setoptions.
1858         (PTRACE_O_MASK): Update value.
1859         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
1860         New value in enum __ptrace_setoptions.
1861         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
1862         (PTRACE_O_MASK): Update value.
1864         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
1865         New macro.
1866         (PACKET_AUXDATA): Likewise.
1867         (PACKET_ORIGDEV): Likewise.
1868         (PACKET_VERSION): Likewise.
1869         (PACKET_HDRLEN): Likewise.
1870         (PACKET_RESERVE): Likewise.
1871         (PACKET_TX_RING): Likewise.
1872         (PACKET_LOSS): Likewise.
1873         (PACKET_VNET_HDR): Likewise.
1874         (PACKET_TX_TIMESTAMP): Likewise.
1875         (PACKET_TIMESTAMP): Likewise.
1876         (PACKET_FANOUT): Likewise.
1877         (PACKET_TX_HAS_OFF): Likewise.
1878         (PACKET_QDISC_BYPASS): Likewise.
1879         (PACKET_ROLLOVER_STATS): Likewise.
1880         (PACKET_FANOUT_DATA): Likewise.
1881         (PACKET_MR_UNICAST): Likewise.
1883         [BZ #19242]
1884         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
1885         (TOUPPER): Likewise.
1886         * stdlib/tst-strtol-locale-main.c: New file.
1887         * stdlib/tst-strtol-locale.c: Likewise.
1888         * stdlib/Makefile (tests): Add tst-strtol-locale.
1889         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
1890         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
1891         Depend on $(gen-locales).
1892         * wcsmbs/tst-wcstol-locale.c: New file.
1893         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
1894         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
1895         tr_TR.ISO-8859-9.
1896         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
1897         Depend on $(gen-locales).
1899 2015-11-20  Roland McGrath  <roland@hack.frob.com>
1901         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
1902         __glibc_likely instead of __builtin_expect.  After falling back to
1903         dyncode_create in a non-ET_DYN case, use the allocate_code_data
1904         system interface to register the code pages as occupied.
1906 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
1908         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
1909         [!ARM_MATH_PRIVATE_H].
1910         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
1911         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
1912         [!HPPA_MATH_PRIVATE_H].
1913         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
1914         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
1915         to [!I386_MATH_PRIVATE_H].
1916         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
1917         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
1918         Change guard to [!M68K_MATH_PRIVATE_H].
1919         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
1920         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
1921         guard to [!MICROBLAZE_MATH_PRIVATE_H].
1922         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
1923         macro.
1924         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
1925         [!MIPS_MATH_PRIVATE_H].
1926         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
1927         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
1928         [!NIO2_MATH_PRIVATE_H].
1929         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
1930         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
1931         [!TILE_MATH_PRIVATE_H].
1932         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
1934         [BZ #15421]
1935         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
1936         initialize with 0 and define as weak alias of __signgam.
1937         * include/math.h [!_ISOMAC] (__signgam): Declare.
1938         * math/Makefile (libm-calls): Add w_lgamma_compat.
1939         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
1940         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
1941         test-signgam-ullong-init.
1942         (tests-static): Add test-signgam-uchar-static,
1943         test-signgam-uchar-init-static, test-signgam-uint-static,
1944         test-signgam-uint-init-static, test-signgam-ullong-static and
1945         test-signgam-ullong-init-static.
1946         (CFLAGS-test-signgam-uchar.c): New variable.
1947         (CFLAGS-test-signgam-uchar-init.c): Likewise.
1948         (CFLAGS-test-signgam-uchar-static.c): Likewise.
1949         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
1950         (CFLAGS-test-signgam-uint.c): Likewise.
1951         (CFLAGS-test-signgam-uint-init.c): Likewise.
1952         (CFLAGS-test-signgam-uint-static.c): Likewise.
1953         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
1954         (CFLAGS-test-signgam-ullong.c): Likewise.
1955         (CFLAGS-test-signgam-ullong-init.c): Likewise.
1956         (CFLAGS-test-signgam-ullong-static.c): Likewise.
1957         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
1958         * math/Versions (libm): Add GLIBC_2.23.
1959         * math/lgamma-compat.h: New file.
1960         * math/test-signgam-main.c: Likewise.
1961         * math/test-signgam-uchar-init-static.c: Likewise.
1962         * math/test-signgam-uchar-init.c: Likewise.
1963         * math/test-signgam-uchar-static.c: Likewise.
1964         * math/test-signgam-uchar.c: Likewise.
1965         * math/test-signgam-uint-init-static.c: Likewise.
1966         * math/test-signgam-uint-init.c: Likewise.
1967         * math/test-signgam-uint-static.c: Likewise.
1968         * math/test-signgam-uint.c: Likewise.
1969         * math/test-signgam-ullong-init-static.c: Likewise.
1970         * math/test-signgam-ullong-init.c: Likewise.
1971         * math/test-signgam-ullong-static.c: Likewise.
1972         * math/test-signgam-ullong.c: Likewise.
1973         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
1974         wrapper of w_lgamma_main.c.
1975         * math/w_lgamma_compat.c: New file.
1976         * math/w_lgamma_compatf.c: Likewise.
1977         * math/w_lgamma_compatl.c: Likewise.
1978         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
1979         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
1980         defining compatibility symbols.
1981         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
1982         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
1983         wrapper of w_lgammaf_main.c.
1984         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
1985         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
1986         defining compatibility symbols.
1987         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
1988         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
1989         wrapper of w_lgammal_main.c.
1990         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
1991         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
1992         defining compatibility symbols.
1993         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
1994         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
1995         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
1996         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
1997         <lgamma-compat.h>.
1998         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
1999         (__ieee754_gamma): Define as alias.
2000         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
2001         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
2002         <lgamma-compat.h>.
2003         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
2004         (__ieee754_gammaf): Define as alias.
2005         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
2006         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
2007         <lgamma-compat.h>.
2008         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
2009         (__ieee754_gammal): Define as alias.
2010         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
2011         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
2012         <math/w_lgamma_compat.c>.
2013         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
2014         Define as alias of __lgamma_compat and use in defining lgammal.
2015         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
2016         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
2017         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
2018         (USE_AS_COMPAT): New macro.
2019         (LGAMMA_OLD_VER): Undefine and redefine.
2020         (lgammal): Do not define here.
2021         (gammal): Only define here if [GAMMA_ALIAS].
2022         * conform/linknamespace.pl (@whitelist): Remove signgam.
2023         * sysdeps/nacl/libm.abilist: Update.
2024         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2025         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2026         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2027         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2028         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2029         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2030         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2031         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2032         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2033         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2034         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2035         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2036         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2037         Likewise.
2038         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2039         Likewise.
2040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2041         Likewise.
2042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2043         Likewise.
2044         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2045         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2046         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2047         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2048         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2049         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2050         Likewise.
2051         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2052         Likewise.
2053         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2054         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2055         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2057 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2059         [BZ #16364]
2060         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
2061         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
2063 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
2065         * sysdeps/s390/fpu/bits/mathinline.h:
2066         Use __asm__ [__volatile__] instead of asm [volatile].
2067         * sysdeps/s390/abort-instr.h: Likewise.
2068         * sysdeps/s390/atomic-machine.h: Likewise.
2069         * sysdeps/s390/bits/string.h: Likewise.
2070         * sysdeps/s390/dl-tls.h: Likewise.
2071         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
2072         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
2073         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
2074         * sysdeps/s390/fpu/fesetround.c: Likewise.
2075         * sysdeps/s390/fpu/fpu_control.h: Likewise.
2076         * sysdeps/s390/fpu/s_fma.c: Likewise.
2077         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
2078         * sysdeps/s390/memusage.h: Likewise.
2079         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
2080         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
2081         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
2082         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
2083         * sysdeps/s390/nptl/tls.h: Likewise.
2084         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
2085         * sysdeps/s390/s390-32/backtrace.c: Likewise.
2086         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
2087         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
2088         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
2089         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
2090         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
2091         * sysdeps/s390/s390-64/backtrace.c: Likewise.
2092         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
2093         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
2094         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
2095         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
2096         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
2097         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
2098         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
2099         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
2100         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
2101         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
2102         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
2103         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2104         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
2105         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2106         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
2108 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2109             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2111         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
2112         Add lwarx hint, and use macro for acquire instruction.
2113         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
2114         Likewise.
2115         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
2116         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
2117         update to use new atomic macros.
2119 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2121         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
2122         (__lll_trylock_elision): Fix setting of adapt_count.
2123         * sysdeps/unix/sysv/linux/powerpc/htm.h
2124         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
2125         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
2126         (_ABORT_SYSCALL): Renumber, and clarify definition.
2127         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
2129 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2131         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
2132         after system headers to prevent MIN/MAX redefinition.  Define
2133         HAVE_ALLOCA to preserve builtin alloca usage.
2135 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
2137         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
2138         static and don't set or restore rounding.
2139         (__cos)[IN_SINCOS]: Likewise.
2140         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
2141         (__sincos): Set and restore rounding mode.  Remove check for infinite
2142         or NaN input.
2144         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
2146         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
2147         as used.
2149 2015-11-16  Florian Weimer  <fweimer@redhat.com>
2151         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
2153 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
2155         * config.make.in (have-glob-dat-reloc): New.
2156         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
2157         target supports GLOB_DAT relocaton. AC_SUBST.
2158         * configure: Regenerated.
2159         * elf/Makefile (tests): Add tst-prelink.
2160         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
2161         (tst-prelink-ENV): New.
2162         ($(objpfx)tst-prelink-conflict.out): Likewise.
2163         ($(objpfx)tst-prelink-cmp.out): Likewise.
2164         * sysdeps/x86/tst-prelink.c: Moved to ...
2165         * elf/tst-prelink.c: Here.
2166         * sysdeps/x86/tst-prelink.exp: Moved to ...
2167         * elf/tst-prelink.exp: Here.
2168         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
2169         (tst-prelink-ENV): Removed.
2170         ($(objpfx)tst-prelink-conflict.out): Likewise.
2171         ($(objpfx)tst-prelink-cmp.out): Likewise.
2172         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
2174 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
2176         [BZ #14551]
2177         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
2178         (__mpn_construct_long_double): If high part overflows to infinity,
2179         set errno and recompute overflowed result of the correct sign.
2180         * sysdeps/ieee754/ldbl-128ibm/Makefile
2181         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
2182         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
2183         $(libm).
2184         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
2186 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
2188         [BZ #15479]
2189         [BZ #19238]
2190         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
2191         floating-point state after first operation on input.  Restore full
2192         state rather than just rounding mode.
2193         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
2194         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
2195         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
2197         [BZ #19235]
2198         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
2199         add 0.5 to integer arguments.
2200         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
2201         Likewise.
2202         (.LC2): New object.
2204 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
2206         * scripts/pylintrc (reports): Set to no.
2208 2015-11-10  Roland McGrath  <roland@hack.frob.com>
2210         * elf/dl-load.c (open_verify): Take new argument FD.
2211         Skip __open call if passed FD is not -1.
2212         (_dl_map_object, open_path): Update callers.
2213         * elf/dl-sysdep-open.h: New file.
2214         * elf/dl-load.c: Include it.
2215         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
2216         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
2217         * sysdeps/nacl/dl-sysdep-open.h: New file.
2218         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
2219         from libc to rtld.
2221 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
2223         [BZ #19228]
2224         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
2225         and restore full floating-point state.
2226         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
2227         Likewise.
2228         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
2229         Likewise.
2230         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
2231         Likewise.
2232         * math/test-nearbyint-except-2.c: New file.
2233         * math/Makefile (tests): Add test-nearbyint-except-2.
2235 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
2237         [BZ #19178]
2238         * sysdeps/x86/Makefile (tests): Add tst-prelink.
2239         (tst-prelink-ENV): New.
2240         ($(objpfx)tst-prelink-conflict.out): Likewise.
2241         ($(objpfx)tst-prelink-cmp.out): Likewise.
2242         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
2243         * sysdeps/x86/tst-prelink.c: New file.
2244         * sysdeps/x86/tst-prelink.exp: Likewise.
2246 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
2248         * math/auto-libm-test-in: Add another test of pow.
2249         * math/auto-libm-test-out: Regenerated.
2250         * math/libm-test.inc (pow_test_data): Add another test.
2252 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2254         [BZ #19219]
2255         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
2256         weak_alias to nearbyintl.
2258 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
2260         * sysdeps/aarch64/bits/string.h: New file.
2261         (_STRING_ARCH_unaligned): Define.
2263 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
2265         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
2266         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
2267         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
2268         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
2269         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
2271 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
2273         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
2274         for original name of the DSO.  Add it to the name list of the DSO
2275         if it is actually given.
2276         (_dl_map_object): Keep track of whether an audit module rewrote
2277         the file name.  If yes, pass the original name to
2278         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
2279         debugging is enabled, log the change of the file name.
2280         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
2281         _dl_map_object_from_fd.
2282         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
2283         * elf/tst-audit11.c: New file
2284         * elf/tst-auditmod11.c: New file.
2285         * elf/tst-audit11mod1.c: New file.
2286         * elf/tst-audit11mod2.c: New file.
2287         * elf/tst-audit11mod2.map: New file.
2288         * elf/tst-audit12.c: New file
2289         * elf/tst-auditmod12.c: New file.
2290         * elf/tst-audit12mod1.c: New file.
2291         * elf/tst-audit12mod2.c: New file.
2292         * elf/tst-audit12mod2.map: New file.
2293         * elf/tst-audit12mod3.c: New file.
2295 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
2297         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
2298         Don't create weak aliases,
2299         because versioned symbols are created later.
2300         * sysdeps/s390/s390-32/setjmp.S
2301         (setjmp, _setjmp): Remove weak and rename to an unique name
2302         in SHARED case due to existing versioned symbols.
2303         * sysdeps/s390/s390-64/setjmp.S: Likewise.
2304         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
2305         (getcontext): Create weak alias only in non SHARED case.
2306         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
2308 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
2310         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
2311         (__ASSUME_*_SYSCALL) Define new macros.
2312         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
2313         Remove socketcall syscalls.
2314         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
2315         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
2316         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
2317         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
2318         * sysdeps/unix/sysv/linux/send.c (__libc_send):
2319         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
2321 2015-11-09  Florian Weimer  <fweimer@redhat.com>
2323         [BZ #12926]
2324         Terminate process on invalid netlink response.
2325         * sysdeps/unix/sysv/linux/netlinkaccess.h
2326         (__netlink_assert_response): Declare.
2327         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
2328         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
2329         (sysdep_routines): Add netlink_assert_response.
2330         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
2331         __netlink_assert_response.
2332         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
2333         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
2334         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
2335         __netlink_assert_response.
2337 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
2339         [BZ #19178]
2340         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
2341         (RTYPE_CLASS_PLT): Likewise.
2342         (RTYPE_CLASS_COPY): Likewise.
2343         (RTYPE_CLASS_TLS): Likewise.
2344         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
2345         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
2346         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
2347         DL_DEBUG_PRELINK.
2349 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
2351         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
2352         calls with argument -0.5.
2353         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
2355         * configure.ac (libc_cv_z_nodelete): Remove configure test.
2356         (libc_cv_z_nodlopen): Likewise.
2357         (libc_cv_z_initfirst): Likewise.
2358         * configure: Regenerated.
2360 2015-11-06  Florian Weimer  <fweimer@redhat.com>
2362         Simplify abilist format to be line-based.
2363         * scripts/abilist.awk: Collect descriptors in the descs variable.
2364         (emit): Write descs variable and sort it
2365         externally, with sort.
2366         * sysdeps/**/*.abilist: Convert to new format.
2368 2015-11-06  Mark Wielaard  <mjw@redhat.com>
2370         [BZ #11460]
2371         * io/Makefile (routines): Add fts64.
2372         (tests): Add tst-fts and tst-fts-lfs.
2373         (CFLAGS-fts64.c): New.
2374         * io/Versions (GLIBC_2.23): New.
2375         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
2376         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
2377         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
2378         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
2379         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
2380         (FTSENT64): Likewise.
2381         (fts64_children): Likewise.
2382         (fts64_close): Likewise.
2383         (fts64_open): Likewise.
2384         (fts64_read): Likewise.
2385         (fts64_set): Likewise.
2386         * io/fts64.c: New file.
2387         * io/tst-fts.c: New test.
2388         * io/tst-fts-lfs.c: Likewise.
2389         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
2390         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
2391         fts64_set.
2392         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2393         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
2394         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
2395         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
2396         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2397         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
2398         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
2399         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
2400         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
2401         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
2402         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
2403         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2404         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
2405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2406         Likewise.
2407         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2408         Likewise.
2409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
2410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
2411         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2412         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2413         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
2414         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2415         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2416         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
2417         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
2418         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
2419         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2420         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
2421         * sysdeps/wordsize-64/fts.c: New file.
2422         * sysdeps/wordsize-64/fts64.c: Likewise.
2423         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
2424         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
2425         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
2426         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
2428 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
2430         * math/libm-test.inc (NON_FINITE): New macro.
2431         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
2432         * math/gen-libm-test.pl (show_exceptions): Add argument
2433         $non_finite.
2434         (parse_args): Update call to show_exceptions.
2435         * math/test-math-finite.h: New file.
2436         * math/test-math-no-finite.h: Likewise.
2437         * math/test-double-finite.c: Likewise.
2438         * math/test-float-finite.c: Likewise.
2439         * math/test-ldouble-finite.c: Likewise.
2440         * math/test-double.c: Include "test-math-no-finite.h".
2441         * math/test-float.c: Include "test-math-no-finite.h".
2442         * math/test-ldouble.c: Include "test-math-no-finite.h".
2443         * math/test-math-inline.h (TEST_FINITE): New macro.
2444         * math/test-math-vector.h (TEST_FINITE): Likewise.
2445         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
2446         (libm-tests): Add test-float-finite and test-double-finite.
2447         ($(objpfx)test-float-finite.o): New dependency on
2448         $(objpfx)libm-test.stmp.
2449         ($(objpfx)test-double-finite.o): Likewise.
2450         ($(objpfx)test-ldouble-finite.o): Likewise.
2451         (libm-test-no-inline-cflags): New variable.
2452         (libm-test-finite-cflags): Likewise.
2453         (CFLAGS-test-float-finite.c): Likewise.
2454         (CFLAGS-test-double-finite.c): Likewise.
2455         (CFLAGS-test-ldouble-finite.c): Likewise.
2456         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
2457         (CFLAGS-test-double.c): Likewise.
2458         (CFLAGS-test-ldouble.c): Likewise.
2460 2015-11-05  Roland McGrath  <roland@hack.frob.com>
2462         * io/fcntl.c (__fcntl): Add ... to prototype.
2463         * misc/ioctl.c (__ioctl): Likewise.
2464         * misc/syscall.c (syscall): Likewise.
2466 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
2468         * scripts/list-fixed-bugs.py: New file.
2470         [BZ #19213]
2471         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
2472         returned for argument 1.
2473         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
2474         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
2475         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
2476         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
2477         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
2478         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
2480         [BZ #19211]
2481         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
2482         __USE_XOPEN], not if [!__USE_ISOC99].
2483         (lgammaf): Likewise.
2484         (lgammal): Likewise.
2485         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
2486         (gammaf): Likewise.
2487         (gammal): Likewise.
2488         * math/test-signgam-finite-c11.c: New file.
2489         * math/test-signgam-finite-c99.c: Likewise.
2490         * math/test-signgam-finite.c: Likewise.
2491         * math/Makefile (tests): Add test-signgam-finite,
2492         test-signgam-finite-c99 and test-signgam-finite-c11.
2493         (CFLAGS-test-signgam-finite.c): New variable.
2494         (CFLAGS-test-signgam-finite-c99.c): Likewise.
2495         (CFLAGS-test-signgam-finite-c11.c): Likewise.
2497         [BZ #19212]
2498         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
2499         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
2500         500].
2501         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
2502         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
2503         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
2504         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
2505         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
2506         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
2507         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
2508         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
2509         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
2510         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
2512         [BZ #19209]
2513         * math/bits/math-finite.h (ldexp): Remove declaration.
2514         (ldexpf): Likewise.
2515         (ldexpl): Likewise.
2517         [BZ #19205]
2518         * math/bits/math-finite.h (acosf): Condition declaration on
2519         [__USE_ISOC99].
2520         (acosl): Likewise.
2521         (acoshf): Likewise.
2522         (acoshl): Likewise.
2523         (asinf): Likewise.
2524         (asinl): Likewise.
2525         (atan2f): Likewise.
2526         (atan2l): Likewise.
2527         (atanhf): Likewise.
2528         (atanhl): Likewise.
2529         (coshf): Likewise.
2530         (coshl): Likewise.
2531         (expf): Likewise.
2532         (expl): Likewise.
2533         (fmodf): Likewise.
2534         (fmodl): Likewise.
2535         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
2536         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
2537         (j0l): Likewise.
2538         (y0f): Likewise.
2539         (y0l): Likewise.
2540         (j1f): Likewise.
2541         (j1l): Likewise.
2542         (y1f): Likewise.
2543         (y1l): Likewise.
2544         (jnf): Likewise.
2545         (jnl): Likewise.
2546         (ynf): Likewise.
2547         (ynl): Likewise.
2548         (lgammaf_r): Condition declaration on [__USE_ISOC99].
2549         (lgammal_r): Likewise.
2550         (__lgamma_r_finite): New declaration.
2551         (__lgammaf_r_finite): Likewise.
2552         (__lgammal_r_finite): Likewise.
2553         (lgamma): Use __lgamma_r_finite.
2554         (lgammaf): Condition definition on [__USE_ISOC99].  Use
2555         __lgammaf_r_finite.
2556         (lgammal): Condition definition on [__USE_ISOC99].  Use
2557         __lgammal_r_finite.
2558         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
2559         __lgamma_r_finite.
2560         (gammaf): Condition definition on [__USE_ISOC99].  Use
2561         __lgammaf_r_finite.
2562         (gammal): Condition definition on [__USE_ISOC99].  Use
2563         __lgammal_r_finite.
2564         (logf): Condition declaration on [__USE_ISOC99].
2565         (logl): Likewise.
2566         (log10f): Likewise.
2567         (log10l): Likewise.
2568         (ldexpf): Likewise.
2569         (ldexpl): Likewise.
2570         (powf): Likewise.
2571         (powl): Likewise.
2572         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
2573         __USE_ISOC99].
2574         (remainderf): Condition declaration on [__USE_ISOC99].
2575         (remainderl): Likewise.
2576         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
2577         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
2578         (scalbl): Likewise.
2579         (sinhf): Condition declaration on [__USE_ISOC99].
2580         (sinhl): Likewise.
2581         (sqrtf): Likewise.
2582         (sqrtl): Likewise.
2584 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
2586         * sysdeps/arm/atomic-machine.h
2587         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
2588         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
2589         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
2590         Remove conditional code.
2591         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
2592         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
2593         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
2594         Change conditional to [__ASSEMBLER__].
2595         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
2596         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
2597         [!__ASSEMBLER__].
2598         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
2599         code.
2600         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
2601         conditional macro definitions.
2602         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
2603         (__arch_compare_and_exchange_val_16_acq): Likewise.
2604         (__arch_compare_and_exchange_val_32_acq): Likewise.
2605         (atomic_exchange_and_add): Likewise.
2606         (atomic_add): Likewise.
2607         (atomic_add_negative): Likewise.
2608         (atomic_add_zero): Likewise.
2609         (atomic_bit_set): Likewise.
2610         (atomic_bit_test_set): Likewise.
2611         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
2612         code unconditional.
2613         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
2615         * math/test-math-errno.h: New file.
2616         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
2617         empty.
2618         (TEST_ERRNO): New macro.
2619         (TEST_EXCEPTIONS): Likewise.
2620         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
2621         (TEST_EXCEPTIONS): Likewise.
2622         * math/test-math-vector.h (TEST_ERRNO): Likewise.
2623         * math/test-double.c: Include "test-math-errno.h".
2624         * math/test-float.c: Likewise.
2625         * math/test-ldouble.c: Likewise.
2626         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
2627         code unconditional.
2628         (test_exceptions): Only run code if TEST_EXCEPTIONS.
2629         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
2630         unconditional.
2631         (test_errno): Only run code if TEST_ERRNO.
2632         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
2634 2015-11-04  Florian Weimer  <fweimer@redhat.com>
2636         * nptl/tst-once5.cc: Remove attribution.
2638 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
2640         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
2641         sqrt, tan, tanh, y0, y1 and yn.
2642         * math/auto-libm-test-out: Regenerated.
2643         * math/libm-test.inc (scalb_test_data): Add more tests.
2644         (scalbn_test_data): Likewise.
2645         (scalbln_test_data): Likewise.
2646         (signbit_test_data): Likewise.
2647         (sin_test_data): Likewise.
2648         (sincos_test_data): Likewise.
2649         (sinh_test_data): Likewise.
2650         (sqrt_test_data): Likewise.
2651         (tan_test_data): Likewise.
2652         (tanh_test_data): Likewise.
2653         (tgamma_test_data): Likewise.
2654         (y0_test_data): Likewise.
2655         (y1_test_data): Likewise.
2656         (yn_test_data): Likewise.
2657         (significand_test_data): Likewise.
2658         * sysdeps/i386/fpu/libm-test-ulps: Update.
2660 2015-11-03  David Kastrup  <dak@gnu.org>
2662         [BZ #18604]
2663         * assert/assert.h (assert): Don't macro-expand failed assertion
2664         expression in error message.
2665         * malloc/malloc.c (assert): Likewise.
2667 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
2669         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
2670         test.
2671         * configure: Regenerated.
2673 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
2675         * math/libm-test.inc (modf_test_data): Add more tests.
2676         (nearbyint_test_data): Likewise.
2677         (nextafter_test_data): Likewise.
2678         (nexttoward_test_data): Likewise.
2679         (pow_test_data): Likewise.
2680         (remainder_test_data): Likewise.
2681         (remquo_test_data): Likewise.
2682         (rint_test_data): Likewise.
2684         [BZ #19201]
2685         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
2686         Check for zero remainder in case of large exponents and ensure
2687         correct sign of result in that case.
2688         * math/libm-test.inc (remainder_test_data): Add more tests.
2690         [BZ #6799]
2691         * math/s_nextafter.c: Include <errno.h>.
2692         (__nextafter): Set errno on overflow and underflow.
2693         * math/s_nexttowardf.c: Include <errno.h>.
2694         (__nexttowardf): Set errno on overflow and underflow.
2695         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
2696         (__nextafterl): Set errno on overflow and underflow.
2697         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
2698         (__nexttoward): Set errno on overflow and underflow.
2699         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
2700         (__nexttowardf): Set errno on overflow and underflow.
2701         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
2702         (__nextafterf): Set errno on overflow and underflow.
2703         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
2704         (__nextafterl): Set errno on overflow and underflow.
2705         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
2706         (__nexttoward): Set errno on overflow and underflow.
2707         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
2708         (__nexttowardf): Set errno on overflow and underflow.
2709         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
2710         (__nextafterl): Set errno on overflow and underflow.
2711         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
2712         (__nexttoward): Set errno on overflow and underflow.
2713         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
2714         (__nexttowardf): Set errno on overflow and underflow.
2715         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
2716         (__nexttoward): Set errno on overflow and underflow.
2717         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
2718         (__nexttowardf): Set errno on overflow and underflow.
2719         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
2720         (__nldbl_nexttowardf): Set errno on overflow and underflow.
2721         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
2722         (__nextafterl): Set errno on overflow and underflow.
2723         * math/libm-test.inc (nextafter_test_data): Do not allow errno
2724         setting to be missing on overflow.  Add more tests.
2725         (nexttoward_test_data): Likewise.
2727         * configure.ac (libc_cv_initfini_array): Remove configure test.
2728         * configure: Regenerated.
2730 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
2732         [BZ #19189]
2733         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
2734         non-finite argument handle arguments with negative sign.
2736         * math/libm-test.inc (j0_test_data): Do not test sign of zero
2737         result from infinite argument.
2738         (j1_test_data): Likewise.
2739         (jn_test_data): Likewise.
2740         (y0_test_data): Likewise.
2741         (y1_test_data): Likewise.
2742         (yn_test_data): Likewise.
2744         [BZ #16171]
2745         * math/w_remainder.c (drem): Define as weak alias of __remainder.
2746         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
2747         * math/w_remainderf.c (dremf): Define as weak alias of
2748         __remainderf.
2749         * math/w_remainderl.c (dreml): Define as weak alias of
2750         __remainderl.
2751         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
2752         __remainder.
2753         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
2754         __remainderf.
2755         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
2756         __remainderl.
2757         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
2758         weak alias of remainderl.
2759         * sysdeps/ieee754/ldbl-opt/w_remainder.c
2760         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
2761         alias of __remainder.
2762         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
2763         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
2764         strong alias of __remainderl.
2765         (dreml): Use long_double_symbol.
2766         * math/Makefile (libm-calls): Remove w_drem.
2767         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
2768         (CFLAGS-nldbl-drem.c): Remove variable.
2769         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
2770         * math/w_drem.c: Remove file.
2771         * math/w_dremf.c: Likewise.
2772         * math/w_dreml.c: Likewise.
2773         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
2774         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
2775         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
2777         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
2778         * sysdeps/i386/configure: Regenerated.
2779         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
2780         * sysdeps/x86_64/configure: Regenerated.
2782         * configure.ac (libc_cv_asm_protected_directive): Remove configure
2783         test.
2784         (libc_cv_visibility_attribute): Likewise.
2785         (libc_cv_protected_data): Test unconditionally.
2786         (libc_cv_broken_visibility_attribute): Remove configure test.
2787         (libc_cv_have_sdata_section): Test unconditionally.
2788         * configure: Regenerated.
2790         * include/libc-internal.h (libc_max_align_t): Remove typedef.
2791         * include/scratch_buffer.h: Include <stddef.h> instead of
2792         <libc-internal.h>.
2793         (struct scratch_buffer): Use max_align_t instead of
2794         libc_max_align_t.
2796 2015-10-29  Florian Weimer  <fweimer@redhat.com>
2798         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
2799         instead of extend_alloca.  Change control flow to avoid a goto.
2800         Remove assert which is trivially always true.
2802 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
2804         [BZ #16068]
2805         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
2806         (FE_ALL_EXCEPT_X86): New macro.
2807         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
2808         FE_ALL_EXCEPT.  Ensure precision control is included in
2809         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
2810         handle "denormal operand exception" and clear FZ and DAZ bits.
2811         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
2812         (FE_ALL_EXCEPT_X86): New macro.
2813         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
2814         FE_ALL_EXCEPT.  Ensure precision control is included in
2815         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
2816         handle "denormal operand exception" and clear FZ and DAZ bits.
2817         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
2818         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
2819         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
2820         test-fenv-x87 and test-fenv-sse-2.
2821         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
2823         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
2824         * math/test-double.h (BUILD_COMPLEX): New macro.
2825         * math/test-float.h (BUILD_COMPLEX): Likewise.
2826         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
2828         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
2829         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
2830         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
2831         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
2832         instead of DBL_DENORM_MIN in comment.
2833         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
2834         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
2835         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
2836         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
2837         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
2838         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
2840 2015-10-28  Florian Weimer  <fweimer@redhat.com>
2842         [BZ# 19048]
2843         * malloc/malloc.c (struct malloc_state): Update comment.  Add
2844         attached_threads member.
2845         (main_arena): Initialize attached_threads.
2846         * malloc/arena.c (list_lock): Update comment.
2847         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
2848         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
2849         (deattach_arena): New function.
2850         (_int_new_arena): Initialize arena reference count and deattach
2851         replaced arena.
2852         (get_free_list, reused_arena): Update reference count and deattach
2853         replaced arena.
2854         (arena_thread_freeres): Update arena reference count and only put
2855         unreferenced arenas on the free list.
2857 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
2859         [BZ #19181]
2860         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
2861         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
2862         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
2863         * math/test-fenv-clear-main.c: New file.
2864         * math/test-fenv-clear.c: Likewise.
2865         * math/Makefile (tests): Add test-fenv-clear.
2866         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
2867         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
2868         test-fenv-clear-sse.
2869         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
2871         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
2872         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
2873         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
2875 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
2877         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
2878         static libc.
2880 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
2882         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
2883         test.
2884         * sysdeps/i386/configure: Regenerated.
2885         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
2886         test.
2887         * sysdeps/x86_64/configure: Regenerated.
2888         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
2889         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2890         memset-avx2 unconditionally instead of conditionally on
2891         [$(config-cflags-avx2) = yes].
2892         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2893         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
2894         unconditional.
2895         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
2896         * sysdeps/x86_64/multiarch/memset_chk.S
2897         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
2898         to [IS_IN (libc) && SHARED].
2900 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
2902         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
2903         configure test.
2904         * sysdeps/arm/configure: Regenerated.
2905         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
2906         Define variable if not already defined.
2908         [BZ #17404]
2909         * sysdeps/mips/atomic-machine.h
2910         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
2911         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
2912         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
2914         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
2915         unconditional.
2916         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
2917         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
2918         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
2919         unconditional.
2920         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
2921         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
2922         unconditional.
2923         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
2924         * stdlib/setenv.c
2925         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
2926         code unconditional.
2927         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
2928         Remove conditional code.
2929         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
2930         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
2931         unconditional.
2932         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
2933         code.
2934         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
2935         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
2936         unconditional.
2937         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
2938         code.
2939         * sysdeps/ieee754/ldbl-128/k_tanl.c
2940         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
2941         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
2942         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
2943         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
2944         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
2945         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
2946         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
2947         unconditional.
2948         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
2949         code.
2950         * sysdeps/ieee754/ldbl-96/k_tanl.c
2951         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
2952         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
2954         * nptl/tst-initializers1-c11.c: New file.
2955         * nptl/tst-initializers1-gnu11.c: Likewise.
2956         * nptl/Makefile (tests): Add these new tests.
2957         (CFLAGS-tst-initializers1-c11.c): New variable.
2958         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
2960         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
2961         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
2962         instead of -std=gnu99.
2963         * configure.ac (systemtap): Test with -std=gnu11 instead of
2964         -std=gnu99.
2965         * configure: Regenerated.
2966         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
2967         in compilation command in comment.
2969         * sysdeps/nptl/configure.ac: Remove file.
2970         * sysdeps/nptl/configure: Remove generated file.
2971         * configure.ac (libc_cv_forced_unwind): Do not substitute.
2972         * configure: Regenerated.
2973         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
2974         * config.make.in (have-forced-unwind): Remove variable.
2975         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
2976         unconditional.
2977         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
2978         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
2979         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
2980         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
2981         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
2982         unconditional.
2984 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2986         [BZ #19174]
2987         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
2988         .skip_lock_out_of_tbegin_retries.
2989         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
2990         (__lll_lock_elision): Likewise, and respect a value of
2991         try_tbegin <= 0.
2993 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
2995         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
2996         statement.
2998 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
3000         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
3001         variable.
3002         (test-xfail-ISO11/stdalign.h/conform): Likewise.
3003         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
3005         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
3006         of -std=c1x -D_ISOC11_SOURCE.
3008         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
3009         * configure: Regenerated.
3010         * manual/install.texi (Tools for Compilation): Document
3011         requirement for GCC 4.7 or later.
3012         * INSTALL: Regenerated.
3014 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
3016         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
3017         on CNT to a conditional jump to 'puntdata'.
3019 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
3021         * configure.ac (libc_cv_gcc___thread): Remove configure test.
3022         (libc_cv_gcc_tls_model_attr): Likewise.
3023         * configure: Regenerated.
3025         * configure.ac (libc_cv_need_minus_P): Remove configure test.
3026         * configure: Regenerated.
3027         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
3029 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
3031         * configure.ac (old_glibc_headers): Remove configure test.
3032         * configure: Regenerated.
3033         * config.make.in (old-glibc-headers): Remove variable.
3034         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
3035         (install): Remove dependency on remove-old-headers.
3036         (headers2_0): Remove variable.
3037         (remove-old-headers): Remove rule.
3039         * configure.ac (libc_cv_dot_text): Remove configure test.
3040         (libc_cv_asm_set_directive): Use .text instead of
3041         ${libc_cv_dot_text} in configure test.
3042         * configure: Regenerated.
3044 2015-10-26  Florian Weimer  <fweimer@redhat.com>
3046         [BZ #19168]
3047         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3049 2015-10-26  Florian Weimer  <fweimer@redhat.com>
3051         * configure.ac (CXX): Clear the variable if the C++ toolchain does
3052         not support static linking.
3053         * configure: Regenerate.
3055 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
3057         * math/libm-test.inc (check_float_internal): Do not special-case
3058         errors up to 0.5 ulp.
3060         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
3061         log2.
3062         * math/auto-libm-test-out: Regenerated.
3063         * math/libm-test.inc (MAX_EXP): New macro.
3064         (ilogb_test_data): Add more tests.
3065         (isfinite_test_data): Likewise.
3066         (isgreater_test_data): Likewise.
3067         (isgreaterequal_test_data): Likewise.
3068         (isinf_test_data): Likewise.
3069         (isless_test_data): Likewise.
3070         (islessequal_test_data): Likewise.
3071         (islessgreater_test_data): Likewise.
3072         (isnan_test_data): Likewise.
3073         (isnormal_test_data): Likewise.
3074         (issignaling_test_data): Likewise.
3075         (isunordered_test_data): Likewise.
3076         (j0_test_data): Likewise.
3077         (j1_test_data): Likewise.
3078         (jn_test_data): Likewise.
3079         (lgamma_test_data): Likewise.
3080         (log_test_data): Likewise.
3081         (log10_test_data): Likewise.
3082         (log1p_test_data): Likewise.
3083         (log2_test_data): Likewise.
3084         (logb_test_data): Likewise.
3085         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3087         [BZ #18611]
3088         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
3089         avoid excess range and precision on underflow.
3090         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
3091         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
3092         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
3093         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
3094         underflow.
3095         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
3096         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
3097         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
3098         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
3099         * math/auto-libm-test-in: Do not allow missing errno setting for
3100         tests of j1 and jn.
3101         * math/auto-libm-test-out: Regenerated.
3103 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
3105         [BZ #15491]
3106         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
3107         floating-point environment instead of clearing all exceptions.
3108         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
3109         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
3110         merging in "invalid" exceptions from frndint.
3111         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
3112         * math/test-nearbyint-except.c: New file.
3113         * math/Makefile (tests): Add test-nearbyint-except.
3115 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
3117         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
3119         * sysdeps/tile/libm-test-ulps: Regenerated.
3121 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
3124         (__NR_sync_file_range2): Assume it is always defined.
3125         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
3126         (__NR_sync_file_range): Assume it is always defined.
3128 2015-10-22  Andreas Schwab  <schwab@suse.de>
3130         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
3131         INTERNAL_SYSCALL_ERRNO.
3132         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
3133         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
3134         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
3135         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
3136         Likewise.
3137         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
3139 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
3141         * io/tst-fcntl.c (fd): New static variable.
3142         (do_prepare): Open temporary file here....
3143         (do_test): ...not here.
3145         * io/ftwtest-sh: Also trap on exit to remove temporary files.
3147 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
3149         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
3150         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
3151         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
3152         Moved before "#ifdef __ASSEMBLER__".
3154 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
3156         [BZ #19156]
3157         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
3158         arguments very close to 0.
3160 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
3162         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
3163         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
3165 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
3167         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
3168         New.  Defined for GCC 5 and above when not compiling for
3169         profiling.
3170         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
3172         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
3173         Renamed to ...
3174         (CFLAGS-epoll_pwait.o): This.
3175         (CFLAGS-mmap.c): Renamed to ...
3176         (CFLAGS-mmap.o): This.
3177         (CFLAGS-mmap64.c): Renamed to ...
3178         (CFLAGS-mmap64.o): This.
3179         (CFLAGS-epoll_pwait.os): New.
3180         (CFLAGS-mmap.os): Likewise.
3181         (CFLAGS-mmap64.os): Likewise.
3182         (CFLAGS-semtimedop.os): Likewise.
3183         (CFLAGS-semtimedop.c): Renamed to ...
3184         (CFLAGS-semtimedop.o): This.
3186 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3188         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
3189         warning message.
3191 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
3193         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
3194         * Makefile ($(objpfx)c++-types-check.out): Filter out
3195         $(+gccwarn-c) instead of -Wstrict-prototypes.
3197         * io/fts.c (fts_open): Convert to prototype-style function
3198         definition.
3199         * malloc/mcheck.c (mcheck): Likewise.
3200         (mcheck_pedantic): Likewise.
3201         * posix/regexec.c (re_search_2_stub): Likewise.  Use
3202         internal_function.
3203         (re_search_internal): Likewise.
3204         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
3205         prototype-style function definition.
3206         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
3207         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
3208         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
3209         (xdr_utmpptr): Likewise.
3210         (xdr_utmparr): Likewise.
3211         (xdr_utmpidle): Likewise.
3212         (xdr_utmpidleptr): Likewise.
3213         (xdr_utmpidlearr): Likewise.
3215         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
3216         log, log10 and log2.
3217         * math/auto-libm-test-out: Regenerated.
3218         * math/libm-test.inc (fmod_test_data): Add more tests.
3219         (fpclassify_test_data): Likewise.
3220         (frexp_test_data): Likewise.
3221         (hypot_test_data): Likewise.
3222         (ilogb_test_data): Likewise.
3224 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
3226         * debug/fortify_fail.c (__fortify_fail): Convert to
3227         prototype-style function definition.  Use internal_function.
3228         * libio/genops.c (save_for_backup): Convert to prototype-style
3229         function definition.
3230         * libio/wgenops.c (save_for_wbackup): Likewise.
3231         * login/grantpt.c (grantpt): Likewise.
3232         * login/ptsname.c (ptsname): Likewise.
3233         (__ptsname_r): Likewise.
3234         * login/unlockpt.c (unlockpt): Likewise.
3235         * mach/msgserver.c (__mach_msg_server): Likewise.
3236         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
3237         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
3238         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
3239         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
3240         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
3241         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
3242         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
3243         Likewise.
3244         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
3245         internal_function.
3246         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
3247         prototype-style function definition.
3248         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
3249         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
3250         (__pthread_create_2_0): Likewise.
3251         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
3252         * nptl/register-atfork.c (__register_atfork): Likewise.
3253         * posix/glob.c (glob): Likewise.
3254         * posix/regcomp.c (re_comp): Likewise.
3255         * posix/regexec.c (re_exec): Likewise.
3256         * stdlib/add_n.c [__STDC__]: Make code unconditional.
3257         [!__STDC__]: Remove conditional code.
3258         * stdlib/cmp.c [__STDC__]: Make code unconditional.
3259         [!__STDC__]: Remove conditional code.
3260         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
3261         [!__STDC__]: Remove conditional code.
3262         * stdlib/divrem.c [__STDC__]: Make code unconditional.
3263         [!__STDC__]: Remove conditional code.
3264         * stdlib/lshift.c [__STDC__]: Make code unconditional.
3265         [!__STDC__]: Remove conditional code.
3266         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
3267         [!__STDC__]: Remove conditional code.
3268         * stdlib/mul.c [__STDC__]: Make code unconditional.
3269         [!__STDC__]: Remove conditional code.
3270         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
3271         [!__STDC__]: Remove conditional code.
3272         * stdlib/rshift.c [__STDC__]: Make code unconditional.
3273         [!__STDC__]: Remove conditional code.
3274         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
3275         function definition.
3276         (STRTOF): Likewise.
3277         * stdlib/strtod_l.c (__STRTOF): Likewise.
3278         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
3279         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
3280         (__strtol_l): Likewise.
3281         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
3282         [!__STDC__]: Remove conditional code.
3283         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
3284         definition.
3285         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
3286         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
3287         type.
3288         (__strcasecmp): Convert to prototype-style function definition.
3289         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
3290         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
3291         type.
3292         (__strncasecmp): Convert to prototype-style function definition.
3293         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
3294         * sunrpc/xdr.c (xdr_union): Likewise.
3295         * sunrpc/xdr_array.c (xdr_array): Likewise.
3296         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
3297         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
3298         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
3299         Likewise.
3300         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
3301         Likewise.
3302         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
3303         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
3304         Likewise.
3305         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
3306         (LOCALE_PARAM_PROTO): Likewise.
3307         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
3308         argument type.
3309         (ut_argument_spec): Remove macro.
3310         (ut_argument_spec_iso): Rename to ut_argument_spec.
3311         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
3312         prototype-style function definition.
3313         (memcpy_uppcase): Likewise.
3314         (__strftime_internal): Likewise.
3315         (my_strftime): Likewise.
3316         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
3317         (LOCALE_PARAM_DECL): Likewise.
3318         [_LIBC] (LOCALE_PARAM): Include argument type.
3319         (__strptime_internal): Convert to prototype-style function
3320         definition.
3321         (strptime): Likewise.
3322         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
3323         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
3324         type.
3325         (__wcscasecmp): Convert to prototype-style function definition.
3326         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
3327         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
3328         type.
3329         (__wcsncasecmp): Convert to prototype-style function definition.
3331         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
3332         function definition.
3333         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
3334         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
3335         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
3336         * elf/dl-minimal.c (_itoa): Likewise.
3337         * hurd/hurdmalloc.c (malloc): Likewise.
3338         (free): Likewise.
3339         (realloc): Likewise.
3340         * inet/inet6_option.c (inet6_option_space): Likewise.
3341         (inet6_option_init): Likewise.
3342         (inet6_option_append): Likewise.
3343         (inet6_option_alloc): Likewise.
3344         (inet6_option_next): Likewise.
3345         (inet6_option_find): Likewise.
3346         * io/ftw.c (FTW_NAME): Likewise.
3347         (NFTW_NAME): Likewise.
3348         (NFTW_NEW_NAME): Likewise.
3349         (NFTW_OLD_NAME): Likewise.
3350         * libio/iofwide.c (_IO_fwide): Likewise.
3351         * libio/strops.c (_IO_str_init_static_internal): Likewise.
3352         (_IO_str_init_static): Likewise.
3353         (_IO_str_init_readonly): Likewise.
3354         (_IO_str_overflow): Likewise.
3355         (_IO_str_underflow): Likewise.
3356         (_IO_str_count): Likewise.
3357         (_IO_str_seekoff): Likewise.
3358         (_IO_str_pbackfail): Likewise.
3359         (_IO_str_finish): Likewise.
3360         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
3361         (_IO_wstr_overflow): Likewise.
3362         (_IO_wstr_underflow): Likewise.
3363         (_IO_wstr_count): Likewise.
3364         (_IO_wstr_seekoff): Likewise.
3365         (_IO_wstr_pbackfail): Likewise.
3366         (_IO_wstr_finish): Likewise.
3367         * locale/programs/localedef.c (normalize_codeset): Likewise.
3368         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
3369         (add_locales_to_archive): Likewise.
3370         (delete_locales_from_archive): Likewise.
3371         * malloc/malloc.c (__libc_mallinfo): Likewise.
3372         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
3373         * misc/tsearch.c (__tfind): Likewise.
3374         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
3375         * nptl/pthread_attr_getdetachstate.c
3376         (__pthread_attr_getdetachstate): Likewise.
3377         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
3378         Likewise.
3379         * nptl/pthread_attr_getinheritsched.c
3380         (__pthread_attr_getinheritsched): Likewise.
3381         * nptl/pthread_attr_getschedparam.c
3382         (__pthread_attr_getschedparam): Likewise.
3383         * nptl/pthread_attr_getschedpolicy.c
3384         (__pthread_attr_getschedpolicy): Likewise.
3385         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
3386         Likewise.
3387         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
3388         Likewise.
3389         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
3390         Likewise.
3391         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
3392         Likewise.
3393         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
3394         (__pthread_attr_init_2_0): Likewise.
3395         * nptl/pthread_attr_setdetachstate.c
3396         (__pthread_attr_setdetachstate): Likewise.
3397         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
3398         Likewise.
3399         * nptl/pthread_attr_setinheritsched.c
3400         (__pthread_attr_setinheritsched): Likewise.
3401         * nptl/pthread_attr_setschedparam.c
3402         (__pthread_attr_setschedparam): Likewise.
3403         * nptl/pthread_attr_setschedpolicy.c
3404         (__pthread_attr_setschedpolicy): Likewise.
3405         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
3406         Likewise.
3407         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
3408         Likewise.
3409         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
3410         Likewise.
3411         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
3412         Likewise.
3413         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
3414         Likewise.
3415         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
3416         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
3417         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
3418         use internal_function.
3419         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
3420         prototype-style function definition.
3421         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
3422         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
3423         internal_function.
3424         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
3425         Convert to prototype-style function definition.
3426         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
3427         Likewise.
3428         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
3429         Likewise.
3430         (__pthread_mutex_unlock): Likewise.
3431         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
3432         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
3433         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
3434         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
3435         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
3436         * nss/makedb.c (process_input): Likewise.
3437         * posix/fnmatch.c (__strchrnul): Likewise.
3438         (__wcschrnul): Likewise.
3439         (fnmatch): Likewise.
3440         * posix/fnmatch_loop.c (FCT): Likewise.
3441         * posix/glob.c (globfree): Likewise.
3442         (__glob_pattern_type): Likewise.
3443         (__glob_pattern_p): Likewise.
3444         * posix/regcomp.c (re_compile_pattern): Likewise.
3445         (re_set_syntax): Likewise.
3446         (re_compile_fastmap): Likewise.
3447         (regcomp): Likewise.
3448         (regerror): Likewise.
3449         (regfree): Likewise.
3450         * posix/regexec.c (regexec): Likewise.
3451         (re_match): Likewise.
3452         (re_search): Likewise.
3453         (re_match_2): Likewise.
3454         (re_search_2): Likewise.
3455         (re_search_stub): Likewise.  Use internal_function
3456         (re_copy_regs): Likewise.
3457         (re_set_registers): Convert to prototype-style function
3458         definition.
3459         (prune_impossible_nodes): Likewise.  Use internal_function.
3460         * resolv/inet_net_pton.c (inet_net_pton): Convert to
3461         prototype-style function definition.
3462         (inet_net_pton_ipv4): Likewise.
3463         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
3464         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
3465         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
3466         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
3467         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
3468         Make variadic.
3469         * time/strptime_l.c (localtime_r): Convert to prototype-style
3470         function definition.
3471         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
3472         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
3473         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
3474         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
3476         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
3477         definition.
3478         (_ufc_doit_r): Likewise.
3479         * crypt/crypt_util.c (_ufc_copymem): Likewise.
3480         (_ufc_output_conversion_r): Likewise.
3481         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
3482         * inet/rcmd.c (rcmd_af): Likewise.
3483         (rcmd): Likewise.
3484         (ruserok_af): Likewise.
3485         (ruserok): Likewise.
3486         (ruserok2_sa): Likewise.
3487         (ruserok_sa): Likewise.
3488         (iruserok_af): Likewise.
3489         (iruserok): Likewise.
3490         (__ivaliduser): Likewise.
3491         (__validuser2_sa): Likewise.
3492         * inet/rexec.c (rexec_af): Likewise.
3493         (rexec): Likewise.
3494         * inet/ruserpass.c (ruserpass): Likewise.
3495         * locale/programs/xmalloc.c (xcalloc): Likewise.
3496         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
3497         * math/w_drem.c (__drem): Likewise.
3498         * math/w_dremf.c (__dremf): Likewise.
3499         * math/w_dreml.c (__dreml): Likewise.
3500         * misc/daemon.c (daemon): Likewise.
3501         * resolv/res_debug.c (p_fqnname): Likewise.
3502         * stdlib/div.c (div): Likewise.
3503         * string/memcmp.c (memcmp_bytes): Likewise.
3504         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
3505         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
3507         * crypt/cert.c (main): Convert to prototype-style function
3508         definition.
3509         * io/pipe.c (__pipe): Likewise.
3510         * io/pipe2.c (__pipe2): Likewise.
3511         * misc/futimesat.c (futimesat): Likewise.
3512         * misc/utimes.c (__utimes): Likewise.
3513         * posix/execve.c (__execve): Likewise.
3514         * posix/execvp.c (execvp): Likewise.
3515         * posix/execvpe.c (__execvpe): Likewise.
3516         * posix/fexecve.c (fexecve): Likewise.
3517         * socket/socketpair.c (socketpair): Likewise.
3518         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
3519         * stdlib/erand48.c (erand48): Likewise.
3520         * stdlib/erand48_r.c (__erand48_r): Likewise.
3521         * stdlib/jrand48.c (jrand48): Likewise.
3522         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
3523         * stdlib/lcong48.c (lcong48): Likewise.
3524         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
3525         * stdlib/nrand48.c (nrand48): Likewise.
3526         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
3527         * stdlib/seed48.c (seed48): Likewise.
3528         * stdlib/seed48_r.c (__seed48_r): Likewise.
3529         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
3530         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
3531         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
3533 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
3535         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
3536         * configure: Regenerated.
3537         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
3538         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
3539         unconditional.
3540         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
3541         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
3542         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
3543         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
3544         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
3545         unconditional.
3546         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
3548         * posix/Makefile (CFLAGS-regex.c): Remove variable.
3549         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
3551         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
3552         function definition.
3553         * crypt/crypt_util.c (__encrypt_r): Likewise.
3554         * libio/genops.c (_IO_no_init): Likewise.
3555         * libio/iofopncook.c (_IO_fopencookie): Likewise.
3556         (_IO_old_fopencookie): Likewise.
3557         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
3558         * libio/iogetline.c (_IO_getline): Likewise.
3559         (_IO_getline_info): Likewise.
3560         * libio/iogetwline.c (_IO_getwline): Likewise.
3561         (_IO_getwline_info): Likewise.
3562         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
3563         * libio/vswprintf.c (_IO_vswprintf): Likewise.
3564         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
3565         (find_entry): Likewise.
3566         (iterate_table): Likewise.
3567         (lookup): Likewise.
3568         * login/forkpty.c (forkpty): Likewise.
3569         * misc/hsearch_r.c (__hsearch_r): Likewise.
3570         * misc/select.c (__select): Likewise.
3571         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
3572         Likewise.
3573         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
3574         Likewise.
3575         * nptl/old_pthread_cond_timedwait.c
3576         (__pthread_cond_timedwait_2_0): Likewise.
3577         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
3578         * nptl/pthread_barrierattr_getpshared.c
3579         (pthread_barrierattr_getpshared): Likewise.
3580         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
3581         Likewise.
3582         * nptl/pthread_mutex_setprioceiling.c
3583         (pthread_mutex_setprioceiling): Likewise.
3584         * nptl/pthread_mutexattr_getprioceiling.c
3585         (pthread_mutexattr_getprioceiling): Likewise.
3586         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
3587         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
3588         Likewise.
3589         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
3590         Likewise.
3591         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
3592         Likewise.
3593         * socket/recvfrom.c (__recvfrom): Likewise.
3594         * socket/sendto.c (__sendto): Likewise.
3595         * socket/setsockopt.c (__setsockopt): Likewise.
3596         * stdio-common/_itoa.c (_itoa): Likewise.
3597         * stdio-common/_itowa.c (_itowa): Likewise.
3598         * stdio-common/reg-printf.c (__register_printf_specifier):
3599         Likewise.
3600         (__register_printf_function): Likewise.
3601         * stdio-common/tempname.c (__path_search): Likewise.
3602         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
3603         * stdlib/mul_1.c (mpn_mul_1): Likewise.
3604         * stdlib/random_r.c (__initstate_r): Likewise.
3605         * stdlib/setenv.c (__add_to_environ): Likewise.
3606         * stdlib/submul_1.c (mpn_submul_1): Likewise.
3607         * streams/getpmsg.c (getpmsg): Likewise.
3608         * streams/putmsg.c (putmsg): Likewise.
3609         * streams/putpmsg.c (putpmsg): Likewise.
3610         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
3611         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
3612         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
3613         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
3614         * sunrpc/pm_getport.c (pmap_getport): Likewise.
3615         * sunrpc/svc_udp.c (cache_get): Likewise.
3616         * sunrpc/xdr_array.c (xdr_vector): Likewise.
3617         * sysdeps/mach/hurd/getcwd.c
3618         (__canonicalize_directory_name_internal): Likewise.
3619         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
3620         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
3621         * sysdeps/mach/hurd/select.c (__select): Likewise.
3622         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
3623         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
3624         * sysdeps/sparc/nptl/pthread_barrier_init.c
3625         (__pthread_barrier_init): Likewise.
3626         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
3627         (__pthread_cond_timedwait): Likewise.
3628         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
3629         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
3630         Likewise.
3631         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
3632         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
3633         Likewise.
3634         * sysvipc/semtimedop.c (semtimedop): Likewise.
3635         * time/setitimer.c (__setitimer): Likewise.
3636         * time/strftime_l.c (emacs_strftime): Likewise.
3638 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
3640         * config.make.in (have-ssp): Delete.
3641         (stack-protector): New variable.
3642         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
3643         cache test for -fstack-protector-strong.  Export stack_protector to
3644         the best ssp flag.
3645         * configure: Regenerated.
3646         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
3647         * nscd/Makefile (CFLAGS-nscd): Likewise.
3648         * resolv/Makefile (CFLAGS-libresolv): Likewise.
3650 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
3652         [BZ #19122]
3653         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
3654         attribute_hidden.
3656 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3658         [BZ #18743]
3659         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
3660         code to...
3661         (ELIDE_LOCK): ...here.
3662         (__get_new_count): New function with part of the code from
3663         __elide_lock that updates the value of adapt_count after a
3664         transaction abort.
3665         (__elided_trylock): Moved this code to...
3666         (ELIDE_TRYLOCK): ...here.
3668 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
3670         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
3671         * configure: Regenerate.
3672         * INSTALL: Regenerate.
3673         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
3674         and tweak grammar.
3676 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
3678         * login/programs/pt_chown.c: Include signal.h
3679         (main): Clear any signal mask from the parent process.
3681 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
3683         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
3684         * configure: Regenerated.
3685         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
3686         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
3687         $(gnu89-inline-CFLAGS).
3689         * configure.ac (libc_cv_asm_weak_directive): Remove configure
3690         test.
3691         (libc_cv_asm_weakext_directive): Likewise.
3692         * configure: Regenerated.
3693         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
3694         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
3695         * include/libc-symbols.h
3696         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
3697         #error.
3698         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
3699         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
3701         * sysdeps/arm/backtrace.c (__backtrace): Convert to
3702         prototype-style function definition.
3703         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
3704         * sysdeps/i386/ffs.c (__ffs): Likewise.
3705         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
3706         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
3707         Likewise.
3708         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
3709         Likewise.
3710         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
3711         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
3712         Likewise.
3713         * sysdeps/m68k/ffs.c (__ffs): Likewise.
3714         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
3715         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
3716         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
3717         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
3718         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
3719         * sysdeps/mach/hurd/access.c (__access): Likewise.
3720         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
3721         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
3722         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
3723         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
3724         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
3725         (cthread_getspecific): Likewise.
3726         (cthread_setspecific): Likewise.
3727         (__libc_getspecific): Likewise.
3728         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
3729         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
3730         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
3731         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
3732         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
3733         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
3734         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
3735         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
3736         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
3737         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
3738         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
3739         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
3740         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
3741         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
3742         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
3743         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
3744         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
3745         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
3746         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
3747         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
3748         * sysdeps/mach/hurd/link.c (__link): Likewise.
3749         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
3750         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
3751         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
3752         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
3753         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
3754         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
3755         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
3756         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
3757         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
3758         * sysdeps/mach/hurd/rename.c (rename): Likewise.
3759         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
3760         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
3761         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
3762         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
3763         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
3764         * sysdeps/mach/hurd/send.c (__send): Likewise.
3765         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
3766         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
3767         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
3768         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
3769         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
3770         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
3771         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
3772         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
3773         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
3774         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
3775         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
3776         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
3777         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
3778         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
3779         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
3780         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
3781         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
3782         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
3783         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
3784         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
3785         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
3786         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
3787         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
3788         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
3789         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
3790         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
3791         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
3792         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
3793         * sysdeps/posix/alarm.c (alarm): Likewise.
3794         * sysdeps/posix/cuserid.c (cuserid): Likewise.
3795         * sysdeps/posix/dirfd.c (dirfd): Likewise.
3796         * sysdeps/posix/dup.c (__dup): Likewise.
3797         * sysdeps/posix/dup2.c (__dup2): Likewise.
3798         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
3799         (main): Likewise.
3800         * sysdeps/posix/flock.c (__flock): Likewise.
3801         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
3802         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
3803         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
3804         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
3805         * sysdeps/posix/isatty.c (__isatty): Likewise.
3806         * sysdeps/posix/killpg.c (killpg): Likewise.
3807         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
3808         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
3809         * sysdeps/posix/raise.c (raise): Likewise.
3810         * sysdeps/posix/remove.c (remove): Likewise.
3811         * sysdeps/posix/rename.c (rename): Likewise.
3812         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
3813         * sysdeps/posix/seekdir.c (seekdir): Likewise.
3814         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
3815         * sysdeps/posix/sigignore.c (sigignore): Likewise.
3816         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
3817         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
3818         * sysdeps/posix/sigset.c (sigset): Likewise.
3819         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
3820         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
3821         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
3822         * sysdeps/posix/time.c (time): Likewise.
3823         * sysdeps/posix/ttyname.c (getttyname): Likewise.
3824         (ttyname): Likewise.
3825         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
3826         * sysdeps/posix/utime.c (utime): Likewise.
3827         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
3828         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
3829         Likewise.
3830         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
3831         (pthread_spin_trylock): Likewise.
3832         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
3833         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
3834         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
3835         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
3836         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
3837         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
3838         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
3839         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
3840         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
3841         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
3842         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
3843         * sysdeps/s390/ffs.c (__ffs): Likewise.
3844         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
3845         Likewise.
3846         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
3847         Likewise.
3848         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
3849         Likewise.
3850         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
3851         (pthread_barrier_destroy): Likewise.
3852         * sysdeps/sparc/nptl/pthread_barrier_wait.c
3853         (__pthread_barrier_wait): Likewise.
3854         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
3855         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
3856         (__pthread_barrier_wait): Likewise.
3857         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
3858         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
3859         (memcmp_not_common_alignment): Likewise.
3860         (MEMCMP): Likewise.
3861         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
3862         (_wordcopy_fwd_dest_aligned): Likewise.
3863         (_wordcopy_bwd_aligned): Likewise.
3864         (_wordcopy_bwd_dest_aligned): Likewise.
3865         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
3866         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
3867         * sysdeps/unix/bsd/stty.c (stty): Likewise.
3868         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
3869         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
3870         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
3871         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
3872         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
3873         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
3874         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
3875         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
3876         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
3877         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
3878         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
3879         * sysdeps/unix/stime.c (stime): Likewise.
3880         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
3881         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
3882         Likewise.  Use internal_function.
3883         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
3884         Convert to prototype-style function definition.
3885         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
3886         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
3887         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
3888         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
3889         Likewise.  Use internal_function.
3890         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
3891         prototype-style function definition
3892         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
3893         Likewise.
3894         (__getlogin_r): Likewise.
3895         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
3896         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
3897         (__pthread_cond_broadcast): Likewise.
3898         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
3899         (__pthread_cond_destroy): Likewise.
3900         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
3901         (__pthread_cond_init): Likewise.
3902         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
3903         (__pthread_cond_signal): Likewise.
3904         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
3905         (__pthread_cond_wait): Likewise.
3906         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
3907         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
3908         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
3909         Likewise.
3910         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
3911         Likewise.
3912         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
3913         Likewise.
3914         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
3915         Likewise.
3916         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
3917         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
3918         (__ftruncate64): Likewise.
3919         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
3920         (truncate64): Likewise.
3921         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
3922         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
3923         (pthread_getcpuclockid): Likewise.
3924         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
3925         Likewise.
3926         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
3927         Likewise.
3928         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
3929         Likewise.
3930         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
3931         Likewise.
3932         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
3933         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
3934         (__libc_sigaction): Likewise.
3935         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
3936         Likewise.
3937         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
3938         (__sigprocmask): Likewise.
3939         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
3940         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
3941         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
3942         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
3943         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
3944         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
3945         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
3946         Likewise.
3947         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
3948         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
3949         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
3950         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
3951         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
3952         Likewise.
3953         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
3954         (__sigprocmask): Likewise.
3955         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
3956         (cfgetispeed): Likewise.
3957         (cfsetospeed): Likewise.
3958         (cfsetispeed): Likewise.
3959         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
3960         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
3961         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
3962         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
3963         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
3964         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
3965         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
3966         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
3967         Likewise.
3968         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
3969         Likewise.
3970         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
3971         Likewise.
3972         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
3973         Likewise.
3974         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
3976 2015-10-17  Florian Weimer  <fweimer@redhat.com>
3978         sunrpc: Rewrite with explicit TLS access using __thread.
3979         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
3980         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
3981         directly.
3982         (__rpc_thread_variables): Access thread_rpc_vars directly.
3983         Eliminate redundant assignment of the tvp variable.
3985 2015-10-17  Florian Weimer  <fweimer@redhat.com>
3987         malloc: Rewrite with explicit TLS access using __thread.
3988         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
3989         (tsd_setspecific, tsd_getspecific): Remove.
3990         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
3991         (tsd_setspecific, tsd_getspecific): Likewise.
3992         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
3993         (tsd_setspecific, tsd_getspecific): Likewise.
3994         * malloc/arena.c (thread_arena): New TLS variable.
3995         (arena_key): Remove variable.
3996         (arena_get): Use thread_arena.
3997         (arena_lookup): Remove macro.
3998         (malloc_atfork, free_atfork, ptmalloc_lock_all)
3999         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
4000         (_int_new_arena, get_free_list, reused_arena)
4001         (arena_thread_freeres): Use thread_arena.
4002         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
4003         tsd_getspecific, tsd_setspecific from safety annotations.
4004         (Allocating Cleared Space): Remove arena_lookup from safety
4005         annotations.
4007 2015-10-17  Florian Weimer  <fweimer@redhat.com>
4009         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
4010         struct scratch_buffer instead of extend_alloca.
4012 2015-10-17  Florian Weimer  <fweimer@redhat.com>
4014         * sysdeps/unix/sysv/linux/kernel-features.h
4015         (__ASSUME_SOCK_CLOEXEC): Remove.
4016         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
4017         (__have_paccept): Remove unused macro.
4018         * include/unistd.h (__have_sock_cloexec): Remove declaration.
4019         * misc/syslog.c (openlog_internal): Remove fallback code for
4020         !__ASSUME_SOCK_CLOEXEC.
4021         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
4022         missing SOCK_CLOEXEC.
4023         * nscd/connections.c (have_sock_cloexec): Remove definition.
4024         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
4025         * nscd/nscd_helper.c (open_socket): Remove fallback code for
4026         !__ASSUME_SOCK_CLOEXEC.
4027         * resolv/res_send.c (__have_o_nonblock): Remove definition.
4028         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
4029         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
4030         definition.
4031         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
4032         code for !__ASSUME_SOCK_CLOEXEC.
4034 2015-10-17  Florian Weimer  <fweimer@redhat.com>
4036         [BZ #18982]
4037         * manual/stdio.texi (Variable Arguments Output): Add portability
4038         note, explaining that vfprintf clobbers the va_list pointer.
4040 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
4042         * math/libm-test.inc (fabs_test_data): Add more tests.
4043         (fdim_test_data): Likewise.
4044         (fma_test_data): Likewise.
4045         (fmax_test_data): Likewise.
4046         (fmin_test_data): Likewise.
4047         (fmod_test_data): Likewise.
4049 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
4051         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
4052         data.
4054 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
4056         * math/libm-test.inc (ceil_test_data): Add more tests and more
4057         expectations for "inexact".
4058         (floor_test_data): Add more tests.
4059         (round_test_data): Likewise.
4060         (trunc_test_data): Likewise.
4062         * crypt/cert.c (good_bye): Convert to prototype-style function
4063         definition.
4064         (get8): Likewise.
4065         (put8): Likewise.
4066         * crypt/crypt-entry.c (crypt): Likewise.
4067         (__fcrypt): Likewise.
4068         * crypt/crypt_util.c (_ufc_prbits): Likewise.
4069         (_ufc_set_bits): Likewise.
4070         (_ufc_clearmem): Likewise.
4071         (__init_des_r): Likewise.
4072         (shuffle_sb): Likewise.
4073         (shuffle_sb): Likewise.
4074         (_ufc_setup_salt_r): Likewise.
4075         (_ufc_mk_keytab_r): Likewise.
4076         (_ufc_dofinalperm_r): Likewise.
4077         (encrypt): Likewise.
4078         (__setkey_r): Likewise.
4079         (setkey): Likewise.
4080         * crypt/md5.c (md5_init_ctx): Likewise.
4081         (md5_read_ctx): Likewise.
4082         (md5_finish_ctx): Likewise.
4083         (md5_stream): Likewise.
4084         (md5_buffer): Likewise.
4085         (md5_process_bytes): Likewise.
4086         * crypt/sha256.c (__sha256_init_ctx): Likewise.
4087         (__sha256_finish_ctx): Likewise.
4088         (__sha256_process_bytes): Likewise.
4089         * crypt/sha512.c (__sha512_init_ctx): Likewise.
4090         (__sha512_finish_ctx): Likewise.
4091         (__sha512_process_bytes): Likewise.
4092         * ctype/isctype.c (__isctype): Likewise.
4093         * debug/backtrace.c (__backtrace): Likewise.
4094         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
4095         * debug/fgets_chk.c (__fgets_chk): Likewise.
4096         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
4097         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
4098         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
4099         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
4100         * debug/memset_chk.c (__memset_chk): Likewise.
4101         * debug/strcat_chk.c (__strcat_chk): Likewise.
4102         * debug/strncat_chk.c (__strncat_chk): Likewise.
4103         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
4104         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
4105         * dirent/dirfd.c (dirfd): Likewise.
4106         * dirent/getdents.c (__getdirentries): Likewise.
4107         * dirent/getdents64.c (getdirentries64): Likewise.
4108         * dirent/rewinddir.c (__rewinddir): Likewise.
4109         * dirent/seekdir.c (seekdir): Likewise.
4110         * dirent/telldir.c (telldir): Likewise.
4111         * elf/sln.c (makesymlinks): Likewise.
4112         (makesymlink): Likewise.
4113         * gmon/gmon.c (__moncontrol): Likewise.
4114         (__monstartup): Likewise.
4115         (write_hist): Likewise.
4116         (write_call_graph): Likewise.
4117         (write_bb_counts): Likewise.
4118         * grp/setgroups.c (setgroups): Likewise.
4119         * inet/inet_lnaof.c (inet_lnaof): Likewise.
4120         * inet/inet_net.c (inet_network): Likewise.
4121         * inet/inet_netof.c (inet_netof): Likewise.
4122         * inet/rcmd.c (rresvport_af): Likewise.
4123         (rresvport): Likewise.
4124         * io/access.c (__access): Likewise.
4125         * io/chdir.c (__chdir): Likewise.
4126         * io/chmod.c (__chmod): Likewise.
4127         * io/chown.c (__chown): Likewise.
4128         * io/close.c (__close): Likewise.
4129         * io/creat.c (creat): Likewise.
4130         * io/creat64.c (creat64): Likewise.
4131         * io/dup.c (__dup): Likewise.
4132         * io/dup2.c (__dup2): Likewise.
4133         * io/dup3.c (__dup3): Likewise.
4134         * io/euidaccess.c (__euidaccess): Likewise.
4135         * io/faccessat.c (faccessat): Likewise.
4136         * io/fchmod.c (__fchmod): Likewise.
4137         * io/fchmodat.c (fchmodat): Likewise.
4138         * io/fchown.c (__fchown): Likewise.
4139         * io/fchownat.c (fchownat): Likewise.
4140         * io/fcntl.c (__fcntl): Likewise.
4141         * io/flock.c (__flock): Likewise.
4142         * io/fts.c (fts_load): Likewise.
4143         (fts_close): Likewise.
4144         (fts_read): Likewise.
4145         (fts_set): Likewise.
4146         (fts_children): Likewise.
4147         (fts_build): Likewise.
4148         (fts_stat): Likewise.
4149         (fts_sort): Likewise.
4150         (fts_alloc): Likewise.
4151         (fts_lfree): Likewise.
4152         (fts_palloc): Likewise.
4153         (fts_padjust): Likewise.
4154         (fts_maxarglen): Likewise.
4155         (fts_safe_changedir): Likewise.
4156         * io/getwd.c (getwd): Likewise.
4157         * io/isatty.c (__isatty): Likewise.
4158         * io/lchown.c (__lchown): Likewise.
4159         * io/link.c (__link): Likewise.
4160         * io/linkat.c (linkat): Likewise.
4161         * io/lseek.c (__libc_lseek): Likewise.
4162         * io/mkdir.c (__mkdir): Likewise.
4163         * io/mkdirat.c (mkdirat): Likewise.
4164         * io/mkfifo.c (mkfifo): Likewise.
4165         * io/mkfifoat.c (mkfifoat): Likewise.
4166         * io/open.c (__libc_open): Likewise.
4167         * io/open64.c (__libc_open64): Likewise.
4168         * io/readlink.c (__readlink): Likewise.
4169         * io/readlinkat.c (readlinkat): Likewise.
4170         * io/rmdir.c (__rmdir): Likewise.
4171         * io/symlink.c (__symlink): Likewise.
4172         * io/symlinkat.c (symlinkat): Likewise.
4173         * io/ttyname.c (ttyname): Likewise.
4174         * io/ttyname_r.c (__ttyname_r): Likewise.
4175         * io/umask.c (__umask): Likewise.
4176         * io/unlink.c (__unlink): Likewise.
4177         * io/unlinkat.c (unlinkat): Likewise.
4178         * io/utime.c (utime): Likewise.
4179         * libio/clearerr.c (clearerr): Likewise.
4180         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
4181         * libio/feof.c (_IO_feof): Likewise.
4182         * libio/feof_u.c (feof_unlocked): Likewise.
4183         * libio/ferror.c (_IO_ferror): Likewise.
4184         * libio/ferror_u.c (ferror_unlocked): Likewise.
4185         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
4186         * libio/fileno.c (__fileno): Likewise.
4187         * libio/fputc.c (fputc): Likewise.
4188         * libio/fputc_u.c (fputc_unlocked): Likewise.
4189         * libio/fputwc.c (fputwc): Likewise.
4190         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
4191         * libio/freopen.c (freopen): Likewise.
4192         * libio/freopen64.c (freopen64): Likewise.
4193         * libio/fseek.c (fseek): Likewise.
4194         * libio/fseeko.c (fseeko): Likewise.
4195         * libio/fseeko64.c (fseeko64): Likewise.
4196         * libio/ftello.c (__ftello): Likewise.
4197         * libio/ftello64.c (ftello64): Likewise.
4198         * libio/fwide.c (fwide): Likewise.
4199         * libio/genops.c (_IO_un_link): Likewise.
4200         (_IO_link_in): Likewise.
4201         (_IO_least_marker): Likewise.
4202         (_IO_switch_to_main_get_area): Likewise.
4203         (_IO_switch_to_backup_area): Likewise.
4204         (_IO_switch_to_get_mode): Likewise.
4205         (_IO_free_backup_area): Likewise.
4206         (_IO_switch_to_put_mode): Likewise.
4207         (__overflow): Likewise.
4208         (__underflow): Likewise.
4209         (__uflow): Likewise.
4210         (_IO_setb): Likewise.
4211         (_IO_doallocbuf): Likewise.
4212         (_IO_default_underflow): Likewise.
4213         (_IO_default_uflow): Likewise.
4214         (_IO_default_xsputn): Likewise.
4215         (_IO_sgetn): Likewise.
4216         (_IO_default_xsgetn): Likewise.
4217         (_IO_sync): Likewise.
4218         (_IO_default_setbuf): Likewise.
4219         (_IO_default_seekpos): Likewise.
4220         (_IO_default_doallocate): Likewise.
4221         (_IO_init): Likewise.
4222         (_IO_old_init): Likewise.
4223         (_IO_default_sync): Likewise.
4224         (_IO_default_finish): Likewise.
4225         (_IO_default_seekoff): Likewise.
4226         (_IO_sputbackc): Likewise.
4227         (_IO_sungetc): Likewise.
4228         (_IO_set_column): Likewise.
4229         (_IO_set_column): Likewise.
4230         (_IO_adjust_column): Likewise.
4231         (_IO_get_column): Likewise.
4232         (_IO_init_marker): Likewise.
4233         (_IO_remove_marker): Likewise.
4234         (_IO_marker_difference): Likewise.
4235         (_IO_marker_delta): Likewise.
4236         (_IO_seekmark): Likewise.
4237         (_IO_unsave_markers): Likewise.
4238         (_IO_nobackup_pbackfail): Likewise.
4239         (_IO_default_pbackfail): Likewise.
4240         (_IO_default_seek): Likewise.
4241         (_IO_default_stat): Likewise.
4242         (_IO_default_read): Likewise.
4243         (_IO_default_write): Likewise.
4244         (_IO_default_showmanyc): Likewise.
4245         (_IO_default_imbue): Likewise.
4246         (_IO_iter_next): Likewise.
4247         (_IO_iter_file): Likewise.
4248         * libio/getc.c (_IO_getc): Likewise.
4249         * libio/getwc.c (_IO_getwc): Likewise.
4250         * libio/iofclose.c (_IO_new_fclose): Likewise.
4251         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
4252         * libio/iofflush.c (_IO_fflush): Likewise.
4253         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
4254         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
4255         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
4256         * libio/iofgets.c (_IO_fgets): Likewise.
4257         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
4258         * libio/iofgetws.c (fgetws): Likewise.
4259         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
4260         * libio/iofopen64.c (_IO_fopen64): Likewise.
4261         * libio/iofopncook.c (_IO_cookie_read): Likewise.
4262         (_IO_cookie_write): Likewise.
4263         (_IO_cookie_seek): Likewise.
4264         (_IO_cookie_close): Likewise.
4265         (_IO_cookie_seekoff): Likewise.
4266         (_IO_old_cookie_seek): Likewise.
4267         * libio/iofputs.c (_IO_fputs): Likewise.
4268         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
4269         * libio/iofputws.c (fputws): Likewise.
4270         * libio/iofputws_u.c (fputws_unlocked): Likewise.
4271         * libio/iofread.c (_IO_fread): Likewise.
4272         * libio/iofread_u.c (__fread_unlocked): Likewise.
4273         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
4274         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
4275         * libio/ioftell.c (_IO_ftell): Likewise.
4276         * libio/iofwrite.c (_IO_fwrite): Likewise.
4277         * libio/iogetdelim.c (_IO_getdelim): Likewise.
4278         * libio/iogets.c (_IO_gets): Likewise.
4279         * libio/iopadn.c (_IO_padn): Likewise.
4280         * libio/iopopen.c (_IO_new_proc_open): Likewise.
4281         (_IO_new_popen): Likewise.
4282         (_IO_new_proc_close): Likewise.
4283         * libio/ioputs.c (_IO_puts): Likewise.
4284         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
4285         (_IO_seekoff): Likewise.
4286         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
4287         (_IO_seekpos): Likewise.
4288         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
4289         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
4290         * libio/ioungetc.c (_IO_ungetc): Likewise.
4291         * libio/ioungetwc.c (ungetwc): Likewise.
4292         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
4293         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
4294         * libio/iowpadn.c (_IO_wpadn): Likewise.
4295         * libio/libc_fatal.c (__libc_fatal): Likewise.
4296         * libio/memstream.c (__open_memstream): Likewise.
4297         (_IO_mem_sync): Likewise.
4298         (_IO_mem_finish): Likewise.
4299         * libio/oldfileops.c (_IO_old_file_init): Likewise.
4300         (_IO_old_file_close_it): Likewise.
4301         (_IO_old_file_finish): Likewise.
4302         (_IO_old_file_fopen): Likewise.
4303         (_IO_old_file_attach): Likewise.
4304         (_IO_old_file_setbuf): Likewise.
4305         (_IO_old_do_write): Likewise.
4306         (old_do_write): Likewise.
4307         (_IO_old_file_underflow): Likewise.
4308         (_IO_old_file_overflow): Likewise.
4309         (_IO_old_file_sync): Likewise.
4310         (_IO_old_file_seekoff): Likewise.
4311         (_IO_old_file_write): Likewise.
4312         (_IO_old_file_xsputn): Likewise.
4313         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
4314         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
4315         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
4316         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
4317         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
4318         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
4319         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
4320         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
4321         (_IO_old_popen): Likewise.
4322         (_IO_old_proc_close): Likewise.
4323         * libio/oldpclose.c (__old_pclose): Likewise.
4324         * libio/pclose.c (__new_pclose): Likewise.
4325         * libio/peekc.c (_IO_peekc_locked): Likewise.
4326         * libio/putc.c (_IO_putc): Likewise.
4327         * libio/putc_u.c (putc_unlocked): Likewise.
4328         * libio/putchar.c (putchar): Likewise.
4329         * libio/putchar_u.c (putchar_unlocked): Likewise.
4330         * libio/putwc.c (putwc): Likewise.
4331         * libio/putwc_u.c (putwc_unlocked): Likewise.
4332         * libio/putwchar.c (putwchar): Likewise.
4333         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
4334         * libio/rewind.c (rewind): Likewise.
4335         * libio/setbuf.c (setbuf): Likewise.
4336         * libio/setlinebuf.c (setlinebuf): Likewise.
4337         * libio/vasprintf.c (_IO_vasprintf): Likewise.
4338         * libio/vscanf.c (_IO_vscanf): Likewise.
4339         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
4340         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
4341         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
4342         * libio/wgenops.c (_IO_least_wmarker): Likewise.
4343         (_IO_switch_to_main_wget_area): Likewise.
4344         (_IO_switch_to_wbackup_area): Likewise.
4345         (_IO_wsetb): Likewise.
4346         (_IO_wdefault_pbackfail): Likewise.
4347         (_IO_wdefault_finish): Likewise.
4348         (_IO_wdefault_uflow): Likewise.
4349         (__woverflow): Likewise.
4350         (__wuflow): Likewise.
4351         (__wunderflow): Likewise.
4352         (_IO_wdefault_xsputn): Likewise.
4353         (_IO_wdefault_xsgetn): Likewise.
4354         (_IO_wdoallocbuf): Likewise.
4355         (_IO_wdefault_doallocate): Likewise.
4356         (_IO_switch_to_wget_mode): Likewise.
4357         (_IO_free_wbackup_area): Likewise.
4358         (_IO_switch_to_wput_mode): Likewise.
4359         (_IO_sputbackwc): Likewise.
4360         (_IO_sungetwc): Likewise.
4361         (_IO_adjust_wcolumn): Likewise.
4362         (_IO_init_wmarker): Likewise.
4363         (_IO_wmarker_delta): Likewise.
4364         (_IO_seekwmark): Likewise.
4365         (_IO_unsave_wmarkers): Likewise.
4366         * libio/wmemstream.c (open_wmemstream): Likewise.
4367         (_IO_wmem_sync): Likewise.
4368         (_IO_wmem_finish): Likewise.
4369         * locale/nl_langinfo.c (nl_langinfo): Likewise.
4370         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
4371         * locale/programs/simple-hash.c (init_hash): Likewise.
4372         (delete_hash): Likewise.
4373         (insert_entry): Likewise.
4374         (set_entry): Likewise.
4375         (next_prime): Likewise.
4376         (is_prime): Likewise.
4377         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
4378         (xmalloc): Likewise.
4379         (xrealloc): Likewise.
4380         * locale/programs/xstrdup.c (xstrdup): Likewise.
4381         * localedata/collate-test.c (xstrcoll): Likewise.
4382         * localedata/xfrm-test.c (xstrcmp): Likewise.
4383         * login/getlogin_r.c (__getlogin_r): Likewise.
4384         * login/getpt.c (__posix_openpt): Likewise.
4385         * login/login_tty.c (login_tty): Likewise.
4386         * login/setlogin.c (setlogin): Likewise.
4387         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
4388         (mach_msg_destroy_port): Likewise.
4389         (mach_msg_destroy_memory): Likewise.
4390         * malloc/mcheck.c (flood): Likewise.
4391         * misc/acct.c (acct): Likewise.
4392         * misc/brk.c (__brk): Likewise.
4393         * misc/chflags.c (chflags): Likewise.
4394         * misc/chroot.c (chroot): Likewise.
4395         * misc/fchflags.c (fchflags): Likewise.
4396         * misc/fstab.c (getfsspec): Likewise.
4397         (getfsfile): Likewise.
4398         * misc/fsync.c (fsync): Likewise.
4399         * misc/ftruncate.c (__ftruncate): Likewise.
4400         * misc/ftruncate64.c (__ftruncate64): Likewise.
4401         * misc/getdomain.c (getdomainname): Likewise.
4402         (getdomainname): Likewise.
4403         * misc/gethostname.c (__gethostname): Likewise.
4404         * misc/getpass.c (getpass): Likewise.
4405         * misc/getttyent.c (skip): Likewise.
4406         (value): Likewise.
4407         * misc/gtty.c (gtty): Likewise.
4408         * misc/hsearch.c (hsearch): Likewise.
4409         (hcreate): Likewise.
4410         * misc/hsearch_r.c (__hcreate_r): Likewise.
4411         (__hdestroy_r): Likewise.
4412         * misc/ioctl.c (__ioctl): Likewise.
4413         * misc/mkdtemp.c (mkdtemp): Likewise.
4414         * misc/mkostemp.c (mkostemp): Likewise.
4415         * misc/mkostemp64.c (mkostemp64): Likewise.
4416         * misc/mkostemps.c (mkostemps): Likewise.
4417         * misc/mkostemps64.c (mkostemps64): Likewise.
4418         * misc/mkstemp.c (mkstemp): Likewise.
4419         * misc/mkstemp64.c (mkstemp64): Likewise.
4420         * misc/mkstemps.c (mkstemps): Likewise.
4421         * misc/mkstemps64.c (mkstemps64): Likewise.
4422         * misc/mktemp.c (__mktemp): Likewise.
4423         * misc/preadv.c (preadv): Likewise.
4424         * misc/preadv64.c (preadv64): Likewise.
4425         * misc/pwritev.c (pwritev): Likewise.
4426         * misc/pwritev64.c (pwritev64): Likewise.
4427         * misc/readv.c (__readv): Likewise.
4428         * misc/revoke.c (revoke): Likewise.
4429         * misc/setdomain.c (setdomainname): Likewise.
4430         * misc/setegid.c (setegid): Likewise.
4431         * misc/seteuid.c (seteuid): Likewise.
4432         * misc/sethostid.c (sethostid): Likewise.
4433         * misc/sethostname.c (sethostname): Likewise.
4434         * misc/setregid.c (__setregid): Likewise.
4435         * misc/setreuid.c (__setreuid): Likewise.
4436         * misc/sstk.c (sstk): Likewise.
4437         * misc/stty.c (stty): Likewise.
4438         * misc/syscall.c (syscall): Likewise.
4439         * misc/syslog.c (setlogmask): Likewise.
4440         * misc/truncate.c (__truncate): Likewise.
4441         * misc/truncate64.c (truncate64): Likewise.
4442         * misc/ualarm.c (ualarm): Likewise.
4443         * misc/usleep.c (usleep): Likewise.
4444         * misc/ustat.c (ustat): Likewise.
4445         * misc/writev.c (__writev): Likewise.
4446         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
4447         * nptl/old_pthread_cond_broadcast.c
4448         (__pthread_cond_broadcast_2_0): Likewise.
4449         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
4450         Likewise.
4451         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
4452         Likewise.
4453         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
4454         Likewise.
4455         * nptl/pt-raise.c (raise): Likewise.
4456         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
4457         Likewise.
4458         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
4459         * nptl/pthread_barrierattr_destroy.c
4460         (pthread_barrierattr_destroy): Likewise.
4461         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
4462         Likewise.
4463         * nptl/pthread_barrierattr_setpshared.c
4464         (pthread_barrierattr_setpshared): Likewise.
4465         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
4466         Likewise.
4467         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
4468         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
4469         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
4470         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
4471         Likewise.
4472         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
4473         Likewise.
4474         * nptl/pthread_condattr_getpshared.c
4475         (pthread_condattr_getpshared): Likewise.
4476         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
4477         Likewise.
4478         * nptl/pthread_condattr_setpshared.c
4479         (pthread_condattr_setpshared): Likewise.
4480         * nptl/pthread_detach.c (pthread_detach): Likewise.
4481         * nptl/pthread_equal.c (__pthread_equal): Likewise.
4482         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
4483         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
4484         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
4485         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
4486         Likewise.
4487         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
4488         Likewise.
4489         * nptl/pthread_mutex_getprioceiling.c
4490         (pthread_mutex_getprioceiling): Likewise.
4491         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
4492         Likewise.
4493         * nptl/pthread_mutexattr_getprotocol.c
4494         (pthread_mutexattr_getprotocol): Likewise.
4495         * nptl/pthread_mutexattr_getpshared.c
4496         (pthread_mutexattr_getpshared): Likewise.
4497         * nptl/pthread_mutexattr_getrobust.c
4498         (pthread_mutexattr_getrobust): Likewise.
4499         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
4500         Likewise.
4501         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
4502         Likewise.
4503         * nptl/pthread_mutexattr_setprioceiling.c
4504         (pthread_mutexattr_setprioceiling): Likewise.
4505         * nptl/pthread_mutexattr_setprotocol.c
4506         (pthread_mutexattr_setprotocol): Likewise.
4507         * nptl/pthread_mutexattr_setpshared.c
4508         (pthread_mutexattr_setpshared): Likewise.
4509         * nptl/pthread_mutexattr_setrobust.c
4510         (pthread_mutexattr_setrobust): Likewise.
4511         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
4512         Likewise.
4513         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
4514         Likewise.
4515         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
4516         Likewise.
4517         * nptl/pthread_rwlockattr_getkind_np.c
4518         (pthread_rwlockattr_getkind_np): Likewise.
4519         * nptl/pthread_rwlockattr_getpshared.c
4520         (pthread_rwlockattr_getpshared): Likewise.
4521         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
4522         Likewise.
4523         * nptl/pthread_rwlockattr_setkind_np.c
4524         (pthread_rwlockattr_setkind_np): Likewise.
4525         * nptl/pthread_rwlockattr_setpshared.c
4526         (pthread_rwlockattr_setpshared): Likewise.
4527         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
4528         Likewise.
4529         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
4530         Likewise.
4531         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
4532         Likewise.
4533         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
4534         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
4535         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
4536         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
4537         * nptl/sem_close.c (sem_close): Likewise.
4538         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
4539         * nptl/sem_init.c (__old_sem_init): Likewise.
4540         * nptl/sigaction.c (__sigaction): Likewise.
4541         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
4542         * posix/_exit.c (_exit): Likewise.
4543         * posix/alarm.c (alarm): Likewise.
4544         * posix/confstr.c (confstr): Likewise.
4545         * posix/fpathconf.c (__fpathconf): Likewise.
4546         * posix/getgroups.c (__getgroups): Likewise.
4547         * posix/getpgid.c (__getpgid): Likewise.
4548         * posix/group_member.c (__group_member): Likewise.
4549         * posix/pathconf.c (__pathconf): Likewise.
4550         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
4551         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
4552         * posix/setgid.c (__setgid): Likewise.
4553         * posix/setpgid.c (__setpgid): Likewise.
4554         * posix/setuid.c (__setuid): Likewise.
4555         * posix/sleep.c (__sleep): Likewise.
4556         * posix/sysconf.c (__sysconf): Likewise.
4557         * posix/times.c (__times): Likewise.
4558         * posix/uname.c (__uname): Likewise.
4559         * posix/waitid.c (__waitid): Likewise.
4560         * pwd/getpw.c (__getpw): Likewise.
4561         * resolv/base64.c (b64_pton): Likewise.
4562         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
4563         * resolv/gethnamaddr.c (Dprintf): Likewise.
4564         (gethostbyname): Likewise.
4565         (gethostbyname2): Likewise.
4566         (gethostbyaddr): Likewise.
4567         (_sethtent): Likewise.
4568         (_gethtbyname): Likewise.
4569         (_gethtbyname2): Likewise.
4570         (_gethtbyaddr): Likewise.
4571         (map_v4v6_address): Likewise.
4572         (map_v4v6_hostent): Likewise.
4573         (addrsort): Likewise.
4574         (ht_sethostent): Likewise.
4575         (ht_gethostbyname): Likewise.
4576         (ht_gethostbyaddr): Likewise.
4577         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
4578         (inet_net_ntop_ipv4): Likewise.
4579         * resolv/inet_neta.c (inet_neta): Likewise.
4580         * resolv/inet_ntop.c (inet_ntop): Likewise.
4581         (inet_ntop4): Likewise.
4582         (inet_ntop6): Likewise.
4583         * resolv/inet_pton.c (__inet_pton): Likewise.
4584         (inet_pton4): Likewise.
4585         (inet_pton6): Likewise.
4586         * resolv/res_debug.c (loc_aton): Likewise.
4587         (loc_ntoa): Likewise.
4588         * resource/getpriority.c (__getpriority): Likewise.
4589         * resource/getrusage.c (__getrusage): Likewise.
4590         * resource/nice.c (nice): Likewise.
4591         * resource/setpriority.c (__setpriority): Likewise.
4592         * resource/setrlimit64.c (setrlimit64): Likewise.
4593         * resource/vlimit.c (vlimit): Likewise.
4594         * resource/vtimes.c (vtimes): Likewise.
4595         * rt/aio_error.c (aio_error): Likewise.
4596         * rt/aio_return.c (aio_return): Likewise.
4597         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
4598         * signal/kill.c (__kill): Likewise.
4599         * signal/killpg.c (killpg): Likewise.
4600         * signal/raise.c (raise): Likewise.
4601         * signal/sigaction.c (__sigaction): Likewise.
4602         * signal/sigaddset.c (sigaddset): Likewise.
4603         * signal/sigaltstack.c (sigaltstack): Likewise.
4604         * signal/sigandset.c (sigandset): Likewise.
4605         * signal/sigblock.c (__sigblock): Likewise.
4606         * signal/sigdelset.c (sigdelset): Likewise.
4607         * signal/sigempty.c (sigemptyset): Likewise.
4608         * signal/sigfillset.c (sigfillset): Likewise.
4609         * signal/sighold.c (sighold): Likewise.
4610         * signal/sigignore.c (sigignore): Likewise.
4611         * signal/sigintr.c (siginterrupt): Likewise.
4612         * signal/sigisempty.c (sigisemptyset): Likewise.
4613         * signal/sigismem.c (sigismember): Likewise.
4614         * signal/signal.c (signal): Likewise.
4615         * signal/sigorset.c (sigorset): Likewise.
4616         * signal/sigpause.c (__sigpause): Likewise.
4617         * signal/sigpending.c (sigpending): Likewise.
4618         * signal/sigprocmask.c (__sigprocmask): Likewise.
4619         * signal/sigrelse.c (sigrelse): Likewise.
4620         * signal/sigreturn.c (__sigreturn): Likewise.
4621         * signal/sigset.c (sigset): Likewise.
4622         * signal/sigsetmask.c (__sigsetmask): Likewise.
4623         * signal/sigstack.c (sigstack): Likewise.
4624         * signal/sigsuspend.c (__sigsuspend): Likewise.
4625         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
4626         * signal/sysv_signal.c (__sysv_signal): Likewise.
4627         * socket/accept.c (accept): Likewise.
4628         * socket/accept4.c (__libc_accept4): Likewise.
4629         * socket/bind.c (__bind): Likewise.
4630         * socket/connect.c (__connect): Likewise.
4631         * socket/getpeername.c (getpeername): Likewise.
4632         * socket/getsockname.c (__getsockname): Likewise.
4633         * socket/getsockopt.c (getsockopt): Likewise.
4634         * socket/listen.c (__listen): Likewise.
4635         * socket/recv.c (__recv): Likewise.
4636         * socket/recvmsg.c (__recvmsg): Likewise.
4637         * socket/send.c (__send): Likewise.
4638         * socket/sendmsg.c (__sendmsg): Likewise.
4639         * socket/shutdown.c (shutdown): Likewise.
4640         * socket/sockatmark.c (sockatmark): Likewise.
4641         * socket/socket.c (__socket): Likewise.
4642         * stdio-common/ctermid.c (ctermid): Likewise.
4643         * stdio-common/cuserid.c (cuserid): Likewise.
4644         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
4645         * stdio-common/remove.c (remove): Likewise.
4646         * stdio-common/rename.c (rename): Likewise.
4647         * stdio-common/renameat.c (renameat): Likewise.
4648         * stdio-common/tempname.c (__gen_tempname): Likewise.
4649         * stdio-common/xbug.c (InitBuffer): Likewise.
4650         (AppendToBuffer): Likewise.
4651         (ReadFile): Likewise.
4652         * stdlib/a64l.c (a64l): Likewise.
4653         * stdlib/drand48_r.c (drand48_r): Likewise.
4654         * stdlib/getcontext.c (getcontext): Likewise.
4655         * stdlib/getenv.c (getenv): Likewise.
4656         * stdlib/l64a.c (l64a): Likewise.
4657         * stdlib/llabs.c (llabs): Likewise.
4658         * stdlib/lldiv.c (lldiv): Likewise.
4659         * stdlib/lrand48_r.c (lrand48_r): Likewise.
4660         * stdlib/mrand48_r.c (mrand48_r): Likewise.
4661         * stdlib/putenv.c (putenv): Likewise.
4662         * stdlib/random.c (__srandom): Likewise.
4663         (__initstate): Likewise.
4664         (__setstate): Likewise.
4665         * stdlib/random_r.c (__srandom_r): Likewise.
4666         (__setstate_r): Likewise.
4667         (__random_r): Likewise.
4668         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
4669         * stdlib/setcontext.c (setcontext): Likewise.
4670         * stdlib/setenv.c (setenv): Likewise.
4671         (unsetenv): Likewise.
4672         * stdlib/srand48.c (srand48): Likewise.
4673         * stdlib/srand48_r.c (__srand48_r): Likewise.
4674         * stdlib/swapcontext.c (swapcontext): Likewise.
4675         * stdlib/system.c (__libc_system): Likewise.
4676         * stdlib/tst-strtod.c (expand): Likewise.
4677         * stdlib/tst-strtol.c (expand): Likewise.
4678         * stdlib/tst-strtoll.c (expand): Likewise.
4679         * streams/fattach.c (fattach): Likewise.
4680         * streams/fdetach.c (fdetach): Likewise.
4681         * streams/getmsg.c (getmsg): Likewise.
4682         * streams/isastream.c (isastream): Likewise.
4683         * string/ffs.c (__ffs): Likewise.
4684         * string/ffsll.c (ffsll): Likewise.
4685         * string/memcmp.c (memcmp_common_alignment): Likewise.
4686         (memcmp_not_common_alignment): Likewise.
4687         (MEMCMP): Likewise.
4688         * string/memcpy.c (memcpy): Likewise.
4689         * string/memmove.c (MEMMOVE): Likewise.
4690         * string/memset.c (memset): Likewise.
4691         * string/rawmemchr.c (RAWMEMCHR): Likewise.
4692         * string/strchrnul.c (STRCHRNUL): Likewise.
4693         * string/strerror.c (strerror): Likewise.
4694         * string/strndup.c (__strndup): Likewise.
4695         * string/strverscmp.c (__strverscmp): Likewise.
4696         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
4697         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
4698         (clnttcp_freeres): Likewise.
4699         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
4700         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
4701         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
4702         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
4703         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
4704         (xdr_callhdr): Likewise.
4705         * sunrpc/rpcinfo.c (udpping): Likewise.
4706         (tcpping): Likewise.
4707         (pstatus): Likewise.
4708         (pmapdump): Likewise.
4709         (brdcst): Likewise.
4710         (deletereg): Likewise.
4711         (getprognum): Likewise.
4712         (getvers): Likewise.
4713         (get_inet_address): Likewise.
4714         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
4715         * sunrpc/svc_udp.c (svcudp_create): Likewise.
4716         (svcudp_stat): Likewise.
4717         (svcudp_recv): Likewise.
4718         (svcudp_reply): Likewise.
4719         (svcudp_getargs): Likewise.
4720         (svcudp_freeargs): Likewise.
4721         (svcudp_destroy): Likewise.
4722         * sunrpc/xdr.c (xdr_bytes): Likewise.
4723         (xdr_netobj): Likewise.
4724         (xdr_string): Likewise.
4725         (xdr_wrapstring): Likewise.
4726         * sunrpc/xdr_float.c (xdr_float): Likewise.
4727         (xdr_double): Likewise.
4728         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
4729         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
4730         * sysvipc/ftok.c (ftok): Likewise.
4731         * sysvipc/msgctl.c (msgctl): Likewise.
4732         * sysvipc/msgget.c (msgget): Likewise.
4733         * sysvipc/msgrcv.c (msgrcv): Likewise.
4734         * sysvipc/msgsnd.c (msgsnd): Likewise.
4735         * sysvipc/semget.c (semget): Likewise.
4736         * sysvipc/semop.c (semop): Likewise.
4737         * sysvipc/shmat.c (shmat): Likewise.
4738         * sysvipc/shmctl.c (shmctl): Likewise.
4739         * sysvipc/shmdt.c (shmdt): Likewise.
4740         * sysvipc/shmget.c (shmget): Likewise.
4741         * termios/cfmakeraw.c (cfmakeraw): Likewise.
4742         * termios/speed.c (cfgetospeed): Likewise.
4743         (cfgetispeed): Likewise.
4744         (cfsetospeed): Likewise.
4745         (cfsetispeed): Likewise.
4746         * termios/tcflow.c (tcflow): Likewise.
4747         * termios/tcflush.c (tcflush): Likewise.
4748         * termios/tcgetattr.c (__tcgetattr): Likewise.
4749         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
4750         * termios/tcgetsid.c (tcgetsid): Likewise.
4751         * termios/tcsendbrk.c (tcsendbreak): Likewise.
4752         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
4753         * time/adjtime.c (__adjtime): Likewise.
4754         * time/dysize.c (dysize): Likewise.
4755         * time/ftime.c (ftime): Likewise.
4756         * time/getitimer.c (__getitimer): Likewise.
4757         * time/gettimeofday.c (__gettimeofday): Likewise.
4758         * time/gmtime.c (__gmtime_r): Likewise.
4759         (gmtime): Likewise.
4760         * time/localtime.c (__localtime_r): Likewise.
4761         (localtime): Likewise.
4762         * time/offtime.c (__offtime): Likewise.
4763         * time/settimeofday.c (__settimeofday): Likewise.
4764         * time/stime.c (stime): Likewise.
4765         * time/strftime_l.c (tm_diff): Likewise.
4766         (iso_week_days): Likewise.
4767         * time/strptime.c (strptime): Likewise.
4768         * time/time.c (time): Likewise.
4769         * time/timespec_get.c (timespec_get): Likewise.
4770         * time/tzset.c (tzset_internal): Likewise.
4771         (compute_change): Likewise.
4772         (__tz_compute): Likewise.
4773         * wcsmbs/btowc.c (__btowc): Likewise.
4774         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
4775         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
4776         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
4777         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
4778         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
4779         * wcsmbs/wcscat.c (__wcscat): Likewise.
4780         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
4781         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
4782         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
4783         * wcsmbs/wcscspn.c (wcscspn): Likewise.
4784         * wcsmbs/wcsdup.c (wcsdup): Likewise.
4785         * wcsmbs/wcslen.c (__wcslen): Likewise.
4786         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
4787         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
4788         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
4789         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
4790         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
4791         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
4792         * wcsmbs/wcsspn.c (wcsspn): Likewise.
4793         * wcsmbs/wcsstr.c (wcsstr): Likewise.
4794         * wcsmbs/wcstok.c (wcstok): Likewise.
4795         * wcsmbs/wctob.c (wctob): Likewise.
4796         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
4797         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
4798         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
4799         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
4800         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
4801         * wcsmbs/wmemset.c (__wmemset): Likewise.
4802         * wctype/wcfuncs.c (__towlower): Likewise.
4803         (__towupper): Likewise.
4805         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
4806         (lll_unlock_elision): Add adapt_count parameter.
4808 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
4810         * sysdeps/nptl/configure.ac: Do not give errors based on the
4811         results of top-level configure tests.
4812         * sysdeps/nptl/configure: Regenerated.
4814         * configure.ac (libc_cv_Bgroup): Remove configure test.
4815         * configure: Regenerated.
4816         * config.make.in (have-Bgroup): Remove variable.
4818         * configure.ac (sizeof_long_double): Remove configure test.
4819         * configure: Regenerated.
4820         * config.make.in (sizeof-long-double): Remove variable.
4822         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
4823         * configure: Regenerated.
4824         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
4825         variable.
4826         (exceptions): Likewise.
4827         * sysdeps/arm/configure: Regenerated.
4828         * config.make.in (exceptions): Remove variable.
4829         * Makeconfig (uses-callbacks): Use -fexceptions instead of
4830         $(exceptions).
4831         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
4832         (CFLAGS-vdprintf_chk.c): Likewise.
4833         (CFLAGS-printf_chk.c): Likewise.
4834         (CFLAGS-fprintf_chk.c): Likewise.
4835         (CFLAGS-vprintf_chk.c): Likewise.
4836         (CFLAGS-vfprintf_chk.c): Likewise.
4837         (CFLAGS-gets_chk.c): Likewise.
4838         (CFLAGS-fgets_chk.c): Likewise.
4839         (CFLAGS-fgets_u_chk.c): Likewise.
4840         (CFLAGS-fread_chk.c): Likewise.
4841         (CFLAGS-fread_u_chk.c): Likewise.
4842         (CFLAGS-wprintf_chk.c): Likewise.
4843         (CFLAGS-fwprintf_chk.c): Likewise.
4844         (CFLAGS-vwprintf_chk.c): Likewise.
4845         (CFLAGS-vfwprintf_chk.c): Likewise.
4846         (CFLAGS-fgetws_chk.c): Likewise.
4847         (CFLAGS-fgetws_u_chk.c): Likewise.
4848         * libio/Makefile (CFLAGS-fileops.c): Likewise.
4849         (CFLAGS-fputc.c): Likewise.
4850         (CFLAGS-fputwc.c): Likewise.
4851         (CFLAGS-freopen64.c): Likewise.
4852         (CFLAGS-freopen.c): Likewise.
4853         (CFLAGS-fseek.c): Likewise.
4854         (CFLAGS-fseeko64.c): Likewise.
4855         (CFLAGS-fseeko.c): Likewise.
4856         (CFLAGS-ftello64.c): Likewise.
4857         (CFLAGS-ftello.c): Likewise.
4858         (CFLAGS-fwide.c): Likewise.
4859         (CFLAGS-genops.c): Likewise.
4860         (CFLAGS-getc.c): Likewise.
4861         (CFLAGS-getchar.c): Likewise.
4862         (CFLAGS-getwc.c): Likewise.
4863         (CFLAGS-getwchar.c): Likewise.
4864         (CFLAGS-iofclose.c): Likewise.
4865         (CFLAGS-iofflush.c): Likewise.
4866         (CFLAGS-iofgetpos64.c): Likewise.
4867         (CFLAGS-iofgetpos.c): Likewise.
4868         (CFLAGS-iofgets.c): Likewise.
4869         (CFLAGS-iofgetws.c): Likewise.
4870         (CFLAGS-iofputs.c): Likewise.
4871         (CFLAGS-iofputws.c): Likewise.
4872         (CFLAGS-iofread.c): Likewise.
4873         (CFLAGS-iofsetpos64.c): Likewise.
4874         (CFLAGS-iofsetpos.c): Likewise.
4875         (CFLAGS-ioftell.c): Likewise.
4876         (CFLAGS-iofwrite.c): Likewise.
4877         (CFLAGS-iogetdelim.c): Likewise.
4878         (CFLAGS-iogetline.c): Likewise.
4879         (CFLAGS-iogets.c): Likewise.
4880         (CFLAGS-iogetwline.c): Likewise.
4881         (CFLAGS-ioputs.c): Likewise.
4882         (CFLAGS-ioseekoff.c): Likewise.
4883         (CFLAGS-ioseekpos.c): Likewise.
4884         (CFLAGS-iosetbuffer.c): Likewise.
4885         (CFLAGS-iosetvbuf.c): Likewise.
4886         (CFLAGS-ioungetc.c): Likewise.
4887         (CFLAGS-ioungetwc.c): Likewise.
4888         (CFLAGS-oldfileops.c): Likewise.
4889         (CFLAGS-oldiofclose.c): Likewise.
4890         (CFLAGS-oldiofgetpos64.c): Likewise.
4891         (CFLAGS-oldiofgetpos.c): Likewise.
4892         (CFLAGS-oldiofsetpos64.c): Likewise.
4893         (CFLAGS-oldiofsetpos.c): Likewise.
4894         (CFLAGS-peekc.c): Likewise.
4895         (CFLAGS-putc.c): Likewise.
4896         (CFLAGS-putchar.c): Likewise.
4897         (CFLAGS-putwc.c): Likewise.
4898         (CFLAGS-putwchar.c): Likewise.
4899         (CFLAGS-rewind.c): Likewise.
4900         (CFLAGS-wfileops.c): Likewise.
4901         (CFLAGS-wgenops.c): Likewise.
4902         (CFLAGS-oldiofopen.c): Likewise.
4903         (CFLAGS-iofopen.c): Likewise.
4904         (CFLAGS-iofopen64.c): Likewise.
4905         (CFLAGS-oldtmpfile.c): Likewise.
4906         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
4907         (CFLAGS-fprintf.c): Likewise.
4908         (CFLAGS-printf.c): Likewise.
4909         (CFLAGS-vfwprintf.c): Likewise.
4910         (CFLAGS-vfscanf.c): Likewise.
4911         (CFLAGS-vfwscanf.c): Likewise.
4912         (CFLAGS-fscanf.c): Likewise.
4913         (CFLAGS-scanf.c): Likewise.
4914         (CFLAGS-isoc99_vfscanf.c): Likewise.
4915         (CFLAGS-isoc99_vscanf.c): Likewise.
4916         (CFLAGS-isoc99_fscanf.c): Likewise.
4917         (CFLAGS-isoc99_scanf.c): Likewise.
4918         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
4919         (CFLAGS-isoc99_fwscanf.c): Likewise.
4920         (CFLAGS-isoc99_vwscanf.c): Likewise.
4921         (CFLAGS-isoc99_vfwscanf.c): Likewise.
4923         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
4924         after mkstemp64.
4925         * login/tst-utmp.c (do_prepare): Likewise.
4926         * rt/tst-aio.c (do_prepare): Likewise.
4927         * rt/tst-aio64.c (do_prepare): Likewise.
4929 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4931         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
4932         (__lll_lock_elision): Remove adapt_count decrement...
4933         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
4934         (__lll_trylock_elision): Likewise.
4935         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
4936         (__lll_unlock_elision): ... to here. And utilize
4937         new adapt_count parameter.
4938         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
4939         (__lll_unlock_elision): Update to include adapt_count
4940         parameter.
4941         (lll_unlock_elision): Pass pointer to adapt_count
4942         variable.
4944 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4946         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
4947         Add elision adapt_count parameter to list of arguments.
4948         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
4949         (lll_unlock_elision): Update with new parameter list
4950         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
4951         (lll_unlock_elision): Likewise
4952         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
4953         (lll_unlock_elision): Likewise
4955 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
4957         [BZ #19122]
4958         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
4959         attribute_hidden.
4961         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
4962         attribute_hidden.
4963         [IS_IN (rtld)] (__strdup): Likewise.
4964         [IS_IN (rtld)] (__strerror_r): Likewise.
4965         [IS_IN (rtld)] (__strsep_g): Likewise.
4966         [IS_IN (rtld)] (memchr): Likewise.
4967         [IS_IN (rtld)] (memcmp): Likewise.
4968         [IS_IN (rtld)] (memcpy): Likewise.
4969         [IS_IN (rtld)] (memmove): Likewise.
4970         [IS_IN (rtld)] (memset): Likewise.
4971         [IS_IN (rtld)] (rawmemchr): Likewise.
4972         [IS_IN (rtld)] (stpcpy): Likewise.
4973         [IS_IN (rtld)] (strchr): Likewise.
4974         [IS_IN (rtld)] (strcmp): Likewise.
4975         [IS_IN (rtld)] (strlen): Likewise.
4976         [IS_IN (rtld)] (strnlen): Likewise.
4977         [IS_IN (rtld)] (strsep): Likewise.
4979         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
4980         attribute_hidden.
4981         [IS_IN (rtld)] (__strtoul_internal): Likewise.
4983         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
4984         attribute_hidden.
4985         [IS_IN (rtld)] (__libc_sigaction): Likewise.
4987         * include/setjmp.h (__longjmp): Add attribute_hidden.
4988         [IS_IN (rtld)] (__sigsetjmp): Likewise.
4990         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
4991         Add attribute_hidden.
4993         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
4994         [IS_IN (rtld)] (__open): Likewise.
4995         [IS_IN (rtld)] (__fcntl): Likewise.
4997         * include/dirent.h (__opendirat): Add attribute_hidden.
4998         (__getdents): Likewise.
4999         (__getdents64): Likewise.
5000         (__alloc_dir): Likewise.
5001         [IS_IN (rtld)] (__closedir): Likewise.
5002         [IS_IN (rtld)] (__fdopendir): Likewise.
5003         [IS_IN (rtld)] (__readdir): Likewise.
5004         [IS_IN (rtld)] (__readdir64): Likewise.
5005         [IS_IN (rtld)] (__rewinddir): Likewise.
5007         * include/dlfcn.h (_dl_catch_error): Moved to ...
5008         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
5009         attribute_hidden.
5011         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
5012         (_itoa_word): Likewise.
5014         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
5015         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
5016         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
5017         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
5018         (_dl_higher_prime_number): Likewise.
5019         (_dl_debug_printf_c): Likewise.
5020         (_dl_signal_cerror): Likewise.
5021         (_dl_receive_error): Likewise.
5022         (_dl_reloc_bad_type): Likewise.
5023         (_dl_resolve_conflicts): Likewise.
5024         (_dl_check_all_versions): Likewise.
5025         (_dl_check_map_versions): Likewise.
5026         (_dl_sort_fini): Likewise.
5027         (_dl_debug_initialize): Likewise.
5028         (_dl_init_paths): Likewise.
5029         (_dl_show_auxv): Likewise.
5030         (_dl_next_ld_env_entry): Likewise.
5031         (_dl_important_hwcaps): Likewise.
5032         (_dl_load_cache_lookup): Likewise.
5033         (_dl_update_slotinfo): Likewise.
5034         (_dl_show_scope): Likewise.
5036         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
5037         attribute_hidden.
5038         (_wordcopy_fwd_dest_aligned): Likewise.
5039         (_wordcopy_bwd_aligned): Likewise.
5040         (_wordcopy_bwd_dest_aligned): Likewise.
5042         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
5043         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
5044         Likewise.
5045         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
5046         Likewise.
5047         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
5049 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
5051         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
5052         GCC 5 requirement.
5054 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
5056         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
5057         test.
5058         * sysdeps/i386/configure: Regenerated.
5059         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
5060         code unconditional.
5062         * configure.ac (libc_cv_asm_previous_directive): Remove configure
5063         test.
5064         (libc_cv_asm_popsection_directive): Likewise.
5065         * configure: Regenerated.
5066         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
5067         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
5068         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
5069         (__make_section_unallocated): Make definition unconditional.
5070         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
5071         Remove conditional definition.
5072         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
5073         (__make_section_unallocated): Likewise.
5075         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
5076         * configure: Regenerated.
5077         * config.make.in (static-libgcc): Remove variable.
5078         * Makerules (build-shlib-helper): Use -static-libgcc instead of
5079         $(static-libgcc).
5080         (build-module-helper): Likewise.
5082         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
5083         * configure: Regenerated.
5085 2015-10-15  Florian Weimer  <fweimer@redhat.com>
5087         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
5088         (struct char_buffer): New type.
5089         (char_buffer_start, char_buffer_size, char_buffer_error)
5090         (char_buffer_rewind, char_buffer_add): New functions.
5091         (ADDW): Remove macro, replaced by the char_buffer_add function.
5092         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
5093         of extend_alloca.  Make control flow more explicit.
5095 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
5097         [BZ #19137]
5098         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
5099         Add -fomit-frame-pointer.
5100         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
5102 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
5104         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
5105         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
5106         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
5107         only if !__GNUC_PREREQ (5,0).
5108         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
5109         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
5110         (INTERNAL_SYSCALL_NCS): Likewise.
5111         (LOADREGS_0): New macro for GCC 5.
5112         (ASMARGS_0): Likewise.
5113         (LOADREGS_1): Likewise.
5114         (ASMARGS_1): Likewise.
5115         (LOADREGS_2): Likewise.
5116         (ASMARGS_2): Likewise.
5117         (LOADREGS_3): Likewise.
5118         (ASMARGS_3): Likewise.
5119         (LOADREGS_4): Likewise.
5120         (ASMARGS_4): Likewise.
5121         (LOADREGS_5): Likewise.
5122         (ASMARGS_5): Likewise.
5123         (LOADREGS_6): Likewise.
5124         (ASMARGS_6): Likewise.
5126 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
5128         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
5129         -fomit-frame-pointer.
5130         (CFLAGS-mmap64.c): Likewise.
5131         (CFLAGS-semtimedop.c): Likewise.
5132         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
5133         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
5134         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
5135         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
5137 2015-10-15  Florian Weimer  <fweimer@redhat.com>
5139         [BZ #18928]
5140         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
5141         _dl_pointer_guard member.
5142         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
5143         initializer.
5144         (security_init): Always set up pointer guard.
5145         (process_envvars): Do not process LD_POINTER_GUARD.
5147 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
5149         [BZ #19134]
5150         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
5151         (.LC2): Likewise.
5152         (.LC3): Likewise.
5153         (__lround): Do not add 0.5 to integer or out-of-range arguments.
5155 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5157         [BZ #19129]
5158         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
5159         r0 and r1.
5161 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
5163         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
5165 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
5167         * include/stap-probe.h: Fix macro definition formatting.
5169 2015-10-14  Florian Weimer  <fweimer@redhat.com>
5171         [BZ #19074]
5172         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
5173         load and store num_ifs.
5175 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
5177         [BZ #18822]
5178         * sysdeps/unix/sysv/linux/sched_getaffinity.c
5179         (__sched_getaffinity_new): Add libc_hidden_proto and
5180         libc_hidden_def.
5182 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
5184         [BZ #19007]
5185         * scripts/localplt.awk: Also allow GOT references.
5186         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
5187         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
5188         with "+ REL R_386_GLOB_DAT".
5189         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
5190         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
5192 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
5194         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
5195         INLINE_SYSCALL_ERROR_RETURN_VALUE.
5196         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
5197         Likewise.
5198         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
5199         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
5200         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
5201         INTERNAL_SYSCALLINTERNAL_SYSCALL and
5202         INLINE_SYSCALL_ERROR_RETURN_VALUE.
5203         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
5204         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
5205         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
5206         Likewise.
5207         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
5209 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
5211         [BZ #19125]
5212         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
5213         <math_private.h> and <stdint.h>.
5214         (__llround): Avoid conversions to and from long long int, and
5215         subtractions, where those might raise spurious exceptions.
5216         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
5217         <math_private.h> and <stdint.h>.
5218         (__llroundf): Avoid conversions to and from long long int, and
5219         subtractions, where those might raise spurious exceptions.
5221 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
5223         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
5224         INLINE_SYSCALL_ERROR_RETURN_VALUE.
5225         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
5226         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
5227         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
5228         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
5229         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
5230         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
5231         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
5232         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
5233         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
5234         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
5235         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
5236         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
5237         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
5238         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
5239         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
5240         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
5241         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
5242         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
5243         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
5244         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
5245         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
5246         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
5247         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
5248         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
5249         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
5250         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
5251         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
5252         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
5253         (__xstat64_conv): Likewise.
5254         (__xstat32_conv): Likewise.
5256 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
5258         * sysdeps/unix/sysv/linux/sysdep.h: New file.
5259         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
5260         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
5261         <sysdeps/unix/sysv/linux/sysdep.h>.
5262         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
5263         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
5264         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
5265         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5266         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
5267         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
5268         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
5269         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
5270         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
5271         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
5272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5273         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5274         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5275         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
5276         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
5277         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5278         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
5279         (sysdep-dl-routines): Add sysdep.
5280         [$(subdir) == nptl] (libpthread-routines): Likewise.
5281         [$(subdir) == rt] (librt-routines): Likewise.
5282         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
5283         PIC when branching to SYSCALL_ERROR_LABEL.
5284         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
5285         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
5286         <sysdeps/unix/sysv/linux/sysdep.h>.
5287         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
5288         (SYSCALL_ERROR_ERRNO): Removed.
5289         (SYSCALL_ERROR_HANDLER): Changed to empty.
5290         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
5291         (__syscall_error): New prototype.
5292         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
5293         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
5295 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
5297         [BZ #19124]
5298         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
5299         (_dl_runtime_resolve_avx512): Make it a hidden alias of
5300         _dl_runtime_resolve_avx.
5301         (_dl_runtime_profile_avx512): Make it a hidden alias of
5302         _dl_runtime_profile_avx.
5304 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
5306         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
5307         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
5308         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
5309         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
5311         [BZ #16422]
5312         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
5313         New configure test.
5314         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
5315         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
5316         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
5317         <math_private.h> and <stdint.h>.
5318         (__llrint): Avoid conversions to long long int where those might
5319         raise spurious exceptions.
5320         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
5321         <math_private.h> and <stdint.h>.
5322         (__llrintf): Avoid conversions to long long int where those might
5323         raise spurious exceptions.
5325 2015-10-12  Andreas Schwab  <schwab@suse.de>
5327         [BZ #18969]
5328         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
5329         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
5330         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
5331         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
5332         $(gen-locales).
5333         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
5334         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
5335         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
5336         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
5337         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
5338         $(gen-locales).
5339         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
5340         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
5341         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
5342         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
5343         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
5344         ($(objpfx)tst-ftell-active-handler.out)
5345         ($(objpfx)tst-ftell-append.out)
5346         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
5347         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
5348         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
5349         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
5350         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
5351         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
5352         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
5353         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
5354         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
5355         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
5356         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
5357         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
5358         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
5359         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
5360         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
5361         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
5362         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
5363         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
5364         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
5365         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
5366         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
5367         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
5368         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
5369         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
5370         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
5371         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
5372         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
5373         $(gen-locales).
5374         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
5375         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
5376         $(gen-locales).
5377         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
5378         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
5379         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
5380         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
5381         $(gen-locales).
5382         * libio/tst_wprintf2.c (main): Use explicit locale.
5383         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
5385 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5387         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
5388         __msg_sig_post.
5389         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
5391 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
5393         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
5394         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5396         * sysdeps/arm/libm-test-ulps: Regenerated.
5398         [BZ #15470]
5399         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
5401         [BZ #16399]
5402         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
5403         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
5404         and <fix-fp-int-convert-overflow.h>.
5405         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
5406         FIX_DBL_LLONG_CONVERT_OVERFLOW.
5407         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
5408         and <fix-fp-int-convert-overflow.h>.
5409         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
5410         FIX_DBL_LLONG_CONVERT_OVERFLOW.
5411         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
5412         <fix-fp-int-convert-overflow.h>.
5413         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
5414         FIX_DBL_LLONG_CONVERT_OVERFLOW.
5415         * sysdeps/ieee754/dbl-64/s_lround.c: Include
5416         <fix-fp-int-convert-overflow.h>.
5417         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
5418         FIX_DBL_LLONG_CONVERT_OVERFLOW.
5419         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
5420         and <fix-fp-int-convert-overflow.h>.
5421         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
5422         FIX_DBL_LLONG_CONVERT_OVERFLOW.
5423         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
5424         <limits.h> and <fix-fp-int-convert-overflow.h>.
5425         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
5426         FIX_DBL_LLONG_CONVERT_OVERFLOW.
5427         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
5428         and <fix-fp-int-convert-overflow.h>.
5429         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
5430         FIX_DBL_LLONG_CONVERT_OVERFLOW.
5431         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
5432         and <fix-fp-int-convert-overflow.h>.
5433         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
5434         FIX_DBL_LLONG_CONVERT_OVERFLOW.
5435         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
5437 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
5439         [BZ #18589]
5440         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
5441         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
5442         $(gen-locales).
5444 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5445             Phil Blundell <pb@pbcl.net>
5447         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
5448         * nptl/tst-cancel26.c: New file.
5449         * nptl/tst-cancel27.c: Likewise.
5451 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
5453         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
5454         __ILP32__ isn't defined.
5455         (lrint): Likewise.
5456         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
5457         (lrintf): Likewise.
5458         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
5459         (lrintl): Likewise.
5460         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
5461         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
5462         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
5464 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5466         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
5467         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
5469         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
5470         file.
5471         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
5472         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
5474 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
5476         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
5477         configure test.
5478         * sysdeps/i386/configure: Regenerated.
5479         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
5480         configure test.
5481         * sysdeps/x86_64/configure: Regenerated.
5482         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
5483         Make code unconditional.
5485         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
5486         test.
5487         * sysdeps/i386/configure: Regenerated.
5488         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
5489         test.
5490         * sysdeps/x86_64/configure: Regenerated.
5491         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
5492         Make code unconditional.
5493         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
5494         Likewise.
5495         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
5496         Likewise.
5497         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
5498         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
5499         code unconditional.
5500         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
5501         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
5502         code unconditional.
5503         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
5504         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
5505         code unconditional.
5506         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
5507         code unconditional.
5508         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
5509         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
5510         code unconditional.
5511         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
5512         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
5513         code unconditional.
5514         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
5515         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
5516         code unconditional.
5517         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
5518         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
5519         code unconditional.
5520         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
5521         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
5523         [BZ #19095]
5524         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
5525         mantissa to long int before shifting left.
5527 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
5529         [BZ #19094]
5530         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
5531         <limits.h>.
5532         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
5533         when result overflows but exception would not result from cast.
5534         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
5535         <limits.h>.
5536         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
5537         when result overflows but exception would not result from cast.
5538         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
5539         <limits.h>.
5540         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
5541         when result overflows but exception would not result from cast.
5542         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
5543         <limits.h>.
5544         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
5545         when result overflows but exception would not result from cast.
5546         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
5547         <limits.h>.
5548         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
5549         when result overflows but exception would not result from cast.
5550         * math/libm-test.inc (lrint_test_data): Add more tests.
5551         (llrint_test_data): Likewise.
5553 2015-10-08  Roland McGrath  <roland@hack.frob.com>
5555         [BZ #18872]
5556         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
5557         Move out from under [$(run-built-tests) = yes] conditional.
5558         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
5559         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
5561 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
5563         [BZ #18589]
5564         * string/Makefile (tests): Add bug-strcoll2.
5565         (LOCALES): Add cs_CZ.UTF-8.
5566         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
5568         [BZ #18589]
5569         * string/bug-strcoll2.c: New file.
5570         * locale/categories.def: Revert commit
5571         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
5572         * locale/langinfo.h: Likewise.
5573         * locale/localeinfo.h: Likewise.
5574         * locale/C-collate.c: Likewise.
5575         * locale/programs/ld-collate.c (collate_output): Likewise.
5576         * string/strcoll_l.c (STRDIFF): Likewise.
5577         (STRCOLL): Likewise.
5578         * wcsmbs/wcscoll_l.c: Likewise.
5580 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
5582         * math/libm-test.inc (lround_test_data): Do not expect the absence
5583         of "inexact" for some tests with non-integer arguments.
5584         (llround_test_data): Likewise.
5586         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
5587         test.
5588         (libc_cv_cc_sse2avx): Likewise.
5589         * sysdeps/i386/configure: Regenerated.
5590         * sysdeps/i386/i686/multiarch/Makefile
5591         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
5592         [$(subdir) = math].
5593         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
5594         code unconditional.
5595         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
5596         Likewise.
5597         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
5598         Likewise.
5599         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
5600         Likewise.
5601         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
5602         test.
5603         (libc_cv_cc_sse2avx): Likewise.
5604         * sysdeps/x86_64/configure: Regenerated.
5605         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
5606         unconditional.
5607         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
5608         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
5609         unconditional.
5610         (_dl_runtime_profile)
5611         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
5612         conditional code.
5613         * sysdeps/x86_64/fpu/multiarch/Makefile
5614         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
5615         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
5616         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
5617         * sysdeps/x86_64/fpu/multiarch/e_exp.c
5618         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
5619         * sysdeps/x86_64/fpu/multiarch/e_log.c
5620         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
5621         * sysdeps/x86_64/fpu/multiarch/s_atan.c
5622         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
5623         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
5624         Likewise.
5625         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
5626         Likewise.
5627         * sysdeps/x86_64/fpu/multiarch/s_sin.c
5628         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
5629         * sysdeps/x86_64/fpu/multiarch/s_tan.c
5630         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
5631         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
5632         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
5633         (HAVE_SSE2AVX_SUPPORT): Likewise.
5635 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
5637         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
5638         instead of #pragma optimize.
5640 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
5642         [BZ #17195]
5643         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
5644         as is similarly done in systrim and _int_free already.
5646 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5648         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
5650 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
5652         [BZ #19088]
5653         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
5654         <limits.h>.
5655         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
5656         overflows but exception would not result from cast.
5657         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
5658         and <limits.h>.
5659         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
5660         overflows but exception would not result from cast.
5661         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
5662         <limits.h>.
5663         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
5664         overflows but exception would not result from cast.
5665         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
5666         <limits.h>.
5667         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
5668         overflows but exception would not result from cast.
5669         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
5670         <limits.h>.
5671         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
5672         overflows but exception would not result from cast.
5673         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
5674         <limits.h>.
5675         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
5676         overflows but exception would not result from cast.
5677         * math/libm-test.inc (lround_test_data): Add more tests.
5678         (llround_test_data): Likewise.
5680 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
5682         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
5683         (CFLAGS-ialloc.c): Ditto.
5684         (CFLAGS-scheck.c): Ditto.
5686 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
5688         [BZ #19086]
5689         * manual/filesys.texi (Storage Allocation): Fix argument order for
5690         posix_fallocate64.
5692 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
5694         [BZ #19085]
5695         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
5696         exponent below 48 inside case for non-overflowing exponent.
5697         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
5699 2015-10-07  Florian Weimer  <fweimer@redhat.com>
5701         * iconvdata/cp737.h (from_idx): Add const.
5702         * iconvdata/cp775.h (from_idx): Likewise.
5704 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
5706         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
5707         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
5708         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
5710         [BZ #19079]
5711         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
5712         file, conditioned on [!_LP64].
5713         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
5714         [!_LP64] (__lround): Do not define as function or alias.
5715         [!_LP64] (lround): Likewise.
5716         [!_LP64] (__lroundl): Likewise.
5717         [!_LP64] (lroundl): Likewise.
5718         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
5719         macro.
5720         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
5721         Likewise.
5723 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
5725         * math/libm-test.inc (lrint_test_data): Add more tests.
5726         (llrint_test_data): Likewise.
5727         (lround_test_data): Likewise.
5728         (llround_test_data): Likewise.
5730         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
5731         (llrint_test_data): Add tests used for lrint.
5733         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
5734         test.
5735         * sysdeps/i386/configure: Regenerated.
5736         * sysdeps/i386/i686/multiarch/Makefile
5737         [$(config-cflags-sse4) = yes]: Make code unconditional.
5738         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
5739         Likewise.
5740         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
5741         Likewise.
5742         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
5743         test.
5744         * sysdeps/x86_64/configure: Regenerated.
5745         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
5746         Make code unconditional.
5747         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
5748         Likewise.
5749         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
5750         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
5752         * scripts/rpm2dynsym.sh: Remove file.
5754 2015-10-06  Florian Weimer  <fweimer@redhat.com>
5756         * configure.ac (libc_cv_cxx_thread_local): Define.
5757         * configure: Regenerate.
5758         * config.make.in (have-cxx-thread_local): Define.
5759         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
5760         (LDLIBS-tst-thread_local1): Define.
5761         (tests): Add tst-thread_local1.
5762         [have-cxx-thread_local != yes] (tests-unsupported): Add
5763         tst-thread_local1.
5764         * nptl/tst-thread_local1.cc: New file.
5766 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
5768         [BZ #19078]
5769         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
5770         (u_thres): Likewise.
5771         (__expl): Determine whether to call __kernel_standard_l based on
5772         value of result, not argument.
5774         * math/libm-test.inc (scalb_test_data): Add more expectations for
5775         the "inexact" exception.
5777         [BZ #19077]
5778         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
5779         0.0L for argument 1.0L.
5781         [BZ #19076]
5782         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
5783         constant 0.0L when computing infinite result.
5785 2015-10-06  Florian Weimer  <fweimer@redhat.com>
5787         [BZ #10432]
5788         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
5789         malloc_usable_size.
5791 2015-10-06  Florian Weimer  <fweimer@redhat.com>
5793         [BZ #19018]
5794         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
5795         Mangle function pointer before storing it.
5796         (__call_tls_dtors): Demangle function pointer before calling it.
5798 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
5800         [BZ #19012]
5801         * iconv/gconv_db.c (gen_steps): Check for additional errors.
5802         Clean up on failure.
5804 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
5806         [BZ #19071]
5807         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
5808         long int variable to store possibly incremented high part of
5809         mantissa.
5810         * math/libm-test.inc (lround_test_data): Add tests used for
5811         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
5812         for tests requiring 64-bit long.  Do not condition tests on
5813         [TEST_FLOAT] unnecessarily.
5814         (llround_test_data): Add tests used for lround.  Add another
5815         expectation for the "inexact" exception.  Do not condition tests
5816         on [TEST_FLOAT] unnecessarily.
5818         [BZ #887]
5819         [BZ #19049]
5820         [BZ #19050]
5821         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
5822         * sysdeps/ieee754/dbl-64/e_log10.c: Include
5823         <fix-int-fp-convert-zero.h>.
5824         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
5825         * sysdeps/ieee754/dbl-64/e_log2.c: Include
5826         <fix-int-fp-convert-zero.h>.
5827         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
5828         * sysdeps/ieee754/dbl-64/s_erf.c: Include
5829         <fix-int-fp-convert-zero.h>.
5830         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
5831         * sysdeps/ieee754/dbl-64/s_logb.c: Include
5832         <fix-int-fp-convert-zero.h>.
5833         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
5834         * sysdeps/ieee754/flt-32/e_log10f.c: Include
5835         <fix-int-fp-convert-zero.h>.
5836         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
5837         * sysdeps/ieee754/flt-32/e_log2f.c: Include
5838         <fix-int-fp-convert-zero.h>.
5839         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
5840         * sysdeps/ieee754/flt-32/s_erff.c: Include
5841         <fix-int-fp-convert-zero.h>.
5842         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
5843         * sysdeps/ieee754/flt-32/s_logbf.c: Include
5844         <fix-int-fp-convert-zero.h>.
5845         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
5846         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
5847         <fix-int-fp-convert-zero.h>.
5848         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
5849         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
5850         <fix-int-fp-convert-zero.h>.
5851         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
5852         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
5853         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
5854         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
5855         file.
5856         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
5858 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
5860         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5862 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
5864         [BZ #19059]
5865         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
5866         overflowing computation.
5867         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
5868         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
5869         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
5870         Likewise.
5871         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
5872         Likewise.
5873         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
5874         Likewise.
5875         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
5876         Likewise.
5877         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
5878         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
5879         Likewise.
5880         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
5881         Likewise.
5882         * math/libm-test.inc (nexttoward_test_data): Add more tests.
5884         * nss/rewrite_field.c (__nss_rewrite_field): Use
5885         internal_function.
5886         * nss/valid_field.c (__nss_valid_field): Likewise.
5887         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
5889 2015-10-02  Florian Weimer  <fweimer@redhat.com>
5891         [BZ #18724]
5892         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
5893         (__nss_invalid_field_characters, __nss_valid_field)
5894         (__nss_valid_list_field, __nss_rewrite_field): Declare.
5895         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
5896         tst-field.c: New file.
5897         * nss/Makefile (routines): Add valid_field, rewrite_field.
5898         (tests-static): Define unconditionally.
5899         (tests): Include tests-static.
5900         [build-static-nss] (tests-static): Use append.
5901         [build-static-nss] (tests): Remove modification.
5902         * nss/getent.c (print_group): Call putgrent.  Report error.
5903         (print_gshadow): Call putsgent.  Report error.
5904         (print_passwd): Call putpwent.  Report error.
5905         (print_shadow): Call putspent.  Report error.
5906         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
5907         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
5908         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
5909         name, password, directory, shell fields for valid syntax.  Rewrite
5910         GECOS field to match syntax.
5911         * pwd/Makefile (tests): Add tst-putpwent.
5912         * pwd/tst-putpwent.c: New file.
5913         * grp/putgrent.c (putgrent): Convert to ISO function definition.
5914         Check grName, grpasswd, gr_mem fields for valid syntax.
5915         Change loop variable i to size_t.
5916         * grp/Makefile (tests): Add tst-putgrent.
5917         * grp/tst-putgrent.c: New file.
5918         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
5919         valid syntax.
5920         * shadow/Makefile (tests): Add tst-putspent.
5921         * shadow/tst-putspent.c: New file.
5922         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
5923         sg_mem fields for valid syntax.
5924         * gshadow/Makefile (tests): Add tst-putsgent.
5925         * gshadow/tst-putsgent.c: New file.
5927 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5929         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
5930         assembly instructions.
5932 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5934         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
5935         prefix from operands.
5937 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
5939         [BZ #16347]
5940         [BZ #19046]
5941         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
5942         <libc-internal.h>.
5943         (MAXLGM): Do not use diagnostic control macros.
5944         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
5945         threshold for ldbl-128ibm.
5946         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
5947         instead of multiplying by log then subtracting.
5948         * math/auto-libm-test-in: Add more tests of lgamma.
5949         * math/auto-libm-test-out: Regenerated.
5951         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
5952         (TYPE_HEX_DIG): Likewise.
5953         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
5954         precisions when printing floating-point numbers.
5955         (check_float_internal): Likewise.
5957 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
5959         [BZ #16620]
5960         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
5961         of log (10) rounded downward to 48 bits.
5962         (log10_low): Use corresponding low part of log (10).
5964         [BZ #19032]
5965         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
5966         compute result as (x - x) / (x - x) not as 0 / 0.
5967         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
5968         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
5970         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
5971         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
5972         and expm1.
5973         * math/auto-libm-test-out: Regenerated.
5974         * math/libm-test.inc (acos_test_data): Add more tests.
5975         (asin_test_data): Likewise.
5976         (asinh_test_data): Likewise.
5977         (atan_test_data): Likewise.
5978         (atanh_test_data): Likewise.
5979         (atan2_test_data): Likewise.
5980         (cbrt_test_data): Likewise.
5981         (ceil_test_data): Likewise.
5982         (copysign_test_data): Likewise.
5983         (cos_test_data): Likewise.
5984         (cosh_test_data): Likewise.
5985         (erf_test_data): Likewise.
5986         (erfc_test_data): Likewise.
5987         (exp_test_data): Likewise.
5988         (exp10_test_data): Likewise.
5989         (exp2_test_data): Likewise.
5990         (expm1_test_data): Likewise.
5991         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5993 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
5995         [BZ #19006]
5996         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
5997         to ...
5998         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
5999         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
6000         to ...
6001         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
6002         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
6003         to ...
6004         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
6005         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
6006         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
6007         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
6008         to ...
6009         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
6010         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
6011         Moved to ...
6012         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
6013         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
6014         Moved to ...
6015         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
6016         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
6017         to ...
6018         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
6019         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
6020         Moved to ...
6021         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
6022         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
6023         to ...
6024         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
6025         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
6026         Removed.
6027         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
6028         Likewise.
6029         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
6030         Likewise.
6031         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
6032         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
6033         Likewise.
6034         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
6035         Likewise.
6036         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
6037         Likewise.
6038         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
6039         Likewise.
6040         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
6041         Likewise.
6042         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
6043         Likewise.
6044         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
6045         Likewise.
6046         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
6047         Likewise.
6048         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
6049         Likewise.
6050         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
6051         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
6052         Likewise.
6053         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
6054         Likewise.
6055         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
6056         Likewise.
6057         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
6058         Likewise.
6059         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
6060         Likewise.
6061         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
6062         Replace ../i486/pthread_cond_timedwait.S with
6063         ../pthread_cond_timedwait.S.
6065 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
6067         * math/libm-test.inc (acos_test_data): Refine expectations for
6068         errno and "inexact" exceptions.
6069         (acosh_test_data): Likewise.
6070         (asin_test_data): Likewise.
6071         (asinh_test_data): Likewise.
6072         (atan_test_data): Likewise.
6073         (atanh_test_data): Likewise.
6074         (atan2_test_data): Likewise.
6075         (cbrt_test_data): Likewise.
6076         (ceil_test_data): Likewise.
6077         (copysign_test_data): Likewise.
6078         (cosh_test_data): Likewise.
6079         (erf_test_data): Likewise.
6080         (erfc_test_data): Likewise.
6081         (exp_test_data): Likewise.
6082         (exp10_test_data): Likewise.
6083         (exp2_test_data): Likewise.
6084         (expm1_test_data): Likewise.
6085         (fabs_test_data): Likewise.
6086         (floor_test_data): Likewise.
6087         (fma_test_data): Likewise.
6088         (fmax_test_data): Likewise.
6089         (fmin_test_data): Likewise.
6090         (fmod_test_data): Likewise.
6091         (fpclassify_test_data): Likewise.
6092         (frexp_test_data): Likewise.
6093         (hypot_test_data): Likewise.
6094         (ilogb_test_data): Likewise.
6095         (isgreater_test_data): Likewise.
6096         (isgreaterequal_test_data): Likewise.
6097         (isinf_test_data): Likewise.
6098         (isless_test_data): Likewise.
6099         (islessequal_test_data): Likewise.
6100         (islessgreater_test_data): Likewise.
6101         (isnan_test_data): Likewise.
6102         (isnormal_test_data): Likewise.
6103         (issignaling_test_data): Likewise.
6104         (isunordered_test_data): Likewise.
6105         (j0_test_data): Likewise.
6106         (j1_test_data): Likewise.
6107         (jn_test_data): Likewise.
6108         (lgamma_test_data): Likewise.
6109         (lrint_test_data): Likewise.
6110         (llrint_test_data): Likewise.
6111         (log_test_data): Likewise.
6112         (log10_test_data): Likewise.
6113         (log1p_test_data): Likewise.
6114         (log2_test_data): Likewise.
6115         (logb_test_data): Likewise.
6116         (lround_test_data): Likewise.
6117         (llround_test_data): Likewise.
6118         (modf_test_data): Likewise.
6119         (nearbyint_test_data): Likewise.
6120         (nextafter_test_data): Likewise.
6121         (nexttoward_test_data): Likewise.
6122         (pow_test_data): Likewise.
6123         (remainder_test_data): Likewise.
6124         (remquo_test_data): Likewise.
6125         (rint_test_data): Likewise.
6126         (round_test_data): Likewise.
6127         (signbit_test_data): Likewise.
6128         (sinh_test_data): Likewise.
6129         (sqrt_test_data): Likewise.
6130         (tanh_test_data): Likewise.
6131         (tgamma_test_data): Likewise.
6132         (trunc_test_data): Likewise.
6133         (y0_test_data): Likewise.
6134         (y1_test_data): Likewise.
6135         (yn_test_data): Likewise.
6136         (significand_test_data): Likewise.
6138 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
6140         * manual/filesys.texi (Storage Allocation): Document that
6141         posix_fallocate emulation fails when fd is open with O_WRONLY.
6143 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
6145         [BZ #19016]
6146         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
6147         allow more cases with X^2 + Y^2 >= 0.5.
6148         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
6149         normal element in sum instead of special-casing based on values of
6150         arguments.
6151         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
6152         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
6153         -1 as normal element in sum instead of special-casing based on
6154         values of arguments.
6155         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
6156         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
6157         (__x2y2m1): Update comment.
6158         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
6159         as normal element in sum instead of special-casing based on values
6160         of arguments.
6161         * math/s_clog.c (__clog): Handle more cases using log1p without
6162         hypot.
6163         * math/s_clog10.c (__clog10): Likewise.
6164         * math/s_clog10f.c (__clog10f): Likewise.
6165         * math/s_clog10l.c (__clog10l): Likewise.
6166         * math/s_clogf.c (__clogf): Likewise.
6167         * math/s_clogl.c (__clogl): Likewise.
6168         * math/auto-libm-test-in: Add more tests of clog and clog10.
6169         * math/auto-libm-test-out: Regenerated.
6170         * sysdeps/i386/fpu/libm-test-ulps: Update.
6171         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6173 2015-09-28  Martin Sebor  <msebor@redhat.com>
6175         [BZ #18969]
6176         * string/Makefile (LOCALES): Define.
6177         (gen-locales.mk): Include.
6178         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
6179         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
6180         * string/tst-strxfrm2.c (do_test): Print the name of the locale
6181         on setlocale failure.
6183 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
6185         [BZ #18985]
6186         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
6187         (__strftime_internal): Likewise.
6188         * time/tst-strftime.c (do_bz18985): New test.
6189         (do_test): Call it.
6191 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
6193         [BZ #18956]
6194         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
6195         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
6196         extracting high part.
6197         * math/auto-libm-test-in: Add another test of pow.
6198         * math/auto-libm-test-out: Regenerated.
6199         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6201 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
6203         [BZ #18825]
6204         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
6205         New macro.
6206         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
6207         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
6208         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
6209         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
6210         DBL_NARROW_EVAL, reloading the PIC register as needed.
6211         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
6212         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
6213         FLT_NARROW_EVAL.  Use separate return path for case when first
6214         argument is NaN.
6215         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
6216         DEFINE_LDBL_MIN.
6217         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
6218         PIC register.
6219         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
6220         math_check_force_underflow_nonneg.
6221         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
6222         underflow for subnormal result.
6223         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
6224         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
6225         math_check_force_underflow_nonneg.
6226         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
6227         math_check_force_underflow.
6228         * sysdeps/x86_64/fpu/x86_64-math-asm.h
6229         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
6230         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
6231         DEFINE_LDBL_MIN.
6232         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
6233         * math/auto-libm-test-in: Add more tests of pow.
6234         * math/auto-libm-test-out: Regenerated.
6236 2015-09-25  Florian Weimer  <fweimer@redhat.com>
6238         * nss/bug17079.c (init_test_items): Add diagnostic for
6239         inconsistent entries.
6240         (test_buffer_size): Skip inconsistent entries.
6242 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
6244         [BZ #13304]
6245         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
6246         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
6247         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
6249         [BZ #13304]
6250         * sysdeps/microblaze/s_fma.c: New file.
6251         * sysdeps/microblaze/s_fmaf.c: Likewise.
6252         * sysdeps/microblaze/sfp-machine.h: Likewise.
6254 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
6256         [BZ #17250]
6257         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
6258         member.
6260 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
6262         [BZ #18803]
6263         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
6264         (MO): New macro.
6265         (__ieee754_hypot) [PIC]: Load PIC register.
6266         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
6267         DBL_NARROW_EVAL.
6268         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
6269         math_check_force_underflow_nonneg in case where result might be
6270         tiny.
6271         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
6272         Likewise.
6273         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
6274         Likewise.
6275         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
6276         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
6277         * math/auto-libm-test-in: Add more tests of hypot.
6278         * math/auto-libm-test-out: Regenerated.
6280 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
6282         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
6284 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
6286         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
6287         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
6288         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
6289         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
6290         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
6291         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
6292         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
6294         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
6295         LOAD_PIC_REG.
6297         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
6298         (FLT_CHECK_FORCE_UFLOW): Likewise.
6299         (DBL_CHECK_FORCE_UFLOW): Likewise.
6300         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
6301         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
6302         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
6303         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
6304         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
6305         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
6306         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
6307         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
6308         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
6309         (dbl_min): Replace with use of DEFINE_DBL_MIN.
6310         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
6311         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
6312         (flt_min): Replace with use of DEFINE_FLT_MIN.
6313         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
6314         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
6315         (dbl_min): Replace with use of DEFINE_DBL_MIN.
6316         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
6317         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
6318         (flt_min): Replace with use of DEFINE_FLT_MIN.
6319         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
6320         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
6321         (dbl_min): Replace with use of DEFINE_DBL_MIN.
6322         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
6323         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
6324         (flt_min): Replace with use of DEFINE_FLT_MIN.
6325         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
6326         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
6327         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
6328         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
6329         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
6330         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
6331         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
6332         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
6333         (dbl_min): Replace with use of DEFINE_DBL_MIN.
6334         (__atan): Use DBL_CHECK_FORCE_UFLOW.
6335         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
6336         (flt_min): Replace with use of DEFINE_FLT_MIN.
6337         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
6338         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
6339         (dbl_min): Replace with use of DEFINE_DBL_MIN.
6340         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
6341         main computation.
6342         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
6343         (flt_min): Replace with use of DEFINE_FLT_MIN.
6344         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
6345         main computation.
6346         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
6347         (dbl_min): Replace with use of DEFINE_DBL_MIN.
6348         (MO): New macro.
6349         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
6350         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
6351         (flt_min): Replace with use of DEFINE_FLT_MIN.
6352         (MO): New macro.
6353         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
6354         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
6355         (__log1pl): Use MO.
6357         [BZ #19003]
6358         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
6359         $(config-cflags-nofma).
6361 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6363         * sysdeps/aarch64/libm-test-ulps: Regenerated.
6365 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
6367         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
6368         (TWO127): Likewise.
6370         * sysdeps/generic/math_private.h (fabs_tg): New macro.
6371         (min_of_type): Likewise.
6372         (math_check_force_underflow): Likewise.
6373         (math_check_force_underflow_nonneg): Likewise.
6374         (math_check_force_underflow_complex): Likewise.
6375         * math/e_exp2l.c (__ieee754_exp2l): Use
6376         math_check_force_underflow_nonneg.
6377         * math/k_casinh.c (__kernel_casinh): Likewise.
6378         * math/k_casinhf.c (__kernel_casinhf): Likewise.
6379         * math/k_casinhl.c (__kernel_casinhl): Likewise.
6380         * math/s_catan.c (__catan): Use
6381         math_check_force_underflow_complex.
6382         * math/s_catanf.c (__catanf): Likewise.
6383         * math/s_catanh.c (__catanh): Likewise.
6384         * math/s_catanhf.c (__catanhf): Likewise.
6385         * math/s_catanhl.c (__catanhl): Likewise.
6386         * math/s_catanl.c (__catanl): Likewise.
6387         * math/s_ccosh.c (__ccosh): Likewise.
6388         * math/s_ccoshf.c (__ccoshf): Likewise.
6389         * math/s_ccoshl.c (__ccoshl): Likewise.
6390         * math/s_cexp.c (__cexp): Likewise.
6391         * math/s_cexpf.c (__cexpf): Likewise.
6392         * math/s_cexpl.c (__cexpl): Likewise.
6393         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
6394         * math/s_clog10.c (__clog10): Likewise.
6395         * math/s_clog10f.c (__clog10f): Likewise.
6396         * math/s_clog10l.c (__clog10l): Likewise.
6397         * math/s_clogf.c (__clogf): Likewise.
6398         * math/s_clogl.c (__clogl): Likewise.
6399         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
6400         * math/s_csinf.c (__csinf): Likewise.
6401         * math/s_csinh.c (__csinh): Likewise.
6402         * math/s_csinhf.c (__csinhf): Likewise.
6403         * math/s_csinhl.c (__csinhl): Likewise.
6404         * math/s_csinl.c (__csinl): Likewise.
6405         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
6406         * math/s_csqrtf.c (__csqrtf): Likewise.
6407         * math/s_csqrtl.c (__csqrtl): Likewise.
6408         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
6409         * math/s_ctanf.c (__ctanf): Likewise.
6410         * math/s_ctanh.c (__ctanh): Likewise.
6411         * math/s_ctanhf.c (__ctanhf): Likewise.
6412         * math/s_ctanhl.c (__ctanhl): Likewise.
6413         * math/s_ctanl.c (__ctanl): Likewise.
6414         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
6415         instead of volatile.
6416         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
6417         math_check_force_underflow.
6418         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
6419         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
6420         volatile when forcing underflow.
6421         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
6422         math_check_force_underflow_nonneg.
6423         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
6424         Likewise.
6425         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
6426         math_check_force_underflow.
6427         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
6428         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
6429         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
6430         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
6431         math_check_force_underflow_nonneg.
6432         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
6433         math_check_force_underflow.
6434         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
6435         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
6436         instead of volatile.
6437         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
6438         math_check_force_underflow.
6439         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
6440         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
6441         math_check_force_underflow_nonneg.
6442         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
6443         math_check_force_underflow.
6444         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
6445         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
6446         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
6447         math_check_force_underflow_nonneg.
6448         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
6449         Likewise.
6450         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
6451         math_check_force_underflow.
6452         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
6453         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
6454         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
6455         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
6456         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
6457         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
6458         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
6459         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
6460         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
6461         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
6462         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
6463         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
6464         Likewise.
6465         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
6466         math_check_force_underflow_nonneg.
6467         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
6468         Likewise.
6469         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
6470         math_check_force_underflow.
6471         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
6472         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
6473         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
6474         Likewise.
6475         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
6476         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
6477         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
6478         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
6479         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
6480         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
6481         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
6482         instead of volatile.
6483         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
6484         math_check_force_underflow.
6485         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
6486         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
6487         math_check_force_underflow.
6488         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
6489         Likewise.
6490         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
6491         Use math_check_force_underflow_nonneg.
6492         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
6493         math_check_force_underflow.
6494         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
6495         Likewise.
6496         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
6497         Likewise.
6498         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
6499         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
6500         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
6501         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
6502         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
6503         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
6504         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
6505         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
6506         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
6507         math_check_force_underflow_nonneg.
6508         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
6509         math_check_force_underflow.
6510         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
6511         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
6512         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
6513         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
6514         math_check_force_underflow_nonneg.
6515         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
6516         math_check_force_underflow.
6517         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
6518         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
6519         instead of volatile.
6520         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
6521         math_check_force_underflow.
6523         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
6524         * stdlib/strtod_l.c: Include <math_private.h>.
6525         (overflow_value): Use math_narrow_eval.
6526         (underflow_value): Likewise.
6527         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
6528         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
6529         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
6530         (__ieee754_gamma_r): Likewise.
6531         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
6532         Likewise.
6533         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
6534         Likewise.
6535         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
6536         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
6537         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
6538         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
6539         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
6540         (__ieee754_gammaf_r): Likewise.
6541         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
6542         Likewise.
6543         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
6544         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
6545         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
6546         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
6547         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
6548         volatile.
6549         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
6550         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
6551         math_narrow_eval.
6552         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
6553         Likewise.
6554         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
6555         Likewise.
6556         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
6557         Likewise.
6558         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
6559         volatile.
6560         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
6561         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
6562         math_narrow_eval.
6563         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
6564         Likewise.
6565         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
6566         Likewise.
6568 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
6570         * nptl/Versions: Remove ignored symbols.
6572 2015-09-22  Florian Weimer  <fweimer@redhat.com>
6574         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
6575         * nss/Makefile (tests): Update.
6577 2015-09-22  Florian Weimer  <fweimer@redhat.com>
6579         * nss/bug18287.c: New file.
6580         * nss/Makefile (tests): Add bug18287.
6582 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6584         * mach/Versions (__mach_host_self_): Add symbol.
6586 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6588         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
6589         vm_page_size.
6591 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6593         Really fix sysdeps/i386/fpu/s_scalbn.S build
6595         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
6596         (libc: GLIBC_2_22): Remove unused version set.
6598 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
6600         * config.make.in (enable-timezone-tools): New variable.
6601         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
6602         (enable_timezone_tools): Export to generated files.
6603         * configure: Regenerate.
6604         * INSTALL: Regenerate.
6605         * manual/install.texi (--disable-timezone-tools): Document new flag.
6606         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
6607         ifeq ($(enable-timezone-tools),yes) check.
6609 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
6611         * timezone/Makefile: Revert previous change.
6613         [BZ #18980]
6614         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
6615         (DEFINE_DBL_MIN): Likewise.
6616         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
6617         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
6618         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
6619         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
6620         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
6621         (dbl_min): Replace with use of DEFINE_DBL_MIN.
6622         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
6623         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
6624         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
6625         (dbl_min): Replace with use of DEFINE_DBL_MIN.
6626         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
6627         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
6628         (flt_min): Replace with use of DEFINE_FLT_MIN.
6629         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
6630         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
6631         (dbl_min): Replace with use of DEFINE_DBL_MIN.
6632         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
6633         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
6634         (flt_min): Replace with use of DEFINE_FLT_MIN.
6635         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
6636         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
6637         (flt_min): Replace with use of DEFINE_FLT_MIN.
6638         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
6639         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
6640         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
6641         (__ieee754_hypot): Use DBL_NARROW_EVAL.
6642         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
6643         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
6644         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
6645         (__ieee754_pow): Use DBL_NARROW_EVAL.
6646         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
6647         (__ieee754_powf): Use FLT_NARROW_EVAL.
6648         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
6649         (__ieee754_expf_sse2): Convert double-precision result to single
6650         precision.
6651         * sysdeps/i386/fpu/libm-test-ulps: Update.
6653 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
6655         * timezone/Makefile: Ignore unused variable errors due to private.h
6656         (time_t_min) and (time_t_max).
6657         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
6658         Likewise.
6660 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
6662         [BZ #18981]
6663         * sysdeps/i386/fpu/i386-math-asm.h: New file.
6664         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
6665         (__ieee754_scalb): Use DBL_NARROW_EVAL.
6666         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
6667         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
6668         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
6669         (__scalbn): Use DBL_NARROW_EVAL.
6670         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
6671         (__scalbnf): Use FLT_NARROW_EVAL.
6673 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
6675         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
6676         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
6677         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
6678         * stdio-common/printf_fp.c (___printf_fp):
6679         Use signbit to get the sign. Use isinf macro to allow inlining.
6680         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
6681         * stdio-common/printf_size.c (__printf_size): Likewise.
6683 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
6685         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
6687 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
6689         [BZ #18980]
6690         * sysdeps/generic/math_private.h: Include <float.h>.
6691         (math_narrow_eval): New macro.
6692         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
6693         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
6694         math_narrow_eval on overflowing return value.
6695         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
6696         Likewise.
6697         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
6698         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
6699         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
6700         Likewise.
6701         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
6703 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
6705         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
6706         * math/Makefile: Remove isinf_ns.c.
6707         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
6708         * math/multc3.c (__multc3): Likewise.
6709         * math/s_casin.c (__casin): Likewise.
6710         * math/s_casinf.c (__casinf): Likewise.
6711         * math/s_casinl.c (__casinl): Likewise.
6712         * math/s_cproj.c (__cproj): Likewise.
6713         * math/s_cprojf.c (__cprojf): Likewise.
6714         * math/s_cprojl.c (__cprofl): Likewise.
6715         * math/s_ctan.c (__ctan): Likewise.
6716         * math/s_ctanf.c (__ctanf): Likewise.
6717         * math/s_ctanh.c (__ctanh): Likewise.
6718         * math/s_ctanhf.c (__ctanhf): Likewise.
6719         * math/s_ctanhl.c (__ctanhl): Likewise.
6720         * math/s_ctanl.c (__ctanl): Likewise.
6721         * math/w_fmod.c (__fmod): Likewise.
6722         * math/w_fmodf.c (__fmodf): Likewise.
6723         * math/w_fmodl.c (_fmodl): Likewise.
6724         * math/w_remainder.c (__remainder): Likewise.
6725         * math/w_remainderf.c (__remainderf): Likewise.
6726         * math/w_remainderl.c (__remainderl): Likewise.
6727         * math/w_scalb.c (__scalb): Likewise.
6728         * math/w_scalbf.c (__scalbf): Likewise.
6729         * math/w_scalbl.c (__scalbl): Likewise.
6730         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
6731         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
6732         with isinf.
6733         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
6734         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
6735         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
6736         __isinf_nsf with isinf.
6737         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
6738         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
6739         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
6740         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
6741         with isinf.
6742         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
6743         __isinf_nsl with isinf.
6744         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
6745         with isinf.
6746         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
6747         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
6748         __isinf_nsl with isinf.
6749         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
6750         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
6751         with isinf.
6753 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
6755         * resolv/base64.c (rcsid): Remove unused static.
6756         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
6757         static.  (tqpi1): Likewise.
6758         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
6759         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
6760         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
6761         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
6762         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
6763         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
6764         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
6765         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
6766         Likewise.
6768 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
6770         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
6771         <nptl/pthreadP.h>.
6772         (_longjmp_unwind): Use __libc_ptf_call.
6773         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
6775 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
6777         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
6778         * sysdeps/arm/__longjmp.S: Likewise
6780 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
6782         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
6783         Use __builtin_signbit.
6784         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
6785         Use __builtin_signbitf.
6786         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
6787         Use __builtin_signbitl.
6788         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
6789         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
6791 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
6793         [BZ #15367]
6794         [BZ #17441]
6796         * math/Makefile: Build test-snan.c with -fsignaling-nans.
6797         * math/math.h (fpclassify): Use __builtin_fpclassify when
6798         available.  (signbit): Use __builtin_signbit(f/l).
6799         (isfinite): Use__builtin_isfinite.  (isnormal): Use
6800         __builtin_isnormal.  (isnan): Use __builtin_isnan.
6801         (isinf): Use __builtin_isinf_sign.
6803 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
6805         * benchtests/Makefile: Add bench-math-inlines, link with libm.
6806         * benchtests/bench-math-inlines.c: New benchmark.
6807         * benchtests/bench-util.h: New file.
6808         * benchtests/bench-util.c: New file.
6809         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
6811 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
6813         * elf/tst-dlmopen1.c: Define TEST_SO.
6814         (do_test): Use TEST_SO.
6816         * elf/dl-load.c: Include libc-internal.h.
6817         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
6819 2015-09-18  Vincent Bernat  <vincent@bernat.im>
6821         [BZ #17887]
6822         * time/strptime_l.c (__strptime_internal): Make %z accept
6823         [+-]HH:MM time zones.
6825 2015-09-18  Vincent Bernat  <vincent@bernat.im>
6827         [BZ #17886]
6828         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
6829         valid time zone.
6831 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
6833         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
6834         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
6835         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6836         (__ASSUME_FDATASYNC): Delete.
6838 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
6840         * conform/linknamespace.pl: Require weak undefined symbols to be
6841         in the standard namespace.
6842         (%strong_syms): Rename to %seen_syms.
6843         (%strong_seen): Rename to %seen_where.
6845 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
6847         [BZ #18970]
6848         * misc/error.c (error): Replace pthread_setcancelstate with
6849         __pthread_setcancelstate.
6850         (error_at_line): Likewise.
6851         * posix/wordexp.c (parse_comm): Likewise.
6852         * stdlib/fmtmsg.c (fmtmsg): Likewise.
6853         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
6854         (__pthread_setcancelstate): This.
6855         (pthread_setcancelstate): Add an alias.
6856         * nptl/nptl-init.c (pthread_functions): Replace
6857         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
6858         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
6859         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
6860         hidden_proto.
6861         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
6862         it with hidden_def.
6863         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
6864         (pthread_setcancelstate): Renamed to ...
6865         (__pthread_setcancelstate): This.
6866         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
6867         __libc_ptf_call with __pthread_setcancelstate.
6869 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
6870             Andreas Schwab  <schwab@suse.de>
6872         [BZ #17118]
6873         * math/s_ctan.c (__ctan): Determine sign of zero real part of
6874         result when imaginary part of argument is infinite using sine and
6875         cosine.
6876         * math/s_ctanf.c (__ctanf): Likewise.
6877         * math/s_ctanl.c (__ctanl): Likewise.
6878         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
6879         of result when real part of argument is infinite using sine and
6880         cosine.
6881         * math/s_ctanhf.c (__ctanhf): Likewise.
6882         * math/s_ctanhl.c (__ctanhl): Likewise.
6883         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
6884         (ctanh_test_data): Add more tests of ctanh.
6886 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
6888         [BZ #15384]
6889         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
6890         bit-mask as in subtraction.
6891         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
6892         Likewise.
6893         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
6894         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
6895         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
6897         [BZ #18951]
6898         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
6899         underflow exception for small results.
6900         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
6901         Likewise.
6902         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
6903         Likewise.
6904         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
6905         Likewise.
6906         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
6907         Likewise.
6908         * math/auto-libm-test-in: Add more tests of tgamma.
6909         * math/auto-libm-test-out: Regenerated.
6911 2015-09-17  Andreas Schwab  <schwab@suse.de>
6913         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
6915 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
6917         [BZ #18977]
6918         * math/bits/mathcalls.h
6919         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
6920         not declare.
6921         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
6922         Likewise.
6923         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
6924         Likewise.
6925         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
6926         Likewise.
6927         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
6928         Likewise.
6929         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
6930         Likewise.
6931         * conform/data/math.h-data
6932         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
6933         function.
6934         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
6935         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
6936         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
6937         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
6938         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
6939         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
6940         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
6941         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
6942         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
6943         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
6944         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
6946         [BZ #6803]
6947         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
6948         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
6949         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
6950         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
6951         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
6952         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
6953         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
6954         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
6955         [NO_LONG_DOUBLE] (scalbnl): Likewise.
6956         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
6957         Likewise.
6958         [NO_LONG_DOUBLE] (scalbnl): Likewise.
6959         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
6960         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
6961         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
6962         long_double_symbol calls.
6963         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
6964         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
6965         strong alias of __ldexpl.
6966         (scalbnl): Define using long_double_symbol.
6967         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
6968         Remove alias.
6969         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
6970         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
6971         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
6972         (scalbln_test_data): Add more errno expectations.
6974 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
6976         Cache the host port like we cache the task port.  This way we do not
6977         need to call the kernel just to get the port.  Furthermore, we no
6978         longer increase the reference count on every invocation of
6979         `mach_host_self'.
6981         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
6982         Protect declarations against the macro expansion.
6983         * mach/mach_init.c (__mach_host_self_): New variable.
6984         (mach_init): Initialize `__mach_host_self_'.
6985         * mach/mach_init.h (__mach_host_self_): New declaration.
6986         (__mach_host_self, mach_host_self): New macros.
6987         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
6988         Release reference.
6990 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
6992         [BZ #4404]
6993         * po/de.po: Update from Translation Project.
6995         [BZ #16415]
6996         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
6997         (__expm1l): Remove code to handle positive infinity and overflow.
6998         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
6999         variable.
7000         (__expm1l): Remove code to handle positive infinity and overflow.
7002 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
7003             Paul Pluzhnikov  <ppluzhnikov@google.com>
7005         [BZ #18872]
7006         * stdio-common/Makefile (tst-printf-bz18872): New test.
7007         (tst-printf-bz18872-mem.out): Likewise.
7008         * stdio-common/tst-printf-bz18872.sh: Generate new test.
7009         * stdio-common/vfprintf.c: Fix memory leaks.
7011 2015-09-16  Andreas Schwab  <schwab@suse.de>
7013         [BZ #17244]
7014         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
7015         Remove extra va_start/va_end calls.
7017         [BZ #17243]
7018         * posix/execl.c (execl): Add missing va_end.
7019         * posix/execle.c (execle): Likewise.
7020         * posix/execlp.c (execlp): Likewise.
7022 2015-09-15  Roland McGrath  <roland@hack.frob.com>
7024         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
7025         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
7027 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
7029         [BZ #18967]
7030         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
7031         undefine around includes of <bits/mathcalls.h>.
7032         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
7033         not declare function.
7034         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
7035         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
7036         (scalb): Likewise.
7037         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
7038         not define macro.
7039         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
7040         variable.
7041         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
7042         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
7043         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
7045         [BZ #18857]
7046         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
7047         return non-finite argument without doing ordered comparisons on
7048         it.
7050         [BZ #16296]
7051         * math/fenv.h (fegetround): Use __attribute_pure__.
7052         * include/fenv.h (__fegetround): Likewise.
7054         [BZ #18595]
7055         * math/s_ctan.c (__ctan): Force underflow exception for results
7056         whose real or imaginary part has small absolute value.
7057         * math/s_ctanf.c (__ctanf): Likewise.
7058         * math/s_ctanh.c (__ctanh): Likewise.
7059         * math/s_ctanhf.c (__ctanhf): Likewise.
7060         * math/s_ctanhl.c (__ctanhl): Likewise.
7061         * math/s_ctanl.c (__ctanl): Likewise.
7062         * math/auto-libm-test-in: Do not allow missing underflow for ctan
7063         and ctanh.  Add more tests of ctan and ctanh.
7065         [BZ #15918]
7066         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
7067         handling of cases where one argument is an infinity.
7069         [BZ #18875]
7070         [BZ #18966]
7071         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
7072         (MO): New macro.
7073         (__ieee754_exp10): For small results, force underflow exception
7074         and remove excess range and precision from return value.
7075         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
7076         (MO): New macro.
7077         (__ieee754_exp10f): For small results, force underflow exception
7078         and remove excess range and precision from return value.
7079         * math/auto-libm-test-in: Add more tests of exp10.
7080         * math/auto-libm-test-out: Regenerated.
7082 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
7084         [BZ #18875]
7085         [BZ #18961]
7086         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
7087         (MO): New macro.
7088         (__ieee754_exp): For small results, force underflow exception and
7089         remove excess range and precision from return value.
7090         (__exp_finite): Likewise.
7091         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
7092         (MO): New macro.
7093         (__ieee754_expf): For small results, force underflow exception and
7094         remove excess range and precision from return value.
7095         (__expf_finite): Likewise.
7096         * math/auto-libm-test-in: Add more tests of exp.
7097         * math/auto-libm-test-out: Regenerated.
7099         [BZ #16521]
7100         [BZ #18875]
7101         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
7102         small results.
7103         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
7104         (MO): New macro.
7105         (__ieee754_exp2): For small results, force underflow exception and
7106         remove excess range and precision from return value.
7107         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
7108         (MO): New macro.
7109         (__ieee754_exp2f): For small results, force underflow exception
7110         and remove excess range and precision from return value.
7111         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
7112         (MO): New macro.
7113         (__ieee754_exp2l): Force underflow exception for small results.
7114         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
7115         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
7116         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
7117         (MO): New macro.
7118         (__ieee754_exp2l): Force underflow exception for small results.
7119         * math/auto-libm-test-in: Add more tests or exp2.
7120         * math/auto-libm-test-out: Regenerated.
7122 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
7124         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
7126         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
7127         /dev/null.
7129 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7131         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
7132         io fs process)): Drop spurious backslash.
7134 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
7136         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
7137         Use sysinfo system call instead of parsing /proc/meminfo.
7138         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
7139         Likewise.
7141 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
7143         [BZ #16985]
7144         * programs/localedef.c (main): Display argv[remaining] when
7145         output_path is NULL.
7147 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
7149         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
7150         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
7151         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
7152         tanh.
7153         * math/auto-libm-test-out: Regenerated.
7154         * sysdeps/i386/fpu/libm-test-ulps: Update.
7155         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
7156         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7157         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7159 2015-09-11  Roland McGrath  <roland@hack.frob.com>
7161         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
7162         Use 'override' keyword to freeze the value here, preventing
7163         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
7165 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
7167         [BZ #14912]
7168         * sysdeps/aarch64/bits/atomic.h: Move to ...
7169         * sysdeps/aarch64/atomic-machine.h: ...here.
7170         (_AARCH64_BITS_ATOMIC_H): Rename macro to
7171         _AARCH64_ATOMIC_MACHINE_H.
7172         * sysdeps/alpha/bits/atomic.h: Move to ...
7173         * sysdeps/alpha/atomic-machine.h: ...here.
7174         * sysdeps/arm/bits/atomic.h: Move to ...
7175         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
7176         * bits/atomic.h: Move to ...
7177         * sysdeps/generic/atomic-machine.h: ...here.
7178         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
7179         * sysdeps/i386/bits/atomic.h: Move to ...
7180         * sysdeps/i386/atomic-machine.h: ...here.
7181         * sysdeps/ia64/bits/atomic.h: Move to ...
7182         * sysdeps/ia64/atomic-machine.h: ...here.
7183         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
7184         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
7185         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
7186         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
7187         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
7188         * sysdeps/microblaze/bits/atomic.h: Move to ...
7189         * sysdeps/microblaze/atomic-machine.h: ...here.
7190         * sysdeps/mips/bits/atomic.h: Move to ...
7191         * sysdeps/mips/atomic-machine.h: ...here.
7192         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
7193         * sysdeps/powerpc/bits/atomic.h: Move to ...
7194         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
7195         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
7196         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
7197         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
7198         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
7199         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
7200         <atomic-machine.h> instead of <bits/atomic.h>.
7201         * sysdeps/s390/bits/atomic.h: Move to ...
7202         * sysdeps/s390/atomic-machine.h: ...here.
7203         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
7204         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
7205         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
7206         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
7207         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
7208         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
7209         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
7210         * sysdeps/tile/bits/atomic.h: Move to ...
7211         * sysdeps/tile/atomic-machine.h: ...here.
7212         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
7213         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
7214         <sysdeps/tile/atomic-machine.h> instead of
7215         <sysdeps/tile/bits/atomic.h>.
7216         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
7217         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
7218         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
7219         <sysdeps/tile/atomic-machine.h> instead of
7220         <sysdeps/tile/bits/atomic.h>.
7221         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
7222         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
7223         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
7224         <sysdeps/arm/atomic-machine.h> instead of
7225         <sysdeps/arm/bits/atomic.h>.
7226         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
7227         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
7228         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
7229         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
7230         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
7231         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
7232         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
7233         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
7234         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
7235         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
7236         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
7237         * sysdeps/x86_64/bits/atomic.h: Move to ...
7238         * sysdeps/x86_64/atomic-machine.h: ...here.
7239         * include/atomic.h: Include <atomic-machine.h> instead of
7240         <bits/atomic.h>.
7242         * sysdeps/mips/mips32/libm-test-ulps: Update.
7243         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7245         [BZ #18952]
7246         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
7247         not convert non-integer negative arguments to int to determine the
7248         value of signgam.
7249         * math/auto-libm-test-in: Add more tests of lgamma.
7250         * math/auto-libm-test-out: Regenerated.
7252         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
7253         cosh, csqrt, erfc, expm1 and lgamma.
7254         * math/auto-libm-test-out: Regenerated.
7255         * sysdeps/i386/fpu/libm-test-ulps: Update.
7256         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7258 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
7260         [BZ #2542]
7261         [BZ #2543]
7262         [BZ #2558]
7263         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
7264         __lgamma_neg for arguments from -28.0 to -2.0.
7265         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
7266         __lgamma_negf for arguments from -15.0 to -2.0.
7267         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
7268         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
7269         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
7270         Call __lgamma_negl for arguments from -33.0 to -2.0.
7271         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
7272         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
7273         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
7274         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
7275         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
7276         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
7277         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
7278         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
7279         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
7280         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
7281         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
7282         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
7283         (__lgamma_neg): Likewise.
7284         (__lgamma_negl): Likewise.
7285         (__lgamma_product): Likewise.
7286         (__lgamma_productl): Likewise.
7287         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
7288         * math/auto-libm-test-in: Add more tests of lgamma.
7289         * math/auto-libm-test-out: Regenerated.
7290         * sysdeps/i386/fpu/libm-test-ulps: Update.
7291         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7293 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
7295         [BZ #18675]
7296         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
7298 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
7300         [BZ #14912]
7301         * bits/libc-lock.h: Move to ...
7302         * sysdeps/generic/libc-lock.h: ...here.
7303         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
7304         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
7305         * sysdeps/mach/hurd/libc-lock.h: ...here.
7306         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
7307         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
7308         * sysdeps/mach/bits/libc-lock.h: Move to ...
7309         * sysdeps/mach/libc-lock.h: ...here.
7310         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
7311         * sysdeps/nptl/bits/libc-lock.h: Move to ...
7312         * sysdeps/nptl/libc-lock.h: ...here.
7313         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
7314         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
7315         * sysdeps/nptl/libc-lockP.h: ...here.
7316         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
7317         * crypt/crypt_util.c: Include <libc-lock.h> instead of
7318         <bits/libc-lock.h>.
7319         * dirent/scandir-tail.c: Likewise.
7320         * dlfcn/dlerror.c: Likewise.
7321         * elf/dl-close.c: Likewise.
7322         * elf/dl-iteratephdr.c: Likewise.
7323         * elf/dl-lookup.c: Likewise.
7324         * elf/dl-open.c: Likewise.
7325         * elf/dl-support.c: Likewise.
7326         * elf/dl-writev.h: Likewise.
7327         * elf/rtld.c: Likewise.
7328         * grp/fgetgrent.c: Likewise.
7329         * gshadow/fgetsgent.c: Likewise.
7330         * gshadow/sgetsgent.c: Likewise.
7331         * iconv/gconv_conf.c: Likewise.
7332         * iconv/gconv_db.c: Likewise.
7333         * iconv/gconv_dl.c: Likewise.
7334         * iconv/gconv_int.h: Likewise.
7335         * iconv/gconv_trans.c: Likewise.
7336         * include/link.h: Likewise.
7337         * inet/getnameinfo.c: Likewise.
7338         * inet/getnetgrent.c: Likewise.
7339         * inet/getnetgrent_r.c: Likewise.
7340         * intl/bindtextdom.c: Likewise.
7341         * intl/dcigettext.c: Likewise.
7342         * intl/finddomain.c: Likewise.
7343         * intl/gettextP.h: Likewise.
7344         * intl/loadmsgcat.c: Likewise.
7345         * intl/localealias.c: Likewise.
7346         * intl/textdomain.c: Likewise.
7347         * libidn/idn-stub.c: Likewise.
7348         * libio/libioP.h: Likewise.
7349         * locale/duplocale.c: Likewise.
7350         * locale/freelocale.c: Likewise.
7351         * locale/newlocale.c: Likewise.
7352         * locale/setlocale.c: Likewise.
7353         * login/getutent_r.c: Likewise.
7354         * login/getutid_r.c: Likewise.
7355         * login/getutline_r.c: Likewise.
7356         * login/utmp-private.h: Likewise.
7357         * login/utmpname.c: Likewise.
7358         * malloc/mtrace.c: Likewise.
7359         * misc/efgcvt.c: Likewise.
7360         * misc/error.c: Likewise.
7361         * misc/fstab.c: Likewise.
7362         * misc/getpass.c: Likewise.
7363         * misc/mntent.c: Likewise.
7364         * misc/syslog.c: Likewise.
7365         * nis/nis_call.c: Likewise.
7366         * nis/nis_callback.c: Likewise.
7367         * nis/nss-default.c: Likewise.
7368         * nis/nss_compat/compat-grp.c: Likewise.
7369         * nis/nss_compat/compat-initgroups.c: Likewise.
7370         * nis/nss_compat/compat-pwd.c: Likewise.
7371         * nis/nss_compat/compat-spwd.c: Likewise.
7372         * nis/nss_nis/nis-alias.c: Likewise.
7373         * nis/nss_nis/nis-ethers.c: Likewise.
7374         * nis/nss_nis/nis-grp.c: Likewise.
7375         * nis/nss_nis/nis-hosts.c: Likewise.
7376         * nis/nss_nis/nis-network.c: Likewise.
7377         * nis/nss_nis/nis-proto.c: Likewise.
7378         * nis/nss_nis/nis-pwd.c: Likewise.
7379         * nis/nss_nis/nis-rpc.c: Likewise.
7380         * nis/nss_nis/nis-service.c: Likewise.
7381         * nis/nss_nis/nis-spwd.c: Likewise.
7382         * nis/nss_nisplus/nisplus-alias.c: Likewise.
7383         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
7384         * nis/nss_nisplus/nisplus-grp.c: Likewise.
7385         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
7386         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
7387         * nis/nss_nisplus/nisplus-network.c: Likewise.
7388         * nis/nss_nisplus/nisplus-proto.c: Likewise.
7389         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
7390         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
7391         * nis/nss_nisplus/nisplus-service.c: Likewise.
7392         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
7393         * nis/ypclnt.c: Likewise.
7394         * nptl/libc_pthread_init.c: Likewise.
7395         * nss/getXXbyYY.c: Likewise.
7396         * nss/getXXent.c: Likewise.
7397         * nss/getXXent_r.c: Likewise.
7398         * nss/nss_db/db-XXX.c: Likewise.
7399         * nss/nss_db/db-netgrp.c: Likewise.
7400         * nss/nss_db/nss_db.h: Likewise.
7401         * nss/nss_files/files-XXX.c: Likewise.
7402         * nss/nss_files/files-alias.c: Likewise.
7403         * nss/nsswitch.c: Likewise.
7404         * posix/regex_internal.h: Likewise.
7405         * posix/wordexp.c: Likewise.
7406         * pwd/fgetpwent.c: Likewise.
7407         * resolv/res_hconf.c: Likewise.
7408         * resolv/res_libc.c: Likewise.
7409         * shadow/fgetspent.c: Likewise.
7410         * shadow/lckpwdf.c: Likewise.
7411         * shadow/sgetspent.c: Likewise.
7412         * socket/opensock.c: Likewise.
7413         * stdio-common/reg-modifier.c: Likewise.
7414         * stdio-common/reg-printf.c: Likewise.
7415         * stdio-common/reg-type.c: Likewise.
7416         * stdio-common/vfprintf.c: Likewise.
7417         * stdio-common/vfscanf.c: Likewise.
7418         * stdlib/abort.c: Likewise.
7419         * stdlib/cxa_atexit.c: Likewise.
7420         * stdlib/fmtmsg.c: Likewise.
7421         * stdlib/random.c: Likewise.
7422         * stdlib/setenv.c: Likewise.
7423         * string/strsignal.c: Likewise.
7424         * sunrpc/auth_none.c: Likewise.
7425         * sunrpc/bindrsvprt.c: Likewise.
7426         * sunrpc/create_xid.c: Likewise.
7427         * sunrpc/key_call.c: Likewise.
7428         * sunrpc/rpc_thread.c: Likewise.
7429         * sysdeps/arm/backtrace.c: Likewise.
7430         * sysdeps/generic/ldsodefs.h: Likewise.
7431         * sysdeps/generic/stdio-lock.h: Likewise.
7432         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
7433         * sysdeps/i386/backtrace.c: Likewise.
7434         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
7435         * sysdeps/m68k/backtrace.c: Likewise.
7436         * sysdeps/mach/hurd/cthreads.c: Likewise.
7437         * sysdeps/mach/hurd/dirstream.h: Likewise.
7438         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
7439         * sysdeps/nptl/malloc-machine.h: Likewise.
7440         * sysdeps/nptl/stdio-lock.h: Likewise.
7441         * sysdeps/posix/dirstream.h: Likewise.
7442         * sysdeps/posix/getaddrinfo.c: Likewise.
7443         * sysdeps/posix/system.c: Likewise.
7444         * sysdeps/pthread/aio_suspend.c: Likewise.
7445         * sysdeps/s390/s390-32/backtrace.c: Likewise.
7446         * sysdeps/s390/s390-64/backtrace.c: Likewise.
7447         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
7448         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
7449         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
7450         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
7451         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
7452         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
7453         * sysdeps/unix/sysv/linux/system.c: Likewise.
7454         * sysdeps/x86_64/backtrace.c: Likewise.
7455         * time/alt_digit.c: Likewise.
7456         * time/era.c: Likewise.
7457         * time/tzset.c: Likewise.
7458         * wcsmbs/wcsmbsload.c: Likewise.
7459         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
7460         instead of <bits/libc-lock.h> in comment.
7462 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
7464         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
7465         Only use .set mips2 if the current ISA is below mips2.
7466         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
7467         Likewise.
7468         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
7469         mips32r2 if the current ISA is below mips32r2.
7470         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
7471         (TLS_IE): Updated to use the TLD_RDHWR macro.
7472         (TLS_LE): Likewise.
7473         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
7474         __ASSEMBLER__ condition.
7476 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7478         Fix parallel build of before-compile targets.
7480         * sysdeps/mach/Makefile ($(patsubst
7481         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
7482         mach-before-compile target.
7483         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
7484         io fs process)): Move rule to dedicated hurd-before-compile target.
7486 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7488         Fix rules generating headers in hurd/ and mach/ when initial make call
7489         has subdir= explicitly set.
7491         * sysdeps/mach/Makefile ($(patsubst
7492         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
7493         calling $(MAKE).
7494         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
7495         io fs process)): Force subdir to hurd when calling $(MAKE).
7496         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
7497         subdir to mach when calling $(MAKE).
7499 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
7501         Check sysheaders when looking for Mach and Hurd headers
7503         * sysdeps/mach/configure.ac: Add sysheaders check.
7504         * sysdeps/mach/configure: Regenerate.
7505         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
7506         * sysdeps/mach/hurd/configure: Regenerate.
7508 2015-09-04  Roland McGrath  <roland@hack.frob.com>
7510         [BZ #18921]
7511         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
7512         Fix inverted sense of test of 'o_directory_works' value.
7513         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
7514         Bernhard Voelker <mail@bernhard-voelker.de>.
7516 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
7518         [BZ #14912]
7519         * bits/linkmap.h: Move to ...
7520         * sysdeps/generic/linkmap.h: ...here.
7521         * sysdeps/aarch64/bits/linkmap.h: Move to ...
7522         * sysdeps/aarch64/linkmap.h: ...here.
7523         * sysdeps/arm/bits/linkmap.h: Move to ...
7524         * sysdeps/arm/linkmap.h: ...here.
7525         * sysdeps/hppa/bits/linkmap.h: Move to ...
7526         * sysdeps/hppa/linkmap.h: ...here.
7527         * sysdeps/ia64/bits/linkmap.h: Move to ...
7528         * sysdeps/ia64/linkmap.h: ...here.
7529         * sysdeps/mips/bits/linkmap.h: Move to ...
7530         * sysdeps/mips/linkmap.h: ...here.
7531         * sysdeps/s390/bits/linkmap.h: Move to ...
7532         * sysdeps/s390/linkmap.h: ...here.
7533         * sysdeps/sh/bits/linkmap.h: Move to ...
7534         * sysdeps/sh/linkmap.h: ...here.
7535         * sysdeps/x86/bits/linkmap.h: Move to ...
7536         * sysdeps/x86/linkmap.h: ...here.
7537         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
7539 2015-09-04  Andreas Schwab  <schwab@suse.de>
7541         [BZ #18635]
7542         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
7543         (__makecontext): Terminate FDE before return label.
7544         (__novec_makecontext): Likewise.
7546 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7548         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
7549         first member of struct sv in syscall macro.
7551 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
7553         [BZ #14912]
7554         * bits/stdio-lock.h: Move to ...
7555         * sysdeps/generic/stdio-lock.h: ...here.
7556         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
7557         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
7558         * sysdeps/nptl/stdio-lock.h: ...here.
7559         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
7560         * include/libio.h: Include <stdio-lock.h> instead of
7561         <bits/stdio-lock.h>.
7562         * sysdeps/nptl/fork.c: Likewise.
7563         * sysdeps/pthread/flockfile.c: Likewise.
7564         * sysdeps/pthread/ftrylockfile.c: Likewise.
7565         * sysdeps/pthread/funlockfile.c: Likewise.
7567         [BZ #14912]
7568         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
7569         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
7570         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
7571         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
7572         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
7573         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
7574         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
7576 2015-09-03  Roland McGrath  <roland@hack.frob.com>
7578         * elf/Makefile (test-xfail-tst-protected1a): New variable.
7579         (test-xfail-tst-protected1b): New variable.
7581 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
7583         [BZ #14912]
7584         * bits/libc-tsd.h: Move to ...
7585         * sysdeps/generic/libc-tsd.h: ...here.
7586         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
7587         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
7588         * sysdeps/mach/hurd/libc-tsd.h: ...here.
7589         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
7590         * include/ctype.h: Include <libc-tsd.h> instead of
7591         <bits/libc-tsd.h>.
7592         * include/rpc/rpc.h: Likewise.
7593         * locale/localeinfo.h: Likewise.
7594         * sunrpc/rpc_thread.c: Likewise.
7595         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
7596         * sysdeps/nptl/malloc-machine.h: Likewise.
7598         * Makefile (headers): Remove bits/libc-lock.h.
7599         * libio/Makefile (headers): Remove bits/stdio-lock.h.
7601         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
7602         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
7603         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
7604         <bits/stdio-lock.h>.
7605         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
7606         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
7608 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
7610         [BZ #18757]
7611         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
7612         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
7613         BZ #18757.
7615 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
7617         * malloc/mtrace.pl: Filter out NULL entries.
7619 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
7621         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
7622         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
7623         macro.
7625         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
7626         (TCP_CC_INFO): Likewise.
7627         (TCP_SAVE_SYN): Likewise.
7628         (TCP_SAVED_SYN): Likewise.
7630 2015-08-31  Brett Neumeier <brett@neumeier.us>
7632         [BZ #18870]
7633         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
7635 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
7637         [BZ #18873]
7638         Fix broken overflow check in posix_fallocate
7639         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
7640         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
7641         Fix parenthesization typo.
7643 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
7645         [BZ #18887]
7646         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
7647         tst-mntent-blank-passno.
7648         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
7649         * misc/tst-mntent-blank-corrupt.c: New test.
7650         * misc/tst-mntent-blank-passno.c: New test ripped from ...
7651         * misc/tst-mntent.c (do_test): ... here.
7653 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
7655         [BZ #4404]
7656         * po/de.po: Fix SIGALRM typo.
7658 2015-08-28  James Perkins  <james@loowit.net>
7660         * time/tst-strptime2.c (tests): Replace short list of test
7661         strings for strptime %z specifier with code which exhaustively
7662         tests every combination of sign and 0 to 5 digits. Tests for
7663         rejection of invalid strings.
7665 2015-08-28  James Perkins  <james@loowit.net>
7667         [BZ #16141]
7668         * time/strptime_l.c (__strptime_internal): Fix %z minutes
7669         calculation, removing incorrect decimal time rounding, so that
7670         all minute values result in a valid seconds value.
7671         * time/strptime_l.c (__strptime_internal): Extend %z time zone
7672         offset range limits to UTC-99:59 through UTC+99:59 to parse
7673         current and historical use cases.
7674         * time/tst-strptime2.c (tests): Modify and add tests for the
7675         strptime %z input field descriptor, specifically conversion of
7676         minutes to seconds and validating an offset range of -9959 to
7677         +9959.
7679 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7680             Dmitry V. Levin  <ldv@altlinux.org>
7682         [BZ #18877]
7683         * posix/Makefile (tests): Add tst-mmap-offset.
7684         * posix/tst-mmap.c: New file.
7685         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
7686         offset calculation for negative values.
7688 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
7690         * sysdeps/i386/init-arch.h: New file.
7691         * sysdeps/i386/i586/init-arch.h: Likewise.
7692         * sysdeps/i386/i686/init-arch.h: Likewise.
7693         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
7694         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
7695         * sysdeps/x86/cpu-features.h (bit_I586): New.
7696         (bit_I686): Likewise.
7697         (bit_CX8): Likewise.
7698         (bit_CMOV): Likewise.
7699         (index_CX8): Likewise.
7700         (index_CMOV): Likewise.
7701         (index_I586): Likewise.
7702         (index_I686): Likewise.
7703         (reg_CX8): Likewise.
7704         (reg_CMOV): Likewise.
7705         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
7706         available at compile-time.
7707         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
7708         available at compile-time.
7709         * sysdeps/x86/init-arch.h (USE_I586): New macro.
7710         (USE_I686): Likewise.
7712 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
7714         * sysdeps/i386/bcopy.S: New file.
7715         * sysdeps/i386/bzero.S: Likewise.
7716         * sysdeps/i386/memcpy.S: Likewise.
7717         * sysdeps/i386/memmove.S: Likewise.
7718         * sysdeps/i386/mempcpy.S: Likewise.
7719         * sysdeps/i386/memset.S: Likewise.
7720         * sysdeps/i386/bzero.c: Removed.
7721         * sysdeps/i386/memset.c: Likewise.
7722         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
7723         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
7724         * sysdeps/i386/i586/memset_chk.S: Likewise.
7725         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
7726         * sysdeps/i386/memcpy_chk.S: Here.
7727         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
7728         * sysdeps/i386/memmove_chk.S: Here.
7729         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
7730         * sysdeps/i386/mempcpy_chk.S: Likewise.
7731         * sysdeps/i386/i686/memset_chk.S: Moved to ...
7732         * sysdeps/i386/memset_chk.S: Likewise.
7734 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
7736         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
7737         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
7738         file, move DIAG_POP_NEEDS_COMMENT to end of file.
7739         * soft-fp/fmadf4.c: Ditto.
7740         * soft-fp/fmatf4.c: Ditto.
7742 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
7744         * sysdeps/i386/i586/Implies: Removed.
7745         * sysdeps/i386/i686/Implies: Likewise.
7747 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
7749         * sysdeps/i386/i486/strlen.S: Moved to ...
7750         * sysdeps/i386/strlen.S: Here.
7752 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
7754         * sysdeps/i386/i486/strcat.S: Moved to ...
7755         * sysdeps/i386/strcat.S: Here.
7757 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
7759         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
7760         * sysdeps/i386/pthread_spin_trylock.S: Here.
7761         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
7762         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
7764 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
7766         * sysdeps/i386/i486/string-inlines.c: Moved to ...
7767         * sysdeps/i386/string-inlines.c: Here.
7769 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
7771         * sysdeps/i386/i486/htonl.S: Moved ...
7772         * sysdeps/i386/htonl.S: here.
7774 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
7776         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
7777         * sysdeps/i386/bits/atomic.h: Here.
7779 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
7781         * sysdeps/i386/i486/Versions: Removed.
7783 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
7785         [BZ #2898]
7786         * misc/mktemp.c: Add mkdtemp to the link_warning message.
7787         Based on patch by Aurelien Jarno.
7789 2015-08-26  Stan Shebs  <stanshebs@google.com>
7791         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
7792         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
7794 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7796         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
7797         * sysdeps/powerpc/dl-procinfo.c:
7798         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
7799         feature so it shows when LD_SHOW_AUXV=1.
7801 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7803         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
7804         (__arch_compare_and_exchange_val_32_acq): Remove and use common
7805         definition.  ISA 2.07B no longer requires full sync.
7807 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
7809         [BZ #18863]
7810         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
7811         (si_call_addr): Define.
7812         (si_syscall): Define.
7813         (si_arch): Define.
7815 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
7817         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
7818         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
7819         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
7820         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
7821         (__memset_zero_constant_len_parameter): New.
7822         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
7823         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
7824         (__memset_zero_constant_len_parameter): Don't define if
7825         __memset_chk or USE_AS_BZERO are defined.
7827         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
7828         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
7829         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
7831         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
7832         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
7833         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
7834         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
7835         comments.
7836         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
7837         -mno-mmx for $(all-rtld-routines).
7838         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
7839         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
7840         i386.
7842 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
7844         * sysdeps/generic/unwind.h
7845         (_Unwind_Word): Use __mode__(__unwind_word__)
7846         instead of __mode__(__word__).
7847         (_Unwind_Sword): Likewise.
7849         * sysdeps/s390/s390-64/utf8-utf16-z9.c
7850         (MAX_NEEDED_INPUT): New define.
7851         (MAX_NEEDED_OUTPUT): New define.
7853         * NEWS: New item for IBM z13 string optimizations.
7855         * sysdeps/s390/multiarch/memrchr-c.c: New File.
7856         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
7857         * sysdeps/s390/multiarch/memrchr.c: Likewise.
7858         * sysdeps/s390/multiarch/Makefile
7859         (sysdep_routines): Add memrchr functions.
7860         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
7861         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
7863         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
7864         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
7865         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
7866         * sysdeps/s390/multiarch/Makefile
7867         (sysdep_routines): Add wmemcmp functions.
7868         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
7869         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
7870         * benchtests/bench-wmemcmp.c: New File.
7871         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
7873         * sysdeps/s390/multiarch/wmemset-c.c: New File.
7874         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
7875         * sysdeps/s390/multiarch/wmemset.c: Likewise.
7876         * sysdeps/s390/multiarch/Makefile
7877         (sysdep_routines): Add wmemset functions.
7878         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
7879         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
7880         * wcsmbs/wmemset.c: Use WMEMSET if defined.
7881         * string/test-memset.c: Add wmemset support.
7882         * wcsmbs/test-wmemset.c: New File.
7883         * wcsmbs/Makefile (strop-tests): Add wmemset.
7884         * benchtests/bench-memset.c: Add wmemset support.
7885         * benchtests/bench-wmemset.c: New File.
7886         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
7888         * sysdeps/s390/multiarch/memccpy-c.c: New File.
7889         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
7890         * sysdeps/s390/multiarch/memccpy.c: Likewise.
7891         * sysdeps/s390/multiarch/Makefile
7892         (sysdep_routines): Add memccpy functions.
7893         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
7894         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
7895         * string/memccpy.c: Use MEMCCPY if defined.
7897         * sysdeps/s390/multiarch/memchr-vx.S: New File.
7898         * sysdeps/s390/multiarch/memchr.c: Likewise.
7899         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
7900         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
7901         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
7902         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
7903         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
7904         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
7905         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
7906         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
7907         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
7908         and rawmemchr functions.
7909         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
7910         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
7911         and wmemchr.
7912         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
7913         * string/test-memchr.c: Add wmemchr support.
7914         * wcsmbs/test-wmemchr.c: New File.
7915         * wcsmbs/Makefile (strop-tests): Add wmemchr.
7916         * benchtests/bench-memchr.c: Add wmemchr support.
7917         * benchtests/bench-wmemchr.c: New File.
7918         * benchtests/Makefile (wcsmbs-bench): wmemchr.
7920         * sysdeps/s390/multiarch/strcspn-c.c: New File.
7921         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
7922         * sysdeps/s390/multiarch/strcspn.c: Likewise.
7923         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
7924         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
7925         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
7926         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
7927         wcscspn functions.
7928         * sysdeps/s390/multiarch/ifunc-impl-list.c
7929         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
7930         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
7931         * string/test-strcspn.c: Add wcscspn support.
7932         * wcsmbs/test-wcscspn.c: New File.
7933         * wcsmbs/Makefile (strop-tests): Add wcscspn.
7934         * benchtests/bench-strcspn.c: Add wcscspn support.
7935         * benchtests/bench-wcscspn.c: New File.
7936         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
7938         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
7939         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
7940         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
7941         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
7942         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
7943         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
7944         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
7945         wcspbrk functions.
7946         * sysdeps/s390/multiarch/ifunc-impl-list.c
7947         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
7948         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
7949         * string/test-strpbrk.c: Add wcspbrk support.
7950         * wcsmbs/test-wcspbrk.c: New File.
7951         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
7952         * benchtests/bench-strpbrk.c: Add wcspbrk support.
7953         * benchtests/bench-wcspbrk.c: New File.
7954         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
7956         * sysdeps/s390/multiarch/strspn-c.c: New File.
7957         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
7958         * sysdeps/s390/multiarch/strspn.c: Likewise.
7959         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
7960         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
7961         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
7962         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
7963         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
7964         wcsspn functions.
7965         * sysdeps/s390/multiarch/ifunc-impl-list.c
7966         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
7967         * string/test-strspn.c: Add wcsspn support.
7968         * wcsmbs/test-wcsspn.c: New File.
7969         * wcsmbs/Makefile (strop-tests): Add wcsspn.
7970         * benchtests/bench-strspn.c: Add wcsspn support.
7971         * benchtests/bench-wcsspn.c: New File.
7972         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
7974         * sysdeps/s390/multiarch/strrchr-c.c: New File.
7975         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
7976         * sysdeps/s390/multiarch/strrchr.c: Likewise.
7977         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
7978         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
7979         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
7980         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
7981         wcsrchr functions.
7982         * sysdeps/s390/multiarch/ifunc-impl-list.c
7983         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
7984         * benchtests/bench-wcsrchr.c: New File.
7985         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
7987         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
7988         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
7989         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
7990         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
7991         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
7992         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
7993         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
7994         wcschrnul functions.
7995         * sysdeps/s390/multiarch/ifunc-impl-list.c
7996         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
7997         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
7998         * string/test-strchr.c: Add wcschrnul support.
7999         * wcsmbs/test-wcschrnul.c: New File.
8000         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
8001         * benchtests/bench-strchr.c: Add wcschrnul support.
8002         * benchtests/bench-wcschrnul.c: New File.
8003         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
8005         * sysdeps/s390/multiarch/strchr-c.c: New File.
8006         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
8007         * sysdeps/s390/multiarch/strchr.c: Likewise.
8008         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
8009         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
8010         * sysdeps/s390/multiarch/wcschr.c: Likewise.
8011         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
8012         wcschr functions.
8013         * sysdeps/s390/multiarch/ifunc-impl-list.c
8014         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
8015         * string/strchr.c (STRCHR): Define and use macro.
8016         * benchtests/bench-wcschr.c: New File.
8017         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
8019         * sysdeps/s390/multiarch/strncmp-c.c: New File.
8020         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
8021         * sysdeps/s390/multiarch/strncmp.c: Likewise.
8022         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
8023         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
8024         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
8025         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
8026         wcsncmp functions.
8027         * sysdeps/s390/multiarch/ifunc-impl-list.c
8028         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
8029         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
8030         * benchtests/bench-strncmp.c: Add wcsncmp support.
8031         * benchtests/bench-wcsncmp.c: New File.
8032         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
8034         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
8035         * sysdeps/s390/multiarch/strcmp.c: Likewise.
8036         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
8037         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
8038         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
8039         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
8040         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
8041         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
8042         wcscmp functions.
8043         * sysdeps/s390/multiarch/ifunc-impl-list.c
8044         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
8045         * string/strcmp.c (STRCMP): Define and use macro.
8046         * benchtests/bench-wcscmp.c: New File.
8047         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
8048         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
8049         instead of _HAVE_STRING_ARCH_memchr.
8051         * sysdeps/s390/multiarch/strncat-c.c: New File.
8052         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
8053         * sysdeps/s390/multiarch/strncat.c: Likewise.
8054         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
8055         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
8056         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
8057         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
8058         wcsncat functions.
8059         * sysdeps/s390/multiarch/ifunc-impl-list.c
8060         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
8061         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
8062         * string/test-strncat.c: Add wcsncat support.
8063         * wcsmbs/test-wcsncat.c: New File.
8064         * wcsmbs/Makefile (strop-tests): Add wcsncat.
8065         * benchtests/bench-strncat.c: Add wcsncat support.
8066         * benchtests/bench-wcsncat.c: New File.
8067         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
8069         * sysdeps/s390/multiarch/strcat-c.c: New File.
8070         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
8071         * sysdeps/s390/multiarch/strcat.c: Likewise.
8072         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
8073         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
8074         * sysdeps/s390/multiarch/wcscat.c: Likewise.
8075         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
8076         wcscat functions.
8077         * sysdeps/s390/multiarch/ifunc-impl-list.c
8078         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
8079         * string/strcat.c (STRCAT): Define and use macro.
8080         * wcsmbs/wcscat.c: Use WCSCAT if defined.
8081         * string/test-strcat.c: Add wcscat support.
8082         * wcsmbs/test-wcscat.c: New File.
8083         * wcsmbs/Makefile (strop-tests): Add wcscat.
8084         * benchtests/bench-strcat.c: Add wcscat support.
8085         * benchtests/bench-wcscat.c: New File.
8086         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
8088         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
8089         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
8090         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
8091         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
8092         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
8093         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
8094         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
8095         wcpncpy functions.
8096         * sysdeps/s390/multiarch/ifunc-impl-list.c
8097         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
8098         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
8099         * string/test-stpncpy.c: Add wcpncpy support.
8100         * wcsmbs/test-wcpncpy.c: New File.
8101         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
8102         * benchtests/bench-stpncpy.c: Add wcpncpy support.
8103         * benchtests/bench-wcpncpy.c: New File.
8104         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
8106         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
8107         * sysdeps/s390/multiarch/strncpy.c: Likewise.
8108         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
8109         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
8110         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
8111         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
8112         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
8113         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
8114         wcsncpy functions.
8115         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
8116         * sysdeps/s390/multiarch/ifunc-impl-list.c
8117         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
8118         * string/test-strncpy.c: Add wcsncpy support.
8119         * wcsmbs/test-wcsncpy.c: New File.
8120         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
8121         * benchtests/bench-strncpy.c: Add wcsncpy support.
8122         * benchtests/bench-wcsncpy.c: New File.
8123         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
8125         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
8126         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
8127         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
8128         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
8129         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
8130         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
8131         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
8132         wcpcpy functions.
8133         * string/stpcpy.c: Use STPCPY if defined.
8134         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
8135         * sysdeps/s390/multiarch/ifunc-impl-list.c
8136         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
8137         * string/test-stpcpy.c: Add wcpcpy support.
8138         * wcsmbs/test-wcpcpy.c: New File.
8139         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
8140         * benchtests/bench-stpcpy.c: Add wcpcpy support.
8141         * benchtests/bench-wcpcpy.c: New File.
8142         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
8144         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
8145         * sysdeps/s390/multiarch/strcpy.c: Likewise.
8146         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
8147         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
8148         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
8149         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
8150         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
8151         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
8152         wcscpy functions.
8153         * sysdeps/s390/multiarch/ifunc-impl-list.c
8154         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
8155         * benchtests/bench-wcscpy.c: New File.
8156         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
8158         * sysdeps/s390/multiarch/strnlen-c.c: New File.
8159         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
8160         * sysdeps/s390/multiarch/strnlen.c: Likewise.
8161         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
8162         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
8163         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
8164         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
8165         wcsnlen functions.
8166         * sysdeps/s390/multiarch/ifunc-impl-list.c
8167         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
8168         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
8169         * string/test-strnlen.c: Add wcsnlen support.
8170         * wcsmbs/test-wcsnlen.c: New File.
8171         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
8172         * benchtests/bench-strnlen.c: Add wcsnlen support.
8173         * benchtests/bench-wcsnlen.c: New File.
8174         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
8176         * sysdeps/s390/multiarch/Makefile: New File.
8177         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
8178         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
8179         * sysdeps/s390/multiarch/strlen.c: Likewise.
8180         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
8181         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
8182         * sysdeps/s390/multiarch/wcslen.c: Likewise.
8183         * string/strlen.c (STRLEN): Define and use macro.
8184         * sysdeps/s390/multiarch/ifunc-impl-list.c
8185         (IFUNC_VX_IMPL): New macro function.
8186         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
8187         * benchtests/Makefile (wcsmbs-bench): New variable.
8188         (string-bench-all): Added wcsmbs-bench.
8189         * benchtests/bench-wcslen.c: New File.
8191         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
8192         s390_vx_libc_ifunc2): New macro function.
8194         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
8195         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
8196         assembler support.
8197         * sysdeps/s390/configure: Regenerated.
8199         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
8200         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
8202         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
8203         * sysdeps/s390/dl-procinfo.h: Add vector capability.
8204         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
8206         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
8207         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
8208         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
8209         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
8210         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
8211         (memcmp, bcmp): Use __memcmp_default as alias source.
8212         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
8213         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
8214         Rename to __memcmp_default.
8215         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
8216         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
8217         (memcpy): Use __memcpy_default as alias source.
8218         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
8219         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
8220         Rename to __memcpy_default.
8221         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
8222         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
8223         (memset): Use __memset_default as alias source.
8224         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
8225         * sysdeps/s390/s390-32/memset.S (__memset_g5):
8226         Rename to __memset_default.
8227         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
8228         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
8229         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
8230         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
8231         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
8232         (memcmp, bcmp): Use __memcmp_default as alias source.
8233         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
8234         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
8235         Rename to __memcmp_default.
8236         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
8237         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
8238         (memcpy): Use __memcpy_default as alias source.
8239         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
8240         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
8241         Rename to __memcpy_default.
8242         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
8243         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
8244         (memset): Use __memset_default as alias source.
8245         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
8246         * sysdeps/s390/s390-64/memset.S (__memset_z900):
8247         Rename to __memset_default.
8248         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
8249         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
8251         [BZ #18610]
8252         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
8253         __ieee_instruction_pointer to __unused.
8254         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
8255         __ieee_instruction_pointer.
8256         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
8257         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
8258         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
8259         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
8260         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
8261         Mark dxc-field as reserved.
8263 2015-08-25  Roland McGrath  <roland@hack.frob.com>
8265         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
8266         if the weak reference is not null.
8268 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
8270         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
8272         [BZ #11214]
8273         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
8275 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8277         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
8278         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
8279         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
8280         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
8281         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
8282         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
8283         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
8284         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
8285         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
8286         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
8287         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
8288         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
8289         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
8290         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
8291         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
8292         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
8293         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
8294         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
8296 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8298         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
8299         register other than r0 for tabort, it has special meaning.
8300         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise
8301         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
8302         transaction before starting syscall.
8304 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8306         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
8308 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
8310         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
8312         * sysdeps/x86_64/rtld-memcmp.c: Removed.
8313         * sysdeps/x86_64/rtld-memset.S: Likewise.
8314         * sysdeps/x86_64/rtld-strchr.S: Likewise.
8315         * sysdeps/x86_64/rtld-strlen.S: Likewise.
8316         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
8317         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
8319         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
8321 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
8323         * debug/strcpy_chk.c: Improve performance.
8324         * debug/stpcpy_chk.c: Likewise.
8325         * sysdeps/x86_64/strcpy_chk.S: Remove.
8326         * sysdeps/x86_64/stpcpy_chk.S: Remove.
8328         [BZ #18240]
8329         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
8331 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
8333         [BZ #15128]
8334         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
8335         ifuncmain8.
8336         (modules-names): Add ifuncmod8.
8337         ($(objpfx)ifuncmain8): New rule.
8338         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
8339         <cpuid.h>.
8340         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
8341         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
8342         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
8343         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
8344         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
8345         * sysdeps/x86_64/dl-trampoline.h: Likewise.
8346         * sysdeps/x86_64/ifuncmain8.c: New file.
8347         * sysdeps/x86_64/ifuncmod8.c: Likewise.
8348         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
8349         Removed.
8350         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
8351         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
8352         Change rtld_savespace_sse to __glibc_unused2.
8353         (RTLD_CHECK_FOREIGN_CALL): Removed.
8354         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
8355         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
8356         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
8358 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
8360         * sysdeps/aarch64/bzero.S (__bzero): Remove.
8362 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
8364         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
8365         Unconditionally set __fpcr to avoid uninialized warning.
8366         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
8368 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
8370         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
8371         is corrupt.
8373         * malloc/arena.c (arena_get2): Drop unused argument.
8374         (arena_lock): Adjust.
8375         (arena_get_retry): Likewise.
8377 2015-08-24  Andreas Schwab  <schwab@suse.de>
8379         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
8380         Don't define.
8381         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
8382         (__ASSUME_IPC64): Don't undef.
8383         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
8384         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
8385         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
8386         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
8387         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
8388         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
8389         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
8390         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
8391         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
8392         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
8393         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
8394         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
8395         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
8396         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
8397         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
8398         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
8399         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
8400         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
8401         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
8402         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
8403         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
8405 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
8407         * manual/Makefile (install): Only build manual when perl is available.
8409 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8411         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
8412         '#undef memcpy' by '#undef memchr'.
8414 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8416         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
8417         memchr not point to the internal __GI_memchr implementation.
8419 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
8421         * timezone/Makefile (CFLAGS-zdump.c): Remove
8422         -Wno-strict-prototypes.
8423         (CFLAGS-zic.c): Likewise.
8424         (CFLAGS-ialloc.c): Likewise.
8425         (CFLAGS-scheck.c): Likewise.
8427         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
8428         -Wno-error=undef.
8430 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
8432         * i386/i686/multiarch/strcasestr-c.c: Removed.
8433         * x86_64/multiarch/strcasestr.c: Likewise.
8434         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8435         Remove strcasestr.
8437 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
8439         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
8441         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
8442         variables for high and low parts before possibly modifying them.
8444 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
8446         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
8447         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
8448         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
8449         of "multiarch/init-arch.h".
8450         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
8451         * sysdeps/x86/init-arch.h: This.
8453 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
8455         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
8456         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
8458 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
8460         [BZ #17787]
8461         * manual/macros.texi: Add twoexp macro.
8462         * manual/filesys.texi: Fix exponents.
8463         * manual/llio.texi: Likewise.
8464         * manual/stdio.texi: Likewise.
8466 2015-08-20  Florian Weimer  <fweimer@redhat.com>
8468         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
8469         incorrect use.
8471 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
8473         [BZ #18370]
8474         * math/s_csqrt.c (__csqrt): Force underflow exception for results
8475         whose real or imaginary part has small absolute value.
8476         * math/s_csqrtf.c (__csqrtf): Likewise.
8477         * math/s_csqrtl.c (__csqrtl): Likewise.
8478         * math/auto-libm-test-in: Add more tests of csqrt.
8479         * math/auto-libm-test-out: Regenerated.
8480         * sysdeps/i386/fpu/libm-test-ulps: Update.
8482 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8484         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
8485         __ppc_set_ppr_very_low): New functions.
8486         * manual/platform.texi: Add documentation about
8487         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
8489 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
8491         * string/stpncpy.c (stpncpy): Improve performance using
8492         __strnlen/memcpy/memset.
8494 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
8496         [BZ #18796]
8497         * scripts/test-installation.pl: Don't add -lmvec to build options if
8498         libmvec wasn't built.
8500 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
8502         [BZ #14341]
8503         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
8504         case when there is a gap between DT_REL and DT_JMPREL sections.
8505         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
8506         (LDFLAGS-tst-split-dynreloc): New.
8507         (tst-split-dynreloc-ENV): Likewise.
8508         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
8509         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
8511 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
8513         [BZ #18822]
8514         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
8515         attribute_hidden.
8516         (__xstat64_conv): Likewise.
8517         (__xstat32_conv): Likewise.
8519 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
8521         [BZ #18822]
8522         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
8523         Don't load %ebx when calling __setcontext.  Call __setcontext
8524         with HIDDEN_JUMPTARGET.
8525         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
8526         libc_hidden_def.
8528 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
8530         * sysdeps/i386/i686/Makefile
8531         [$(subdir) == string] (sysdep_routines): Moved to ...
8532         * sysdeps/i386/Makefile: Here.
8533         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
8534         * sysdeps/i386/cacheinfo.c: Here.
8535         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
8536         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
8537         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
8538         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
8540 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
8542         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
8543         __i586__ is defined.
8544         (HAS_I686): Defined to 1 if __i686__ is defined.
8546 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
8548         * elf/Makefile [$(have-z-execstack) = yes]
8549         (CPPFLAGS-tst-execstack.c): New variable.
8551         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
8552         conditional to [defined UTMPX || _HAVE_UT_TYPE].
8553         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
8554         UTMPX || _HAVE_UT_TV].
8555         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
8556         UTMPX || _HAVE_UT_TV - 0].
8558 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
8560         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
8561         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
8562         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
8564 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8566         * sysdeps/powerpc/dl-procinfo.c:
8567         (_dl_powerpc_cap_flags): Added missing strings for some
8568         hwcap features.
8569         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
8571 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
8573         Port the 0x7efe...feff pattern to GCC 6.
8574         See Steve Ellcey's bug report in:
8575         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
8576         * string/memrchr.c (MEMRCHR):
8577         * string/rawmemchr.c (RAWMEMCHR):
8578         * string/strchr.c (strchr):
8579         * string/strchrnul.c (STRCHRNUL):
8580         Rewrite code to avoid issues with signed shift overflow.
8582 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
8584         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
8585         whether cpuid is available only if HAS_CPUID is 0.
8586         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
8587         (HAS_I586): Likewise.
8588         (HAS_I686): Likewise.
8590 2015-08-18  Zack Weinberg  <zackw@panix.com>
8592         * misc/Versions (libc): Add GLIBC_2.23.
8594 2015-08-18  Alan Modra  <amodra@gmail.com>
8596         [BZ #18421]
8597         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
8598         .Lp__global.
8599         (_start): Load %dp via .Lp__global.
8600         [!SHARED]: Use .section .rodata.
8602 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
8604         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
8605         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
8607 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
8609         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
8610         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
8612 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
8614         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
8615         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
8617 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
8619         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
8620         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
8622 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
8624         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
8625         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
8627 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
8629         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
8630         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
8632 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
8634         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
8636 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
8638         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
8639         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
8640         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
8641         (__ASSUME_LWS_CAS): Delete.
8643 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
8645         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
8646         * sysdeps/hppa/configure: Regenerated.
8647         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
8648         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
8649         * sysdeps/hppa/nptl/tls.h: Likewise.
8651 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
8653         [BZ #18823]
8654         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
8655         for scaling up small arguments.
8656         * math/s_csqrtf.c (__csqrtf): Likewise.
8657         * math/s_csqrtl.c (__csqrtl): Likewise.
8658         * math/auto-libm-test-in: Add more tests of csqrt.
8659         * math/auto-libm-test-out: Regenerated.
8661 2015-08-17  Andreas Schwab  <schwab@suse.de>
8663         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
8664         version set GLIBC_2.19.
8666 2015-08-16  Zack Weinberg  <zackw@panix.com>
8668         [BZ #18681]
8669         * misc/regexp.h: This interface is no longer supported.
8670         Remove all contents, leaving only an #error directive.
8671         * misc/regexp.c (loc1, loc2, locs, step, advance):
8672         Demote to compatibility symbols.
8674 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
8676         [BZ #18084]
8677         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
8678         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
8679         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
8680         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
8681         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
8682         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
8683         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
8684         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
8685         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
8687 2015-08-15  Zack Weinberg  <zackw@panix.com>
8689         [BZ #18795]
8690         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
8691         buffer length is known to be too large, not if it's known to be
8692         small enough.
8693         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
8694         overflow at runtime, involving a length parameter, twice: once
8695         with a compile-time constant length parameter, once without.
8697 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
8699         [BZ #18824]
8700         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
8701         scaling x * y up instead of down.
8702         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8703         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8704         * math/auto-libm-test-in: Add more tests of fma.
8705         * math/auto-libm-test-out: Regenerated.
8707 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
8709         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8711 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
8713         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
8714         unnecessary movq.
8715         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
8716         Likewise.
8718 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
8720         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
8721         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
8722         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
8723         and tgamma.
8724         * math/auto-libm-test-out: Regenerated.
8725         * sysdeps/i386/fpu/libm-test-ulps: Update.
8726         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8728         [BZ #16520]
8729         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
8730         (__tanh): Force underflow exception for arguments with small
8731         absolute value.
8732         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
8733         (__tanhf): Force underflow exception for arguments with small
8734         absolute value.
8735         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
8736         (__tanhl): Force underflow exception for arguments with small
8737         absolute value.
8738         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
8739         (__tanhl): Force underflow exception for arguments with small
8740         absolute value.
8741         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
8742         (__tanhl): Force underflow exception for arguments with small
8743         absolute value.
8744         * math/auto-libm-test-in: Add more tests of tanh.
8745         * math/auto-libm-test-out: Regenerated.
8746         * sysdeps/i386/fpu/libm-test-ulps: Update.
8748 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
8750         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
8751         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
8753 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
8755         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
8756         <cpuid.h>.
8758 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
8760         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
8761         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
8763 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
8765         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
8766         Remove $(objpfx)init-arch.o.
8767         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
8768         init-arch.
8769         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
8770         (INIT_ARCH_EXT): Defined as empty.
8771         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
8772         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
8773         __init_cpu_features call.  Replace HAS_XXX with
8774         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
8775         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
8776         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
8777         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
8778         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
8779         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
8780         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
8781         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
8782         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
8783         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
8784         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
8785         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
8786         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
8787         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
8788         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
8789         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
8790         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
8791         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
8792         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
8793         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
8794         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
8795         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
8796         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
8797         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
8798         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
8799         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
8800         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
8801         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
8802         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
8803         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
8804         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
8805         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
8806         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
8807         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
8808         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
8809         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
8811 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
8813         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
8814         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
8815         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
8816         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
8817         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
8818         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
8819         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
8820         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
8821         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
8822         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
8823         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
8824         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
8825         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
8826         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8827         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8828         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8829         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8830         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8831         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8832         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8833         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8834         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8835         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8836         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8837         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8838         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8839         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8840         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8841         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8842         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8843         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8844         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8845         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8846         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8847         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8848         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8849         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8850         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8851         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8852         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8853         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8854         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8855         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8857 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
8859         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
8860         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
8861         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
8862         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8863         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8864         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
8865         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8866         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
8867         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
8868         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8869         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
8870         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
8871         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
8872         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
8873         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
8874         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
8875         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
8876         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
8877         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
8878         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
8879         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
8880         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
8881         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
8882         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
8883         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
8884         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
8885         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
8886         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
8887         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
8888         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
8889         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
8890         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
8891         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
8892         * sysdeps/x86_64/multiarch/memset.S: Likewise.
8893         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8894         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
8895         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
8896         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
8897         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
8898         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
8899         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
8900         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
8901         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
8903 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
8905         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
8906         (dl_platform_init): Call init_cpu_features.
8907         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
8908         * sysdeps/i386/i686/cacheinfo.c
8909         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
8910         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
8911         * sysdeps/i386/i686/multiarch/Versions: Removed.
8912         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
8913         Removed.
8914         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
8915         * sysdeps/unix/sysv/linux/x86/Makefile
8916         (libpthread-sysdep_routines): Remove init-arch.
8917         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
8918         <sysdeps/x86_64/dl-procinfo.c> instead of
8919         sysdeps/generic/dl-procinfo.c>.
8920         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
8921         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
8922         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
8923         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
8924         [$(subdir) == elf] (tests-static): Add
8925         tst-get-cpu-features-static.
8926         * sysdeps/x86/Versions: New file.
8927         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
8928         * sysdeps/x86/cpu-features.c: Likewise.
8929         * sysdeps/x86/cpu-features.h: Likewise.
8930         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
8931         * sysdeps/x86/libc-start.c: Likewise.
8932         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
8933         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
8934         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
8935         * sysdeps/x86_64/dl-procinfo.c: Likewise.
8936         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
8937         Assume USE_MULTIARCH is defined and don't check it.
8938         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
8939         (is_amd): Likewise.
8940         (max_cpuid): Likewise.
8941         (intel_check_word): Likewise.
8942         (__cache_sysconf): Don't call __init_cpu_features.
8943         (__x86_preferred_memory_instruction): Removed.
8944         (init_cacheinfo): Don't call __init_cpu_features. Replace
8945         __cpu_features with GLRO(dl_x86_cpu_features).
8946         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
8947         (dl_platform_init): Call init_cpu_features.
8948         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
8949         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
8950         * sysdeps/x86_64/multiarch/Versions: Removed.
8951         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
8952         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
8953         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
8954         Removed.
8955         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
8957 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
8959         [BZ #18820]
8960         * libio/Makefile (test-fmemopen-mem): New test.
8961         * libio/test-fmemopen.c (do_bz18820): New test.
8962         * libio/fmemopen.c (__fmemopen): Fix memory leak.
8963         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
8965 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
8967         [BZ #16734]
8968         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
8969         (FREE_BUF): Delete.
8970         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
8971         * libio/genops.c (_IO_setb): Use malloc and free directly.
8972         (_IO_default_doallocate, _IO_default_finish): Likewise.
8973         ( _IO_unbuffer_all): Likewise.
8974         ( libc_freeres_fn): Likewise.
8975         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
8976         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
8977         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
8978         (_IO_wdefault_doallocate): Likewise.
8980 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
8982         [BZ #18086]
8983         * sysdeps/posix/nice.c (nice): Restore old errno.
8984         * posix/tst-nice.c (do_test): Add test for BZ #18086.
8986 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
8988         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
8990 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8992         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
8993         __bcopy and add a weak_alias to bcopy.
8994         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
8995         for static build.
8997         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
8998         cleanup macro usage.
8999         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
9000         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
9001         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
9002         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
9003         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
9004         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
9005         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
9006         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
9007         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
9008         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
9009         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
9010         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
9011         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
9012         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
9013         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
9014         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
9015         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
9016         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
9017         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
9019         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
9020         libc_hidden_def.
9021         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
9023         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
9024         (sysdep_routines): Add strstr-ppc64.
9025         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
9027 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
9029         [BZ #18778]
9030         * elf/Makefile (tests): Add Add tst-nodelete2.
9031         (modules-names): Add tst-nodelete2mod.
9032         (tst-nodelete2mod.so-no-z-defs): New.
9033         ($(objpfx)tst-nodelete2): Likewise.
9034         ($(objpfx)tst-nodelete2.out): Likewise.
9035         (LDFLAGS-tst-nodelete2): Likewise.
9036         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
9037         out of loop through all loaded libraries.
9038         * elf/tst-nodelete2.c: New file.
9039         * elf/tst-nodelete2mod.c: Likewise.
9040         * elf/tst-znodelete-zlib.cc: Delete.
9042 2015-08-11  Andreas Schwab  <schwab@suse.de>
9044         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
9045         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
9046         (__openat64_nocancel): Likewise.
9048 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
9050         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
9051         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
9052         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
9053         * math/auto-libm-test-out: Regenerated.
9054         * sysdeps/i386/fpu/libm-test-ulps: Update.
9055         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9057 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
9059         [BZ #18790]
9060         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
9061         threshold for returning +/- 1.
9062         * math/auto-libm-test-in: Add more tests of tanh.
9063         * math/auto-libm-test-out: Regenerated.
9064         * sysdeps/i386/fpu/libm-test-ulps: Update.
9066 2015-08-10  Andreas Schwab  <schwab@suse.de>
9068         [BZ #18781]
9069         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
9070         MORE_OFLAGS to oflag.
9071         * io/test-lfs.c (do_test): Test openat64.
9073 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
9075         [BZ #18789]
9076         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
9077         smaller threshold for returning the argument.
9078         * math/auto-libm-test-in: Add more tests of sinh.
9079         * math/auto-libm-test-out: Regenerated.
9080         * sysdeps/i386/fpu/libm-test-ulps: Update.
9082 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
9084         [BZ #18674]
9085         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
9086         break.
9088 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
9090         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
9091         (generated): Don't add $(addprefix z.,$(tzfiles)).
9093 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
9095         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
9096         * scripts/sysd-rules.awk: Likewise.
9098 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
9100         * iconvdata/tst-tables.sh: Change echo -n to printf.
9101         * nss/db-Makefile: Likewise.
9102         * posix/tst-getconf.sh: Likewise.
9103         * stdio-common/tst-unbputc.sh: Likewise.
9105 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
9107         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
9108         MADV_*_PAGES defines behind this feature check.
9110 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
9112         [BZ #18480]
9113         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
9114         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
9115         Define.
9116         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
9117         LOAD_REGS_5, LOAD_REGS_6): Update.
9118         (INTERNAL_SYSCALL): Update using new LOAD defines.
9119         (INTERNAL_SYSCALL_NCS): Likewise.
9120         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
9122 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
9124         [BZ #16734]
9125         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
9127 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
9129         [BZ #17905]
9130         * catgets/Makefile (tst-catgets-mem): New test.
9131         * catgets/catgets.c (catopen): Don't use unbounded alloca.
9132         * catgets/open_catalog.c (__open_catalog): Likewise.
9133         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
9135 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
9137         [BZ #18787]
9138         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
9139         clobber registers.
9140         (atomic_compare_and_exchange_val_acq): Use register asms to assign
9141         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
9142         Cast return to __typeof (oldval).
9144 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
9146         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
9147         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
9148         and delete sys/syscall.h include.
9150 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
9152         [BZ #16517]
9153         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
9154         (tan): Force underflow exception for arguments with small absolute
9155         value.
9156         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
9157         (__kernel_tanf): Force underflow exception for arguments with
9158         small absolute value.
9159         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
9160         (__kernel_tanl): Force underflow exception for arguments with
9161         small absolute value.
9162         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
9163         (__kernel_tanl): Force underflow exception for arguments with
9164         small absolute value.
9165         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
9166         (__kernel_tanl): Force underflow exception for arguments with
9167         small absolute value.
9168         * math/auto-libm-test-in: Add more tests of tan.
9169         * math/auto-libm-test-out: Regenerated.
9171 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9173         Fix sysdeps/i386/fpu/s_scalbn.S build
9175         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
9177 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
9179         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
9181 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9183         Fix gcrt0.o compilation
9185         When static-start-installed-name is different from
9186         start-installed-name, we must not use the shared objects.
9188         * csu/Makefile
9189         (extra-objs): Add gmon-start.o when building shared library and
9190         $(static-start-installed-name) is different from
9191         $(start-installed-name).
9192         $(objpfx)g$(static-start-installed-name): When building shared
9193         library and $(static-start-installed-name) is different from
9194         $(static-start-installed-name), revert to non-shared rule,
9195         i.e. using $(objpfx)% and gmon-start.o.
9197 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
9199         [BZ #16519]
9200         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
9201         (__ieee754_sinh): Force underflow exception for arguments with
9202         small absolute value.
9203         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
9204         (__ieee754_sinhf): Force underflow exception for arguments with
9205         small absolute value.
9206         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
9207         (__ieee754_sinhl): Force underflow exception for arguments with
9208         small absolute value.
9209         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
9210         (__ieee754_sinhl): Force underflow exception for arguments with
9211         small absolute value.
9212         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
9213         (__ieee754_sinhl): Force underflow exception for arguments with
9214         small absolute value.
9215         * math/auto-libm-test-in: Add more tests of sinh.
9216         * math/auto-libm-test-out: Regenerated.
9217         * sysdeps/i386/fpu/libm-test-ulps: Update.
9219 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
9221         * libio/oldfileops.c: Include unistd.h.
9223 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
9225         * stdlib/isomac.c: Include ctype.h.
9227 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
9229         * dirent/tst-seekdir.c (main): Converted to ...
9230         (do_test): ... this.
9231         (TEST_FUNCTION): New macro.
9232         Include test-skeleton.c.
9233         * elf/tst-dlmodcount.c (main): Converted to ...
9234         (do_test): ... this.
9235         (TEST_FUNCTION): New macro.
9236         Include test-skeleton.c.
9237         * elf/tst-order-main.c (main): Converted to ...
9238         (do_test): ... this.
9239         (TEST_FUNCTION): New macro.
9240         Include test-skeleton.c.
9241         * elf/tst-pie2.c (main): Converted to ...
9242         (do_test): ... this.
9243         (TEST_FUNCTION): New macro.
9244         Include test-skeleton.c.
9245         * inet/tst-ether_aton.c (main): Converted to ...
9246         (do_test): ... this.
9247         (TEST_FUNCTION): New macro.
9248         Include test-skeleton.c.
9249         * misc/tst-mntent.c (main): Converted to ...
9250         (do_test): ... this.
9251         (TEST_FUNCTION): New macro.
9252         Include test-skeleton.c.
9253         * misc/tst-tsearch.c (main): Converted to ...
9254         (do_test): ... this.
9255         (TEST_FUNCTION): New macro.
9256         Include test-skeleton.c.
9257         * posix/tst-regexloc.c (main): Converted to ...
9258         (do_test): ... this.
9259         (TEST_FUNCTION): New macro.
9260         Include test-skeleton.c.
9261         * resolv/tst-aton.c (main): Converted to ...
9262         (do_test): ... this.
9263         (TEST_FUNCTION): New macro.
9264         Include test-skeleton.c.
9265         * stdio-common/test-fwrite.c (main): Converted to ...
9266         (do_test): ... this.
9267         (TEST_FUNCTION): New macro.
9268         Include test-skeleton.c.
9269         * stdio-common/tst-ferror.c (main): Converted to ...
9270         (do_test): ... this.
9271         (TEST_FUNCTION): New macro.
9272         Include test-skeleton.c.
9273         * stdio-common/tst-printf.c (main): Converted to ...
9274         (do_test): ... this.
9275         (TEST_FUNCTION): New macro.
9276         Include test-skeleton.c.
9277         * stdio-common/tst-printfsz.c (main): Converted to ...
9278         (do_test): ... this.
9279         (TEST_FUNCTION): New macro.
9280         Include test-skeleton.c.
9281         * stdlib/tst-strtod.c (main): Converted to ...
9282         (do_test): ... this.
9283         (TEST_FUNCTION): New macro.
9284         Include test-skeleton.c.
9285         * string/tst-strlen.c (main): Converted to ...
9286         (do_test): ... this.
9287         (TEST_FUNCTION): New macro.
9288         Include test-skeleton.c.
9289         * string/tst-svc.c (main): Converted to ...
9290         (do_test): ... this.
9291         (TEST_FUNCTION): New macro.
9292         Include test-skeleton.c.
9293         * time/tst-strptime.c (main): Converted to ...
9294         (do_test): ... this.
9295         (TEST_FUNCTION): New macro.
9296         Include test-skeleton.c.
9297         * timezone/tst-timezone.c (main): Converted to ...
9298         (do_test): ... this.
9299         (TEST_FUNCTION): New macro.
9300         Include test-skeleton.c.
9302 2015-08-05  Zack Weinberg  <zackw@panix.com>
9304         * misc/regexp.h: Update comments.
9306 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
9308         [BZ #18635]
9309         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
9310         before return label.
9312 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
9314         [BZ #18661]
9315         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
9316         when calling __errno_location.
9317         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
9318         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
9320 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
9322         [BZ #18661]
9323         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
9324         (__lll_timedwait_tid): Align stack to 16 bytes when calling
9325         __gettimeofday.
9327 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
9329         [BZ #18661]
9330         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
9331         (__start_context): Don't use pop to restore %rdi so that stack
9332         is aligned to 16 bytes when calling __setcontext.
9334 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
9336         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
9337         only for libc.
9338         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
9340 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
9342         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
9343         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
9344         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
9346 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
9348         * string/memccpy.c (memccpy):
9349         Improve performance by using memchr/memcpy/__mempcpy.
9351 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
9353         * string/strncpy.c (strncpy):
9354         Improve performance by using __strnlen/memcpy.
9356 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
9358         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
9359         Optimize to avoid an unnecessary FPCR read.
9361 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
9363         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
9364         Optimize to reduce FPCR/FPSR accesses.
9366 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
9368         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
9369         dead->data[category] != NULL.
9371 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
9373         [BZ #18647]
9374         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
9375         and |x| close to 1, use absolute value of x when computing log.
9376         * math/auto-libm-test-in: Add more tests of pow.
9377         * math/auto-libm-test-out: Regenerated.
9379 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9381         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
9382         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
9383         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
9385 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
9387         [BZ #18525]
9388         * locales/km_KH: Remove timezone definition.
9389         * locales/lo_LA: Likewise.
9390         * locales/my_MM: Likewise.
9391         * locales/nan_TW@latin: Likewise.
9392         * locales/th_TH: Likewise.
9393         * locales/uk_UA: Likewise.
9395 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
9397         [BZ #18265]
9398         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
9399         (wcsncat): Likewise.
9400         (wcscmp): Likewise.
9401         (wcsncmp): Likewise.
9403 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
9405         * test-skeleton.c (usage): New function.
9406         (main): Call usage when opt is '?'.
9408 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
9410         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
9411         before first use.
9413 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
9415         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
9416         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
9417         in there too.
9419 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
9421         * version.h (RELEASE): Set to "development".
9422         (VERSION): Set to "2.22.90"
9424         * version.h (RELEASE): Set to "stable".
9425         (VERSION): Set to "2.22"
9426         * include/features.h (__GLIBC_MINOR__): Set to 22.
9428 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
9430         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
9431         Restructure macro to avoid "value computed is not used" warning.
9432         (atomic_compare_and_exchange_val_acq): Likewise.
9434 2015-08-04  Andreas Schwab  <schwab@suse.de>
9436         [BZ #18635]
9437         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
9438         ret.
9439         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
9441 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
9443         * po/pl.po: Updated translation.
9444         * po/uk.po: Likewise.
9445         * po/fi.po: Likewise.
9446         * po/ko.po: Likewise.
9447         * po/ru.po: Likewise.
9448         * po/vi.po: Likewise.
9450 2015-07-31  Zack Weinberg  <zackw@panix.com>
9452         [BZ #18681]
9453         * regexp.h: Add unconditional #warning stating that this header
9454         will be removed soon.  Revise banner comment to match.
9455         (compile): Consistently use ERROR instead of RETURN to report
9456         errors (partial fix for bz#18681).
9457         * regexp.c: Don't include regexp.h. Remove some unnecessary
9458         declarations.
9460 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
9462         * po/libc.pot: Regenerated.
9464 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
9466         [BZ #18740]
9467         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
9468         float-vlen4-arch-ext-cflags): Removed.
9469         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
9470         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
9472 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
9474         [BZ #14113]
9475         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
9476         aligned to __aligned__.
9477         (pthread_cond_t, pthread_rwlock_t): Likewise.
9479 2015-07-30  Torvald Riegel  <triegel@redhat.com>
9481         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
9483 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
9485         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
9486         (struct sigaction): Change sa_flags from a long to an int, and add
9487         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
9489 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
9491         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
9492         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
9493         sysdeps/generic/sysdep.h include.
9494         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
9495         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
9496         sysdeps/hppa/sysdep.h.
9497         (ENTRY, PSEUDO): Undefine before defining.
9499 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
9501         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
9502         from scratch to use INTERNAL_SYSCALL.
9504 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
9506         [BZ #18078]
9507         * scripts/check-localplt.awk: Support alternate relocations.
9508         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
9509         sections.
9510         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
9511         malloc entries with + REL R_386_GLOB_DAT.
9512         * sysdeps/x86_64/localplt.data: New file.
9514 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
9516         [BZ #18731]
9517         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
9518         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
9519         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
9521 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
9523         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
9525 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
9527         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
9528         directly in terms of __sync_fetch_and_add and delete (int) cast.
9530 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
9532         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
9533         the -D_ASM_IA64_CURRENT_H flag.
9535 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
9537         [BZ #18641]
9538         * pwd/pwd.h (putpwent): Delete __nonnull markings.
9540 2015-07-27  Andreas Schwab  <schwab@suse.de>
9542         * conform/conformtest.pl (checknamespace): Filter out string
9543         literals while tokenizing.
9545 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
9547         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
9548         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
9549         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
9551 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
9553         * nptl/tst-join7mod.c: Add #include <string.h>.
9555 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
9557         * sysdeps/nios2/libm-test-ulps: Update.
9559 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
9561         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
9562         Fix order of arguments to the rt_sigprocmask syscall.
9563         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
9564         Likewise.
9566 2015-07-24  Roland McGrath  <roland@hack.frob.com>
9568         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
9570 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
9572         [BZ #18457]
9573         * nptl/Makefile (tests): New test case tst-join7.
9574         (modules-names): New test case module tst-join7mod.
9575         * nptl/tst-join7.c: New file.
9576         * nptl/tst-join7mod.c: New file.
9577         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
9578         all translation units in libc.so, libpthread.so and rtld.
9580 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9582         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9584 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
9586         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
9587         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
9588         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
9589         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
9590         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
9591         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
9592         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
9593         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
9594         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
9595         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
9596         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
9597         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
9598         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
9599         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
9600         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
9601         implementation.
9603 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9605         [BZ #17711]
9606         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
9607         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
9608         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
9609         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
9610         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
9611         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
9613 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
9615         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
9616         instead of just saying load lock in the comments.
9618 2015-07-23  Roland McGrath  <roland@hack.frob.com>
9620         * sysdeps/unix/Subdirs: Moved ...
9621         * sysdeps/posix/Subdirs: ... here.
9622         * login/pty.h (struct termios, struct winsize): Add forward decls.
9623         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
9624         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
9625         * sysdeps/arm/nacl/libc.abilist: Updated.
9626         * sysdeps/nacl/libutil.abilist: New file.
9628         * bits/signum.h: Update comments to mention 1003.1-2013 too.
9629         (SIGWINCH): New macro.
9631         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
9632         * sysdeps/arm/nacl/libc.abilist: Add it.
9634 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
9636         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
9638 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
9640         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
9641         Swap __glibc_reserved0 and sa_flags order.
9643 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
9645         [BZ #18657]
9646         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
9647         are pending TLS destructor calls.
9648         * include/link.h (struct link_map): Add concurrency note for
9649         L_TLS_DTOR_COUNT.
9650         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
9651         Don't touch the link map flag.  Atomically increment
9652         l_tls_dtor_count.
9653         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
9654         Avoid taking the load lock and don't touch the link map flag.
9655         * stdlib/tst-tls-atexit-nodelete.c: New test case.
9656         * stdlib/Makefile (tests): Use it.
9657         * stdlib/tst-tls-atexit.c (do_test): dlopen
9658         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
9659         to allow tst-tls-atexit-nodelete test case to use it.
9661 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
9663         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
9664         to bits/types.h.
9665         (msgqnum_t): New typedef.
9666         (msglen_t): Likewise.
9667         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
9668         and msg_qbytes type to msglen_t.
9670 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
9672         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
9673         pad0 to __glibc_reserved0.
9674         (struct stat64): Likewise.
9676 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
9678         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
9679         Change sa_flags from a long to an int and add __glibc_reserved0 before
9680         it for padding.
9682 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
9684         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
9685         anonymous by deleting "siginfo" name.
9687 2015-07-21  Roland McGrath  <roland@hack.frob.com>
9689         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
9690         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
9691         rather than __nacl_irt_filename.
9692         * sysdeps/nacl/xstat.c (__xstat): Likewise.
9694         * NEWS: New item for arm-nacl port.
9695         * sysdeps/arm/nacl/libc.abilist: New file.
9696         * sysdeps/nacl/ld.abilist: New file.
9697         * sysdeps/nacl/libBrokenLocale.abilist: New file.
9698         * sysdeps/nacl/libanl.abilist: New file.
9699         * sysdeps/nacl/libcrypt.abilist: New file.
9700         * sysdeps/nacl/libdl.abilist: New file.
9701         * sysdeps/nacl/libm.abilist: New file.
9702         * sysdeps/nacl/libpthread.abilist: New file.
9703         * sysdeps/nacl/libresolv.abilist: New file.
9704         * sysdeps/nacl/librt.abilist: New file.
9706 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
9708         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
9709         __startcontext to initialize the new context.
9710         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
9711         up CFI directive to forbid further backtracing.
9713 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
9715         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
9716         reference.
9717         * charmaps/ANSI_X3.4-1968: Likewise.
9718         * charmaps/BS_4730: Likewise.
9719         * charmaps/BS_VIEWDATA: Likewise.
9720         * charmaps/CP1250: Likewise.
9721         * charmaps/CP1251: Likewise.
9722         * charmaps/CP1252: Likewise.
9723         * charmaps/CP1253: Likewise.
9724         * charmaps/CP1254: Likewise.
9725         * charmaps/CP1255: Likewise.
9726         * charmaps/CP1256: Likewise.
9727         * charmaps/CSN_369103: Likewise.
9728         * charmaps/EBCDIC-DK-NO: Likewise.
9729         * charmaps/GB_1988-80: Likewise.
9730         * charmaps/GREEK-CCITT: Likewise.
9731         * charmaps/GREEK7: Likewise.
9732         * charmaps/INIS-8: Likewise.
9733         * charmaps/ISIRI-3342: Likewise.
9734         * charmaps/ISO_2033-1983: Likewise.
9735         * charmaps/ISO_5427-EXT: Likewise.
9736         * locales/POSIX: Likewise.
9737         * locales/ar_SA: Likewise.
9738         * locales/be_BY: Likewise.
9739         * locales/be_BY@latin: Likewise.
9740         * locales/ca_ES: Likewise.
9741         * locales/cs_CZ: Likewise.
9742         * locales/da_DK: Likewise.
9743         * locales/de_BE: Likewise.
9744         * locales/de_CH: Likewise.
9745         * locales/de_LU: Likewise.
9746         * locales/en_AU: Likewise.
9747         * locales/en_BW: Likewise.
9748         * locales/en_CA: Likewise.
9749         * locales/en_DK: Likewise.
9750         * locales/en_GB: Likewise.
9751         * locales/en_IE: Likewise.
9752         * locales/en_NZ: Likewise.
9753         * locales/en_ZA: Likewise.
9754         * locales/en_ZW: Likewise.
9755         * locales/es_AR: Likewise.
9756         * locales/es_BO: Likewise.
9757         * locales/es_CL: Likewise.
9758         * locales/es_CO: Likewise.
9759         * locales/es_DO: Likewise.
9760         * locales/es_EC: Likewise.
9761         * locales/es_ES: Likewise.
9762         * locales/es_HN: Likewise.
9763         * locales/es_MX: Likewise.
9764         * locales/es_PA: Likewise.
9765         * locales/es_PE: Likewise.
9766         * locales/es_PY: Likewise.
9767         * locales/es_SV: Likewise.
9768         * locales/es_US: Likewise.
9769         * locales/es_UY: Likewise.
9770         * locales/es_VE: Likewise.
9771         * locales/et_EE: Likewise.
9772         * locales/fa_IR: Likewise.
9773         * locales/fo_FO: Likewise.
9774         * locales/fr_CA: Likewise.
9775         * locales/fr_CH: Likewise.
9776         * locales/gv_GB: Likewise.
9777         * locales/he_IL: Likewise.
9778         * locales/hr_HR: Likewise.
9779         * locales/id_ID: Likewise.
9780         * locales/is_IS: Likewise.
9781         * locales/it_CH: Likewise.
9782         * locales/iw_IL: Likewise.
9783         * locales/kl_GL: Likewise.
9784         * locales/ko_KR: Likewise.
9785         * locales/kw_GB: Likewise.
9786         * locales/lg_UG: Likewise.
9787         * locales/lt_LT: Likewise.
9788         * locales/lv_LV: Likewise.
9789         * locales/mi_NZ: Likewise.
9790         * locales/nhn_MX: Likewise.
9791         * locales/nl_BE: Likewise.
9792         * locales/pl_PL: Likewise.
9793         * locales/sk_SK: Likewise.
9794         * locales/sl_SI: Likewise.
9795         * locales/sv_FI: Likewise.
9796         * locales/tl_PH: Likewise.
9797         * locales/tr_TR: Likewise.
9798         * locales/vi_VN: Likewise.
9800 2015-07-21  Khem Raj  <raj.khem@gmail.com>
9802         [BZ #17475]
9803         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
9804         of tu_IN and bh_IN.
9806 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
9808         [BZ #18694]
9809         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
9810         bits/wordsize.h.
9811         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
9813 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
9815         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
9816         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
9817         (spawn_thread): New function.
9818         (load): Rename to reg_dtor_and_close.  Move dlopen to...
9819         (do_test): ... here.  Use IS_LOADED to test for its
9820         availability.
9822 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
9824         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
9826 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
9828         [BZ #18696]
9829         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
9830         si_addr_bnd.
9831         (si_lower): New.
9832         (si_upper): Likewise.
9834 2015-07-16  David S. Miller  <davem@davemloft.net>
9836         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
9838 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9840         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
9841         buffer.
9842         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
9843         fail output information.
9845 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9847         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
9848         and strstr-ppc64..
9849         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
9850         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
9851         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
9852         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
9853         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
9855 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
9857         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
9858         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
9859         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
9860         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
9862 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
9864         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
9865         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
9866         rtld_hidden_proto.
9867         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
9869 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
9871         * tst-nodelete-opened.c (do_test): Add comment to clarify how
9872         the test can fail.
9874         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
9876         [BZ #18676]
9877         * elf/tst-nodelete-opened.c: New test case.
9878         * elf/tst-nodelete-opened-lib.c: New test case module.
9879         * elf/Makefile (tests, modules-names): Use them.
9880         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
9881         early.
9883 2015-07-15  David S. Miller  <davem@davemloft.net>
9885         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
9886         futex-intenal.h
9887         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
9888         * sysdeps/sparc/sparc64/Makefile: Likewise.
9889         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
9890         Remove space from macro define.
9891         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
9893 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
9895         [BZ #17475]
9896         * locale/iso-639.def: Update Bhili and Tulu language codes as
9897         per iso639-3.
9899 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
9901         * elf/tst-leaks1.c (main): Converted to ...
9902         (do_test): ... this.
9903         (TEST_FUNCTION): New macro.
9904         Include test-skeleton.c.
9905         * localedata/tst-langinfo.c (main): Converted to ...
9906         (do_test): ... this.
9907         (TEST_FUNCTION): New macro.
9908         Include test-skeleton.c.
9909         * math/test-fpucw.c (main): Converted to ...
9910         (do_test): ... this.
9911         (TEST_FUNCTION): New macro.
9912         Include test-skeleton.c.
9913         * math/test-tgmath.c (main): Converted to ...
9914         (do_test): ... this.
9915         (TEST_FUNCTION): New macro.
9916         Include test-skeleton.c.
9917         * math/test-tgmath2.c (main): Converted to ...
9918         (do_test): ... this.
9919         (TEST_FUNCTION): New macro.
9920         Include test-skeleton.c.
9921         * setjmp/tst-setjmp.c (main): Converted to ...
9922         (do_test): ... this.
9923         (TEST_FUNCTION): New macro.
9924         Include test-skeleton.c.
9925         * stdio-common/tst-sscanf.c (main): Converted to ...
9926         (do_test): ... this.
9927         (TEST_FUNCTION): New macro.
9928         Include test-skeleton.c.
9929         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
9930         (do_test): ... this.
9931         (TEST_FUNCTION): New macro.
9932         Include test-skeleton.c.
9934         * elf/tst-audit9.c (main): Converted to ...
9935         (do_test): ... this.
9936         (TEST_FUNCTION): New macro.
9937         Include test-skeleton.c.
9939 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
9941         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
9943 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
9945         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
9946         New variable.
9948 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
9950         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
9952 2015-07-14  Roland McGrath  <roland@hack.frob.com>
9954         * sysdeps/generic/dl-fileid.h: New file.
9955         * sysdeps/posix/dl-fileid.h: New file.
9956         * sysdeps/nacl/dl-fileid.h: New file.
9957         * include/link.h: Include <dl-fileid.h>.
9958         (struct link_map): Replace l_dev and l_ino with l_file_id.
9959         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
9960         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
9961         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
9963 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
9965         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
9967 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9969         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
9970         Add iff $CXX is set.
9971         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
9972         Likewise.
9973         (tst-nodelete-zmodiff): Likewise.
9974         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
9976 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
9978         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
9980 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
9982         * sysdeps/aarch64/fpu/math_private.h
9983         (define math_opt_barrier): Add AArch64 version.
9984         (math_force_eval): Likewise.
9986 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
9988         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
9990 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
9992         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
9993         %ld with %jd and cast to intmax_t.
9994         (do_test_length_zero): Likewise.
9996 2015-07-10  Roland McGrath  <roland@hack.frob.com>
9998         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
10000 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
10002         * sysdeps/tile/libm-test-ulps: Regenerated.
10004         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
10005         Comment out the whole function, not just its body.
10007 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
10009         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
10010         locks.
10012         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
10014 2015-07-10  Torvald Riegel  <triegel@redhat.com>
10016         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
10017         (sem_assume_only_signals_cause_futex_EINTR): Remove.
10019 2015-07-10  Torvald Riegel  <triegel@redhat.com>
10021         * sysdeps/nptl/futex-internal.h: New file.
10022         * sysdeps/nacl/futex-internal.h: New file.
10023         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
10024         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
10025         error checking.
10026         (setxid_unmark_thread): Likewise.
10027         (__nptl_setxid): Likewise.
10028         (__wait_lookup_done): Likewise.
10029         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
10030         * nptl/nptl-init.c (sighandler_setxid): Likewise.
10031         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
10032         * nptl/pthread_once.c (clear_once_control): Likewise.
10033         (__pthread_once_slow): Likewise.
10034         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
10035         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
10036         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
10037         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
10038         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
10039         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
10040         Likewise.
10041         (__pthread_rwlock_rdlock): Likewise.
10042         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
10043         Likewise.
10044         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
10045         Likewise.
10046         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
10047         Likewise.
10048         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
10049         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
10050         Likewise.
10051         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
10052         __ASSUME_PRIVATE_FUTEX check.
10053         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
10054         Check that shared futexes are supported.
10055         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
10056         wrappers with error checking.
10057         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
10058         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
10059         * nptl/pthread_barrierattr_setpshared.c
10060         (pthread_barrierattr_setpshared): Check that shared futexes are
10061         supported.
10062         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
10063         Likewise.
10064         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
10065         Likewise.
10066         * nptl/sem_init.c (futex_private_if_supported): Remove.
10067         (__new_sem_init): Adapt and check that shared futexes are supported.
10068         * nptl/sem_open.c (sem_open): Likewise.
10069         * nptl/sem_post.c (futex_wake): Remove.
10070         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
10071         (do_futex_wait): Use futex wrappers with error checking.
10072         * nptl/sem_wait.c: Include lowlevellock.h.
10073         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
10074         Use futex_supports_pshared.
10075         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
10076         Use futex wrappers with error checking.
10077         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
10078         Likewise.
10079         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
10080         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
10081         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
10082         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
10083         (futex_wake): Likewise.
10084         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
10085         (do_futex_wait): Use futex wrappers with error checking.
10086         (__new_sem_wait_slow): Update EINTR handling.
10087         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
10089 2015-07-09  Martin Sebor  <msebor@redhat.com>
10091         [BZ #18435]
10092         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
10093         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
10094         * nptl/Makefile (test-xfail-tst-once5): Define.
10096 2015-07-09  Roland McGrath  <roland@hack.frob.com>
10098         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
10099         * elf/dl-minimal.c: For readability, reorder some definitions and
10100         introduce more page breaks.  Include <stdio.h>.
10101         (__libc_fatal): New function.
10103         * include/unistd.h: Add rtld_hidden_proto for _exit.
10104         * posix/_exit.c: Add rtld_hidden_def.
10105         * sysdeps/mach/hurd/_exit.c: Likewise.
10106         * sysdeps/nacl/_exit.c: Likewise.
10107         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
10108         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
10110 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
10112         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
10113         bndmov encoding with zero displacement.
10115 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
10116             H.J. Lu  <hongjiu.lu@intel.com>
10118         [BZ #18134]
10119         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
10120         * sysdeps/i386/configure: Regenerated.
10121         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
10122         (_dl_runtime_profile): Save and restore Intel MPX return bound
10123         registers when calling _dl_call_pltexit.  Add
10124         PRESERVE_BND_REGS_PREFIX before return.
10125         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
10126         (LRV_BND1_OFFSET): Likewise.
10127         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
10128         lrv_bnd1.
10129         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
10130         typo in bndmov encoding.
10131         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
10132         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
10133         branch instructions to preserve bounds.
10135 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
10138         [GLIBC_2.22]: Add fmemopen.
10140 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10142         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
10143         returns an error, also try to use host port from __mach_host_self for
10144         the __vm_wire call.
10145         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
10147 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10149         [BZ #18400]
10150         [BZ #18648]
10151         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
10152         Fix pr_uid and pr_gid members.
10153         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
10154         definition to elf_greg_t.
10156 2015-07-08  Roland McGrath  <roland@hack.frob.com>
10158         [BZ #18383]
10159         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
10160         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
10161         * sysdeps/arm/configure: Regenerated.
10162         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
10163         (test-xfail-tst-tlsalign-static): Variable removed.
10165         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
10166         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
10167         rather than explicit 'ln -s'.
10169         * resolv/rpc/netdb.h: New file.
10170         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
10172 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10174         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
10175         length buffers.
10176         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
10177         test-skeleton.c.
10179         [BZ #6544]
10180         [BZ #11216]
10181         [BZ #12836]
10182         [BZ #13151]
10183         [BZ #13152]
10184         [BZ #14292]
10185         * include/stdio.h (fmemopen): Remove hidden prototype.
10186         (__fmemopen): Add new hidden prototype.
10187         * libio/Makefile: Add oldfmemopen object.
10188         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
10189         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
10190         compliance.
10191         * libio/oldfmemopen.c: New file: old fmemopen implementation for
10192         symbol compatibility.
10193         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
10194         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
10195         fmemopen.
10196         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
10197         on append and read mode.
10198         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
10199         fmemopen.
10200         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
10201         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
10202         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
10203         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
10204         Likewise.
10205         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
10206         [GLIBC_2.22]: Likewise.
10207         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
10208         Likewise.
10209         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
10210         Likewise.
10211         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
10212         [GLIBC_2.22]: Likewise.
10213         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
10214         [GLIBC_2.22]: Likewise.
10215         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
10216         [GLIBC_2.22]: Likewise.
10217         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
10218         [GLIBC_2.22]: Likewise.
10219         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
10220         [GLIBC_2.22]: Likewise.
10221         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
10222         [GLIBC_2.22]: Likewise.
10223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
10224         [GLIBC_2.22]: Likewise.
10225         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
10226         Likewise.
10227         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
10228         Likewise.
10229         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
10230         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
10231         [GLIBC_2.22]: Likewise.
10232         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
10233         [GLIBC_2.22]: Likewise.
10234         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
10235         [GLIBC_2.22]: Likewise.
10236         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
10237         [GLIBC_2.22]: Likewise.
10238         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
10239         Likewise.
10240         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
10241         Likewise.
10242         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
10243         Likewise.
10244         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
10245         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
10247 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
10249         [BZ #18643]
10250         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
10251         IPV6_PATHMTU, and IPV6_DONTFRAG.
10253 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
10255         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
10256         and _IO_UNBUFFERED.
10257         * libio/oldfileops.c: Likewise.
10258         * libio/wfileops.c: Likewise.
10260 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
10262         * nscd/selinux.c: Delete selinux/flask.h include.
10264 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
10266         [BZ #18641]
10267         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
10268         (putpwent): Likewise.
10269         (getpwnam): Likewise.
10270         (getpwent_r): Likewise.
10271         (getpwuid_r): Likewise.
10272         (getpwnam_r): Likewise.
10273         (fgetpwent_r): Likewise.
10275 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
10277         [BZ #18557]
10278         * inet/rcmd.c (__validuser2_sa): Check user first to
10279         short-circuit host check.
10281 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
10282             Mikhail Ilin  <m.ilin@samsung.com>
10284         [BZ #17833]
10285         * elf/Makefile (tests): Add tst-nodelete.
10286         (modules-names): Add tst-nodelete-uniquemod.
10287         (tst-nodelete-uniquemod.so-no-z-defs): New.
10288         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
10289         (tst-nodelete-zmod.so-no-z-defs): Likewise.
10290         ($(objpfx)tst-nodelete): Likewise.
10291         ($(objpfx)tst-nodelete.out): Likewise.
10292         (LDFLAGS-tst-nodelete): Likewise.
10293         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
10294         * elf/dl-close.c (_dl_close_worker): Add a parameter to
10295         implement forced object deletion.
10296         (_dl_close): Pass false to _dl_close_worker.
10297         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
10298         * elf/tst-nodelete.cc: New file.
10299         * elf/tst-nodeletelib.cc: Likewise.
10300         * elf/tst-znodeletelib.cc: Likewise.
10301         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
10303 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
10305         [BZ #18508]
10306         * stdlib/Makefile ($(objpfx)tst-makecontext3):
10307         Depend on $(libdl).
10308         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
10309         is not called infinitely times.
10310         (backtrace_helper): New function.
10311         (trace_arg): New struct.
10312         (st1): Enlarge stack size.
10313         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
10314         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
10315         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
10316         Likewise.
10318 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
10320         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
10322 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
10324         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
10325         Include sys/types.h instead of bits/types.h.
10326         Remove inclusion of bits/wordsize.h.
10328 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
10330         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
10331         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
10332         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
10333         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
10334         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
10335         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
10337 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
10339         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
10340         link-defines.sym.
10341         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
10342         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
10343         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
10344         and LR_SIZE.
10345         * sysdeps/i386/link-defines.sym: New file.
10347 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
10349         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
10350         (modules-names): Add tst-auditmod3a tst-auditmod3b.
10351         ($(objpfx)tst-audit3): New rule.
10352         ($(objpfx)tst-audit3.out): Likewise.
10353         * sysdeps/i386/tst-audit3.c: New file.
10354         * sysdeps/i386/tst-audit3.h: Likewise.
10355         * sysdeps/i386/tst-auditmod3a.c: Likewise.
10356         * sysdeps/i386/tst-auditmod3b.c: Likewise.
10358 2015-07-07  Torvald Riegel  <triegel@redhat.com>
10360         [BZ #18633]
10361         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
10362         pointer in C code.
10363         (__strcat_c): Likewise.
10364         (__strcat_g): Likewise.
10366 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
10368         [BZ #18592]
10369         * misc/sbrk.c: Set errno to ENOMEM on overflow.
10371 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
10373         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
10374         New function.  (__ieee754_sqrtf): New function.
10375         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
10376         New function.
10377         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
10378         New function.
10380 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
10382         * sysdeps/ieee754/support.c: Remove unused file.
10384 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10386         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
10387         registers instead of d ones so the layout is kernel abi compatible.
10388         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
10389         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
10390         Likewise.
10392 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10394         * sysdeps/aarch64/libm-test-ulps: Regenerated.
10396 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
10398         [BZ #18619]
10399         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
10400         and return argument in case of subnormal argument.
10402 2015-07-01  Martin Sebor  <msebor@redhat.com>
10404         [BZ #18435]
10405         * nptl/Makefile: Add tst-once5.cc.
10406         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
10407         Remove macro redefinitions.
10408         * nptl/tst-once5.cc: New test.
10410 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
10412         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10414         * sysdeps/arm/libm-test-ulps: Regenerated.
10416         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
10417         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10419 2015-06-30  Torvald Riegel  <triegel@redhat.com>
10421         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
10422         lll_lock_wait_private and lll_futex_wake probes.
10424         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
10425         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
10426         Likewise.
10427         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
10428         atomic_spin_nop.
10429         * sysdeps/x86_64/bits/atomic.h: Likewise.
10430         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
10431         to atomic_spin_nop and move ...
10432         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
10433         ... here and ...
10434         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
10435         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
10436         atomic_spin_nop instead of BUSY_WAIT_NOP.
10437         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
10438         Likewise.
10439         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
10440         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
10441         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
10442         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
10443         instead of atomic_delay.
10445 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
10447         [BZ #18613]
10448         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
10449         X_ADJ not X when adjusting exponent.
10450         (__ieee754_gamma_r): Do intermediate computations in
10451         round-to-nearest then adjust overflowing and underflowing results
10452         as needed.
10453         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
10454         of X_ADJ not X when adjusting exponent.
10455         (__ieee754_gammaf_r): Do intermediate computations in
10456         round-to-nearest then adjust overflowing and underflowing results
10457         as needed.
10458         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
10459         log of X_ADJ not X when adjusting exponent.
10460         (__ieee754_gammal_r): Do intermediate computations in
10461         round-to-nearest then adjust overflowing and underflowing results
10462         as needed.  Use 1.0L not 1.0f as numerator of division.
10463         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
10464         log of X_ADJ not X when adjusting exponent.
10465         (__ieee754_gammal_r): Do intermediate computations in
10466         round-to-nearest then adjust overflowing and underflowing results
10467         as needed.  Use 1.0L not 1.0f as numerator of division.
10468         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
10469         of X_ADJ not X when adjusting exponent.
10470         (__ieee754_gammal_r): Do intermediate computations in
10471         round-to-nearest then adjust overflowing and underflowing results
10472         as needed.  Use 1.0L not 1.0f as numerator of division.
10473         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
10474         to auto-libm-test-in.
10475         (tgamma_test): Use ALL_RM_TEST.
10476         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
10477         tests of tgamma with spurious-overflow.
10478         * math/auto-libm-test-out: Regenerated.
10479         * math/gen-libm-have-vector-test.sh: Do not check for START.
10480         * sysdeps/i386/fpu/libm-test-ulps: Update.
10481         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10483         [BZ #18612]
10484         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
10485         arguments, just return 0.5 times the argument, with underflow
10486         forced as needed.
10487         * math/auto-libm-test-in: Add more tests of j1.
10488         * math/auto-libm-test-out: Regenerated.
10490         [BZ #16559]
10491         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
10492         (__ieee754_j1): Force underflow exception for small results.
10493         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
10494         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
10495         (__ieee754_j1f): Force underflow exception for small results.
10496         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
10497         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
10498         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
10499         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
10500         (__ieee754_j1l): Force underflow exception for small results.
10501         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
10502         * math/auto-libm-test-in: Add more tests of j1 and jn.
10503         * math/auto-libm-test-out: Regenerated.
10505         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
10506         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
10507         (PF_MPLS): Likewise.
10508         (AF_IB): Likewise.
10509         (AF_MPLS): Likewise.
10510         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
10511         value and macro.
10512         (MS_RMT_MASK): Include MS_LAZYTIME.
10514 2015-06-26  Mel Gorman  <mgorman@suse.de>
10516         [BZ #18502]
10517         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
10518         already minimal.
10520 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
10522         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
10523         (DT_MIPS_NUM): Update.
10524         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
10525         DT_MIPS_RLD_MAP_REL.
10527 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
10529         [BZ #16559]
10530         [BZ #18602]
10531         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
10532         round-to-nearest internally then recompute results that
10533         underflowed to zero in the original rounding mode.
10534         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
10535         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
10536         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
10537         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
10538         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
10539         * sysdeps/i386/fpu/libm-test-ulps: Update.
10540         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10542 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
10544         * NEWS: Fixed description of link with vector math library.
10546 2015-06-25  Andreas Schwab  <schwab@suse.de>
10548         [BZ #18549]
10549         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
10550         * libio/test-fmemopen.c (do_test): Add test for it.
10552 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
10554         [BZ #17841]
10555         * Makeconfig (no-pie-ldflag): New.
10556         (+link): Set to $(+link-pie) if default to PIE.
10557         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
10558         * config.make.in (build-pie-default): New.
10559         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
10560         is default.  AC_SUBST.
10561         * configure: Regenerated.
10562         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
10564 2015-06-24  Roland McGrath  <roland@hack.frob.com>
10566         * nptl/descr.h (struct pthread): Change type of field setxid_futex
10567         to 'unsigned int'.
10569         * resolv/gai_misc.h (struct waitlist): Change type of field
10570         counterp to 'volatile unsigned int *'.
10571         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
10572         FUTEXADDR and OLDVAL.
10573         * resolv/getaddrinfo_a.c (getaddrinfo_a):
10574         Give local variable TOTAL type 'volatile unsigned int'.
10575         (struct async_waitlist): Change type of field counter to 'unsigned int'.
10576         * resolv/gai_suspend.c (gai_suspend):
10577         Give local variable CNTR type 'unsigned int'.
10579         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
10580         counterp to 'volatile unsigned int *'.
10581         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
10582         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
10583         (aio_suspend): Give local variable CNTR type 'unsigned int'.
10584         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
10585         Give local variable TOTAL type 'volatile unsigned int'.
10586         (struct async_waitlist): Change type of field counter to 'unsigned int'.
10588 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
10590         [BZ #18383]
10591         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
10592         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
10593         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
10594         comment for i386/x86-64.
10595         (test-xfail-tst-tlsalign-extern-static): Removed.
10597 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
10599         * math/test-double.h: New file.
10600         * math/test-float.h: Likewise.
10601         * math/test-ldouble.h: Likewise.
10602         * math/test-math-inline.h: Likewise.
10603         * math/test-math-no-inline.h: Likewise.
10604         * math/test-math-scalar.h: Likewise.
10605         * math/test-math-vector.h: Likewise.
10606         * math/test-vec-loop.h: Remove file.  Contents moved into
10607         test-math-vector.h.
10608         * math/libm-test.inc (MATHCONST): Do not document macro.
10609         * math/test-double.c: Include test-double.h, test-math-no-inline.h
10610         and test-math-scalar.h.
10611         (FUNC): Remove macro.
10612         (FUNC_TEST): Likewise.
10613         (FLOAT): Likewise.
10614         (MATHCONST): Likewise.
10615         (PRINTF_EXPR): Likewise.
10616         (PRINTF_XEXPR): Likewise.
10617         (PRINTF_NEXPR): Likewise.
10618         (TEST_DOUBLE): Likewise.
10619         (TEST_MATHVEC): Likewise.
10620         (__NO_MATH_INLINES): Likewise.
10621         * math/test-float.c: Include test-float.h, test-math-no-inline.h
10622         and test-math-scalar.h.
10623         (FUNC): Remove macro.
10624         (FUNC_TEST): Likewise.
10625         (FLOAT): Likewise.
10626         (MATHCONST): Likewise.
10627         (PRINTF_EXPR): Likewise.
10628         (PRINTF_XEXPR): Likewise.
10629         (PRINTF_NEXPR): Likewise.
10630         (TEST_FLOAT): Likewise.
10631         (TEST_MATHVEC): Likewise.
10632         (__NO_MATH_INLINES): Likewise.
10633         * math/test-idouble.c: Include test-double.h, test-math-inline.h
10634         and test-math-scalar.h.
10635         (FUNC): Remove macro.
10636         (FUNC_TEST): Likewise.
10637         (FLOAT): Likewise.
10638         (MATHCONST): Likewise.
10639         (PRINTF_EXPR): Likewise.
10640         (PRINTF_XEXPR): Likewise.
10641         (PRINTF_NEXPR): Likewise.
10642         (TEST_DOUBLE): Likewise.
10643         (TEST_MATHVEC): Likewise.
10644         (TEST_INLINE): Likewise.
10645         (__NO_MATH_INLINES): Likewise.
10646         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
10647         test-math-scalar.h.
10648         (FUNC): Remove macro.
10649         (FUNC_TEST): Likewise.
10650         (FLOAT): Likewise.
10651         (MATHCONST): Likewise.
10652         (PRINTF_EXPR): Likewise.
10653         (PRINTF_XEXPR): Likewise.
10654         (PRINTF_NEXPR): Likewise.
10655         (TEST_FLOAT): Likewise.
10656         (TEST_MATHVEC): Likewise.
10657         (TEST_INLINE): Likewise.
10658         (__NO_MATH_INLINES): Likewise.
10659         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
10660         and test-math-scalar.h.
10661         (FUNC): Remove macro.
10662         (FUNC_TEST): Likewise.
10663         (FLOAT): Likewise.
10664         (MATHCONST): Likewise.
10665         (PRINTF_EXPR): Likewise.
10666         (PRINTF_XEXPR): Likewise.
10667         (PRINTF_NEXPR): Likewise.
10668         (TEST_LDOUBLE): Likewise.
10669         (TEST_MATHVEC): Likewise.
10670         (TEST_INLINE): Likewise.
10671         (__NO_MATH_INLINES): Likewise.
10672         * math/test-ldouble.c: Include test-ldouble.h,
10673         test-math-no-inline.h and test-math-scalar.h.
10674         (FUNC): Remove macro.
10675         (FUNC_TEST): Likewise.
10676         (FLOAT): Likewise.
10677         (MATHCONST): Likewise.
10678         (PRINTF_EXPR): Likewise.
10679         (PRINTF_XEXPR): Likewise.
10680         (PRINTF_NEXPR): Likewise.
10681         (TEST_LDOUBLE): Likewise.
10682         (TEST_MATHVEC): Likewise.
10683         (__NO_MATH_INLINES): Likewise.
10684         * math/test-double-vlen2.h: Include test-double.h,
10685         test-math-no-inline.h and test-math-vector.h.
10686         (FLOAT): Remove macro.
10687         (FUNC): Likewise.
10688         (MATHCONST): Likewise.
10689         (PRINTF_EXPR): Likewise.
10690         (PRINTF_XEXPR): Likewise.
10691         (PRINTF_NEXPR): Likewise.
10692         (TEST_DOUBLE): Likewise.
10693         (TEST_MATHVEC): Likewise.
10694         (__NO_MATH_INLINES): Likewise.
10695         (CNCT): Likewise.
10696         (CONCAT): Likewise.
10697         (WRAPPER_NAME): Likewise.
10698         (WRAPPER_DECL): Likewise.
10699         (WRAPPER_DECL_ff): Likewise.
10700         (WRAPPER_DECL_fFF): Likewise.
10701         (VECTOR_WRAPPER): Likewise.
10702         (VECTOR_WRAPPER_ff): Likewise.
10703         (VECTOR_WRAPPER_fFF): Likewise.
10704         (VEC_LEN): New macro.
10705         * math/test-double-vlen4.h: Include test-double.h,
10706         test-math-no-inline.h and test-math-vector.h.
10707         (FLOAT): Remove macro.
10708         (FUNC): Likewise.
10709         (MATHCONST): Likewise.
10710         (PRINTF_EXPR): Likewise.
10711         (PRINTF_XEXPR): Likewise.
10712         (PRINTF_NEXPR): Likewise.
10713         (TEST_DOUBLE): Likewise.
10714         (TEST_MATHVEC): Likewise.
10715         (__NO_MATH_INLINES): Likewise.
10716         (CNCT): Likewise.
10717         (CONCAT): Likewise.
10718         (WRAPPER_NAME): Likewise.
10719         (WRAPPER_DECL): Likewise.
10720         (WRAPPER_DECL_ff): Likewise.
10721         (WRAPPER_DECL_fFF): Likewise.
10722         (VECTOR_WRAPPER): Likewise.
10723         (VECTOR_WRAPPER_ff): Likewise.
10724         (VECTOR_WRAPPER_fFF): Likewise.
10725         (VEC_LEN): New macro.
10726         * math/test-double-vlen8.h: Include test-double.h,
10727         test-math-no-inline.h and test-math-vector.h.
10728         (FLOAT): Remove macro.
10729         (FUNC): Likewise.
10730         (MATHCONST): Likewise.
10731         (PRINTF_EXPR): Likewise.
10732         (PRINTF_XEXPR): Likewise.
10733         (PRINTF_NEXPR): Likewise.
10734         (TEST_DOUBLE): Likewise.
10735         (TEST_MATHVEC): Likewise.
10736         (__NO_MATH_INLINES): Likewise.
10737         (CNCT): Likewise.
10738         (CONCAT): Likewise.
10739         (WRAPPER_NAME): Likewise.
10740         (WRAPPER_DECL): Likewise.
10741         (WRAPPER_DECL_ff): Likewise.
10742         (WRAPPER_DECL_fFF): Likewise.
10743         (VECTOR_WRAPPER): Likewise.
10744         (VECTOR_WRAPPER_ff): Likewise.
10745         (VECTOR_WRAPPER_fFF): Likewise.
10746         (VEC_LEN): New macro.
10747         * math/test-float-vlen4.h: Include test-float.h,
10748         test-math-no-inline.h and test-math-vector.h.
10749         (FLOAT): Remove macro.
10750         (FUNC): Likewise.
10751         (MATHCONST): Likewise.
10752         (PRINTF_EXPR): Likewise.
10753         (PRINTF_XEXPR): Likewise.
10754         (PRINTF_NEXPR): Likewise.
10755         (TEST_FLOAT): Likewise.
10756         (TEST_MATHVEC): Likewise.
10757         (__NO_MATH_INLINES): Likewise.
10758         (CNCT): Likewise.
10759         (CONCAT): Likewise.
10760         (WRAPPER_NAME): Likewise.
10761         (WRAPPER_DECL): Likewise.
10762         (WRAPPER_DECL_ff): Likewise.
10763         (WRAPPER_DECL_fFF): Likewise.
10764         (VECTOR_WRAPPER): Likewise.
10765         (VECTOR_WRAPPER_ff): Likewise.
10766         (VECTOR_WRAPPER_fFF): Likewise.
10767         (VEC_LEN): New macro.
10768         * math/test-float-vlen8.h: Include test-float.h,
10769         test-math-no-inline.h and test-math-vector.h.
10770         (FLOAT): Remove macro.
10771         (FUNC): Likewise.
10772         (MATHCONST): Likewise.
10773         (PRINTF_EXPR): Likewise.
10774         (PRINTF_XEXPR): Likewise.
10775         (PRINTF_NEXPR): Likewise.
10776         (TEST_FLOAT): Likewise.
10777         (TEST_MATHVEC): Likewise.
10778         (__NO_MATH_INLINES): Likewise.
10779         (CNCT): Likewise.
10780         (CONCAT): Likewise.
10781         (WRAPPER_NAME): Likewise.
10782         (WRAPPER_DECL): Likewise.
10783         (WRAPPER_DECL_ff): Likewise.
10784         (WRAPPER_DECL_fFF): Likewise.
10785         (VECTOR_WRAPPER): Likewise.
10786         (VECTOR_WRAPPER_ff): Likewise.
10787         (VECTOR_WRAPPER_fFF): Likewise.
10788         (VEC_LEN): New macro.
10789         * math/test-float-vlen16.h: Include test-float.h,
10790         test-math-no-inline.h and test-math-vector.h.
10791         (FLOAT): Remove macro.
10792         (FUNC): Likewise.
10793         (MATHCONST): Likewise.
10794         (PRINTF_EXPR): Likewise.
10795         (PRINTF_XEXPR): Likewise.
10796         (PRINTF_NEXPR): Likewise.
10797         (TEST_FLOAT): Likewise.
10798         (TEST_MATHVEC): Likewise.
10799         (__NO_MATH_INLINES): Likewise.
10800         (CNCT): Likewise.
10801         (CONCAT): Likewise.
10802         (WRAPPER_NAME): Likewise.
10803         (WRAPPER_DECL): Likewise.
10804         (WRAPPER_DECL_ff): Likewise.
10805         (WRAPPER_DECL_fFF): Likewise.
10806         (VECTOR_WRAPPER): Likewise.
10807         (VECTOR_WRAPPER_ff): Likewise.
10808         (VECTOR_WRAPPER_fFF): Likewise.
10809         (VEC_LEN): New macro.
10810         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
10811         test-vec-loop.h.
10812         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
10813         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
10814         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
10815         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
10816         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
10817         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
10818         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
10820 2015-06-24  Roland McGrath  <roland@hack.frob.com>
10822         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
10823         (__getlogin_r): ... this.
10825 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
10827         [BZ #18594]
10828         * math/s_ccosh.c (__ccosh): Compare with least normal value
10829         instead of comparing class with FP_SUBNORMAL.
10830         * math/s_ccoshf.c (__ccoshf): Likewise.
10831         * math/s_ccoshl.c (__ccoshl): Likewise.
10832         * math/s_cexp.c (__cexp): Likewise.
10833         * math/s_cexpf.c (__cexpf): Likewise.
10834         * math/s_cexpl.c (__cexpl): Likewise.
10835         * math/s_csin.c (__csin): Likewise.
10836         * math/s_csinf.c (__csinf): Likewise.
10837         * math/s_csinh.c (__csinh): Likewise.
10838         * math/s_csinhf.c (__csinhf): Likewise.
10839         * math/s_csinhl.c (__csinhl): Likewise.
10840         * math/s_csinl.c (__csinl): Likewise.
10841         * math/s_ctan.c (__ctan): Likewise.
10842         * math/s_ctanf.c (__ctanf): Likewise.
10843         * math/s_ctanh.c (__ctanh): Likewise.
10844         * math/s_ctanhf.c (__ctanhf): Likewise.
10845         * math/s_ctanhl.c (__ctanhl): Likewise.
10846         * math/s_ctanl.c (__ctanl): Likewise.
10847         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
10848         csin, csinh, ctan and ctanh.
10849         * math/auto-libm-test-out: Regenerated.
10850         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
10851         * sysdeps/i386/fpu/libm-test-ulps: Update.
10852         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10854 2015-06-24  Roland McGrath  <roland@hack.frob.com>
10856         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
10857         return value is wrong, print the expected value too.
10859 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
10861         [BZ #18585]
10862         * elf/readlib.c (is_gdb_python_file): New.
10863         (process_file): Don't issue errors on filenames with -gdb.py
10864         suffix.
10866 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
10868         * math/auto-libm-test-in: Add more tests of csin and csinh.
10869         * math/auto-libm-test-out: Regenerated.
10870         * math/libm-test.inc (csin_test_data): Remove tests moved to
10871         auto-libm-test-in.
10872         (csinh_test_data): Likewise.
10874         [BZ #18593]
10875         * math/s_csin.c (__csin): Negate before rather than after possibly
10876         overflowing multiplication.
10877         * math/s_csinf.c (__csinf): Likewise.
10878         * math/s_csinh.c (__csinh): Likewise.
10879         * math/s_csinhf.c (__csinhf): Likewise.
10880         * math/s_csinhl.c (__csinhl): Likewise.
10881         * math/s_csinl.c (__csinl): Likewise.
10882         * math/auto-libm-test-in: Add some tests of csin and csinh.
10883         * math/auto-libm-test-out: Regenerated.
10884         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
10885         (csinh_test_data): Likewise.
10886         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10888         [BZ #18586]
10889         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
10890         underflow exception for small results.
10892 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
10894         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
10895         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
10896         variable and included header.
10897         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
10898         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
10899         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
10900         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
10901         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
10902         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
10903         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
10904         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
10905         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
10906         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
10907         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
10908         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
10909         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
10910         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
10911         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
10912         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
10914 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
10916         [BZ #16526]
10917         [BZ #16538]
10918         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
10919         (__sin): Force underflow exception for arguments with small
10920         absolute value.
10921         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
10922         (__kernel_sinf): Force underflow exception for arguments with
10923         small absolute value.
10924         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
10925         (__kernel_sincosl): Force underflow exception for arguments with
10926         small absolute value.
10927         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
10928         (__kernel_sinl): Force underflow exception for arguments with
10929         small absolute value.
10930         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
10931         (__kernel_sincosl): Force underflow exception for arguments with
10932         small absolute value.
10933         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
10934         (__kernel_sinl): Force underflow exception for arguments with
10935         small absolute value.
10936         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
10937         (__kernel_sinl): Force underflow exception for arguments with
10938         small absolute value.
10939         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
10940         (__kernel_sinf): Force underflow exception for arguments with
10941         small absolute value.
10942         * math/auto-libm-test-in: Add more tests of sin and sincos.
10943         * math/auto-libm-test-out: Regenerated.
10945         [BZ #18245]
10946         [BZ #18583]
10947         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
10948         (__kernel_standard_l): Use feholdexcept and fesetenv around
10949         conversion to double instead of special-casing overflow and
10950         underflow.
10951         * math/libm-test.inc (fmod_test_data): Add more tests.
10952         (remainder_test_data): Likewise.
10953         (sqrt_test_data): Likewise.
10955 2015-06-23  Torvald Riegel  <triegel@redhat.com>
10957         [BZ #17403]
10958         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
10959         atomic_read_barrier, atomic_write_barrier): Define.
10960         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
10961         atomic_read_barrier, atomic_write_barrier): Define.
10963 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
10965         * math/Makefile [$(PERL) != no]
10966         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
10967         dependency on libm-test.stmp below the inclusion of Rules.
10969 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
10971         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
10972         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
10973         and included header.
10974         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
10975         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
10976         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
10977         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
10978         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
10979         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
10980         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
10981         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
10982         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
10983         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
10984         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
10985         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
10986         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
10987         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
10988         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
10989         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
10990         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
10991         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
10992         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
10994 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
10996         [BZ #18371]
10997         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
10998         intermediate but not final result might underflow.
10999         * math/s_csqrtf.c (__csqrtf): Likewise.
11000         * math/s_csqrtl.c (__csqrtl): Likewise.
11001         * math/auto-libm-test-in: Add more tests of csqrt.
11002         * math/auto-libm-test-out: Regenerated.
11003         * sysdeps/i386/fpu/libm-test-ulps: Update.
11005         [BZ #18219]
11006         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
11007         threshold on absolute value of exponent for which scaling is used.
11008         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
11009         * math/auto-libm-test-in: Add more tests of exp2.
11010         * math/auto-libm-test-out: Regenerated.
11012 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
11014         [BZ #17977]
11015         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
11016         when initializing interface list, based on the bug analysis
11017         and the patch proposed by Eric Newton.
11018         * resolv/tst-res_hconf_reorder.c: New test.
11019         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
11020         tst-res_hconf_reorder.
11021         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
11022         and $(shared-thread-library).
11023         (tst-res_hconf_reorder-ENV): New variable.
11025         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
11026         in comment.
11028 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
11030         [BZ #16353]
11031         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
11032         (__expm1): Force underflow exception for arguments with small
11033         absolute value.
11034         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
11035         (__expm1f): Force underflow exception for arguments with small
11036         absolute value.
11037         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
11038         (__expm1): Force underflow exception for arguments with small
11039         absolute value.
11040         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
11041         (__expm1f): Force underflow exception for arguments with small
11042         absolute value.
11043         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
11044         Check for small arguments before calling __expm1.
11045         * math/auto-libm-test-in: Do not mark underflow exceptions as
11046         possibly missing for bug 16353.
11047         * math/auto-libm-test-out: Regenerated.
11049 2015-06-22  Andreas Schwab  <schwab@suse.de>
11051         [BZ #18513]
11052         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
11053         PTR queries.
11055 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
11057         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
11059         * string/strcoll_l.c: Remove unused struct element idxnow.
11061 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
11063         [BZ #18569]
11064         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
11065         underflow and return argument in case of subnormal argument.
11066         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
11067         Likewise.
11068         * math/auto-libm-test-in: Add more tests of expm1.
11069         * math/auto-libm-test-out: Regenerated.
11071         [BZ #16361]
11072         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
11073         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
11074         tiny results.
11075         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
11076         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
11077         tiny results.
11078         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
11079         mark underflow exceptions as possibly missing for bug 16361.
11080         * math/auto-libm-test-out: Regenerated.
11082 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
11084         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
11085         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
11086         Remove variable.
11087         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
11088         (test-xfail-XOPEN2K8/utmpx.h/conform).
11090         * conform/conformtest.pl ($xerrors): New variable.
11091         (note_error): New function.
11092         (compiletest): New argument $xfail.  Use not_error.
11093         (runtest): Likewise.
11094         (top level): Handle xfail- lines.  Update calls to compiletest and
11095         runtest.  Handle xfail- and optional- in headers listed with
11096         allow-header.
11097         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
11098         (O_EXEC): Likewise.
11099         (O_SEARCH): Likewise.
11100         * conform/data/stropts.h-data (ioctl): Likewise.
11101         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
11102         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
11103         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
11104         (msghdr.msg_controllen): Likewise.
11105         (cmsghdr.cmsg_len): Likewise.
11106         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
11107         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
11108         variable.
11109         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
11110         (test-xfail-XPG4/stropts.h/conform): Likewise.
11111         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
11112         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
11113         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
11114         (test-xfail-UNIX98/stropts.h/conform): Likewise.
11115         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
11116         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
11117         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
11118         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
11119         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
11120         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
11121         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
11122         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
11123         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
11124         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
11125         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
11126         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
11127         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
11128         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
11129         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
11131 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
11133         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
11134         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
11135         definitions for proper unfolding of __MATHDECL_VEC.
11137 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
11139         * benchtests/bench-strcoll.c:
11140         Include string.h.
11141         (main): Remove unused variable res.
11143 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
11145         * timezone/Makefile (%/UTC %/Universal):
11146         Generate test-result files for UTC and Universal.
11148 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
11150         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
11152 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
11154         [BZ #16350]
11155         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
11156         for arguments with small absolute value.
11157         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
11158         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
11159         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
11160         (__asinh): Force underflow exception for arguments with small
11161         absolute value.
11162         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
11163         (__asinhf): Force underflow exception for arguments with small
11164         absolute value.
11165         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
11166         (__asinhl): Force underflow exception for arguments with small
11167         absolute value.
11168         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
11169         (__asinhl): Force underflow exception for arguments with small
11170         absolute value.
11171         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
11172         (__asinhl): Force underflow exception for arguments with small
11173         absolute value.
11174         * math/auto-libm-test-in: Do not mark underflow exceptions as
11175         possibly missing for bug 16350.
11176         * math/auto-libm-test-out: Regenerated.
11178         * include/bits/ipc.h: Remove file.
11179         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
11180         variable.
11181         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
11182         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
11183         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
11184         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
11185         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
11186         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
11187         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
11188         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
11189         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
11191         * math/auto-libm-test-in: Remove spurious underflow allowance for
11192         tests of cexp.
11193         * math/auto-libm-test-out: Regenerated.
11195         [BZ #18558]
11196         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
11197         unconditional definition.
11198         (MCAST_BLOCK_SOURCE): Likewise.
11199         (MCAST_UNBLOCK_SOURCE): Likewise.
11200         (MCAST_LEAVE_GROUP): Likewise.
11201         (MCAST_JOIN_SOURCE_GROUP): Likewise.
11202         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
11203         (MCAST_MSFILTER): Likewise.
11204         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
11205         Remove variable.
11206         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
11207         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
11208         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
11209         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
11210         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
11212 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
11214         * NEWS: Mention addition of x86_64 vector sincosf.
11215         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
11216         * math/test-float-vlen4.h: Likewise.
11217         * math/test-float-vlen8.h: Likewise.
11218         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
11219         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
11220         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11221         * sysdeps/x86_64/fpu/Versions: New versions added.
11222         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11223         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
11224         Added build of SSE, AVX2 and AVX512 IFUNC versions.
11225         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
11226         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
11227         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
11228         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
11229         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
11230         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
11231         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
11232         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
11233         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
11234         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
11235         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
11236         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
11237         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
11238         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
11239         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
11240         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
11241         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
11242         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
11243         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
11244         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
11245         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
11247         * NEWS: Mention addition of x86_64 vector sincos.
11248         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
11249         * math/math.h (__MATHDECL_VEC): New macro.
11250         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
11251         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
11252         declaration under condition.
11253         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
11254         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
11255         TEST_VEC_LOOP change.
11256         * math/test-double-vlen4.h: Likewise.
11257         * math/test-double-vlen8.h: Likewise.
11258         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
11259         * math/test-float-vlen4.h: Likewise.
11260         * math/test-float-vlen8.h: Likewise.
11261         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
11262         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
11263         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11264         * sysdeps/x86_64/fpu/Versions: New versions added.
11265         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11266         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
11267         Added build of SSE, AVX2 and AVX512 IFUNC versions.
11268         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
11269         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
11270         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
11271         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
11272         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
11273         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
11274         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
11275         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
11276         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
11277         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
11278         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
11279         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
11280         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
11281         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
11282         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
11283         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
11284         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
11285         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
11286         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
11287         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
11288         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
11290         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
11291         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
11292         redirections for powf.
11293         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11294         * sysdeps/x86_64/fpu/Versions: New versions added.
11295         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11296         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
11297         Added build of SSE, AVX2 and AVX512 IFUNC versions.
11298         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
11299         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
11300         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
11301         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
11302         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
11303         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
11304         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
11305         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
11306         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
11307         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
11308         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
11309         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
11310         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
11311         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
11312         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
11313         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
11314         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
11315         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
11316         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
11317         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
11318         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
11319         * math/test-float-vlen16.h: Fixed 2 argument macro.
11320         * math/test-float-vlen4.h: Likewise.
11321         * math/test-float-vlen8.h: Likewise.
11322         * NEWS: Mention addition of x86_64 vector powf.
11324 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
11326         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
11327         and redefine.
11328         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
11329         and redefine.
11330         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
11331         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
11332         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
11334         [BZ #18553]
11335         * resource/getpriority.c (getpriority): Rename to __getpriority
11336         and define as weak alias of __getpriority.
11337         * resource/setpriority.c (setpriority): Rename to __setpriority
11338         and define as weak alias of __setpriority.
11339         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
11340         __getpriority and define as weak alias of __getpriority.
11341         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
11342         __setpriority and define as weak alias of __setpriority.
11343         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
11344         strong name.
11345         (setpriority): Use __setpriority as strong name.
11346         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
11347         __getpriority and define as weak alias of __getpriority.
11348         * include/sys/resource.h (__getpriority): Declare.  Use
11349         libc_hidden_proto.
11350         (__setpriority): Likewise.
11351         (getpriority): Don't use libc_hidden_proto.
11352         (setpriority): Likewise.
11353         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
11354         getpriority.  Call __setpriority instead of setpriority.
11355         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
11356         Remove variable.
11358         [BZ #18547]
11359         * misc/getttyent.c (getttynam): Rename to __getttynam and define
11360         as weak alias of __getttynam.  Use prototype function definition.
11361         Call __setttyent, __getttyent and __endttyent instead of
11362         setttyent, getttyent and endttyent.
11363         (getttyent): Rename to __getttyent and define as weak alias of
11364         __getttyent.  Call __setttyent instead of setttyent.  Call
11365         __fgets_unlocked instead of fgets_unlocked.
11366         (setttyent): Rename to __setttyent and define as weak alias of
11367         __setttyent.
11368         (endttyent): Rename to __endttyent and define as weak alias of
11369         __endttyent.
11370         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
11371         (__setttyent): Likewise.
11372         (__endttyent): Likewise.
11373         (getttyent): Don't use libc_hidden_proto.
11374         (setttyent): Likewise.
11375         (endttyent): Likewise.
11376         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
11377         __endttyent instead of setttyent, getttyent and endttyent.
11378         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
11379         Remove variable.
11381         [BZ #18546]
11382         * socket/recv.c (__recv): Use libc_hidden_def.
11383         * socket/socket.c (__socket): Likewise.
11384         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
11385         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
11386         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
11387         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
11388         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
11389         libc_hidden_def.
11390         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
11391         libc_hidden_weak.
11392         * include/sys/socket.h (__socket): Do not use attribute_hidden.
11393         Use libc_hidden_proto.
11394         (__recv): Likewise.
11395         * socket/Versions (libc): Export __recv and __socket at version
11396         GLIBC_PRIVATE.
11397         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
11398         instead of recv.
11399         (init_mq_netlink): Call __socket instead of socket.
11400         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
11401         Remove variable.
11403         [BZ #18545]
11404         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
11405         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
11406         hidden_weak.
11407         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
11408         define as alias of __mq_timedsend.  Use hidden_weak.
11409         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
11410         __mq_timedsend as strong name.
11411         (mq_timedreceive): Use __mq_timedreceive as strong name.
11412         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
11413         (__mq_timedreceive): Likewise.
11414         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
11415         __mq_timedreceive instead of mq_timedreceive.
11416         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
11417         instead of mq_timedsend.
11418         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
11419         Remove variable.
11421         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
11422         hidden_def and hidden_weak instead of libc_hidden_def and
11423         libc_hidden_weak.
11424         (top level): Refer to hidden_def in comment.
11425         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
11426         macro.  Use it instead of libc_hidden_def.
11427         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
11428         specify __GI_* name explicitly.
11429         (mq_timedreceive): Likewise.
11430         (mq_setattr): Likewise.
11432         [BZ #18544]
11433         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
11434         __pthread_barrier_init and define as weak alias of
11435         __pthread_barrier_init.
11436         * sysdeps/sparc/nptl/pthread_barrier_init.c
11437         (pthread_barrier_init): Likewise.
11438         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
11439         __pthread_barrier_wait and define as weak alias of
11440         __pthread_barrier_wait.
11441         * sysdeps/sparc/nptl/pthread_barrier_wait.c
11442         (pthread_barrier_wait): Likewise.
11443         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
11444         (pthread_barrier_wait): Likewise.
11445         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
11446         (pthread_barrier_wait): Likewise.
11447         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
11448         (pthread_barrier_wait): Likewise.
11449         * nptl/Versions (libpthread): Export __pthread_barrier_init and
11450         __pthread_barrier_wait at version GLIBC_PRIVATE.
11451         * include/pthread.h (__pthread_barrier_init): Declare.
11452         (__pthread_barrier_wait): Likewise.
11453         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
11454         Call __pthread_barrier_wait instead of pthread_barrier_wait.
11455         (helper_thread): Likewise.
11456         (init_mq_netlink): Call __pthread_barrier_init instead of
11457         pthread_barrier_init.
11459         [BZ #18542]
11460         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
11461         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
11462         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
11463         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
11464         vswscanf.
11465         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
11466         Remove variable.
11468         [BZ #18540]
11469         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
11470         strong alias of _IO_fflush.  Use libc_hidden_def.
11471         * libio/iofflush_u.c (fflush_unlocked): Rename to
11472         __fflush_unlocked and define as weak alias of __fflush_unlocked.
11473         Use libc_hidden_weak.
11474         * include/stdio.h (__fflush_unlocked): Declare.  Use
11475         libc_hidden_proto.
11476         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
11477         fflush_unlocked.
11478         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
11479         Remove variable.
11481         [BZ #18539]
11482         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
11483         define as weak alias of __addseverity.
11484         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
11485         Remove variable.
11486         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
11487         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
11488         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
11490         [BZ #18536]
11491         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
11492         (__tfind): Likewise.
11493         (__tdelete): Likewise.
11494         (__twalk): Likewise.
11495         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
11496         __twalk to GLIBC_PRIVATE.
11497         * include/search.h (__tsearch): Use libc_hidden_proto.
11498         (__tfind): Likewise.
11499         (__tdelete): Likewise.
11500         (__twalk): Likewise.
11501         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
11502         Call __tdelete instead of tdelete.
11503         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
11504         tfind.  Call __tsearch instead of tsearch.
11505         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
11506         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
11507         Remove variable.
11508         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
11510         [BZ #18534]
11511         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
11512         (dprintf): Define as a weak alias of __dprintf, not a strong
11513         alias.
11514         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
11515         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
11516         dprintf.
11517         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
11518         Remove variable.
11519         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
11520         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
11522         [BZ #18533]
11523         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
11524         not a strong alias.
11525         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
11526         Remove variable.
11528         [BZ #18532]
11529         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
11530         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
11531         (in6addr_loopback): Rename to __in6addr_loopback and define as
11532         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
11533         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
11534         libc_hidden_proto.
11535         (__in6addr_any): Likewise.
11536         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
11537         in6addr_any.
11538         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
11539         variable.
11540         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
11542 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
11544         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
11545         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
11546         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
11547         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
11548         redirections for pow.
11549         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11550         * sysdeps/x86_64/fpu/Versions: New versions added.
11551         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11552         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
11553         build of SSE, AVX2 and AVX512 IFUNC versions.
11554         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
11555         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
11556         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
11557         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
11558         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
11559         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
11560         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
11561         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
11562         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
11563         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
11564         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
11565         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
11566         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
11567         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
11568         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
11569         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
11570         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
11571         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
11572         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
11573         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
11574         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
11575         * NEWS: Mention addition of x86_64 vector pow.
11577         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
11578         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
11579         redirections for expf.
11580         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11581         * sysdeps/x86_64/fpu/Versions: New versions added.
11582         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11583         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
11584         build of SSE, AVX2 and AVX512 IFUNC versions.
11585         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
11586         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
11587         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
11588         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
11589         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
11590         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
11591         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
11592         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
11593         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
11594         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
11595         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
11596         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
11597         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
11598         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
11599         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
11600         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
11601         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
11602         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
11603         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
11604         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
11605         * NEWS: Mention addition of x86_64 vector expf.
11607         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
11608         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
11609         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
11610         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
11611         redirections for exp.
11612         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11613         * sysdeps/x86_64/fpu/Versions: New versions added.
11614         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11615         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
11616         build of SSE, AVX2 and AVX512 IFUNC versions.
11617         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
11618         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
11619         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
11620         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
11621         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
11622         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
11623         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
11624         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
11625         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
11626         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
11627         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
11628         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
11629         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
11630         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
11631         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
11632         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
11633         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
11634         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
11635         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
11636         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
11637         * NEWS: Mention addition of x86_64 vector exp.
11639         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
11640         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
11641         redirections for logf.
11642         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11643         * sysdeps/x86_64/fpu/Versions: New versions added.
11644         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11645         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
11646         build of SSE, AVX2 and AVX512 IFUNC versions.
11647         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
11648         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
11649         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
11650         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
11651         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
11652         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
11653         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
11654         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
11655         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
11656         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
11657         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
11658         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
11659         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
11660         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
11661         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
11662         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
11663         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
11664         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
11665         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
11666         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
11667         * NEWS: Mention addition of x86_64 vector logf.
11669         * bits/libm-simd-decl-stubs.h: Added stubs for log.
11670         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
11671         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
11672         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
11673         redirections for log.
11674         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11675         * sysdeps/x86_64/fpu/Versions: New versions added.
11676         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11677         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
11678         build of SSE, AVX2 and AVX512 IFUNC versions.
11679         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
11680         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
11681         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
11682         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
11683         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
11684         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
11685         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
11686         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
11687         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
11688         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
11689         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
11690         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
11691         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
11692         test.
11693         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
11694         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
11695         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
11696         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
11697         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
11698         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
11699         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
11700         * NEWS: Mention addition of x86_64 vector log.
11702 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11704         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
11705         cfi_adjust_cfa_offset argument.
11706         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
11707         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
11709         [BZ #18034]
11710         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
11711         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
11712         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
11713         ordering using ldar.
11714         (_dl_tlsdesc_dynamic): Likewise.
11715         (_dl_tlsdesc_return_lazy): Likewise.
11716         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
11717         relaxed atomics instead of volatile and synchronize with release store.
11718         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
11719         volatile.
11720         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
11722 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
11724         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
11725         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
11726         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11727         * sysdeps/x86_64/fpu/Versions: New versions added.
11728         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11729         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
11730         build of SSE, AVX2 and AVX512 IFUNC versions.
11731         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
11732         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
11733         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
11734         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
11735         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
11736         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
11737         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
11738         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
11739         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
11740         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
11741         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
11742         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
11743         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
11744         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
11745         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
11746         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
11747         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
11748         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
11749         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
11750         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
11751         * NEWS: Mention addition of x86_64 vector sinf.
11753 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
11755         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
11756         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
11757         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
11758         Remove variable.
11759         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
11760         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
11762 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
11764         [BZ #18530]
11765         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
11766         strong alias of _IO_fputs.  Use libc_hidden_def.
11767         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
11768         and define as weak alias of __fputs_unlocked.  Use
11769         libc_hidden_weak.
11770         * include/stdio.h (__fputs_unlocked): Declare.  Use
11771         libc_hidden_proto.
11772         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
11773         fputs_unlocked.
11775         [BZ #18529]
11776         * resolv/netdb.h [__USE_POSIX]: Change condition to
11777         [__USE_XOPEN2K].
11778         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
11779         not expect.
11780         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
11781         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
11782         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
11783         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
11784         [XPG4 || UNIX98] (AI_ALL): Likewise.
11785         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
11786         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
11787         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
11788         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
11789         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
11790         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
11791         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
11792         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
11793         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
11794         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
11795         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
11796         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
11797         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
11798         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
11799         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
11800         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
11801         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
11802         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
11803         [XPG4 || UNIX98] (gai_strerror): Likewise.
11804         [XPG4 || UNIX98] (getaddrinfo): Likewise.
11805         [XPG4 || UNIX98] (getnameinfo): Likewise.
11807         [BZ #18528]
11808         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
11809         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
11810         __USE_XOPEN2K8].
11811         (getgrent): Likewise.
11812         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
11813         expect.
11814         [XPG3 || POSIX2008] (endgrent): Likewise.
11815         [XPG3] (setgrent): Likewise.
11816         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
11817         variable.
11818         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
11820         [BZ #18527]
11821         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
11822         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
11823         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
11824         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
11825         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
11826         * include/unistd.h (__getlogin_r): Declare.  Use
11827         libc_hidden_proto.
11828         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
11829         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
11830         variable.
11831         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
11832         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
11833         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
11835 2015-06-12  Martin Sebor  <msebor@redhat.com>
11837         [BZ #18512]
11838         * Makerules (check-install-supported): New target.
11839         (install): Add check-install-supported as a dependency.
11840         * manual/install.texi (Installing the C Library): Document
11841         that overriding prefix and exec_prefix is not supported.
11842         Mention DESTDIR.
11843         * INSTALL: Regenerate from the above.
11845 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
11847         [BZ #18519]
11848         * posix/Versions (libc): Export __libc_pread at version
11849         GLIBC_PRIVATE.
11850         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
11851         instead of pread.
11852         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
11853         variable.
11855         [BZ #18522]
11856         * misc/efgcvt_r.c
11857         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
11858         (cvt_symbol): Use weak_alias instead of strong_alias.
11859         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
11860         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
11861         Remove variable.
11862         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
11863         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
11865         [BZ #18520]
11866         * inet/herrno.c (h_errno): Rename to __h_errno.
11867         (__libc_h_errno): Define as alias of __h_errno not h_errno.
11868         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
11869         to __h_errno instead of h_errno.
11870         * nptl/herrno.c (h_errno): Rename to __h_errno.
11871         (__h_errno_location): Refer to __h_errno not h_errno.
11872         * resolv/Versions (h_errno): Rename to __h_errno.
11873         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
11874         Remove variable.
11875         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
11877 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
11879         * configure.ac: More strict check for AVX512 assembler support.
11880         * configure: Regenerated.
11882         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
11883         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
11884         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
11885         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
11886         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11887         * sysdeps/x86_64/fpu/Versions: New versions added.
11888         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11889         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
11890         Added build of SSE, AVX2 and AVX512 IFUNC versions.
11891         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
11892         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
11893         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
11894         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
11895         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
11896         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
11897         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
11898         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
11899         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
11900         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
11901         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
11902         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
11903         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
11904         test.
11905         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
11906         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
11907         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
11908         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
11909         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
11910         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
11911         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
11912         * NEWS: Mention addition of x86_64 vector sin.
11914 2015-06-11  Florian Weimer  <fweimer@redhat.com>
11916         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
11917         comment.
11919 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
11921         [BZ #18479]
11922         * nptl/pt-interp.c: New file.
11923         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
11924         Add pt-interp.
11925         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
11926         $(common-objpfx)runtime-linker.h.
11928 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
11930         * Makeconfig (+interp): Remove unused variable.
11931         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
11932         only.  Depend on $(common-objpfx)runtime-linker.h instead of
11933         $(elf-objpfx)runtime-linker.h.
11934         ($(elf-objpfx)runtime-linker.h): Rename to
11935         $(common-objpfx)runtime-linker.h and move ...
11936         * Makerules [$(build-shared) = yes]: ... here.
11937         * elf/interp.c: Include <runtime-linker.h> instead of
11938         <elf/runtime-linker.h>.
11940 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11942         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
11943         (__gettimeofday_syscall): Remove vsyscall fallback.
11944         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
11945         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
11946         Add syscall fallback function.
11947         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
11948         if vDSO is not present.
11949         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
11950         fallback function.
11951         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
11952         present.
11953         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
11954         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
11956 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
11958         [BZ #18497]
11959         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
11960         of wcscmp.
11961         (wcscmp): Define as weak alias of WCSCMP.
11962         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
11963         wcscoll.
11964         (USE_HIDDEN_DEF): Define.
11965         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
11966         __wcscoll.  Don't use libc_hidden_weak.
11967         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
11968         wcscmp.
11969         * sysdeps/i386/i686/multiarch/wcscmp-c.c
11970         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
11971         __GI_wcscmp.
11972         (weak_alias): Undefine and redefine.
11973         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
11974         __wcscmp and define as weak alias of __wcscmp.
11975         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
11976         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
11977         (__wcscoll): Likewise.
11978         (wcscmp): Don't use libc_hidden_proto.
11979         (wcscoll): Likewise.
11980         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
11981         wcscoll.
11982         * posix/regexec.c (check_node_accept_bytes): Likewise.
11983         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
11984         variable.
11985         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
11986         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
11988         [BZ #18507]
11989         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
11990         __fstatvfs and define as weak alias of __fstatvfs.  Use
11991         libc_hidden_weak.
11992         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
11993         and define as weak alias of __statvfs.  Use libc_hidden_weak.
11994         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
11995         Define as alias of __fstatvfs, not fstatvfs.
11996         (fstatvfs64): Likewise.
11997         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
11998         Define as alias of __statvfs, not statvfs.
11999         (statvfs64): Likewise.
12000         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
12001         Remove variable.
12003 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12005         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
12006         (HAVE_GETCPU_VSYSCALL): Define.
12007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
12008         (HAVE_GETCPU_VSYSCALL): Likewise.
12009         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
12010         * sysdeps/unix/sysv/linux/sched_getcpu.c
12011         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
12012         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
12013         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
12014         prototype.
12015         * sysdeps/unix/sysv/linux/x86_64/init-first.c
12016         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
12017         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
12018         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
12019         Define.
12020         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
12021         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
12022         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
12023         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
12025 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
12027         * sysdeps/x86_64/fpu/Makefile: New file.
12028         * sysdeps/x86_64/fpu/Versions: New file.
12029         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
12030         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
12031         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
12032         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
12033         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
12034         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
12035         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
12036         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
12037         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
12038         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
12039         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
12040         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
12041         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
12042         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
12043         Added build of SSE, AVX2 and AVX512 IFUNC versions.
12044         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
12045         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
12046         * sysdeps/x86_64/configure.ac: Options for libmvec build.
12047         * sysdeps/x86_64/configure: Regenerated.
12048         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
12049         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
12050         * manual/install.texi (Configuring and compiling): Document
12051         --disable-mathvec.
12052         * INSTALL: Regenerated.
12053         * NEWS: Mention addition of libmvec and x86_64 vector cos.
12055         * math/Makefile: Added rules for vector tests.
12056         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
12057         declaration under condition.
12058         * math/test-double-vlen2.h: New file.
12059         * math/test-double-vlen4.h: New file.
12060         * math/test-double-vlen8.h: New file.
12061         * math/test-vec-loop.h: Added initialization macro.
12062         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
12063         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
12064         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
12065         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
12066         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
12067         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
12068         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
12069         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
12070         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
12071         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
12072         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
12074         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12075         * sysdeps/x86_64/fpu/Versions: New versions added.
12076         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
12077         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
12078         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
12079         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
12080         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
12081         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
12082         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
12083         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
12084         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
12085         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
12086         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
12087         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
12088         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
12089         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
12090         Added build of SSE, AVX2 and AVX512 IFUNC versions.
12091         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
12092         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
12093         * NEWS: Mention addition of x86_64 vector cosf.
12095         * math/Makefile: Added CFLAGS for new tests.
12096         * math/test-float-vlen16.h: New file.
12097         * math/test-float-vlen4.h: New file.
12098         * math/test-float-vlen8.h: New file.
12099         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
12100         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
12101         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12102         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
12103         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
12104         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
12105         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
12106         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
12107         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
12108         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
12109         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
12111 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
12113         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
12114         * locale/programs/ld-ctype.c: Likewise.
12116 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
12118         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
12119         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
12120         bit_ZMM16_31_state): New macro.
12121         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12122         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
12124 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
12126         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
12128 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
12130         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
12132 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
12134         [BZ #18498]
12135         * libio/memstream.c (open_memstream): Rename to __open_memstream
12136         and define as weak alias of __open_memstream.
12137         * include/stdio.h (__open_memstream): Declare.  Use
12138         libc_hidden_proto.
12139         (open_memstream): Don't use libc_hidden_proto.
12140         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
12141         open_memstream.
12142         * posix/getopt.c (_getopt_internal_r): Likewise.
12143         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
12144         variable.
12145         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
12146         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
12147         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
12149         [BZ #18496]
12150         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
12151         instead of wcrtomb.
12153         [BZ #18483]
12154         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
12155         [__USE_XOPEN2K8].  Remove redundant #endif.
12156         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
12157         Remove redundant #if.
12158         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
12159         Remove variable.
12160         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
12161         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
12163         [BZ #18495]
12164         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
12165         (__iswlower): Likewise.
12166         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
12167         (__iswlower): Likewise.
12168         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
12169         instead of towlower.
12170         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
12171         instead of iswlower.  Call __towupper instead of towupper.
12172         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
12173         instead of iswalnum.
12175 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12177         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
12178         errors to stderr.
12180 2015-06-05  Florian Weimer  <fweimer@redhat.com>
12182         [BZ #15661]
12183         [BZ #17322]
12184         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
12185         Check for overflow properly.  Check for O_APPEND.  Ignore large
12186         file system block sizes.  Add comments about problems.
12187         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
12188         * manual/filesys.texi (Storage Allocation): New node.
12190 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12192         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
12193         cancellable syscalls.
12194         (SYS_ify): Add guard to no redefine it.
12195         (INLINE_SYSCALL): Likewise.
12196         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
12197         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
12198         SYSCALL_CANCEL instead.
12199         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
12200         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
12201         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
12202         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
12203         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
12204         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
12205         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
12206         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
12207         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
12208         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
12209         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
12210         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
12211         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
12212         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
12213         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
12214         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
12215         Likewise.
12216         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
12217         (__libc_pread64): Likewise.
12218         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
12219         (__libc_preadv): Likewise.
12220         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
12221         (__libc_readv64): Likewise.
12222         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
12223         (__libc_pwrite): Likewise.
12224         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
12225         (__libc_pwrite64): Likewise.
12226         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
12227         (__libc_pwritev): Likewise.
12228         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
12229         (__libc_pwritev64): Likewise.
12230         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
12231         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
12232         (sync_file_range): Likewise.
12233         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
12234         Likewise.
12235         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
12236         Likewise.
12237         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
12238         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
12239         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
12240         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
12241         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
12242         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
12243         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
12244         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
12245         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
12246         Likewise.
12247         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
12248         (__libc_read64): Likewise.
12249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
12250         Likewise.
12251         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
12252         Likewise.
12253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
12254         Likewise.
12255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
12256         Likewise.
12257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
12258         (__libc_pread64): Likewise.
12259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
12260         Likewise.
12261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
12262         (__libc_pwrite64): Likewise.
12263         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
12264         (sync_file_range): Likewise.
12265         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
12266         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
12267         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
12268         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
12269         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
12270         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
12271         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
12272         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
12273         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
12274         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
12275         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
12276         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
12277         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
12278         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
12279         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
12280         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
12281         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
12282         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
12283         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
12284         Likewise.
12285         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
12286         Likewise.
12287         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
12288         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
12289         Likewise.
12290         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
12291         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
12292         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
12293         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
12294         Likewise.
12295         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
12296         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
12297         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
12298         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
12299         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
12301 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
12303         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
12304         Include dl-vdso.
12305         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
12306         Use VDSO routines for gettimeofday, clock_gettime if
12307         available.
12308         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
12309         Declare VDSO symbols.
12310         * sysdeps/unix/sysv/linux/arm/sysdep.h:
12311         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
12312         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
12313         * sysdeps/unix/sysv/linux/arm/Versions: Add
12314         __vdso_clock_gettime.
12316 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12318         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
12319         be an inline implementation regardless of library is built within.
12320         (open_not_cancel_2): Likewise.
12321         (__read_nocancel): Likewise.
12322         (__write_nocancel): Likewise.
12323         (openat_not_cancel): Likewise.
12324         (openat_not_cancel_3): Likewise.
12325         (openat64_not_cancel): Likewise.
12326         (openat64_not_cancel_3): Likewise.
12327         (__close_nocancel): Likewise.
12328         (pause_not_cancel): Likewise.
12329         (nanosleep_not_cancel): Likewise.
12330         (sigsuspend_not_cancel): Likewise.
12332 2015-06-04  Torvald Riegel  <triegel@redhat.com>
12334         [BZ #14958]
12335         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
12336         wake-up.
12337         (__pthread_rwlock_rdlock_slow): Likewise.
12338         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
12339         Likewise.
12340         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
12341         Likewise.
12342         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
12343         * nptl/tst-rwlock16.c: New file.
12344         * nptl/Makefile (tests): Add new test.
12346 2015-06-04  Torvald Riegel  <triegel@redhat.com>
12348         [BZ #18324]
12349         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
12350         missing wake-up of readers.
12351         * nptl/tst-rwlock15.c: New file.
12352         * nptl/Makefile (tests): Add new test.
12354 2015-06-03  Roland McGrath  <roland@hack.frob.com>
12356         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
12357         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
12358         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
12359         and __nacl_supply_interface_rtld.
12360         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
12361         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
12362         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
12363         Add __nacl_supply_interface_rtld.
12364         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
12366 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
12368         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
12369         isfinite.
12370         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12371         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
12373 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
12375         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
12376         __signbit* with standard C99 macros.
12377         * math/e_exp10l.c: Likewise.
12378         * math/e_exp2l.c: Likewise.
12379         * math/e_scalb.c: Likewise.
12380         * math/e_scalbf.c: Likewise.
12381         * math/e_scalbl.c: Likewise.
12382         * math/s_ldexp.c: Likewise.
12383         * math/s_ldexpf.c: Likewise.
12384         * math/s_ldexpl.c: Likewise.
12385         * math/w_atan2.c: Likewise.
12386         * math/w_atan2f.c: Likewise.
12387         * math/w_atan2l.c: Likewise.
12388         * math/w_cosh.c: Likewise.
12389         * math/w_coshf.c: Likewise.
12390         * math/w_coshl.c: Likewise.
12391         * math/w_exp10.c: Likewise.
12392         * math/w_exp10f.c: Likewise.
12393         * math/w_exp10l.c: Likewise.
12394         * math/w_exp2.c: Likewise.
12395         * math/w_exp2f.c: Likewise.
12396         * math/w_exp2l.c: Likewise.
12397         * math/w_fmod.c: Likewise.
12398         * math/w_fmodf.c: Likewise.
12399         * math/w_fmodl.c: Likewise.
12400         * math/w_hypot.c: Likewise.
12401         * math/w_hypotf.c: Likewise.
12402         * math/w_hypotl.c: Likewise.
12403         * math/w_jnl.c: Likewise.
12404         * math/w_lgamma.c: Likewise.
12405         * math/w_lgamma_r.c: Likewise.
12406         * math/w_lgammaf.c: Likewise.
12407         * math/w_lgammaf_r.c: Likewise.
12408         * math/w_lgammal.c: Likewise.
12409         * math/w_lgammal_r.c: Likewise.
12410         * math/w_pow.c: Likewise.
12411         * math/w_powf.c: Likewise.
12412         * math/w_powl.c: Likewise.
12413         * math/w_remainder.c: Likewise.
12414         * math/w_remainderf.c: Likewise.
12415         * math/w_remainderl.c: Likewise.
12416         * math/w_scalb.c: Likewise.
12417         * math/w_scalbf.c: Likewise.
12418         * math/w_scalbl.c: Likewise.
12419         * math/w_scalbln.c: Likewise.
12420         * math/w_scalblnf.c: Likewise.
12421         * math/w_scalblnl.c: Likewise.
12422         * math/w_sinh.c: Likewise.
12423         * math/w_sinhf.c: Likewise.
12424         * math/w_sinhl.c: Likewise.
12425         * math/w_tgamma.c: Likewise.
12426         * math/w_tgammaf.c: Likewise.
12427         * math/w_tgammal.c: Likewise.
12428         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12429         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
12430         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12431         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12432         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12433         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12434         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
12435         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
12436         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12437         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12438         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
12439         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
12440         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12441         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
12442         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
12443         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12444         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
12445         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
12446         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
12447         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
12448         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12449         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
12450         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12451         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12452         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
12453         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
12454         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
12455         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
12456         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12457         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
12458         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
12459         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
12460         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
12461         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
12462         * stdio-common/printf_fp.c: Likewise.
12463         * stdio-common/printf_fphex.c: Likewise.
12464         * stdio-common/printf_size.c: Likewise.
12466 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
12468         [BZ #18470]
12469         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
12470         strnlen.
12471         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
12472         Remove variable.
12473         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
12474         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
12475         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
12476         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
12477         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
12478         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
12479         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
12480         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
12481         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
12482         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
12484         [BZ #18468]
12485         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
12486         weak alias of __wmemchr.  Use libc_hidden_weak.
12487         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
12488         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
12489         instead of wmemchr.
12491 2015-06-02  Roland McGrath  <roland@hack.frob.com>
12493         [BZ #18383]
12494         * elf/tst-tlsalign-extern.c: New file.
12495         * elf/tst-tlsalign-extern-static.c: New file.
12496         * elf/tst-tlsalign-vars.c: New file.
12497         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
12498         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
12499         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
12500         ($(objpfx)tst-tlsalign-extern-static): Likewise.
12501         (test-xfail-tst-tlsalign-extern-static): New variable.
12503 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
12505         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
12506         Use variable name _sc_err instead of err.
12507         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
12508         instead of ret.
12509         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
12510         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
12511         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
12512         (INLINE_SYSCALL): Likewise.
12514         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
12515         * include/string.h (__strnlen): Use libc_hidden_proto.
12516         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
12517         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
12518         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
12519         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
12520         (libc_hidden_def): Undefine and redefine.
12521         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
12522         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
12523         __GI_strnlen.
12524         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
12525         libc_hidden_def.
12526         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
12528         [BZ #18469]
12529         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
12530         weak alias of __towlower.  Use libc_hidden_weak.
12531         (towupper): Rename to __towupper and define as weak alias of
12532         __towupper.  Use libc_hidden_weak.
12533         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
12534         (__towupper): Likewise.
12535         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
12536         __towlower instead of towlower.
12538 2015-06-02  Roland McGrath  <roland@hack.frob.com>
12540         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
12541         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
12543 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12545         * sysdeps/aarch64/libm-test-ulps: Update.
12547 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12549         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
12550         Define.
12551         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
12552         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
12553         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
12554         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
12555         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
12556         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
12557         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
12559 2015-06-01  Martin Sebor  <msebor@redhat.com>
12561         [BZ #18116]
12562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
12563         (__setcontext): Use extended four-operand version of mtsf whenever
12564         possible.
12565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
12566         (__novec_swapcontext): Likewise.
12568 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
12570         * benchtests/scripts/compare_bench.py: New file.
12571         * benchtests/scripts/import_bench.py (mean): New function.
12572         (split_list): Likewise.
12573         (do_for_all_timings): Likewise.
12574         (compress_timings): Likewise.
12576         * benchtests/scripts/import_bench.py: New file.
12577         * benchtests/scripts/validate_benchout.py: Import import_bench
12578         instead of jsonschema.
12579         (validate_bench): Remove function.
12580         (main): Use import_bench.
12582 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
12584         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
12585         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
12587 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12589         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12591 2015-05-28  Roland McGrath  <roland@hack.frob.com>
12593         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
12594         set THREAD_SELF->tid to a magic value and futex-wake it.
12595         Pass its address to the thread_exit system call.
12596         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
12597         bit is clear.
12598         * sysdeps/nacl/lowlevellock.h: New file.
12599         * sysdeps/nacl/lll_timedwait_tid.c: New file.
12601         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
12602         Add TIMEOUT to current time, don't subtract it.
12604 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
12606         [BZ #2981]
12607         [BZ #18422]
12608         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
12609         ($(objpfx)tst-audit2.out): Also depend on
12610         $(objpfx)tst-auditmod9b.so.
12611         * elf/tst-audit2.c: Include <dlfcn.h>.
12612         (calloc_called): New.
12613         (calloc): Allow to be called more than once.
12614         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
12616 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
12618         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
12619         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
12621 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
12623         * stdlib/monetary.h: Fix comment.
12625 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
12627         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
12628         Avoid using variables in #defines that might cause shadowing.
12629         (INTERNAL_VSYSCALL_CALL): Likewise.
12631 2015-05-26  Roland McGrath  <roland@hack.frob.com>
12633         * sysdeps/nacl/lll_timedlock_wait.c: New file.
12635         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
12636         * nptl/lll_timedlock_wait.c: ... to this new file.
12637         * nptl/Makefile (libpthread-routines): Add it.
12638         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
12639         * nptl/lll_timedwait_tid.c: ... to this new file.
12640         * nptl/Makefile (libpthread-routines): Add it.
12641         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
12642         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
12643         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
12644         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
12645         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
12646         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
12647         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
12648         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
12649         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
12650         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
12652 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12654         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
12655         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
12656         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
12657         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
12658         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
12659         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
12660         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
12661         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
12662         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
12663         * sysdeps/unix/sysv/linux/tile/sysdep.h
12664         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
12665         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
12666         using vDSO syscall macro.
12668 2015-05-26  Andriy Rysin  <arysin@gmail.com>
12670         [BZ #17293]
12671         * uk_UA: Fix sorting order for Ukrainian locale
12673 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
12675         * stdlib/monetary.h: Fix comment.
12677 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12679         [BZ #18234]
12680         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
12681         st_mtim and st_ctim members.
12682         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
12683         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
12684         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
12685         (struct stat64): Likewise.
12686         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
12687         (struct stat64): Likewise.
12688         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
12689         (struct stat64): Likewise.
12691 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12693         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
12694         Define and include sysdep-vdso.h.
12695         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
12696         Likewise.
12697         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
12698         Likewise.
12699         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
12700         Define with VDSO_SYMBOL and use PTR_MANGLE.
12701         (__vdso_clock_gettime): Likewise.
12702         (__vdso_clock_getres): Likewise.
12703         (_libc_vdso_platform_setup): Likewise.
12704         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
12705         Likewise.
12706         (_libc_vdso_platform_setup): Likewise.
12707         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
12708         Likewise.
12709         (__vdso_clock_gettime): Likewise.
12710         (__vdso_clock_getres): Likewise.
12711         (__vdso_get_tbfreq): Likewise.
12712         (__vdso_getcpu): Likewise.
12713         (__vdso_time): Likewise.
12714         (__vdso_sigtramp_rt64): Likewise.
12715         (__vdso_signtramp32): Likewise.
12716         (__vdso_sigtramp_rt32): Likewise.
12717         (_libc_vdso_platform_setup): Likewise.
12718         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
12719         Likewise.
12720         (__vdso_clock_gettime): Likewise.
12721         (__vdso_clock_getres): Likewise.
12722         (_libc_vdso_platform_setup): Likewise.
12723         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
12724         Likewise.
12725         (__vdso_clock_gettime): Likewise.
12726         (_libc_vdso_platform_setup): Likewise.
12727         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
12728         Likewise.
12729         (__vdso_getcpu): Likewise.
12730         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
12731         Use VDSO_SYMBOL macro to define.
12732         (__vdso_clock_gettime): Likewise.
12733         (__vdso_clock_getres): Likewise.
12734         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
12735         Likewise.
12736         (__vdso_clock_gettime): Likewise.
12737         (__vdso_clock_getres): Likewise.
12738         (__vdso_get_tbfreq): Likewise.
12739         (__vdso_getcpu): Likewise.
12740         (__vdso_time): Likewise.
12741         (__vdso_sigtramp_rt64): Likewise.
12742         (__vdso_signtramp32): Likewise.
12743         (__vdso_sigtramp_rt32): Likewise.
12744         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
12745         Likewise.
12746         (__vdso_clock_gettime): Likewise.
12747         (__vdso_clock_getres): Likewise.
12748         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
12749         Likewise.
12750         (__vdso_clock_gettime): Likewise.
12751         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
12752         Likewise.
12753         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
12754         macro.
12755         (INTERNAL_VSYSCALL): Likewise.
12756         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
12757         Remove macro.
12758         (INTERNAL_VSYSCALL): Likewise.
12759         (INTERNAL_VSYSCALL_NCS): Likewise.
12760         (INTERNAL_VSYSCALL_CALL): New macro.
12761         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
12762         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
12763         Likewise.
12764         (INTERNAL_VSYSCALL): Likewise.
12765         (INTERNAL_VSYSCALL_NCS): Likewise.
12766         (INTERNAL_VSYSCALL_CALL): New macro.
12767         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
12768         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
12769         (INLINE_VSYSCALL): Remove macro.
12770         (INTERNAL_VSYSCALL): Remove macro.
12771         (INTERNAL_VSYSCALL_NCS): Remove macro.
12772         (INTERNAL_VSYSCALL_CALL): New macro.
12773         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
12774         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
12775         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
12776         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
12777         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
12778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
12779         (INLINE_VSYSCALL): Remove macro.
12780         (INTERNAL_VSYSCALL): Likewise.
12781         (INTERNAL_VSYSCALL_NCS): Likewise.
12782         (INTERNAL_VSYSCALL_CALL): New macro.
12783         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
12784         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
12785         PTR_DEMANGLE on vDSO pointer.
12786         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
12787         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
12788         macro.
12789         (INTERNAL_SYSCALL): Likewise.
12790         (INTERNAL_VSYSCALL_NCS): Remove macro.
12791         (INTERNAL_VSYSCALL_CALL): New macro.
12792         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
12793         Remove macro.
12794         (INTERNAL_VSYSCALL): Likewise.
12795         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
12796         sysdep-vdso.h instead of libc-vdso.h.
12797         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
12798         definition.
12799         (INLINE_VSYSCALL): Likewise.
12800         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
12801         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
12802         definition.
12803         (INLINE_VSYSCALL): Likewise.
12804         (INTERNAL_VSYSCALL): Likewise.
12805         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
12806         * sysdeps/unix/sysv/linux/timespec_get.c
12807         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
12808         (timespec_get): Use ANSI prototype.
12809         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
12810         and definition for Linux.
12812 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
12814         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
12815         * include/libc-symbols.h: libmvec_hidden_* macro series added.
12817 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
12819         [BZ #2981]
12820         [BZ #18410]
12821         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
12822         for missing DT_PLTRELSZ.
12824 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
12826         Remove obsolete aliases that broke 'locale -a'
12827         [BZ #18412]
12828         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
12829         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
12830         breaking some applications that use 'locale -a' output.
12831         Change the encoding of this file from Latin-1 to ASCII to avoid
12832         other potential problems with people grepping this file.
12834 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12836         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
12837         -fasynchronous-unwind-tables.
12838         (CFLAGS-sendto.c): Likewise.
12839         (CFLAGS-sendmsg.c): Likewise.
12840         (CFLAGS-connect.c): Likewise.
12841         (CFLAGS-recvmsg.c): Likewise.
12842         (CFLAGS-recvfrom.c): Likewise.
12843         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
12844         (SOCKETCALL): New macro: non-cancellable socketcall.
12845         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
12846         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
12847         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
12848         * sysdeps/unix/sysv/linux/accept.c: New file.
12849         * sysdeps/unix/sysv/linux/bind.c: Likewise.
12850         * sysdeps/unix/sysv/linux/connect.c: Likewise.
12851         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
12852         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
12853         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
12854         * sysdeps/unix/sysv/linux/listen.c: Likewise.
12855         * sysdeps/unix/sysv/linux/recv.c: Likewise.
12856         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
12857         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
12858         * sysdeps/unix/sysv/linux/send.c: Likewise.
12859         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
12860         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
12861         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
12862         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
12863         * sysdeps/unix/sysv/linux/socket.c: Likewise.
12864         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
12865         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
12866         prototype.
12867         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
12868         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
12869         instead of __internal_xxx function.
12870         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
12871         prototype.
12872         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
12873         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
12874         instead of __internal_xxx function.
12875         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
12876         prototype.
12877         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
12878         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
12879         instead of __internal_xxx function.
12880         * sysdeps/unix/sysv/linux/accept.S: Remove file.
12881         * sysdeps/unix/sysv/linux/bind.S: Likewise.
12882         * sysdeps/unix/sysv/linux/connect.S: Likewise.
12883         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
12884         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
12885         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
12886         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
12887         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
12888         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
12889         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
12890         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
12891         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
12892         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
12893         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
12894         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
12895         * sysdeps/unix/sysv/linux/listen.S: Likewise.
12896         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
12897         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
12898         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
12899         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
12900         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
12901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
12902         * sysdeps/unix/sysv/linux/recv.S: Likewise.
12903         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
12904         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
12905         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
12906         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
12907         * sysdeps/unix/sysv/linux/send.S: Likewise.
12908         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
12909         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
12910         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
12911         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
12912         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
12913         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
12914         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
12915         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
12916         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
12917         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
12918         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
12919         socketcall is implemented in GLIBC.
12921 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
12923         * soft-fp/fmadf4.c: Include <libc-internal.h>.
12924         (__fma): Ignore uninitialized warnings around packing.
12925         * soft-fp/fmasf4.c: Include <libc-internal.h>.
12926         (__fmaf): Ignore uninitialized warnings around packing.
12927         * soft-fp/fmatf4.c: Include <libc-internal.h>.
12928         (__fmal): Ignore uninitialized warnings around packing.
12930         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
12931         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
12932         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
12933         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
12935         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
12936         switch statement into default case.
12937         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
12939         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
12940         a conditional in forcing "inexact".
12941         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
12942         Likewise.
12944 2015-05-22  Roland McGrath  <roland@hack.frob.com>
12946         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
12947         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
12948         for each INTERNAL_SYSCALL use.
12950 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
12952         [BZ #438]
12953         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
12954         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
12955         variable.
12957         [BZ #18444]
12958         * string/basename.c (basename): Rename to __basename and define as
12959         weak alias of __basename.  Use libc_hidden_weak.
12960         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
12961         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
12962         __basename instead of basename.
12963         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
12964         Remove variable.
12965         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
12967 2015-05-18  Florian Weimer  <fweimer@redhat.com>
12969         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
12970         (_IO_JUMPS_FILE_plus): New.
12971         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
12972         _IO_CAST_FIELD_ACCESS.
12973         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
12974         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
12975         * libio/freopen.c (freopen): Likewise.
12976         * libio/freopen64.c (freopen64): Likewise.
12977         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
12978         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
12979         * libio/iofwide.c (_IO_fwide): Likewise.
12980         * libio/memstream.c (open_memstream): Likewise.
12981         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
12982         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
12983         * libio/oldiopopen.c (_IO_old_popen): Likewise.
12985 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
12987         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
12988         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
12989         NADJ.
12990         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
12991         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
12992         NADJ.
12993         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
12994         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
12995         NADJ.
12997         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
12998         (p == 4) case.
13000         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
13001         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
13002         Remove variable.
13003         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
13004         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
13005         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
13007 2015-05-21  Florian Weimer  <fweimer@redhat.com>
13009         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
13010         Adjust jump table label generation macros.
13012 2015-05-21  Florian Weimer  <fweimer@redhat.com>
13014         * stdio-common/vfprintf.c (vfprintf): Move local variables
13015         args_malloced, specs, specs_malloced, and the code after
13016         do_positional to the printf_positional function.
13017         (printf_positional): New function.
13019 2015-05-21  Florian Weimer  <fweimer@redhat.com>
13021         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
13022         function.
13023         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
13024         STEP4_TABLE, process_arg): Move macro definitions
13025         out of the vfprintf function.  (Cosmetic change only.)
13027 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
13029         * benchtests/Makefile (stdio-common-bench): Define.
13030         (benchset): Add stdio-common-bench.
13031         * sprintf-inputs: New file.
13032         * sprintf-source.c: New file.
13034 2015-05-21  Andreas Schwab  <schwab@suse.de>
13036         [BZ #13028]
13037         [BZ #17053]
13038         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
13039         of struct __res_state.
13040         * resolv/res_send.c (__libc_res_nsend): Likewise.
13041         (get_nsaddr): New function.
13042         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
13043         statp directly.
13045 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
13047         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
13048         -D_POSIX_C_SOURCE=199506L.
13050         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
13052         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
13053         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
13054         Do not mention otherwise.
13055         [POSIX] (_XOPEN_VERSION): Do not expect.
13056         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
13057         [POSIX] (_POSIX2_C_BIND): Likewise.
13058         [POSIX] (_POSIX2_VERSION): Likewise.
13059         [POSIX] (_XOPEN_XPG2): Likewise.
13060         [POSIX] (_XOPEN_XPG3): Likewise.
13061         [POSIX] (_XOPEN_XPG4): Likewise.
13062         [POSIX] (_XOPEN_UNIX): Likewise.
13063         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
13064         [POSIX] (_POSIX_BARRIERS): Likewise.
13065         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
13066         [POSIX] (_POSIX_CPUTIME): Likewise.
13067         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
13068         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
13069         [POSIX] (_POSIX_SHELL): Likewise.
13070         [POSIX] (_POSIX_SPAWN): Likewise.
13071         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
13072         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
13073         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
13074         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
13075         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
13076         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
13077         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
13078         [POSIX] (_XBS5_LP64_OFF64): Likewise.
13079         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
13080         [POSIX] (_POSIX_TIMEOUTS): Likewise.
13081         [POSIX] (_POSIX2_PBS): Likewise.
13082         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
13083         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
13084         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
13085         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
13086         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
13087         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
13088         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
13089         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
13090         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
13091         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
13092         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
13093         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
13094         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
13095         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
13096         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
13097         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
13098         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
13099         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
13100         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
13101         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
13102         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
13103         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
13104         [POSIX] (_SC_2_C_BIND): Likewise.
13105         [POSIX] (_SC_2_C_VERSION): Likewise.
13106         [POSIX] (_SC_2_PBS): Likewise.
13107         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
13108         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
13109         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
13110         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
13111         [POSIX] (_SC_2_PBS_TRACK): Likewise.
13112         [POSIX] (_SC_ATEXIT_MAX): Likewise.
13113         [POSIX] (_SC_BARRIERS): Likewise.
13114         [POSIX] (_SC_BASE): Likewise.
13115         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
13116         [POSIX] (_SC_DEVICE_IO): Likewise.
13117         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
13118         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
13119         [POSIX] (_SC_FD_MGMT): Likewise.
13120         [POSIX] (_SC_FIFO): Likewise.
13121         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
13122         [POSIX] (_SC_FILE_LOCKING): Likewise.
13123         [POSIX] (_SC_FILE_SYSTEM): Likewise.
13124         [POSIX] (_SC_IOV_MAX): Likewise.
13125         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
13126         [POSIX] (_SC_NETWORKING): Likewise.
13127         [POSIX] (_SC_PAGE_SIZE): Likewise.
13128         [POSIX] (_SC_PASS_MAX): Likewise.
13129         [POSIX] (_SC_PIPE): Likewise.
13130         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
13131         [POSIX] (_SC_REGEXP): Likewise.
13132         [POSIX] (_SC_SHELL): Likewise.
13133         [POSIX] (_SC_SIGNALS): Likewise.
13134         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
13135         [POSIX] (_SC_SPIN_LOCKS): Likewise.
13136         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
13137         [POSIX] (_SC_USER_GROUPS): Likewise.
13138         [POSIX] (_SC_USER_GROUPS_R): Likewise.
13139         [POSIX] (_SC_STREAMS): Likewise.
13140         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
13141         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
13142         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
13143         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
13144         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
13145         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
13146         [POSIX] (_PC_FILESIZEBITS): Likewise.
13147         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
13148         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
13149         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
13150         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
13151         [POSIX] (uid_t): Likewise.
13152         [POSIX] (gid_t): Likewise.
13153         [POSIX] (off_t): Likewise.
13154         [POSIX] (pid_t): Likewise.
13155         [POSIX] (cuserid): Allow.
13156         (_SC_2_CHAR_TERM): Require constant.
13157         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
13158         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
13159         variable.
13161 2015-05-20  Roland McGrath  <roland@hack.frob.com>
13163         * sysdeps/nacl/pthread-pids.h: New file.
13164         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
13165         (create_thread): Use __nacl_get_tid to initialize PD->tid.
13167         * nptl/pthread-pids.h: New file.
13168         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
13169         * nptl/nptl-init.c: Include <pthread-pids.h>.
13170         (__pthread_initialize_minimal_internal):
13171         Call __pthread_initialize_pids instead of set_tid_address syscall.
13173         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
13174         * sysdeps/posix/usleep.c: ... here.
13176 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13178         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
13179         call_pselect6 object.
13180         [$(subdir) = io]: Remove call_sync_file_range object.
13181         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
13182         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
13183         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
13184         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
13186 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
13188         * math/s_cproj.c: Add include "math_private.h".
13189         * math/s_cprojf.c: Likewise.
13190         * math/s_cprojl.c: Likewise.
13192 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
13194         [BZ #18244]
13195         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
13196         high mantissa bit when testing whether P is a NaN.
13197         * math/libm-test.inc (remainder_test_data): Add more tests.
13198         (remquo_test_data): Likewise.
13200         [BZ #18049]
13201         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
13202         below -32, return the argument, with underflow if subnormal.
13203         * math/auto-libm-test-in: Add more tests of atanh.
13204         * math/auto-libm-test-out: Regenerated.
13206 2015-05-19  Roland McGrath  <roland@hack.frob.com>
13208         [BZ #18434]
13209         * nptl/tst-sem15.c: New file.
13210         * nptl/Makefile (tests): Add it.
13211         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
13212         s/<</>>/ to fix typo in EOVERFLOW check.
13213         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
13215 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
13217         * manual/strings.texi (envz_remove): Fix typo in safety
13218         annotations.
13220 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
13221             Steve Ellcey  <sellcey@imgtec.com>
13223         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
13224         in order to avoid strict alias warnings.
13225         (iruserok_af): Ditto for ra.
13227 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
13229         [BZ #17581]
13230         * malloc/hooks.c
13231         (magicbyte): Convert to a function and avoid returning 0x01.
13232         (mem2mem_check): Avoid using a length byte equal to the magic byte.
13233         (mem2chunk_check): Fix unsigned comparisons to zero.
13234         Hoist defs of sz and magic.
13236 2015-05-19  Richard Henderson  <rth@redhat.com>
13238         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
13240         * sysdeps/alpha/fpu/libm-test-ulps: Update.
13242 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
13244         [BZ #16159]
13245         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
13246         * malloc/arena.c (arena_lock): Check if arena is corrupt.
13247         (reused_arena): Find a non-corrupt arena.
13248         (heap_trim): Pass arena to unlink.
13249         * malloc/hooks.c (malloc_check_get_size): Pass arena to
13250         malloc_printerr.
13251         (top_check): Likewise.
13252         (free_check): Likewise.
13253         (realloc_check): Likewise.
13254         * malloc/malloc.c (malloc_printerr): Add arena argument.
13255         (unlink): Likewise.
13256         (munmap_chunk): Adjust.
13257         (ARENA_CORRUPTION_BIT): New macro.
13258         (arena_is_corrupt): Likewise.
13259         (set_arena_corrupt): Likewise.
13260         (sysmalloc): Use mmap if there are no usable arenas.
13261         (_int_malloc): Likewise.
13262         (__libc_malloc): Don't fail if arena_get returns NULL.
13263         (_mid_memalign): Likewise.
13264         (__libc_calloc): Likewise.
13265         (__libc_realloc): Adjust for additional argument to
13266         malloc_printerr.
13267         (_int_free): Likewise.
13268         (malloc_consolidate): Likewise.
13269         (_int_realloc): Likewise.
13270         (_int_memalign): Don't touch corrupt arenas.
13271         * malloc/tst-malloc-backtrace.c: New test case.
13273         * Makefile (summarize-tests): Fix return value on success.
13275         * manual/string.texi (Envz Functions): Add envz_remove.
13277 2015-05-18  Roland McGrath  <roland@hack.frob.com>
13279         * sysdeps/posix/opendir.c: Include <stdbool.h>.
13280         (invalid_name): New function, broken out of ...
13281         (__opendirat): ... here.  Call it.
13282         (need_isdir_precheck): New function, broken out of ...
13283         (__opendirat): ... here.  Call it.
13284         Use __fxstatat64, not __xstatat64.
13285         (opendir_oflags): New function, broken out of ...
13286         (__opendirat): ... here.  Call it.
13287         (opendir_tail): New function, broken out of ...
13288         (__opendirat): ... here.  Call it.
13289         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
13290         opendir_tail, rather than punting to __opendirat.
13291         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
13293 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
13295         * .gitignore: Ignore generated *.pyc.
13297 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
13299         * include/stdio.h: Define __need_wint_t.
13300         * test-skeleton.c: Avoid `for' loop initial declaration.
13301         * nptl/tst-initializers1.c: Use test-skeleton.c.
13303 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13305         [BZ #18418]
13306         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
13308 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
13310         [BZ #16352]
13311         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
13312         (__ieee754_atanh): Force underflow exception for results with
13313         small absolute value.
13314         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
13315         (__ieee754_atanhf): Force underflow exception for results with
13316         small absolute value.
13317         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
13318         (__ieee754_atanh): Force underflow exception for results with
13319         small absolute value.
13320         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
13321         (__ieee754_atanhf): Force underflow exception for results with
13322         small absolute value.
13323         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
13324         (__ieee754_atanhl): Force underflow exception for results with
13325         small absolute value.
13326         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
13327         (__ieee754_atanhl): Force underflow exception for results with
13328         small absolute value.
13329         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
13330         (__ieee754_atanhl): Force underflow exception for results with
13331         small absolute value.
13332         * math/auto-libm-test-in: Do not allow missing underflow
13333         exceptions from atanh.
13334         * math/auto-libm-test-out: Regenerated.
13336         [BZ #18221]
13337         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
13338         2**-28 as threshold for returning x or +/- 1/x.
13339         * math/auto-libm-test-in: Add more tests of tan.
13340         * math/auto-libm-test-out: Regenerated.
13342         [BZ #18220]
13343         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
13344         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
13345         * math/auto-libm-test-in: Add another test of lgamma.
13346         * math/auto-libm-test-out: Regenerated.
13348 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
13350         * stdio-common/printf_fp.c (___printf_fp): Use abs.
13351         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
13352         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
13353         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
13354         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
13355         (ADD2A): Use fabs.  (SUB2A): Use fabs.
13356         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
13357         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
13358         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
13359         (log1): Use fabs.  (my_log2): Use fabs.
13360         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
13361         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
13362         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
13363         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
13364         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
13365         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
13366         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
13367         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
13368         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
13369         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
13370         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
13372 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
13374         [BZ #18217]
13375         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
13376         as threshold for returning 1 - x.
13377         * math/auto-libm-test-in: Add more tests of erfc.
13378         * math/auto-libm-test-out: Regenerated.
13380 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
13382         [BZ #18196]
13383         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
13384         threshold for large arguments.
13385         * math/auto-libm-test-in: Add another test of atan.
13386         * math/auto-libm-test-out: Regenerated.
13388         [BZ #16339]
13389         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
13390         (__log1p): Force underflow exception for results with small
13391         absolute value.
13392         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
13393         (__log1pf): Force underflow exception for results with small
13394         absolute value.
13395         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
13396         (__log1p): Force underflow exception for results with small
13397         absolute value.
13398         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
13399         (__log1pf): Force underflow exception for results with small
13400         absolute value.
13401         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
13402         (__log1pl): Force underflow exception for results with small
13403         absolute value.
13404         * math/auto-libm-test-in: Do not allow missing underflow
13405         exceptions from log1p.
13406         * math/auto-libm-test-out: Regenerated.
13408 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
13409             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13411         [BZ #16704]
13412         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
13414 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
13416         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
13417         (libmvec): New variable.
13418         * configure.ac: Added option for mathvec build.
13419         * configure: Regenerated.
13420         * mathvec/Depend: New file.
13421         * mathvec/Makefile: New file.
13422         * shlib-versions: Added libmvec.
13423         * math/Makefile: Added rule for libm.so installation.
13425         * bits/math-vector.h: New file.
13426         * bits/libm-simd-decl-stubs.h: New header.
13427         * math/Makefile (headers): Added new header
13428         libm-simd-decl-stubs.h.
13429         * math/math.h (__MATHCALL_VEC): New macro.
13431         * math/gen-libm-have-vector-test.sh: Script generates series of macros
13432         for conditions in testing functions.
13433         * math/Makefile: Added call of libm-have-vector-test.sh.
13434         * math/libm-test.inc (HAVE_VECTOR): New macros.
13436         * math/libm-test.inc: START refactored.
13437         * math/test-double.c (TEST_MATHVEC): Add define.
13438         * math/test-float.c: Likewise.
13439         * math/test-idouble.c: Likewise.
13440         * math/test-ifloat.c: Likewise.
13441         * math/test-ildoubl.c: Likewise.
13442         * math/test-ldouble.c: Likewise.
13443         * sysdeps/generic/math-tests-arch.h
13444         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
13445         architecture check.
13447         * math/test-double.c (FUNC_TEST): New macro.
13448         * math/test-float.c: Likewise.
13449         * math/test-idouble.c: Likewise.
13450         * math/test-ifloat.c: Likewise.
13451         * math/test-ildoubl.c: Likewise.
13452         * math/test-ldouble.c: Likewise.
13453         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
13455 2015-05-13  Roland McGrath  <roland@hack.frob.com>
13457         * sysdeps/nacl/fdopendir.c: New file.
13459         * dirent/scandir-tail.c: New file.
13460         * dirent/scandir64-tail.c: New file.
13461         * dirent/Makefile (routines): Add them.
13462         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
13463         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
13464         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
13465         [!SCANDIR] (SCANDIR_TAIL): New macro.
13466         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
13467         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
13468         (SCANDIRAT): Macro removed.
13469         (SCANDIR_TAIL): New macro.
13470         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
13471         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
13472         (SCANDIRAT): Just call __opendirat and __scandir_tail.
13473         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
13474         (READDIR): Macro removed.
13475         (SCANDIR_TAIL): New macro.
13476         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
13477         (SCANDIR_TAIL): New macro.
13479         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
13480         * dirent/scandir-cancel.c: ... to this new file.
13481         * dirent/Makefile (routines): Add it.
13482         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
13483         * sysdeps/unix/sysv/linux/i386/scandir64.c
13484         (SKIP_SCANDIR_CANCEL): Macro removed.
13485         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
13487         * dirent/tst-scandir.c: New file.
13488         * dirent/tst-scandir64.c: New file.
13489         * dirent/Makefile (tests): Add them.
13491 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
13493         [BZ #18409]
13494         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
13496 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13498         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
13499         list.
13501 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
13503         * benchtests/bench-strcoll.c: New benchmark.
13504         * benchtests/Makefile: Generate locales and run benchmark.
13505         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
13506         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
13507         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
13508         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
13509         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
13510         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
13511         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
13512         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
13513         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
13514         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
13515         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
13516         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
13517         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
13518         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
13519         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
13520         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
13521         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
13522         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
13523         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
13524         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
13525         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
13526         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
13527         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
13528         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
13530 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
13532         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
13533         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
13535 2015-05-12  Roland McGrath  <roland@hack.frob.com>
13537         * posix/uname-values.h: New file.
13538         * posix/uname.c: Include that instead of <config-name.h>.
13539         * sysdeps/nacl/uname-values.h: New file.
13540         * sysdeps/arm/nacl/uname-values.h: New file.
13542 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
13544         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
13545         splitting into fields.
13547 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
13549         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
13550         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
13551         * locale/localeinfo.h: Add enum collation_encoding_type.
13552         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
13553         * programs/ld-collate.c (collate_output): Add encoding type info.
13554         * string/strcoll_l.c (STRDIFF): New function.
13555         * (STRCOLL): Use STRDIFF to skip over equal prefix.
13556         * wcsmbs/wcscoll_l.c: Define STRDIFF.
13558 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
13560         [BZ #18397]
13561         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
13562         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
13563         <fpu_control.h> instead of <math/fpu_control.c>.
13564         * sysdeps/mips/mips32/fpu/Makefile: New file.
13566 2015-05-11  Andreas Schwab  <schwab@suse.de>
13568         [BZ #18007]
13569         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
13570         nss_endgrent.
13571         (_nss_compat_endgrent): Call nss_endgrent.
13572         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
13573         nss_endpwent.
13574         (_nss_compat_endpwent): Call nss_endpwent.
13575         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
13576         needent, call nss_setspent only if non-zero.
13577         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
13578         (internal_endspent): Don't call nss_endspent.
13579         (_nss_compat_endspent): Call nss_endspent.
13580         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
13581         Remove.  All uses removed.
13582         (internal_setent): Remove parameter stayopen, add parameter
13583         stream.  Use it instead of global variable.
13584         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
13585         (internal_endent, internal_getent): Add parameter stream.  Use it
13586         instead of global variable.
13587         (CONCAT(_nss_files_end,ENTNAME))
13588         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
13589         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
13590         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
13591         uses removed.
13592         (internal_setent, internal_endent): Add parameter stream.  Use it
13593         instead of global variable.
13594         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
13595         stream.
13596         (get_next_alias): Add parameter stream.
13597         (_nss_files_getaliasent_r): Pass global stream.
13598         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
13599         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
13600         (_nss_files_gethostbyname4_r): Pass local stream to
13601         internal_setent, internal_getent and internal_endent.  Remove
13602         locking.
13604 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
13606         * tst-strfmon1.c (tests): Update expected currency symbol.
13608 2015-05-08  Roland McGrath  <roland@hack.frob.com>
13610         * sysdeps/nacl/gethostname.c: New file.
13612 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
13614         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
13615         and sinh.
13616         * math/auto-libm-test-out: Regenerated.
13617         * sysdeps/i386/fpu/libm-test-ulps: Update.
13618         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13620 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
13622         [BZ #18125]
13623         * stdlib/tst-setcontext3.c: New file.
13624         * stdlib/tst-setcontext3.sh: New file.
13625         * stdlib/Makefile (tests): Add tst-setcontext3.
13626         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
13627         to verify test program created output file.
13628         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
13629         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
13630         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
13631         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
13633 2015-05-06  Roland McGrath  <roland@hack.frob.com>
13635         [BZ #18383]
13636         * elf/tst-tlsalign.c: New file.
13637         * elf/tst-tlsalign-static.c: New file.
13638         * elf/tst-tlsalign-lib.c: New file.
13639         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
13640         (tests-static): Add tst-tlsalign-static.
13641         (modules-names): Add tst-tlsalign-lib.
13642         (test-xfail-tst-tlsalign): New variable.
13643         (test-xfail-tst-tlsalign-static): New variable.
13645         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
13646         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
13648 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
13650         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
13651         csqrt, erfc, sin and sincos.
13652         * math/auto-libm-test-out: Regenerated.
13653         * sysdeps/i386/fpu/libm-test-ulps: Update.
13654         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13656 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13658         * sysdeps/aarch64/libm-test-ulps: Update.
13660 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
13662         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
13663         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
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 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
13670         [BZ #18265]
13671         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
13672         (wcsncpy): Likewise.
13674 2015-05-05  Florian Weimer  <fweimer@redhat.com>
13676         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
13677         Assume __ASSUME_FALLOCATE is always true.
13678         * sysdeps/unix/sysv/linux/posix_fallocate64.c
13679         (__posix_fallocate64_l64): Likweise.
13680         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
13681         (posix_fallocate): Likewise.
13682         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
13683         (__posix_fallocate64_l64): Likewise.
13684         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
13685         [!__ASSUME_FALLOCATE]: Add comment.
13687 2015-05-05  Florian Weimer  <fweimer@redhat.com>
13689         * sysdeps/unix/sysv/linux/i386/Makefile
13690         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
13691         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
13692         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
13693         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
13694         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
13695         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
13696         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
13698 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
13700         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
13701         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
13702         tgamma.
13703         * math/auto-libm-test-out: Regenerated.
13704         * sysdeps/i386/fpu/libm-test-ulps: Update.
13705         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13707 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
13709         * math/auto-libm-test-in: Add more tests of tgamma.
13710         * math/auto-libm-test-out: Regenerated.
13711         * sysdeps/i386/fpu/libm-test-ulps: Update.
13712         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13714         * math/auto-libm-test-in: Add more tests of tanh.
13715         * math/auto-libm-test-out: Regenerated.
13716         * sysdeps/i386/fpu/libm-test-ulps: Update.
13717         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13719         * math/auto-libm-test-in: Add more tests of tan.
13720         * math/auto-libm-test-out: Regenerated.
13721         * sysdeps/i386/fpu/libm-test-ulps: Update.
13722         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13724         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
13725         * math/auto-libm-test-out: Regenerated.
13726         * sysdeps/i386/fpu/libm-test-ulps: Update.
13727         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13729         * math/auto-libm-test-in: Add another test of pow.
13730         * math/auto-libm-test-out: Regenerated.
13731         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13733         * math/auto-libm-test-in: Add more tests of lgamma.
13734         * math/auto-libm-test-out: Regenerated.
13735         * sysdeps/i386/fpu/libm-test-ulps: Update.
13736         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13738         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
13739         log1p.
13740         * math/auto-libm-test-out: Regenerated.
13741         * sysdeps/i386/fpu/libm-test-ulps: Update.
13742         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13744 2015-05-01  Mark Wielaard  <mjw@redhat.com>
13746         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
13747         Elf64_Chdr structs and ELFCOMPRESS constants.
13749 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
13751         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
13752         expm1.
13753         * math/auto-libm-test-out: Regenerated.
13754         * sysdeps/i386/fpu/libm-test-ulps: Update.
13755         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13757         * math/auto-libm-test-in: Add more tests of erf and erfc.
13758         * math/auto-libm-test-out: Regenerated.
13759         * sysdeps/i386/fpu/libm-test-ulps: Update.
13760         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13762 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13764         * config.h.in (HAVE_AARCH64_BE): Add.
13766 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
13768         * math/auto-libm-test-in: Add more tests of csqrt.
13769         * math/auto-libm-test-out: Regenerated.
13770         * sysdeps/i386/fpu/libm-test-ulps: Update.
13771         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13773         * math/auto-libm-test-in: Add more tests of cosh and sinh.
13774         * math/auto-libm-test-out: Regenerated.
13775         * sysdeps/i386/fpu/libm-test-ulps: Update.
13776         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13778         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
13780 2015-04-29  Roland McGrath  <roland@hack.frob.com>
13782         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
13783         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
13785         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
13786         (euidaccess, eaccess): Define as weak aliases.
13788         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
13789         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
13790         but __suseconds_t is often 'long int' so some sources assume that
13791         type is being used (e.g. they use %ld to print tv_usec).
13793 2015-04-29  Florian Weimer  <fweimer@redhat.com>
13795         [BZ #18007]
13796         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
13797         (CVE-2014-8121)
13798         * nss/tst-nss-getpwent.c: New file.
13799         * nss/Makefile (tests): Add new test.
13801 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
13803         [BZ #18346]
13804         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
13805         exponents less than 48 as cases where high part of mantissa needs
13806         examining to determine whether argument is integral.
13807         * math/libm-test.inc (round_test_data): Add more tests.
13809 2015-04-28  Mark Wielaard  <mjw@redhat.com>
13811         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
13813 2015-04-27  David S. Miller  <davem@davemloft.net>
13815         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
13816         __tls_get_addr.
13817         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
13819 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
13821         [BZ#18333]
13822         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
13824 2015-04-27  Florian Weimer  <fweimer@redhat.com>
13826         [BZ#18333]
13827         * time/tzset.c (parse_tzname): Return error on memory allocation
13828         failure.
13829         * test-skeleton.c (struct temp_name_list): Change type of name
13830         member to non-const.
13831         (add_temp_file): Create a copy of the file name.
13832         (delete_temp_files): Deallocate memory.
13833         (create_temp_file): Add comment.
13835 2015-04-24  Florian Weimer  <fweimer@redhat.com>
13837         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
13838         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
13840 2015-04-24  Roland McGrath  <roland@hack.frob.com>
13842         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
13843         * sysdeps/arm/configure: Regenerated.
13845 2015-04-24  Florian Weimer  <fweimer@redhat.com>
13847         [BZ #17715]
13848         * time/tzfile.c (__tzfile_read): Check for large values of
13849         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
13850         * time/tzset.c (__tzstring_len): New function, based on the old
13851         __tzstring function.
13852         (__tzstring): Call __tzstring_len.
13853         (parse_tzname): New helper function extracted from
13854         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
13855         the input string.
13856         (parse_offset): New helper function extracted from
13857         __tzset_parse_tz.  Replace switch with fallthrough with
13858         initialization before sscanf.
13859         (parse_rule): Likewise.
13860         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
13861         new-style function definition.
13862         * timezone/Makefile (tests): Add tst-tzset.
13863         (tst-tzset.out): Dependencies on time zone files.
13864         (tst-tzset-ENV): Set TZDIR.
13865         (testdata/XT%): Copy crafted time zone files.
13866         * timezone/README: Mention crafted time zone files.
13867         * timezone/testdata/XT1, timezone/testdata/XT2,
13868         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
13869         files.
13870         * timezone/tst-tzset.c: New test.
13872 2015-04-24  Florian Weimer  <fweimer@redhat.com>
13874         * Makeconfig (+gccwarn): Remove -Winline.
13876 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
13878         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
13880 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
13882         * NEWS: Mention sysconf() cache information support for s390.
13883         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
13885 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
13887         * math/k_casinh.c (__kernel_casinh): Use __copysign.
13888         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
13889         (__nearbyint): Likewise.
13890         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
13891         (copysignl): Likewise.
13893 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
13895         [BZ #18287]
13896         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
13897         based on padding.  (CVE-2015-1781)
13899 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13901         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
13902         libc-vdso.h.
13903         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
13904         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
13905         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
13906         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
13907         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
13908         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
13909         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
13910         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
13911         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
13912         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
13913         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
13914         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
13915         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
13916         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
13917         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
13918         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
13919         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
13920         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
13921         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
13922         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
13923         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
13924         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
13925         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
13927 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
13929         * stdlib/setenv.c (__add_to_environ):
13930         Dump core quickly if setenv (..., NULL, ...) is called.
13931         This time, do it the right way, and pacify GCC with a pragma.
13933 2015-04-17  Roland McGrath  <roland@hack.frob.com>
13935         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
13936         IMAP->l_prev cannot be null, and #if out the code for the contrary
13937         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
13938         believe that NS (&_dl_ns[NSID]) could point outside the array.
13940         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
13941         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
13942         before using NSID as an index.
13944 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
13946         [BZ #17825]
13947         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
13948         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
13949         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
13951 2015-04-17  Roland McGrath  <roland@hack.frob.com>
13953         Add preliminary port to Google Native Client on ARM.
13954         * abi-tags (.*-.*-nacl.*): New entry.
13955         * sysdeps/arm/nacl: New directory.
13956         * sysdeps/nacl: New directory.
13958 2015-04-16  David S. Miller  <davem@davemloft.net>
13960         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
13961         lowlevellock-futex.h
13963 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
13965         * sysdeps/tile/configure.ac: New file.
13966         * sysdeps/tile/configure: Regenerated.
13968 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13970         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
13971         conditionals for weak_alias and libc_hidden_weak.
13972         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
13973         libc_hidden_weak and weak_alias.
13974         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
13975         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
13976         and weak_alias for static one.
13978 2015-04-15  David S. Miller  <davem@davemloft.net>
13980         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
13982 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
13984         [BZ #18206]
13985         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
13986           Use signed comparision instead of substraction to avoid
13987           overflow bug.
13988         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
13989           Take the sign of ret.
13990         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
13991           Do not expect precise return values. Only the sign matters.
13992         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
13993         * wcsmbs/test-wcsncmp.c: New File.
13994         * string/test-strncmp.c: Add wcsncmp support.
13996 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
13998         [BZ #6792]
13999         * math/w_log1p.c: New file.
14000         * math/w_log1pf.c: Likewise.
14001         * math/w_log1pl.c: Likewise.
14002         * math/Makefile (libm-calls): Add w_log1p.
14003         * math/s_log1pl.c (log1pl): Remove weak_alias.
14004         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
14005         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
14006         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
14007         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
14008         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
14009         [NO_LONG_DOUBLE] (log1pl): Likewise.
14010         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
14011         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
14012         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
14013         (log1p): Remove long_double_symbol.
14014         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
14015         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
14016         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
14017         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
14018         remove weak_alias for corresponding log1p function.
14019         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
14020         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
14021         * sysdeps/ia64/fpu/w_log1p.c: New file.
14022         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
14023         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
14024         * math/libm-test.inc (log1p_test_data): Add errno expectations.
14026 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
14028         [BZ #18247]
14029         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
14030         decimal exponent by 1.
14031         * stdlib/tst-strtod-round-data: Add more tests.
14032         * stdlib/tst-strtod-round.c (tests): Regenerated.
14034 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
14036         * math/auto-libm-test-in: Add more tests of clog and clog10.
14037         * math/auto-libm-test-out: Regenerated.
14038         * sysdeps/i386/fpu/libm-test-ulps: Update.
14039         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14041 2015-04-09  Roland McGrath  <roland@hack.frob.com>
14043         * Makeconfig (module-cppflags): Exclude all .v.i files.
14044         (skip-module-cppflags): Variable removed.
14046         * configure.ac (libc_config_ok): Initialize before reading
14047         preconfigure scripts, not after.
14048         * configure: Regenerated.
14050         * test-skeleton.c (TIMEOUT): Move #define to top level.
14051         (main): Grok environment variable TEST_DIRECT.  If set, print
14052         test expectation details into that file and then behave as if
14053         given --direct.
14055 2015-04-09  Florian Weimer  <fweimer@redhat.com>
14057         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
14058         warning on 32-bit.
14060 2015-04-08  David S. Miller  <davem@davemloft.net>
14062         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14064 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
14066         * math/auto-libm-test-in: Add more tests of atanh.
14067         * math/auto-libm-test-out: Regenerated.
14068         * sysdeps/i386/fpu/libm-test-ulps: Update.
14069         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14071         * math/auto-libm-test-in: Add more tests of atan.
14072         * math/auto-libm-test-out: Regenerated.
14073         * sysdeps/i386/fpu/libm-test-ulps: Update.
14074         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14076 2015-04-08  Florian Weimer  <fweimer@redhat.com>
14078         * elf/pldd.c (main): Rewrite to use struct
14079         scratch_buffer instead of extend_alloca.
14080         * elf/pldd-xx.c (find_maps): Likewise.
14081         * grp/initgroups.c: Include <scratch_buffer.h> instead of
14082         <alloca.h>.
14083         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
14084         scratch_buffer instead of extend_alloca.
14085         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
14086         grp/compat-initgroups.c.
14087         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
14088         Rewrite to use struct scratch_buffer instead of extend_alloca.
14089         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
14090         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
14092 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
14094         * math/auto-libm-test-in: Add more tests of cbrt.
14095         * math/auto-libm-test-out: Regenerated.
14096         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14098         * math/auto-libm-test-in: Add more tests of cabs.
14099         * math/auto-libm-test-out: Regenerated.
14100         * sysdeps/i386/fpu/libm-test-ulps: Update.
14101         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14103         [BZ #18210]
14104         [BZ #18211]
14105         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
14106         (__ieee754_atan2): Set FE_TONEAREST mode for internal
14107         computations.
14108         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
14109         clog10.
14110         * math/auto-libm-test-out: Regenerated.
14111         * sysdeps/i386/fpu/libm-test-ulps: Update.
14112         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14114         [BZ #18197]
14115         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
14116         (atan): Set FE_TONEAREST mode for internal computations.
14117         * math/auto-libm-test-in: Add more tests of atan.
14118         * math/auto-libm-test-out: Regenerated.
14120 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
14122         [BZ #17930]
14123         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
14125 2015-04-07  Florian Weimer  <fweimer@redhat.com>
14127         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
14129 2015-04-07  Florian Weimer  <fweimer@redhat.com>
14131         * include/scratch_buffer.h: New file.
14132         * malloc/scratch_buffer_grow.c: Likewise.
14133         * malloc/scratch_buffer_grow_preserve.c: Likewise.
14134         * malloc/scratch_buffer_set_array_size.c: Likewise.
14135         * malloc/tst-scratch_buffer.c: Likewise.
14136         * malloc/Makefile (routines): Add scratch_buffer_grow.
14137         (tests): Add test case.
14138         * malloc/Versions (GLIBC_PRIVATE): Export
14139         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
14140         __libc_scratch_buffer_set_array_size.
14142 2015-04-06  Richard Henderson  <rth@redhat.com>
14144         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
14145         * sysdeps/alpha/fpu/libm-test-ulps: Update.
14147         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
14148         unsigned int before printing.
14150 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14152         [BZ #17596]
14153         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
14154         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
14156 2015-04-02  Florian Weimer  <fweimer@redhat.com>
14158         * include/libc-internal.h (libc_max_align_t): Define.
14160 2015-04-02  Andreas Schwab  <schwab@suse.de>
14162         [BZ #16850]
14163         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
14165 2015-04-02  Mel Gorman  <mgorman@suse.de>
14167         [BZ #17195]
14168         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
14169         as well as the main arena.
14171 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
14173         [BZ #18185]
14174         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
14175         sharing L2 cache to 2 for Silvermont/Knights Landing.
14177 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
14179         [BZ #17711]
14180         * config.make.in (have-protected-data): New.
14181         * configure.ac: Check linker support for protected data symbol.
14182         * configure: Regenerated.
14183         * elf/Makefile (modules-names): Add tst-protected1moda and
14184         tst-protected1modb if $(have-protected-data) is yes.
14185         (tests): Add tst-protected1a and tst-protected1b if
14186         $(have-protected-data) is yes.
14187         ($(objpfx)tst-protected1a): New.
14188         ($(objpfx)tst-protected1b): Likewise.
14189         (tst-protected1modb.so-no-z-defs): Likewise.
14190         * elf/tst-protected1a.c: New file.
14191         * elf/tst-protected1b.c: Likewise.
14192         * elf/tst-protected1mod.h: Likewise.
14193         * elf/tst-protected1moda.c: Likewise.
14194         * elf/tst-protected1modb.c: Likewise.
14196 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
14198         [BZ #17711]
14199         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
14200         indicates it is called from do_lookup_x on relocation against
14201         protected data, skip the data definion in the executable from
14202         copy reloc.
14203         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
14204         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
14205         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
14206         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
14207         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
14208         otherwise to 0.
14209         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
14210         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
14211         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
14212         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
14213         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
14214         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
14216 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
14218         * sysdeps/nptl/pthread.h: Remove duplicate definition of
14219         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
14221 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
14223         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
14224         THREAD_SETMEM_NC.
14225         * sysdeps/x86_64/nptl/tls.h: Ditto.
14227 2015-03-27  Roland McGrath  <roland@hack.frob.com>
14229         * dlfcn/tststatic.c (main): Converted to ...
14230         (do_test): ... this.
14231         (TEST_FUNCTION): New macro.
14232         Include test-skeleton.c.
14234 2015-03-26  Alan Modra  <amodra@gmail.com>
14236         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
14237         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
14238         zero for undefined weak.
14239         (elf_machine_plt_conflict): Similarly.
14241 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
14243         * math/auto-libm-test-in: Add more tests of acosh, asinh and
14244         atanh.
14245         * math/auto-libm-test-out: Regenerated.
14246         * sysdeps/i386/fpu/libm-test-ulps: Update.
14247         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14249         * math/auto-libm-test-in: Add another test of asin.
14250         * math/auto-libm-test-out: Regenerated.
14251         * sysdeps/i386/fpu/libm-test-ulps: Update.
14252         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14254         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
14255         Remove macro.
14256         (LLL_EBX_REG): Likewise.
14257         (LLL_ENTER_KERNEL): Likewise.
14259         * math/auto-libm-test-in: Add more tests of asin.
14260         * math/auto-libm-test-out: Regenerated.
14261         * sysdeps/i386/fpu/libm-test-ulps: Update.
14262         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14264         [BZ #18138]
14265         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
14266         libc_do_syscall_args): New structure.
14267         (INTERNAL_SYSCALL_MAIN_0): New macro.
14268         (INTERNAL_SYSCALL_MAIN_1): Likewise.
14269         (INTERNAL_SYSCALL_MAIN_2): Likewise.
14270         (INTERNAL_SYSCALL_MAIN_3): Likewise.
14271         (INTERNAL_SYSCALL_MAIN_4): Likewise.
14272         (INTERNAL_SYSCALL_MAIN_5): Likewise.
14273         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
14274         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
14275         Replace conditional definitions by conditional definitions of ....
14276         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
14277         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
14278         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
14279         (libpthread-sysdep_routines): Add libc-do-syscall.
14280         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
14281         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
14282         to __NR_futex not 240.
14284 2015-03-25  Alan Modra  <amodra@gmail.com>
14286         * NEWS: Advertise TLS optimization.
14287         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
14288         (DT_PPC_NUM): Increment.
14289         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
14290         (CHECK_STATIC_TLS): Use here.
14291         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
14292         TLS descriptors.
14293         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14294         * sysdeps/powerpc/dl-tls.c: New file.
14295         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
14296         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
14297         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
14298         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
14299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
14300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
14301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
14303 2015-03-25  Alan Modra  <amodra@gmail.com>
14305         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
14306         for overlapping .opd entries" to "support...".
14307         * sysdeps/powerpc/powerpc64/configure: Regenerate
14309 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
14311         * math/auto-libm-test-in: Add more tests of acos.
14312         * math/auto-libm-test-out: Regenerated.
14313         * sysdeps/i386/fpu/libm-test-ulps: Update.
14314         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14316         * math/auto-libm-test-in: Add more tests of expm1.
14317         * math/auto-libm-test-out: Regenerated.
14318         * sysdeps/i386/fpu/libm-test-ulps: Update.
14319         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14321 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
14323         * math/auto-libm-test-in: Add more tests of cosh and sinh.
14324         * math/auto-libm-test-out: Regenerated.
14325         * sysdeps/i386/fpu/libm-test-ulps: Update.
14326         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14328         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
14329         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14331         * math/auto-libm-test-in: Add more tests of log2.
14332         * math/auto-libm-test-out: Regenerated.
14333         * sysdeps/i386/fpu/libm-test-ulps: Update.
14334         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14336 2015-03-23  Roland McGrath  <roland@hack.frob.com>
14338         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
14339         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
14340         _IO_IS_APPENDING bit in READ_WRITE instead.
14342 2015-03-23  Florian Weimer  <fweimer@redhat.com>
14344         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
14345         (__determine_cpumask_size): Replace extend_alloca with a
14346         variable-length array.  Do not treat res == 0 as an error.
14348 2015-03-23  Florian Weimer  <fweimer@redhat.com>
14350         [BZ #18100]
14351         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
14352         and integer overflow.
14353         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
14354         (main): Add integer overflow tests.
14355         * manual/pattern.texi (Calling Wordexp): Document additional use
14356         for WRDE_SYNTAX.
14358 2015-03-23  Alan Modra  <amodra@gmail.com>
14360         * config.h.in: Remove HAVE_ASM_PPC_REL16.
14361         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
14362         and false branch of conditional.
14363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
14364         Likewise.
14366 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
14368         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
14369         libc-modules.h
14370         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
14371         unused declaration of _hurd_intr_rpc_msg_in_trap.
14372         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
14373         defined instead of whether it is non-zero.
14374         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
14375         input constraint instead of both input and output constraint.  Use ecx
14376         clobber instead of %ecx.
14377         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
14378         mutex_unlock): Use a statement expression instead of an expression list.
14379         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
14380         type to vm_size_t instead of vm_address_t.
14381         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
14382         defined instead of whether it is non-zero.
14383         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
14384         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
14385         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
14386         comparisons with mapaddr.
14387         * nscd/nscd-client.h: Include <time.h>.
14388         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
14389         9th parameter to __vm_region instead of int.
14390         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
14391         * scripts/check-local-headers.sh (exclude): Add device/,
14392         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
14393         cthreads.h.
14395 2015-03-19  Roland McGrath  <roland@hack.frob.com>
14397         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
14398         to account for alignment padding.
14399         * sysdeps/arm/memmove.S: Likewise.
14401 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
14403         * sysdeps/unix/sysv/linux/generic/README: New file.
14405 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
14407         [BZ #18138]
14408         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
14409         (futex_abstimed_wait)
14410         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
14411         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
14412         of lll_futex_timed_wait.
14414 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
14416         [BZ #17542]
14417         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
14419 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
14421         [BZ #17090]
14422         [BZ #17620]
14423         [BZ #17621]
14424         [BZ #17628]
14425         * NEWS: Update.
14426         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
14427         entries with Static TLS too.  Skip entries past the end of the
14428         allocated DTV, from Alan Modra.
14429         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
14430         Static TLS DTV entry set up from...
14431         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
14432         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
14433         * nptl/allocatestack.c (init_one_static_tls): ... and here...
14434         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
14435         for Static TLS.
14436         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
14437         that the slot we find is associated with the given map before
14438         using its generation count.
14439         * nptl_db/db_info.c: Include ldsodefs.h.
14440         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
14441         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
14442         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
14443         (link_map::l_tls_offset): New struct field.
14444         (dtv_t::counter): Likewise.
14445         (rtld_global): New struct.
14446         (_rtld_global): New rtld variable.
14447         (dl_tls_dtv_slotinfo_list): New rtld global field.
14448         (dtv_slotinfo_list): New struct.
14449         (dtv_slotinfo): Likewise.
14450         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
14451         (td_lookup): Rename to...
14452         (td_mod_lookup): ... this.  Use new mod parameter instead of
14453         LIBPTHREAD_SO.
14454         * nptl_db/td_thr_tlsbase.c: Include link.h.
14455         (dtv_slotinfo_list, dtv_slotinfo): New functions.
14456         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
14457         addresses even if the DTV is out of date or missing them.
14458         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
14459         index zero-length arrays.
14460         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
14461         (td_lookup): Make it a macro implemented in terms of...
14462         (td_mod_lookup): ... this declaration.
14463         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
14464         (DB_MAIN_VARIABLE): Likewise.
14466 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
14468         [BZ #18134]
14469         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
14471 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
14473         * stdlib/setenv.c (__add_to_environ): Revert previous change.
14475 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
14477         [BZ #18128]
14478         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
14479         (atomic_add, atomic_increment_and_test)
14480         (atomic_decrement_and_test): Fix 64-bit arithmetic.
14482 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
14484         * stdlib/setenv.c (__add_to_environ):
14485         Dump core quickly if setenv (..., NULL, ...) is called.
14487 2015-03-13  Roland McGrath  <roland@hack.frob.com>
14489         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
14490         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
14491         all the necessary asm magic in one place.
14492         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
14493         using those.
14495 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
14497         [BZ #14906]
14498         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
14499         traced file mtime. Use consistent log message.
14500         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
14501         (register_traced_file): Call install_watches. Always set mtime.
14502         (invalidate_cache): Iterate over all trace files. Call install_watches.
14503         (inotify_check_files): Don't inline. Handle watching parent
14504         directories and configuration file movement in and out.
14505         (handle_inotify_events): New function.
14506         (main_loop_poll): Call handle_inotify_events.
14507         (main_loop_epoll): Likewise.
14508         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
14509         (struct traced_file): Use array of inotify fds. Add parent directory,
14510         and basename.
14511         (struct database_dyn): Remove unused file_mtime.
14512         (init_traced_file): New inline function.
14513         (define_traced_file): New macro.
14514         * nss/nss_db/db-init.c: Use define_traced_file.
14515         (_nss_db_init): Use init_traced_file.
14516         * nss/nss_files/files-init.c: Use define_traced_file.
14517         (_nss_files_init): Use init_traced_file.
14519 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
14521         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
14522         [_LIBC]: Do not include <stdlib.h>.
14523         [!_LIBC] (abort): Remove declaration.
14524         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
14525         _FP_STATIC_ASSERT instead of conditionally calling abort.
14526         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
14527         (_FP_EXTEND_CNAN): Likewise.
14528         (FP_TRUNC): Likewise.
14529         (__FP_CLZ): Likewise.
14530         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
14532 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
14534         * manual/string.texi (XPG basename): Fix prototype.
14536 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
14538         [BZ #18080]
14539         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
14540         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
14541         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
14542         (__setcontext): Likewise.
14543         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
14544         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
14545         Call rt_sigprocmask syscall one time to set new signal mask
14546         and retrieve the current signal mask instead of two calls.
14547         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
14548         (__swapcontext): Likewise.
14549         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
14550         * stdlib/tst-setcontext2.c: New file.
14552 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
14554         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14556 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
14558         [BZ #18093]
14559         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
14560         the wrong size.
14562 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
14564         [BZ #18043]
14565         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
14567 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
14569         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
14570         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
14571         Remove define.
14572         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
14573         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
14574         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
14575         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
14576         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
14577         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
14578         define.
14579         * nptl_db/td_symbol_list.c (td_lookup): Remove
14580         HAVE_ASM_GLOBAL_DOT_NAME code.
14581         * sysdeps/powerpc/powerpc64/configure.ac: Remove
14582         HAVE_ASM_GLOBAL_DOT_NAME check.
14583         * sysdeps/powerpc/powerpc64/configure: Regenerate.
14584         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
14585         (DOT_LABEL): Remove define.
14586         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
14587         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
14588         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
14589         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
14590         (__TLS_GET_ADDR): Likewise.
14591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
14592         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
14594 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
14596         [BZ #18111]
14597         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
14598         (_FPU_SETCW): Initialize cw from fpsr before storing.
14599         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
14600         (fesetexceptflag): Rewrite using fpu_control.h.
14601         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
14603 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
14605         [BZ #18110]
14606         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
14607         asms.
14608         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
14610 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
14612         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
14613         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
14614         abort.
14615         (_FP_FMA): Likewise.
14616         (_FP_DIV): Likewise.
14618 2015-03-10  Roland McGrath  <roland@hack.frob.com>
14620         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
14621         with 0 in that case.
14622         * Makefile (summarize-tests): New canned sequence, factored out of
14623         commands for targets tests and xtests.  Display summary lines that
14624         don't start with PASS: or XFAIL: rather than ones that do start with
14625         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
14626         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
14627         do start with ERROR: or FAIL:.
14628         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
14629         (except for [$(build-shared) = yes]).
14630         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
14631         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
14632         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
14633         * nptl/Makefile: Revert 2015-03-04 changes.
14634         [$(CXX) empty] (tests-unsupported): New variable.
14635         * debug/Makefile: Likewise.
14637         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
14638         gnulib file.  Replace __attribute with __attribute__ throughout.
14640 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
14642         * sysdeps/hppa/fpu/libm-test-ulps: Update.
14644 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
14646         [BZ #18104]
14647         * math/auto-libm-test-in: Add another test of pow.
14648         * math/auto-libm-test-out: Regenerated.
14650 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14652         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
14653         $(config-cflags-nofma).
14655 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
14657         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
14658         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
14659         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
14660         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
14661         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
14662         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
14663         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
14664         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
14665         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
14666         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
14667         Add comment on closing #endif.
14669 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
14671         * posix/wordexp.c (CHAR_IN_SET): New macro.
14672         (parse_param): Use it.
14674 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14676         * sysdeps/powerpc/fpu/libm-test-ulps: update.
14678 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
14680         [BZ #18043]
14681         * posix/wordexp.c (parse_param): Fix buffer overflow.
14682         * posix/wordexp-test.c (test_case): Add test case.
14684 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
14686         [BZ #18042]
14687         * posix/wordexp.c (parse_backtick): Fix off-by-one.
14688         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
14690 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
14692         [BZ #18043]
14693         * posix/wordexp-test.c (test_case): Add test for BZ #18043
14694         (do_bz18043): Delete.
14695         (at_page_end): New.
14696         (testit): Refactor to have words at the edge of unreadable page.
14698 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
14700         [BZ #16734]
14701         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
14702         Cleanup read-only streams as well.
14703         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
14705 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14707         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
14708         <bits/libc-lockP.h>
14710 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
14712         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
14713         on [__KERNEL__].
14714         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
14715         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
14716         * soft-fp/op-common.h (_FP_DECL): Likewise.
14718 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
14720         * elf/ifuncdep2.c (global): Replace
14721         __attribute__((visibility("protected"))) with
14722         asm (".protected global").
14723         * elf/ifuncmod1.c (global): Likewise.
14724         * elf/ifuncmod5.c (global): Likewise.
14726 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
14728         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
14729         <asm/sfp-machine.h> instead of <sfp-machine.h>.
14731 2015-03-06  Roland McGrath  <roland@hack.frob.com>
14733         * manual/install.texi (Configuring and compiling):
14734         Document test-wrapper-env-only.
14735         * INSTALL: Regenerated.
14737 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
14739         [BZ #18043]
14740         * posix/wordexp.c (parse_param): Fix buffer overflow.
14741         * posix/wordexp-test.c (do_bz18043): Add test case.
14743 2015-03-06  Vincent Bernat  <vincent@bernat.im>
14745         * time/tst-strptime2.c (do_test): Ensure failing tests are
14746         reported correctly.
14747         * time/tst-strptime3.c (do_test): Likewise.
14749 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
14751         Fix aio_error thread-safety.
14752         * sysdeps/pthread/aio_error.c: New file
14753         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
14754         synchronization.
14756 2015-03-06  Florian Weimer  <fweimer@redhat.com>
14758         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
14759         (group_number, vfprintf): Use it.
14760         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
14761         (JUMP, REF): Use it.
14762         (WORK_BUFFER_SIZE): New enum constant.
14763         (process_arg, vfprintf): Use it.
14765 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
14767         * manual/errno.texi (Error Messages): Complete example function
14768         by adding missing #define.
14769         (program_invocation_name): Add statement indicating GNU
14770         extension and reference which header file declares the variable.
14771         (program_invocation_short_name): Likewise.
14773 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
14775         * manual/errno.texi (Error Messages): Delete strerror ISO C89
14776         compatibility note.
14778 2015-03-05  Roland McGrath  <roland@hack.frob.com>
14780         * Makeconfig (test-wrapper-env-only): New variable.
14781         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
14782         then use that with $(test-wrapper-env-only) rather than using
14783         $(test-wrapper-env) $(run-program-env) $($*-ENV).
14785 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
14787         [BZ #18082]
14788         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
14789         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
14790         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
14791         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
14792         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
14793         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
14794         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
14795         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
14796         Likewise.
14797         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
14798         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
14799         Likewise.
14800         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
14801         Likewise.
14802         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
14803         Likewise.
14804         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
14805         Likewise.
14806         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
14807         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
14808         Likewise.
14809         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
14810         Likewise.
14811         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
14812         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
14814 2015-03-04  Roland McGrath  <roland@hack.frob.com>
14816         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
14817         (ETH_ALEN): New macro.
14818         (struct ether_addr): Use it for length of ether_addr_octet.
14820         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
14821         (setdb): Don't call __nss_configure_lookup for "rpc".
14822         (do_test): Don't call test_rpc.
14823         (output_rpcent, test_rpc): Functions moved ...
14824         * sunrpc/test-rpcent.c: ... to this new file.
14825         * sunrpc/Makefile (tests): Add it.
14827         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
14828         __xpg_sigpause.
14829         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
14830         * nptl/tst-signal6.c: Likewise.
14831         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
14832         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
14834         * configure.ac (libc_cv_cxx_link_ok): New check.
14835         Reset CXX to empty if it fails to link.
14836         * configure: Regenerated.
14837         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
14838         bug-atexit3-lib only if $(CXX) is nonempty.
14839         * nptl/Makefile (tests): Likewise for tst-cancel24.
14840         (tests, tests-static): Likewise for tst-cancel24-static.
14841         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
14842         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
14843         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
14844         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
14846 2015-03-04  Andreas Schwab  <schwab@suse.de>
14848         [BZ #17631]
14849         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
14850         for non-GCC compilers.
14851         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
14852         Likewise.
14854 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
14856         [BZ #17776]
14857         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
14858         integer before bitwise and assembly operations.
14859         (feclearexcept): Likewise.
14860         * math/test-fenvinline.c: New file.
14861         * math/Makefile: Add test-fenvinline test.
14863 2015-03-03  Alan Modra  <amodra@gmail.com>
14865         [BZ #16512]
14866         * scripts/localplt.awk: Strip off symbol version.
14867         * NEWS: Mention bug fix.
14869 2015-03-02  Roland McGrath  <roland@hack.frob.com>
14871         * sysdeps/pthread/timer_routines.c
14872         (timer_free_list, thread_free_list, thread_active_list): Make static.
14874 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
14876         [BZ #17779]
14877         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
14878         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
14879         Undefine.
14880         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14881         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
14882         Likewise.
14883         * sysdeps/unix/sysv/linux/sh/kernel-features.h
14884         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
14885         Likewise.
14887 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
14889         [BZ #18036]
14890         * posix/fnmatch_loop.c (END): Detect invalid pattern.
14891         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
14893 2015-03-02  Andreas Schwab  <schwab@suse.de>
14895         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
14896         variable name.
14898 2015-03-02  Florian Weimer  <fweimer@redhat.com>
14900         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
14901         Return error status.
14903 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
14905         [BZ #15969]
14906         * locale/findlocale.c (_nl_find_locale): Introduce const
14907         version of loc_name and drop unsafe type casts.
14909 2015-02-27  Roland McGrath  <roland@hack.frob.com>
14911         * dlfcn/tststatic2.c (main): Converted to ...
14912         (do_test): ... this.
14913         (TEST_FUNCTION): New macro.
14914         Include test-skeleton.c.
14916 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
14918         [BZ #17711]
14919         * elf/Makefile (tests): Add vismain only if PIE is enabled.
14920         (tests-pie): Add vismain.
14921         (CFLAGS-vismain.c): New.
14922         * elf/vismain.c: Add comments for PIE requirement.
14924 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
14926         [BZ #18046]
14927         [BZ #18047]
14928         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
14929         0x1p-56L as threshold for just returning the argument.
14930         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
14931         0x1p-32L as threshold for just returning the argument.
14932         * math/auto-libm-test-in: Add more tests of atanh.
14933         * math/auto-libm-test-out: Regenerated.
14934         * sysdeps/i386/fpu/libm-test-ulps: Update.
14935         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
14937 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
14939         * string/bcopy.c (bcopy): Call memmove for performance.
14941 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
14943         * string/bzero.c (__bzero): Call memset for performance.
14945 2015-02-27  John David Anglin  <dave.anglin@bell.net>
14947         [BZ #18068]
14948         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
14949         to 00100000.
14951 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
14953         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
14955 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
14957         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
14958         (__kernel_standard): Use CSTR macro when setting exc.name.
14959         * sysdeps/ieee754/Makefile [$(subdir) = math]
14960         (CFLAGS-k_standard.c): Remove variable.
14962         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
14963         setting p and q from "else if" to "else".
14964         (qzero): Likewise.
14965         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
14966         (qone): Likewise.
14967         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
14968         (qzerof): Likewise.
14969         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
14970         (qonef): Likewise.
14971         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
14972         (qzero): Likewise.
14973         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
14974         (qone): Likewise.
14976         [BZ #18038]
14977         [BZ #18039]
14978         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
14979         return pi/2 for arguments below 0x1p-113L.
14980         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
14981         return pi/2 for arguments below 0x1p-106L.
14982         * math/auto-libm-test-in: Add more tests of acos.
14983         * math/auto-libm-test-out: Regenerated.
14985         [BZ #16351]
14986         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
14987         (MO): New macro.
14988         (__ieee754_asin): Force underflow exception for results with small
14989         absolute value.
14990         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
14991         (MO): New macro.
14992         (__ieee754_asinf): Force underflow exception for results with
14993         small absolute value.
14994         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
14995         (__ieee754_asin): Force underflow exception for results with small
14996         absolute value.
14997         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
14998         (__ieee754_asinf): Force underflow exception for results with
14999         small absolute value.
15000         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
15001         (__ieee754_asinl): Force underflow exception for results with
15002         small absolute value.
15003         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
15004         (__ieee754_asinl): Force underflow exception for results with
15005         small absolute value.
15006         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
15007         (__ieee754_asinl): Force underflow exception for results with
15008         small absolute value.
15009         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
15010         Include <math.h>.
15011         * math/auto-libm-test-in: Do not mark underflow exceptions as
15012         possibly missing for bug 16351.
15013         * math/auto-libm-test-out: Regenerated.
15015         [BZ #18030]
15016         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
15017         of power of 2 down when low part has opposite sign.
15018         * math/libm-test.inc (logb_test_data): Add more tests.
15020 2015-02-26  Andreas Schwab  <schwab@suse.de>
15022         [BZ #18032]
15023         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
15024         over collating symbol inside a bracket expression.  Minor cleanup.
15025         * posix/tst-fnmatch3.c (do_test): Add test case.
15027 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
15029         [BZ #18029]
15030         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
15031         Adjust exponent of power of 2 down when low part has opposite
15032         sign.
15033         * math/libm-test.inc (ilogb_test_data): Add more tests.
15035 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
15037         [BZ #15969]
15038         * locale/findlocale.c (_nl_find_locale): Fix constness error in
15039         the previous change.
15041         [BZ #15969]
15042         * locale/findlocale.c (_nl_find_locale): Retry archive search
15043         after alias expansion.
15045 2015-02-25  Roland McGrath  <roland@hack.frob.com>
15047         * iconv/tst-iconv3.c (main): Converted to ...
15048         (do_test): ... this.
15049         (TEST_FUNCTION): New macro.
15050         Include test-skeleton.c.
15052         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
15053         (convert): Make function static.
15054         (test_unalign): Likewise.  Add const to argument pointee types.
15055         (main): Replace with static function do_test.
15056         Print "Succeeded." only if RET is zero.
15057         (TEST_FUNCTION): New macro.
15058         Include test-skeleton.c.
15060         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
15061         returns a null pointer.
15063 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15065         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
15066         to __memcpy_ppc only for static builds.
15068 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
15070         [BZ #18020]
15071         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
15072         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
15073         * math/auto-libm-test-in: Add more tests of asinh.
15074         * math/auto-libm-test-out: Regenerated.
15075         * sysdeps/i386/fpu/libm-test-ulps: Update.
15076         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15078 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
15080         [BZ #15850]
15081         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
15082         and ip6_mtuinfo definitions here.
15083         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
15084         in this define too.  Update comment.
15086 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
15088         * elf/sprof.c (load_shobj): Tweak error message to match others.
15090 2015-02-24  Kevin Easton  <kevin@guarana.org>
15092         [BZ #16145] (partial fix)
15093         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
15094         to reduce lock contention.
15096 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
15098         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
15099         (struct timex): Update time comment.
15100         (ADJ_SETOFFSET): Define.
15102 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
15104         [BZ #18019]
15105         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
15106         2**56 not 2**28 as threshold for log (2x) formula.
15107         * math/auto-libm-test-in: Add more tests of acosh.
15108         * math/auto-libm-test-out: Regenerated.
15109         * sysdeps/i386/fpu/libm-test-ulps: Update.
15110         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15112 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
15114         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
15115         parenthesis around the buf assignment.
15116         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
15118 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
15120         [BZ #16783]
15121         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
15122         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
15123         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
15124         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
15125         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
15126         * math/libm-test.inc (scalb_test_data): Add more tests.
15128 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
15130         [BZ #17916]
15131         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
15132         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
15134 2015-02-24  Eric Rannaud  <e@nanocritical.com>
15136         [BZ #17523]
15137         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
15138         * io/bits/fcntl2.h (open): Use it.
15139         (openat): Likewise.
15140         * io/open.c (__libc_open): Likewise.
15141         * io/open64.c (__libc_open64): Likewise.
15142         * io/open64_2.c (__open64_2): Likewise.
15143         * io/open_2.c (__open_2): Likewise.
15144         * io/openat.c (__openat): Likewise.
15145         * io/openat64.c (__openat64): Likewise.
15146         * io/openat64_2.c (__openat64_2): Likewise.
15147         * io/openat_2.c (__openat_2): Likewise.
15148         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
15149         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
15150         * sysdeps/posix/open64.c (__libc_open64): Likewise.
15151         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
15152         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
15153         (__open_nocancel): Likewise.
15154         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
15155         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
15156         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
15158 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
15160         [BZ #14841]
15161         * resolv/gethnamaddr.c (getanswer): Skip logging if
15162         RES_USE_DNSSEC is set.
15163         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
15165 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
15167         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
15169 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
15171         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
15172         201304L, for Unicode 7.
15174 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
15176         [BZ #17836]
15177         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
15178         shared library.  Add gmon-start.os otherwise.
15179         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
15180         $(objpfx)gmon-start.os if builing shared library.
15181         ($(objpfx)g$(static-start-installed-name)): Likewise.
15183 2015-02-23  Andreas Schwab  <schwab@suse.de>
15185         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
15187 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
15189         [BZ #17269]
15190         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
15191         (enlarge_userbuf): Likewise.
15193 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
15195         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
15196         * math/atest-exp.c (TIMEOUT): Adjust to 200.
15197         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
15198         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
15200 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
15202         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
15203         expression inside statement expression.
15205 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
15207         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
15208         <sysdeps/nptl/lowlevellock.h> and remove macros and
15209         functions that are now defined there.
15210         (SYS_futex): Remove.
15211         (lll_compare_and_swap): Remove.
15212         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
15214 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
15216         [BZ #17999]
15217         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
15218         instead of scandirat.
15219         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
15220         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
15221         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
15222         __scandirat.
15223         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
15224         (__scandirat): Declare.  Use libc_hidden_proto.
15225         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
15226         Remove variable.
15227         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
15229 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
15231         [BZ #15319]
15232         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
15233         (MO): New macro.
15234         (__ieee754_atan2): For results with small absolute value, force
15235         underflow exception and remove excess range and precision from
15236         return value.
15237         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
15238         (MO): New macro.
15239         (__ieee754_atan2f): For results with small absolute value, force
15240         underflow exception and remove excess range and precision from
15241         return value.
15242         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
15243         (MO): New macro.
15244         (__atan): For results with small absolute value, force underflow
15245         exception and remove excess range and precision from return value.
15246         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
15247         (MO): New macro.
15248         (__atanf): For results with small absolute value, force underflow
15249         exception and remove excess range and precision from return value.
15250         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
15251         <math.h>.
15252         (__ieee754_atan2): Force underflow exception for results with
15253         small absolute value.
15254         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
15255         <math_private.h>.
15256         (atan): Force underflow exception for results with small absolute
15257         value.
15258         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
15259         (__atanf): Force underflow exception for results with small
15260         absolute value.
15261         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
15262         <math.h>.
15263         (__atanl): Force underflow exception for results with small
15264         absolute value.
15265         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
15266         (__atanl): Force underflow exception for results with small
15267         absolute value.
15268         * sysdeps/x86/fpu/bits/mathinline.h
15269         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
15270         (__ieee754_atan2): Only define inline for long double.
15271         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
15272         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
15273         * math/auto-libm-test-in: Do not mark underflow exceptions as
15274         possibly missing for bug 15319.  Add more tests of atan2.
15275         * math/auto-libm-test-out: Regenerated.
15276         * math/libm-test.inc (casin_test_data): Do not mark underflow
15277         exceptions as possibly missing for bug 15319.
15278         (casinh_test_data): Likewise.
15279         * sysdeps/i386/fpu/libm-test-ulps: Update.
15281 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
15283         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
15284         * sysdeps/mips/bits/endian.h: Fix comments.
15286 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
15288         [BZ #17996]
15289         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
15290         (hdestroy_r): Likewise.
15291         (hsearch_r): Likewise.
15292         (__hcreate_r): Declare and use libc_hidden_proto.
15293         (__hdestroy_r): Likewise.
15294         (__hsearch_r): Likewise.
15295         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
15296         (hcreate): Call __hcreate_r instead of hcreate_r.
15297         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
15298         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
15299         as weak alias of __hcreate_r.
15300         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
15301         __hdestroy_r.
15302         (hsearch_r): Rename to __hsearch_r and define as weak alias of
15303         __hsearch_r.
15304         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
15305         Remove variable.
15306         (test-xfail-XPG4/search.h/linknamespace): Likewise.
15307         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
15308         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
15309         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
15311 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
15313         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
15314         arena_lock into a single arena_get.
15316 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
15318         * dl-reloc.c: Inlucde libc-internal.h.
15319         (_dl_try_allocate_static_tls): Call ALIGN_UP.
15320         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
15321         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
15322         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
15323         (grow_heap): Likewise.
15324         * malloc/malloc.c: Include libc-internal.h.
15325         (do_check_malloc): Call powerof2.
15326         (sysmalloc): Use pagesize. Call ALIGN_UP.
15327         (systrim): Use pagesize.
15328         (mremap_chunk): Use pagesize. Call ALIGN_UP.
15329         (__libc_valloc): Use pagesize.
15330         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
15332 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
15334         [BZ #17991]
15335         * include/sys/resource.h (__getrlimit64): Declare.  Use
15336         libc_hidden_proto.
15337         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
15338         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
15339         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
15340         getrlimit64.
15341         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
15342         __getrlimit64.
15343         [!getrlimit64] (getrlimit64): Define as weak alias of
15344         __getrlimit64.  Use libc_hidden_weak.
15345         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
15346         using __getrlimit64 not __new_getrlimit64.
15347         (__GI_getrlimit64): Likewise.
15348         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
15349         Likewise.
15350         (__GI_getrlimit64): Likewise.
15351         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
15352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
15353         (getrlimit): Add __getrlimit64 alias.
15354         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
15355         Likewise.
15356         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
15357         Remove variable.
15358         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
15359         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
15361 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
15363         * libio/fileops.c: Add missing sys/mman.h
15364         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
15366 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
15368         * manual/math.texi (Errors in Math Functions): Clarify goals
15369         regarding inexact and underflow exceptions.
15371 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
15373         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
15374         * sysdeps/mips/memset.S: Ditto.
15376 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
15378         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
15380 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
15382         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
15383         (__v1longjmp): Remove versioned symbol.
15384         (__v1siglongjmp): Remove alias and versioned symbol.
15385         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
15386         (__v2siglongjmp): Likewise.
15388 2015-02-16  Torvald Riegel  <triegel@redhat.com>
15390         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
15392 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
15394         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
15396 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
15398         [BZ #17987]
15399         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
15400         zero result does not depend on the sign resulting from
15401         subtraction.
15402         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
15403         Likewise.
15404         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
15405         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
15406         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
15407         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
15408         * math/libm-test.inc (remquo_test_data): Add more tests.
15410 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
15412         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
15413         Problem reported by J William Piggott.
15415 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
15417         [BZ #17978]
15418         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
15419         products 4 * y and 2 * y where those would overflow.
15420         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
15421         Likewise.
15422         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
15423         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
15424         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
15425         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
15426         * math/libm-test.inc (remquo_test_data): Add more tests.
15428         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
15430         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
15431         [defined _COMPILING_NEWLIB].
15432         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
15433         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
15435         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
15436         [!defined __mips_isa_rev || __mips_isa_rev < 6].
15438 2015-02-16  Torvald Riegel  <triegel@redhat.com>
15440         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
15441         acquired.
15443 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
15445         [BZ #17792]
15446         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
15447         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
15448         HOST_STACK_END_ADDR): Likewise.
15450 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
15452         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
15453         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
15454         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
15456 2015-02-13  Roland McGrath  <roland@hack.frob.com>
15458         * sysdeps/generic/c++-types.data: New file.
15459         * sysdeps/generic/ld.abilist: New file.
15460         * sysdeps/generic/libBrokenLocale.abilist: New file.
15461         * sysdeps/generic/libanl.abilist: New file.
15462         * sysdeps/generic/libc.abilist: New file.
15463         * sysdeps/generic/libcrypt.abilist: New file.
15464         * sysdeps/generic/libdl.abilist: New file.
15465         * sysdeps/generic/libm.abilist: New file.
15466         * sysdeps/generic/libpthread.abilist: New file.
15467         * sysdeps/generic/libresolv.abilist: New file.
15468         * sysdeps/generic/librt.abilist: New file.
15470 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
15472         [BZ #17569]
15473         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
15474         Compute absolute value of x as modified by fmod, not original
15475         value of x.
15476         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
15477         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
15478         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
15479         RUN_TEST_ffI_f1_mod8.
15480         (remquo_test_data): Add more tests.
15482 2015-02-13  Roland McGrath  <roland@hack.frob.com>
15484         * sysdeps/init_array/pt-crti.S: New file.
15486 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
15488         [BZ #17967]
15489         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
15490         __builtin_fmaf instead of relying on contraction of a * b + c.
15492 2015-02-12  J William Piggott  <elseifthen@gmx.com>
15494         [BZ #17969]
15495         * manual/time.texi: correct the zoneinfo path in the TZ Variable
15496         node.
15498 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
15500         [BZ #17964]
15501         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
15502         __builtin_fma instead of relying on contraction of a * b + c.
15504 2015-02-12  Roland McGrath  <roland@hack.frob.com>
15506         * Makeconfig (ASFLAGS): Add -Werror=undef.
15507         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
15508         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
15509         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
15511         * Makeconfig (after-link): New variable.
15512         (+link-pie, +link-pie-tests): Use it.
15513         (+link-static, +link-static-tests): Likewise.
15514         (+link, +link-tests): Likewise.
15515         * Makerules (build-module, build-module-asneeded): Likewise.
15516         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
15517         Likewise.
15518         * elf/Makefile ($(objpfx)ld.so): Likewise.
15520 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
15522         [BZ #17965]
15523         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
15524         both struct timeval and struct timespec.
15526 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
15528         [BZ #16560]
15529         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15530         and redefine.
15531         (__ieee754_exp2l): Do not multiply small fractional parts by
15532         M_LN2l.
15533         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
15534         small argument.
15535         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
15536         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
15537         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
15538         * math/auto-libm-test-in: Add more tests of exp2.
15539         * math/auto-libm-test-out: Regenerated.
15541 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15543         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
15544         unaligned path.
15546 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15548         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
15549         little endian.
15551 2015-02-12  Andreas Schwab  <schwab@suse.de>
15553         [BZ #15790]
15554         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
15555         Filter out elision flags from value returned in kind.
15556         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
15557         * nptl/tst-pthread-mutexattr.c: New file.
15559 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15561         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
15562         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
15563         into gnu-gnu, and update comment to refer to abi-tags.
15565 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
15567         [BZ #15467]
15568         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
15569         (__sincos): Set errno to EDOM for infinite argument.
15570         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
15571         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
15572         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
15573         (__sincosl): Set errno to EDOM for infinite argument.
15574         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
15575         (__sincosl): Set errno to EDOM for infinite argument.
15576         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
15577         (__sincosl): Set errno to EDOM for infinite argument.
15578         * math/libm-test.inc (sincos_test_data): Test errno setting.
15580 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
15582         * string/strxfrm_l.c: Remove #define STRCMP.
15583         * string/strcoll_l.c: Remove #define STRLEN.
15584         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
15585         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
15587 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
15589         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
15590         * sysdeps/mips/mips32/sfp-machine.h: ... here.
15591         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
15592         * sysdeps/mips/mips64/Makefile: ... here.
15593         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
15594         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
15595         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
15596         * sysdeps/mips/mips64/sfp-machine.h: ... here.
15597         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
15598         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
15599         * sysdeps/mips/mips64/n64/Implies: Likewise.
15601 2015-02-10  Roland McGrath  <roland@hack.frob.com>
15603         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
15604         <sys/time.h>, <string.h>, and <errno.h>.
15605         (dest_offset, dest_address, value, zero): Remove unused variables.
15606         (ldouble): Remove typedef.
15607         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
15608         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
15609         1).  Fix code style.
15610         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
15611         (check): Function removed.
15612         (CHECK): New macro.
15613         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
15614         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
15615         Don't call set_sigaction_FP and remove_sigaction_FP here.
15616         (ldouble_test): Just use 'long double' as macro argument, no need for
15617         the 'ldouble' typedef.
15618         (do_test): Set up SIGFPE handler at start, using plain signal rather
15619         than sigaction.  Fix code style.
15621 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
15623         [BZ #17949]
15624         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
15625         jump label.
15627 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
15629         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
15630         * sysdeps/powerpc/powerpc32/configure: Regenerated.
15632         * sysdeps/powerpc/configure.ac: Remove file.
15633         * sysdeps/powerpc/configure: Likewise.
15635         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
15636         [sysdep_routines]: Remove wordcopy-power6 object.
15637         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
15638         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
15639         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
15640         (__memmove_ppc32): Likewise.
15641         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
15642         file.
15643         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
15644         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
15645         Remove preprocessor.
15647         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
15648         [sysdep_routines]: Remove wide chars objects.
15649         [wcsmbs]: New rule for wide char objects.
15651         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
15652         Remove wordcopy-power6 obejct.
15653         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
15654         Use local call for wordcopy and memcpy symbols.
15655         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
15656         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
15657         implementation for loader.
15658         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
15660         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
15661         Remove wordcopy-power7 object.
15662         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
15663         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
15664         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
15665         (_wordcopy_fwd_dest_aligned): Likewise.
15666         (_wordcopy_bwd_aligned): Likewise.
15667         (_wordcopy_bwd_dest_aligned): Likewise.
15669         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
15670         Rewrite to call __memmove_ppc instead of include default
15671         implementation.
15673         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
15674         Remove wide chars objects.
15675         [wcsmbs]: New rule for wide char objects.
15677 2015-02-09  Andreas Schwab  <schwab@suse.de>
15679         [BZ #17912]
15680         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
15681         in terms of __O_DIRECTORY.
15683 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15685         * time/getdate.c: Include <stdbool.h>.
15686         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
15687         call PTR_MANGLE.
15688         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
15689         PTR_DEMANGLE.
15691 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
15693         Add ersatz _Static_assert on older C hosts
15694         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
15695         pre-C11 C platform that is not known to support _Static_assert.
15697 2015-02-07  Richard Braun  <rbraun@sceen.net>
15699         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
15700         sigstate.
15701         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
15703 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15705         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
15706         priority against unexistent AIO_PRIO_DELTA_MAX.
15707         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
15708         instead of int.
15709         * misc/fchflags.c (fchflags): Likewise.
15710         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
15711         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
15712         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
15713         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
15714         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
15715         Declare macros.
15716         [__USE_MISC] (chflags, fchflags): Declare functions.
15717         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
15718         EINVAL when nfds is greater than FD_SETSIZE.
15719         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
15720         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
15721         45.
15722         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
15723         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
15724         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
15725         MACH_RCV_TIMED_OUT.
15726         * hurd/hurd/signal.h (_hurd_self_sigstate,
15727         _hurd_critical_section_lock, _hurd_critical_section_unlock):
15728         Explicit casts from void *.
15729         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
15730         * abi-tags: Rename gnu-gnu os into gnu.
15732         [BZ #4719]
15733         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
15734         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
15735         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
15736         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
15737         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
15738         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
15740         [BZ #17944]
15741         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
15742         duplicates ADDR->sun_path with sockaddr LEN limitation.
15743         * sysdeps/mach/hurd/connect.c: Include <string.h>
15744         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
15745         * sysdeps/mach/hurd/sendmsg.c: Likewise.
15746         * sysdeps/mach/hurd/sendto.c: Likewise.
15747         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
15748         implementing it by hand.
15750 2015-02-06  Roland McGrath  <roland@hack.frob.com>
15752         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
15753         Use sfi_breg on ldr.
15754         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
15755         Likewise.
15757         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
15758         it's defined.
15759         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
15760         Test SIGSETXID only if it's defined.
15762         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
15764         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
15765         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
15767         * nptl/tst-align2.c: Moved ...
15768         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
15769         * nptl/Makefile (tests): Remove tst-align2.
15770         * sysdeps/unix/sysv/linux/Makefile
15771         [$(subdir) = nptl] (tests): Add tst-align-clone.
15772         * nptl/tst-getpid1.c: Moved ...
15773         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
15774         * nptl/tst-getpid2.c: Moved ...
15775         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
15776         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
15777         * sysdeps/unix/sysv/linux/Makefile
15778         [$(subdir) = nptl] (tests): ... here.
15779         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
15780         * sysdeps/unix/sysv/linux/Makefile
15781         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
15783         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
15784         Drop trailing \n from perror argument.  Use return rather than exit.
15786         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
15787         on [SA_SIGINFO].
15788         * nptl/tst-cancel21.c (do_test): Likewise.
15789         * debug/tst-backtrace6.c: Include <signal.h> first thing.
15790         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
15791         [!SA_SIGINFO]: Make it a stub test.
15793         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
15794         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
15796         * posix/tst-getlogin.c: Move to ...
15797         * login/tst-getlogin.c: ... here.
15798         * posix/Makefile (tests): Move tst-getlogin to ...
15799         * login/Makefile (tests): ... here.
15801         * libio/tst-atime.c (do_test): Move local variables SV and E
15802         inside [ST_NOATIME] conditional.
15804         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
15806         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
15808         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
15809         (wait_code): New function replaces macro.
15810         Call nanosleep rather than syscall.
15812         * nptl/pt-system.c: Rewritten.  Put everything under
15813         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
15814         Use IFUNC to redirect when possible.
15816         * nptl/pt-longjmp.c: Rewritten.  Put everything under
15817         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
15818         Use IFUNC to redirect when possible.
15820         * nptl/pt-fork.c: Rewritten.  Put everything under
15821         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
15822         Use IFUNC to redirect when possible.
15823         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
15825         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
15826         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
15827         unconditionally nowadays.  This included the only reference to
15828         __vdso_clock_gettime that appears outside libc proper.
15829         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
15830         Remove version set (containing only __vdso_clock_gettime).
15831         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
15832         Add attribute_hidden.
15833         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
15834         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
15835         libc_hidden_data_def.
15836         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
15837         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
15839         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
15840         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
15841         setrpcent, and getrpcport to ...
15842         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
15843         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
15844         getrpcbynumber_r, and getrpcent_r to ...
15845         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
15846         * inet/getrpcbyname.c: Moved ...
15847         * sunrpc/getrpcbyname.c: ... here.
15848         * inet/getrpcbyname_r.c: Moved ...
15849         * sunrpc/getrpcbyname_r.c: ... here.
15850         * inet/getrpcbynumber.c: Moved ...
15851         * sunrpc/getrpcbynumber.c: ... here.
15852         * inet/getrpcbynumber_r.c: Moved ...
15853         * sunrpc/getrpcbynumber_r.c: ... here.
15854         * inet/getrpcent.c: Moved ...
15855         * sunrpc/getrpcent.c: ... here.
15856         * inet/getrpcent_r.c: Moved ...
15857         * sunrpc/getrpcent_r.c: ... here.
15858         * inet/Makefile (routines): Move those to ...
15859         * sunrpc/Makefile (routines): ... here.
15860         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
15861         the $(subdirs) list.
15862         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
15863         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
15864         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
15865         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
15867         * elf/Makefile (routines): Include $(all-dl-routines), not just
15868         $(dl-routines).
15869         (rtld-routines): Likewise.  Use = rather than :=.
15870         * sysdeps/aarch64/Makefile [$(subdir) = elf]
15871         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
15872         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
15873         * sysdeps/arm/Makefile: Likewise.
15874         * sysdeps/i386/Makefile: Likewise.
15875         * sysdeps/x86_64/Makefile: Likewise.
15876         * sysdeps/hppa/Makefile [$(subdir) = elf]
15877         (sysdep_routines, sysdep-rtld-routines): Don't add
15878         $(sysdep-dl-routines) to these.
15879         * sysdeps/ia64/Makefile: Likewise.
15880         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
15881         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
15882         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
15883         Don't add dl-static to these; sysdep-dl-routines alone is enough.
15884         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
15885         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
15886         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
15887         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
15888         * sysdeps/powerpc/Makefile [$(subdir) = elf]
15889         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
15890         these; sysdep-dl-routines alone is enough.
15892 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
15894         [BZ #17932]
15895         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
15896         where multiplication results in zero and third argument is finite
15897         and nonzero.
15898         * math/auto-libm-test-in: Add more tests of fma.
15899         * math/auto-libm-test-out: Regenerated.
15901         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
15902         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
15903         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
15904         (_FP_CMP_EQ): Likewise.
15905         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
15907         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
15908         extra argument CHECK_NAN.  Redefine as wrapper around
15909         _FP_EXTEND_CNAN.
15911 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
15913         * version.h (RELEASE): Set to "stable".
15914         (VERSION): Set to "2.21"
15915         * include/features.h (__GLIBC_MINOR__): Set to 21.
15917         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
15919 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
15920             Paul Eggert  <eggert@cs.ucla.edu>
15922         [BZ #16618]
15923         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
15924         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
15925         size in bytes. Store needed elements in wpmax. Use needed size
15926         in bytes for extend_alloca.
15928 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
15930         * manual/install.texi: Latest tested versions are GCC 4.9.2,
15931         binutls 2.25, and texinfo 5.2.
15932         * INSTALL: Regenerate.
15933         * sysdeps/nios2/configure: Regenerate.
15934         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
15935         * manual/contrib.texi: Update.
15936         * po/be.po: Update.
15937         * po/bg.po: Update.
15938         * po/ca.po: Update.
15939         * po/cs.po: Update.
15940         * po/da.po: Update.
15941         * po/de.po: Update.
15942         * po/el.po: Update.
15943         * po/eo.po: Update.
15944         * po/es.po: Update.
15945         * po/fi.po: Update.
15946         * po/fr.po: Update.
15947         * po/gl.po: Update.
15948         * po/hr.po: Update.
15949         * po/hu.po: Update.
15950         * po/ia.po: Update.
15951         * po/id.po: Update.
15952         * po/it.po: Update.
15953         * po/ja.po: Update.
15954         * po/ko.po: Update.
15955         * po/lt.po: Update.
15956         * po/nb.po: Update.
15957         * po/nl.po: Update.
15958         * po/pl.po: Update.
15959         * po/pt_BR.po: Update.
15960         * po/ru.po: Update.
15961         * po/rw.po: Update.
15962         * po/sk.po: Update.
15963         * po/sl.po: Update.
15964         * po/sv.po: Update.
15965         * po/tr.po: Update.
15966         * po/uk.po: Update.
15967         * po/vi.po: Update.
15968         * po/zh_CN.po: Update.
15969         * po/zh_TW.po: Update.
15971         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
15972         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
15973         * sysdeps/hppa/dl-irel.h: Remove #warning.
15974         * sysdeps/hppa/entry.h: Provide prototype for
15975         __canonicalize_funcptr_for_compare and cast argument.
15976         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
15977         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
15978         * sysdeps/hppa/sotruss-lib.c: New file.
15979         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
15980         (atomic_compare_and_exchange_val_acq): Use __typeof__.
15981         (atomic_compare_and_exchange_bool_acq): Likewise.
15982         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
15983         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
15985         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
15986         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
15987         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
15989 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
15991         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
15992         called function in non-PIC case.
15994 2015-01-31  David S. Miller  <davem@davemloft.net>
15996         * sysdeps/sparc/sparc32/bits/atomic.h
15997         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
15998         unlock not after it.
15999         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
16000         volatile register usage warnings from the compiler.
16002         * sysdeps/sparc/nptl/sem_init.c: Delete.
16003         * sysdeps/sparc/nptl/sem_post.c: Delete.
16004         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
16005         * sysdeps/sparc/nptl/sem_wait.c: Delete.
16006         * sysdeps/sparc/sparc32/sem_init.c: New file.
16007         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
16008         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
16009         padding explicitly initialized.
16010         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
16011         padding for in-semaphore spinlock.
16012         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
16013         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
16014         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
16015         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
16016         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
16017         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
16018         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
16019         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
16020         version.
16021         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
16022         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
16024 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
16026         [BZ #17801]
16027         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16028         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
16029         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
16030         New.
16031         (index_AVX_Fast_Unaligned_Load): Likewise.
16032         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
16033         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
16034         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
16035         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
16036         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
16037         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
16038         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
16039         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
16040         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
16042 2015-01-29  Andreas Schwab  <schwab@suse.de>
16044         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
16046 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
16048         [BZ #17892]
16049         * nscd/nscd_stat.c (send_stats): Initialize DATA.
16051 2015-01-28  Martin Sebor  <msebor@redhat.com>
16053         * math/README.libm-test: Clarify. Add "How to read the test output."
16055 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
16057         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
16058         Define to 0.
16060 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
16062         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
16063         (__HAVE_64B_ATOMICS): Define to 0.
16065 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
16067         [BZ #17885]
16068         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
16069         value to set as new flag.
16071         [BZ #16576]
16072         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
16073         and use _ARCH_PPCSQ instead.
16074         (__ieee754_sqrt): Likewise.
16075         (__ieee754_sqrtf): Likewise.
16076         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
16077         _ARCH_PPCSQ is defined.
16078         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
16079         fsqrt instruction.
16080         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
16081         _ARCH_PPCSQ is defined.
16082         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
16083         fsqrts instruction.
16084         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
16086 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16088         * iconv/loop.c: Suppress array out of bound warning caused by GCC
16089         bug (GCC BZ #64739).
16091 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
16093         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
16094         Mark _retval as used.
16095         (lll_futex_wake_unlock): Likewise.
16096         (lll_futex_timed_wait_requeue_pi): Likewise.
16098         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
16099         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
16100         register variables.
16102         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
16103         libm_hidden_def.
16105         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
16106         (__bswap_64): Mark as __always_inline.
16108 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
16110         [BZ #15378]
16111         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
16112         when none of the search directories exist.
16114 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
16116         [BZ #17869]
16117         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
16118         power8 in .machine directive.
16120         [BZ #17868]
16121         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
16122         set dependency from opd value.
16124 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
16126         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16127         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
16128         architecture.
16130 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
16132         [BZ #17870]
16133         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
16134         with uint64_t.
16135         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
16136         (uint64_t) 1.
16137         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
16138         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
16139         Replace 1UL with (uint64_t) 1.
16140         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
16141         int with uint64_t.
16143 2015-01-23  Roland McGrath  <roland@hack.frob.com>
16145         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
16146         (if_freenameindex): Likewise.
16148         * resource/getrlimit64.c: Add missing libc_hidden_def.
16150 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
16152         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
16153         __label__.
16154         (_FP_FMA): Likewise.
16155         (_FP_TO_INT_ROUND): Likewise.
16156         (_FP_FROM_INT): Likewise.
16158 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16160         [BZ #16418]
16161         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
16162         Make code racy and cancel safe.
16164 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
16166         * sysdeps/arm/unwind-resume.h: Fix copyright year.
16167         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
16168         attribution.
16170         * pwd/tst-getpw.c: Rewrite.
16172         [BZ #17702]
16173         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
16174         (modules-names): Add moddummy1 and moddummy2.
16175         ($(objpfx)tst-rec-dlopen): Define.
16176         * dlfcn/moddummy1.c: New file.
16177         * dlfcn/moddummy2.c: New file.
16178         * dlfcn/tst-rec-dlopen.c: New file.
16179         * elf/dl-cache.c (_dl_load_cache_lookup):
16180         Return char*. Copy result with alloca/strcpy/strdup.
16181         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
16182         returns char*. Free cached. If not saving realname
16183         free cached.
16184         * elf/dl-open.c (dl_open_worker): Do not assert that
16185         _r_debug->r_state is RT_CONSISTENT.
16186         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
16187         returns char*.
16189 2015-01-21  Torvald Riegel  <triegel@redhat.com>
16190             Carlos O'Donell  <carlos@redhat.com>
16192         [BZ #12674]
16193         * nptl/sem_waitcommon.c: New file.
16194         * nptl/sem_wait.c: Include sem_waitcommon.c.
16195         (__sem_wait_cleanup, do_futex_wait): Remove.
16196         (__new_sem_wait): Adapt.
16197         (__new_sem_trywait): New function.
16198         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
16199         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
16200         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
16201         (sem_timedwait): Adapt.
16202         * nptl/sem_post.c (__new_sem_post): Adapt.
16203         (futex_wake): New function.
16204         (__old_sem_post): Add release MO fence.
16205         * nptl/sem_open.c (sem_open): Adapt.
16206         * nptl/sem_init.c (__new_sem_init): Adapt.
16207         (futex_private_if_supported): New function.
16208         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
16209         (__old_sem_getvalue): Add using previous code.
16210         * sysdeps/nptl/internaltypes.h: Adapt.
16211         * nptl/tst-sem13.c (do_test): Adapt.
16212         * nptl/tst-sem11.c (main): Adapt.
16213         * nptl/sem_trywait.c: Remove.
16214         * nptl/DESIGN-sem.txt: Remove.
16215         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
16216         (gen-as-const-headers): Remove structsem.sym.
16217         * nptl/structsem.sym: Remove.
16218         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
16219         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
16220         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
16221         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
16222         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
16223         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
16224         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
16225         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
16226         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
16227         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
16228         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
16229         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
16230         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
16231         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
16232         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
16233         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
16234         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
16235         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
16236         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
16237         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
16238         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
16239         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
16241 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
16243         * INSTALL: Regenerated.
16245         * po/libc.pot: Regenerated.
16247 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
16248             Sandra Loosemore  <sandra@codesourcery.com>
16249             Andrew Jenner  <andrew@codesourcery.com>
16250             Joseph Myers  <joseph@codesourcery.com>
16251             Nathan Sidwell  <nathan@codesourcery.com>
16253         * NEWS: Mention new Nios II port.
16254         * sysdeps/nios2/Implies: New file.
16255         * sysdeps/nios2/Makefile: New file.
16256         * sysdeps/nios2/Subdirs: New file.
16257         * sysdeps/nios2/Versions: New file.
16258         * sysdeps/nios2/__longjmp.S: New file.
16259         * sysdeps/nios2/abort-instr.h: New file.
16260         * sysdeps/nios2/backtrace.c: New file.
16261         * sysdeps/nios2/bits/endian.h: New file.
16262         * sysdeps/nios2/bits/fenv.h: New file.
16263         * sysdeps/nios2/bits/link.h: New file.
16264         * sysdeps/nios2/bits/setjmp.h: New file.
16265         * sysdeps/nios2/bsd-_setjmp.S: New file.
16266         * sysdeps/nios2/bsd-setjmp.S: New file.
16267         * sysdeps/nios2/configure: New generated file.
16268         * sysdeps/nios2/configure.ac: New file.
16269         * sysdeps/nios2/crti.S: New file.
16270         * sysdeps/nios2/crtn.S: New file.
16271         * sysdeps/nios2/dl-init.c: New file.
16272         * sysdeps/nios2/dl-machine.h: New file.
16273         * sysdeps/nios2/dl-sysdep.h: New file.
16274         * sysdeps/nios2/dl-tls.h: New file.
16275         * sysdeps/nios2/dl-trampoline.S: New file.
16276         * sysdeps/nios2/gccframe.h: New file.
16277         * sysdeps/nios2/gmp-mparam.h: New file.
16278         * sysdeps/nios2/jmpbuf-offsets.h: New file.
16279         * sysdeps/nios2/jmpbuf-unwind.h: New file.
16280         * sysdeps/nios2/ldsodefs.h: New file.
16281         * sysdeps/nios2/libc-tls.c: New file.
16282         * sysdeps/nios2/libm-test-ulps: New file.
16283         * sysdeps/nios2/machine-gmon.h: New file.
16284         * sysdeps/nios2/math-tests.h: New file.
16285         * sysdeps/nios2/math_private.h: New file.
16286         * sysdeps/nios2/memusage.h: New file.
16287         * sysdeps/nios2/nptl/Makefile: New file.
16288         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
16289         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
16290         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
16291         * sysdeps/nios2/nptl/pthreaddef.h: New file.
16292         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
16293         * sysdeps/nios2/nptl/tls.h: New file.
16294         * sysdeps/nios2/preconfigure: New file.
16295         * sysdeps/nios2/s_fma.c: New file.
16296         * sysdeps/nios2/s_fmaf.c: New file.
16297         * sysdeps/nios2/setjmp.S: New file.
16298         * sysdeps/nios2/sfp-machine.h: New file.
16299         * sysdeps/nios2/sotruss-lib.c: New file.
16300         * sysdeps/nios2/stackguard-macros.h: New file.
16301         * sysdeps/nios2/stackinfo.h: New file.
16302         * sysdeps/nios2/start.S: New file.
16303         * sysdeps/nios2/sysdep.h: New file.
16304         * sysdeps/nios2/tls-macros.h: New file.
16305         * sysdeps/nios2/tst-audit.h: New file.
16306         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
16307         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
16308         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
16309         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
16310         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
16311         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
16312         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
16313         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
16314         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
16315         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
16316         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
16317         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
16318         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
16319         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
16320         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
16321         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
16322         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
16323         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
16324         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
16325         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
16326         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
16327         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
16328         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
16329         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
16330         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
16331         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
16332         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
16333         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
16334         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
16335         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
16336         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
16337         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
16338         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
16339         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
16340         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
16341         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
16342         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
16343         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
16344         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
16345         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
16346         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
16347         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
16348         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
16349         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
16351 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
16353         [BZ #17844]
16354         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
16355         (getutent): Use weak_alias in non SHARED case
16356         and default_symbol_version in SHARED case.
16357         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
16358         (getutent_r, pututline): Likewise.
16359         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
16360         (getutid): Likewise.
16361         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
16362         (getutid_r): Likewise.
16363         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
16364         (getutline): Likewise.
16365         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
16366         (getutline_r): Likewise.
16367         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
16368         (updwtmp): Likewise.
16370 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
16372         [BZ #17848]
16373         * sysdeps/s390/s390-32/memcmp.S
16374         (memcmp_g5): Rename to __memcmp_g5.
16375         * sysdeps/s390/s390-32/memcpy.S
16376         (memcpy_g5): Rename to __memcpy_g5.
16377         Jump to __memcpy_mvcle instead of memcpy_mvcle.
16378         (memcpy_mvcle) Rename to __memcpy_mvcle.
16379         * sysdeps/s390/s390-32/memset.S
16380         (memset_g5): Rename to __memset_g5.
16381         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
16382         (IFUNC_RESOLVE): Prefix ifunc-resolve function
16383         and use prefixed functions.
16384         * sysdeps/s390/s390-32/multiarch/memcmp.S
16385         (memcmp_z196): Rename to __memcmp_z196.
16386         (memcmp_z10): Rename to __memcmp_z10.
16387         (memcmp): Set alias to __memcmp_g5.
16388         (bcmp): Set alias to __memcmp_g5.
16389         * sysdeps/s390/s390-32/multiarch/memcpy.S
16390         (memcpy_z196): Rename to __memcpy_z196.
16391         Jump to __memcpy_mvcle instead of memcpy_mvcle.
16392         (memcpy_z10): Rename to __memcpy_z10.
16393         Jump to __memcpy_mvcle instead of memcpy_mvcle.
16394         (memcpy): Set alias to __memcpy_g5.
16395         * sysdeps/s390/s390-32/multiarch/memset.S
16396         (memset_z196): Rename to __memset_z196.
16397         Jump to __memset_mvcle instead of memset_mvcle.
16398         (memset_z10): Rename to __memset_z10.
16399         Jump to __memset_mvcle instead of memset_mvcle.
16400         (memset_mvcle) Rename to __memset_mvcle.
16401         (memset): Set alias to __memset_g5.
16402         * sysdeps/s390/s390-64/memcmp.S
16403         (memcmp_z900): Rename to __memcmp_z900.
16404         * sysdeps/s390/s390-64/memcpy.S
16405         (memcpy_z900): Rename to __memcpy_z900.
16406         Jump to __memcpy_mvcle instead of memcpy_mvcle.
16407         (memcpy_mvcle) Rename to __memcpy_mvcle.
16408         * sysdeps/s390/s390-64/memset.S
16409         (memset_z900): Rename to __memset_z900.
16410         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
16411         (IFUNC_RESOLVE): Prefix ifunc-resolve function
16412         and use prefixed functions.
16413         * sysdeps/s390/s390-64/multiarch/memcmp.S
16414         (memcmp_z196): Rename to __memcmp_z196.
16415         (memcmp_z10): Rename to __memcmp_z10.
16416         (memcmp): Set alias to __memcmp_z900.
16417         (bcmp): Set alias to __memcmp_z900.
16418         * sysdeps/s390/s390-64/multiarch/memcpy.S
16419         (memcpy_z196): Rename to __memcpy_z196.
16420         Jump to __memcpy_mvcle instead of memcpy_mvcle.
16421         (memcpy_z10): Rename to __memcpy_z10.
16422         Jump to __memcpy_mvcle instead of memcpy_mvcle.
16423         (memcpy): Set alias to __memcpy_z900.
16424         * sysdeps/s390/s390-64/multiarch/memset.S
16425         (memset_z196): Rename to __memset_z196.
16426         Jump to __memset_mvcle instead of memset_mvcle.
16427         (memset_z10): Rename to __memset_z10.
16428         Jump to __memset_mvcle instead of memset_mvcle.
16429         (memset_mvcle) Rename to __memset_mvcle.
16430         (memset): Set alias to __memset_z900.
16432 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
16434         [BZ #17748]
16435         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
16436         __fesetenv instead of fesetenv.
16438 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
16440         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
16441         macro.
16443 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16445         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
16446         regression on LE.
16448         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
16449         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
16450         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
16451         strncmp-power8 object.
16452         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16453         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
16454         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
16455         * NEWS: Update.
16457 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16458             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16460         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
16461         trailing byte check.
16463 2015-01-13  David S. Miller  <davem@davemloft.net>
16465         * include/signal.h (__sigreturn): Guard with __USE_MISC.
16467 2015-01-13  Roland McGrath  <roland@hack.frob.com>
16469         * login/logout.c (logout): Use memset rather than bzero.
16470         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
16471         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
16472         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
16473         (_gethtbyaddr): Likewise.
16474         * locale/programs/simple-hash.c (bcopy): Macro removed.
16476 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16478         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
16479         Add strcmp-power8 object.
16480         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16481         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
16482         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
16483         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
16484         __strcmp_power8 implementation.
16485         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
16486         * NEWS: Update.
16488         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
16489         Add strncpy-power8 and stpncpy-power8 objects.
16490         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16491         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
16492         implementations.
16493         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
16494         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
16495         __stpncpy_power8 implementation.
16496         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
16497         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
16498         __strncpy_power8 implementation.
16499         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
16500         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
16501         * NEWS: Update.
16503         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
16504         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
16505         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
16507         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
16508         strncat-power8 object.
16509         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
16510         __strcat_power8 implementation.
16511         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16512         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
16513         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
16514         optimized strcat for power8.
16516         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
16517         strcpy-power8 and stpcpy-power8 objects.
16518         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16519         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
16520         implementations.
16521         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
16522         multiarch stpcpy implementation for POWER8.
16523         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
16524         multiarch strcpy implementation for POWER8.
16525         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
16526         __strcpy_power8 function.
16527         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
16528         stpcpy for POWER8.
16529         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
16530         strcpy for POWER8.
16531         * NEWS: Update.
16533 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
16535         [BZ #16009]
16536         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
16537         weights and rules. Use do_xfrm_cached if data fits in cache,
16538         do_xfrm otherwise.  Moved former main loop to...
16539         * (do_xfrm_cached): New function.
16540         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
16541         find_idx, find_position and stack_push.
16542         * (find_idx): New function.
16543         * (find_position): Likewise.
16544         * localedata/sort-test.sh: Added test run for do_xfrm.
16545         * localedata/xfrm-test.c (main): Added command line option
16546         -nocache to run the test with strings that are too large for
16547         the STRXFRM cache.
16549 2015-01-13  Torvald Riegel  <triegel@redhat.com>
16551         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
16552         variable to lll_futex_wake call, not the value itself.
16554 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
16556         [BZ #17803]
16557         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
16558         twom64.  Adjust value to 0x1p-64L.
16559         (__scalblnl): Only return standard underflowing result for K <=
16560         -64 not K <= -63; adjust exponent for underflowing result by 64
16561         not 63.
16562         * math/libm-test.inc (scalbn_test_data): Add more tests.
16563         (scalbln_test_data): Likewise.
16565         [BZ #17834]
16566         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
16567         0x1p63L.
16568         (__scalblnl): Get new exponent of adjusted subnormal value from ES
16569         not HX.
16570         * math/libm-test.inc (scalbn_test_data): Add more tests.
16571         (scalbln_test_data): Likewise.
16573 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16574             Stefani Seibold  <stefani@seibold.net>
16576         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
16577         (sysdep_routines): Add dl-vdso here, ...
16578         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
16579         (sysdep_routines): ... not here.
16580         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
16581         fallback when vDSO is not presented.
16582         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
16583         Define with libc_hidden_proto/libc_hidden_data_def definitions.
16584         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
16585         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
16586         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
16587         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
16588         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
16589         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
16590         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
16591         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
16592         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
16593         fallback configurable symbol when vDSO is not available.
16594         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
16595         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
16596         be able to redefine fallback symbol when vDSO is not available.
16597         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
16598         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
16600 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16602         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
16603         (TLS_INIT_TP): Add tm_capable initialization.
16604         (TLS_DEFINE_INIT_TP): Likewise.
16605         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
16606         TCB.
16607         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
16608         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
16609         calculation.
16610         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
16611         transactoion is lock elision is built and TCB tm_capable is set.
16612         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
16613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
16614         (INTERNAL_SYSCALL_NCS): Likewise.
16615         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
16616         (INTERNAL_SYSCALL_NCS): Likewise.
16617         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
16619         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
16620         for powerpc.
16621         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
16622         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
16623         and remove it for 32 bits case.
16624         [pthread_rwlock_t] (__rwelision): New field for lock elision.
16625         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
16626         initialization.
16627         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
16628         Disable lock elision with rdlocks if elision is not available.
16630         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
16631         (sysdep_routines): Add lock elision objects.
16632         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
16633         [pthread_mutex_t] (__spins): Rework to add lock elision field.
16634         [pthread_mutex_t] (__elision): Add field.
16635         [__PTHREAD_SPINS]: Adjust to init lock elision field.
16636         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
16637         elision definitions for powerpc.
16638         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
16639         implementation of lock elision for powerpc.
16640         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
16641         implementation of timed lock elision for powerpc.
16642         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
16643         implementation of trylock with lock elision for powerpc.
16644         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
16645         implementaion of unlock for lock elision for powerpc.
16646         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
16647         automatic enable lock elision for mutexes.
16648         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
16649         transaction execution definitions for powerpc.
16650         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
16651         definitions.
16652         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
16653         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
16654         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
16655         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
16656         * NEWS: Update.
16658 2015-01-09  Roland McGrath  <roland@hack.frob.com>
16660         * sysdeps/posix/shm-directory.c: Use <> rather than ""
16661         for #include of <shm-directory.h>.
16663 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
16665         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
16666         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
16668 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
16670         [BZ #17791]
16671         * NEWS: Mention bug fix.
16672         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
16673         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
16674         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
16676 2015-01-09  Torvald Riegel <triegel@redhat.com>
16678         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
16680 2015-01-09  Torvald Riegel <triegel@redhat.com>
16682         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
16684 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
16686         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
16687         pointer and cast to uintptr_t.
16689 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
16691         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
16692         removed.
16693         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
16695 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
16697         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
16698         of 0.
16700 2015-01-08  Roland McGrath  <roland@hack.frob.com>
16702         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
16703         <nptl/pthreadP.h> instead.
16704         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
16706         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
16707         already defined.
16708         [__SIGRTMIN] (init): Function removed.
16709         [__SIGRTMIN] (initialized): Variable removed.
16710         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
16711         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
16712         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
16713         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
16714         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
16715         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
16716         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
16717         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
16718         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
16719         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
16720         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
16721         * sysdeps/nptl/allocrtsig.c: New file.
16722         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
16723         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
16724         * sysdeps/generic/testrtsig.h: File removed.
16726         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
16727         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
16729         * nptl/nptl-init.c (pthread_functions): Conditionalize
16730         .ptr__nptl_setxid initialization on [SIGSETXID].
16732         * sysdeps/nptl/sys/procfs.h: New file.
16733         * nptl_db/Makefile (headers): Add it.
16734         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
16736         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
16737         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
16738         * nptl/pthread_attr_setaffinity.c: Include it.
16739         * nptl/pthread_setattr_default_np.c: Likewise.
16740         * nptl/check-cpuset.h: New file.
16742 2015-01-08  Richard Henderson  <rth@redhat.com>
16744         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
16745         (CFLAGS-tst-execstack-prog.c): Likewise.
16746         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
16748 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
16749             Sandra Loosemore  <sandra@codesourcery.com>
16750             Andrew Jenner  <andrew@codesourcery.com>
16751             Joseph Myers  <joseph@codesourcery.com>
16752             Nathan Sidwell  <nathan@codesourcery.com>
16754         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
16755         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
16756         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
16757         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
16758         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
16759         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
16760         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
16761         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
16762         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
16763         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
16764         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
16765         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
16766         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
16767         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
16768         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
16769         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
16770         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
16772 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16774         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
16775         timespec struct member in syscall macro.
16776         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
16777         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
16778         first timeval struct member in syscall macro.
16779         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
16781 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
16783         [BZ #17748]
16784         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
16785         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
16786         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
16787         __feupdateenv and define as weak alias of __feupdateenv.  Use
16788         libm_hidden_weak.
16789         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
16790         libm_hidden_def.
16791         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
16792         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
16793         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
16794         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
16795         libm_hidden_def.
16796         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
16797         __feupdateenv and define as weak alias of __feupdateenv.  Use
16798         libm_hidden_weak.
16799         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
16800         libm_hidden_def.
16801         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
16802         __feupdateenv and define as weak alias of __feupdateenv.  Use
16803         libm_hidden_weak.
16804         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
16805         libm_hidden_def.
16806         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
16807         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
16808         (__feupdateenv): Likewise.
16809         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
16810         __feupdateenv and define as weak alias of __feupdateenv.  Use
16811         libm_hidden_weak.
16812         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
16813         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
16814         libm_hidden_def.
16815         * sysdeps/tile/math_private.h (__feupdateenv): New inline
16816         function.
16817         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
16818         libm_hidden_def.
16819         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
16820         __feupdateenv instead of feupdateenv.
16821         (default_libc_feupdateenv_test): Likewise.
16822         (libc_feresetround_ctx): Likewise.
16824 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16826         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
16827         prototype.
16829 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
16831         * posix/regcomp.c (parse_bracket_exp): Initialize type to
16832         COLL_SYM in a couple of places to avoid uninitialized variable
16833         wanings on tilegx gcc 4.8.2.
16835 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
16837         * sysdeps/aarch64/strcpy.S: New file.
16838         * sysdeps/aarch64/stpcpy.S: New file.
16839         * NEWS: Updated.
16841 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
16843         * sysdeps/aarch64/strrchr.S: New file.
16844         * NEWS: Updated.
16846 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
16848         [BZ #17658]
16849         * stdlib/setenv.c: Fix memory leak when setting large,
16850         duplicate string.
16852 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
16854         [BZ #17273]
16855         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
16856         and tabs from buffer before parsing fstab entry.
16857         * misc/tst-mntent.c (main): Add test for mount entry with
16858         trailing spaces and tabs.
16860 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
16862         [BZ #17748]
16863         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
16864         * math/fesetround.c (fesetround): Rename to __fesetround and
16865         define as weak alias of __fesetround.  Use libm_hidden_weak.
16866         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
16867         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
16868         * sysdeps/arm/fesetround.c (fesetround): Likewise.
16869         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
16870         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
16871         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
16872         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
16873         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
16874         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
16875         __fesetround_inline.
16876         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
16877         __fesetround_inline instead of __fesetround.
16878         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
16879         __fesetround and define as weak alias of __fesetround.  Use
16880         libm_hidden_weak.  Call __fesetround_inline instead of
16881         __fesetround.
16882         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
16883         __fesetround and define as weak alias of __fesetround.  Use
16884         libm_hidden_weak.
16885         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
16886         Likewise.
16887         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
16888         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
16889         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
16890         * sysdeps/tile/math_private.h (__fesetround): New inline function.
16891         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
16892         __fesetround and define as weak alias of __fesetround.  Use
16893         libm_hidden_weak.
16894         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
16895         __fesetround instead of fesetround.
16896         (default_libc_feholdexcept_setround): Likewise.
16897         (libc_feholdsetround_ctx): Likewise.
16898         (libc_feholdsetround_noex_ctx): Likewise.
16900         [BZ #17748]
16901         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
16902         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
16903         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
16904         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
16905         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
16906         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
16907         define as weak alias of __fesetenv.  Use libm_hidden_weak.
16908         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
16909         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
16910         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
16911         define as weak alias of __fesetenv.  Use libm_hidden_weak.
16912         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
16913         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
16914         define as weak alias of __fesetenv.  Use libm_hidden_weak.
16915         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
16916         libm_hidden_def.
16917         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
16918         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
16919         Likewise.
16920         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
16921         define as weak alias of __fesetenv.  Use libm_hidden_weak.
16922         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
16923         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
16924         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
16925         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
16926         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
16927         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
16928         __fesetenv instead of fesetenv.
16929         (libc_feresetround_noex_ctx): Likewise.
16930         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
16931         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
16932         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
16933         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
16934         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
16935         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
16936         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
16937         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
16938         (__feupdateenv): Likewise.
16939         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
16940         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
16941         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
16942         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
16944 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
16946         [BZ #17806]
16947         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
16948         addresses have been freed.
16950 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
16952         * resolv/res_init.c (__res_vinit): Improve comments about nserv
16953         and nservall.
16955 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
16957         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
16958         Clean up check_pf allocation pattern. addresses
16960 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16962         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
16963         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
16964         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
16965         * nptl/pthread_exit.c (__pthread_exit): Likewise.
16966         * nptl/pthread_join.c (pthread_join): Likewise.
16967         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
16968         * sysdeps/posix/waitid.c (__waitid): Likewise.
16969         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
16970         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
16971         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
16972         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
16973         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
16974         Likewise.
16975         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
16976         (__libc_pread64): Likewise.
16977         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
16978         (__libc_pwrite): Likewise.
16979         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
16980         (__libc_pwrite64): Likewsie.
16981         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
16982         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
16983         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
16984         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
16985         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
16986         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
16987         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
16988         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
16989         Likewise.
16990         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
16991         (__libc_pread64): Likewise.
16992         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
16993         Likewise.
16994         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
16995         (__libc_pwrite64): Likewise.
16996         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
16997         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
16998         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
16999         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
17000         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
17001         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
17002         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
17003         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
17004         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
17005         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
17006         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
17007         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
17008         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
17009         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
17010         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
17011         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
17012         Likewise.
17014 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
17016         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
17017         (CFLAGS-test-double.c): Likewise.
17018         (CFLAGS-test-ldouble.c): Likewise.
17019         (CPPFLAGS-test-ifloat.c): Likewise.
17020         (CPPFLAGS-test-idouble.c): Likewise.
17021         (CPPFLAGS-test-ildoubl.c): Likewise.
17022         (CFLAGS-test-test-fenv.c): Remove variable.
17023         (CFLAGS-test-misc.c): Likewise.
17025 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
17027         [BZ #17797]
17028         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
17029         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
17030         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
17031         CLOCKS_PER_SEC == 1000000.
17032         * time/clocktest.c (main): Replace %ld with %jd and cast to
17033         intmax_t.
17035 2015-01-05  Roland McGrath  <roland@hack.frob.com>
17037         * sysdeps/generic/unwind-resume.h: New file.
17038         * sysdeps/gnu/unwind-resume.c: Include it.
17039         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
17040         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
17041         argument list.
17042         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
17043         global rather than static.
17044         (_Unwind_Resume): Update user.
17045         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
17046         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
17047         rather than static.  Add __attribute__ ((cold)).
17048         (_Unwind_Resume, __gcc_personality_v0): Update callers.
17049         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
17050         * sysdeps/arm/arm-unwind-resume.S: New file.
17051         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
17052         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
17053         * sysdeps/arm/Makefile [$(subdir) = csu]
17054         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
17055         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
17056         Add rt-arm-unwind-resume.
17057         [$(subdir) = nptl]
17058         (libpthread-sysdep_routines, libpthread-shared-only-routines):
17059         Add pt-arm-unwind-resume.
17060         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
17061         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
17063 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
17065         [BZ #17748]
17066         * include/fenv.h (__feholdexcept): Declare.  Use
17067         libm_hidden_proto.
17068         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
17069         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
17070         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
17071         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
17072         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
17073         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
17074         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
17075         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
17076         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
17077         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
17078         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
17079         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
17080         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
17081         (feholdexcept): Likewise.
17082         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
17083         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
17084         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
17085         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
17086         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
17087         __feholdexcept instead of feholdexcept.
17088         (default_libc_feholdexcept_setround): Likewise.
17090 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
17092         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
17093         to avoid using stl/str to align destination.
17095 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
17097         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
17099 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
17101         [BZ #17796]
17102         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
17103         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
17104         Define as weak alias not strong alias.
17106 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
17108         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
17109         bltzal with addiupc.
17110         (RTLD_START): Ditto.
17112 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
17114         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
17115         for __vdso_* functions in declarations.
17116         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
17117         definitions.
17118         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
17119         INTERNAL_VSYSCALL): Use struct return types to check for error.
17121         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
17122         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
17123         function with cast from llround().
17124         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
17125         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
17126         Define.
17128 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
17130         [BZ #17793]
17131         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
17132         Define as weak alias not strong alias.
17134         [BZ #17635]
17135         * ctype/ctype-c99.c: New file.  isblank implementation moved from
17136         ...
17137         * ctype/ctype-extn.c: ... here.
17138         (__isblank_l): Move to ...
17139         * ctype/ctype-c99_l.c: ... here.  New file.
17140         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
17141         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
17142         Remove variable.
17143         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
17144         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
17145         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
17146         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
17147         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
17149         [BZ #17777]
17150         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
17151         (posix_fadvise64): Define as weak alias not strong alias.
17152         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
17153         (posix_fallocate64): Likewise.
17154         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
17155         Remove variable.
17156         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
17157         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
17158         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
17159         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
17160         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
17162 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
17164         [BZ #16191]
17165         * NEWS: Mention bug fix.
17166         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
17167         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
17168         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
17169         (HOST_STACK_END_ADDR): Likewise.
17171 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
17173         [BZ #17748]
17174         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
17175         * math/fegetround.c (fegetround): Rename to __fegetround and
17176         define as weak alias of __fegetround.  Use libm_hidden_weak.
17177         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
17178         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
17179         * sysdeps/arm/fegetround.c (fegetround): Likewise.
17180         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
17181         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
17182         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
17183         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
17184         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
17185         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
17186         Undefine after rather than before function definition; use
17187         parentheses around function name in definition.
17188         (__fegetround): Also undefine macro after function definition.
17189         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
17190         __fegetround and define as weak alias of __fegetround.  Use
17191         libm_hidden_weak.  Do not undefine as macro.
17192         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
17193         Likewise.
17194         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
17195         __fegetround and define as weak alias of __fegetround.  Use
17196         libm_hidden_weak.
17197         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
17198         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
17199         * sysdeps/tile/math_private.h (__fegetround): New inline function.
17200         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
17201         __fegetround and define as weak alias of __fegetround.  Use
17202         libm_hidden_weak.
17203         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
17204         __fegetround instead of fegetround.
17206         [BZ #17782]
17207         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
17208         Condition macro definition on [__USE_MISC].
17210         [BZ #17781]
17211         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
17212         (struct sigaction): Change type of sa_flags field to int.
17214         [BZ #17780]
17215         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
17216         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
17217         __glibc_reserved0.
17219         * nptl/version.c (banner): Use single year in copyright notice.
17221         * NEWS: Update copyright dates.
17222         * catgets/gencat.c (print_version): Likewise.
17223         * csu/version.c (banner): Likewise.
17224         * debug/catchsegv.sh: Likewise.
17225         * debug/pcprofiledump.c (print_version): Likewise.
17226         * debug/xtrace.sh (do_version): Likewise.
17227         * elf/ldconfig.c (print_version): Likewise.
17228         * elf/ldd.bash.in: Likewise.
17229         * elf/pldd.c (print_version): Likewise.
17230         * elf/sotruss.sh: Likewise.
17231         * elf/sprof.c (print_version): Likewise.
17232         * iconv/iconv_prog.c (print_version): Likewise.
17233         * iconv/iconvconfig.c (print_version): Likewise.
17234         * locale/programs/locale.c (print_version): Likewise.
17235         * locale/programs/localedef.c (print_version): Likewise.
17236         * login/programs/pt_chown.c (print_version): Likewise.
17237         * malloc/memusage.sh (do_version): Likewise.
17238         * malloc/memusagestat.c (print_version): Likewise.
17239         * malloc/mtrace.pl: Likewise.
17240         * manual/libc.texinfo: Likewise.
17241         * nptl/version.c (banner): Likewise.
17242         * nscd/nscd.c (print_version): Likewise.
17243         * nss/getent.c (print_version): Likewise.
17244         * nss/makedb.c (print_version): Likewise.
17245         * posix/getconf.c (main): Likewise.
17246         * scripts/test-installation.pl: Likewise.
17247         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
17249 2015-01-02  Will Newton  <will.newton@linaro.org>
17251         * sysdeps/arm/armv7/configure: Removed.
17252         * sysdeps/arm/armv7/configure.ac: Likewise.
17254 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
17256         * All files with FSF copyright notices: Update copyright dates
17257         using scripts/update-copyrights.
17258         * intl/plural.c: Regenerated.
17259         * locale/programs/charmap-kw.h: Likewise.
17260         * locale/programs/locfile-kw.h: Likewise.
17262 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
17264         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
17266 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
17268         [BZ #17748]
17269         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
17270         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
17271         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
17272         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
17273         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
17274         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
17275         define as weak alias of __fegetenv.  Use libm_hidden_weak.
17276         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
17277         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
17278         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
17279         define as weak alias of __fegetenv.  Use libm_hidden_weak.
17280         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
17281         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
17282         define as weak alias of __fegetenv.  Use libm_hidden_weak.
17283         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
17284         libm_hidden_def.
17285         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
17286         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
17287         Likewise.
17288         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
17289         define as weak alias of __fegetenv.  Use libm_hidden_weak.
17290         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
17291         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
17292         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
17293         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
17294         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
17295         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
17296         __fegetenv instead of fegetenv.
17297         (libc_feholdsetround_noex_ctx): Likewise.
17299 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
17301         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
17302         (Elf_MIPS_ABIFlags_v0): New structure.
17303         (EF_MIPS_FP64): Define.
17304         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
17305         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
17306         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
17307         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
17308         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
17309         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
17310         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
17311         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
17312         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
17313         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
17314         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
17315         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
17316         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
17317         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
17318         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
17319         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
17320         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
17321         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
17322         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
17323         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
17324         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
17325         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
17326         field.
17327         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
17328         EF_MIPS_FP64.
17329         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
17330         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
17331         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
17332         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
17333         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
17334         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
17335         * sysdeps/mips/tst-abi-interlink.c: Likewise.
17336         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
17337         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
17338         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
17339         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
17340         record the current FP ABI extension.
17341         (mips-mode-switch): Define to show if kernel headers support mode
17342         switching.
17343         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
17344         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
17345         supported SYSV ABI version to 3.
17346         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
17347         feature.
17349 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17350             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17352         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
17353         path.
17354         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
17356 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
17358         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
17359         __fegetround and redefine to call __fegetround.  Remove condition
17360         on [!__NO_MATH_INLINES].
17361         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
17362         function.
17363         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
17364         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
17365         Remove macro.
17366         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
17367         instead of <fenv_libc.h>.
17368         (__llrintl): Call fegetround instead of __fegetround.
17369         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
17370         instead of <fenv_libc.h>.
17371         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
17372         (__lrintl): Call fegetround instead of __fegetround.
17373         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
17374         instead of <fenv_libc.h>.
17375         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
17376         (__rintl): Call fegetround instead of __fegetround.
17378 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
17380         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
17381         arrays.
17383 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
17385         [BZ #17775]
17386         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
17387         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
17388         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
17390 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
17392         * sysdeps/i386/tls-macros.h: Include <features.h>.
17393         (TLS_LE): Use non-PIC version for GCC >= 5.0.
17394         (TLS_IE): Likewise.
17395         (TLS_LD): Likewise.
17396         (TLS_GD): Likewise.
17397         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
17398         define for GCC >= 5.0.
17400 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
17402         * math/test-fenv.c (test_single_exception, set_single_exc,
17403         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
17404         feexcp_mask_test, feenable_test, fe_single_test): Add
17405         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
17406         case where they are not used.
17407         * math/libm-test.inc: Likewise.
17408         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
17409         unused in the absence of FP rounding/exception support.
17410         * stdio-common/tst-printf-round.c: Likewise.
17411         * stdlib/tst-strtod-round.c: Likewise.
17412         * stdlib/tst-strtod-underflow.c: Likewise.
17414 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
17416         [BZ #17723]
17417         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
17418         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
17419         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
17420         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
17421         libm_hidden_weak.
17422         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
17423         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
17424         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
17425         libm_hidden_def.
17426         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
17427         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
17428         libm_hidden_weak.
17429         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
17430         Likewise.
17431         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
17432         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
17433         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
17434         libm_hidden_weak.
17435         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
17436         libm_hidden_def.
17437         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
17438         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
17439         (__feraiseexcept): Likewise.
17440         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
17441         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
17442         libm_hidden_weak.
17443         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
17444         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
17445         libm_hidden_def.
17446         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
17447         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
17448         Use libm_hidden_def.
17449         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
17450         libm_hidden_def.
17451         (feraiseexcept): Define as weak not strong alias.  Use
17452         libm_hidden_weak.
17453         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
17454         New inline function.  Factored out of ...
17455         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
17456         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
17457         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
17458         feraiseexcept.
17459         * math/w_acos.c (__acos): Likewise.
17460         * math/w_asin.c (__asin): Likewise.
17461         * math/w_ilogb.c (__ilogb): Likewise.
17462         * math/w_j0.c (y0): Likewise.
17463         * math/w_j1.c (y1): Likewise.
17464         * math/w_jn.c (yn): Likewise.
17465         * math/w_log.c (__log): Likewise.
17466         * math/w_log10.c (__log10): Likewise.
17467         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
17468         * sysdeps/aarch64/fpu/math_private.h
17469         (libc_feupdateenv_test_aarch64): Likewise.
17470         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
17471         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
17472         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
17473         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
17474         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
17475         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
17476         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
17477         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
17478         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
17479         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
17481 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
17483         [BZ #17732]
17484         * io/test-utime.c (main): Replace %ld with %jd and cast to
17485         intmax_t.
17486         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
17487         * nptl/tst-mutex5.c: Include <stdint.h>.
17488         (do_test): Replace %ld with %jd and cast to intmax_t.
17489         * posix/tst-regex.c (run_test): Likewise.
17490         (run_test_backwards): Likewise.
17491         * rt/tst-clock.c: Include <stdint.h>.
17492         (clock_test): Replace %ld with %jd and cast to intmax_t.
17493         * rt/tst-cpuclock1.c: Include <stdint.h>.
17494         (do_test): Replace %lu with %ju and cast to uintmax_t.
17495         * rt/tst-cpuclock2.c: Include <stdint.h>.
17496         (do_test): Replace %lu with %ju and cast to uintmax_t.
17497         * rt/tst-mqueue1.c: Include <stdint.h>.
17498         (check_attrs): Replace %ld with %jd and cast to intmax_t.
17499         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
17500         intmax_t.
17501         * rt/tst-mqueue4.c (do_test): Likewise.
17502         * rt/tst-timer4.c: Include <stdint.h>.
17503         (check_ts): Replace %ld with %jd and cast to intmax_t.
17504         (do_test): Likewise.
17505         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
17506         and cast to intmax_t.
17507         * sysdeps/pthread/tst-timer.c (main): Likewise.
17508         * time/clocktest.c (main): Likewise.
17509         * time/tst-posixtz.c (do_test): Likewise.
17510         * timezone/tst-timezone.c (main): Likewise.
17512 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
17513             H.J. Lu  <hongjiu.lu@intel.com>
17515         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
17516         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
17517         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
17518         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
17519         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
17520         version if bit_Fast_Unaligned_Load is set.
17521         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
17522         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
17523         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
17524         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
17525         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
17526         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
17527         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17528         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
17529         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
17530         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
17531         to 4.
17532         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
17533         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
17534         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
17535         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
17537 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
17539         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
17540         instead of #if to avoid a Wundef warning.
17541         * stdlib/tst-limits.c (do_test): Likewise.
17543         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
17544         parallel other exception macros.
17545         (fegetenv): Convert from macro to extern inline so that it applies
17546         retroactively to inline functions already seen by the compiler.
17547         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
17549         * posix/Makefile (before-compile): Use $(objpfx) for
17550         posix-conf-vars-def.h.
17552 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
17554         * posix/getconf.c (main): Use size_t for type of I.
17555         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
17556         NSPEC.
17558         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
17559         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
17560         * posix/posix-envs.def: Likewise.
17561         * sysdeps/posix/sysconf.c: Likewise.
17562         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
17563         (specs): Remove array.
17564         * scripts/gen-posix-conf-vars.awk: Support generation of specs
17565         array.
17567         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
17568         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
17569         (__sysconf): Use CONF_IS_* macros.
17571         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
17572         ($(objpfx)posix-conf-vars-def.h): New target.
17573         * posix/posix-conf-vars.list: New file.
17574         * posix/posix-conf-vars.h: New file.
17575         * posix/confstr.c: Include posix-conf-vars.h.
17576         (confstr): Use CONF_IS_* macros.
17577         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
17578         CONF_IS_* macros.
17579         * scripts/gen-posix-conf-vars.awk: New file.
17581 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
17583         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
17584         fegetround): Add no-op macros to avoid linknamespace issues.
17586         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
17587         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
17589         * sysdeps/unix/sysv/linux/tile/sysdep.h
17590         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
17591         assembly-specific section to avoid a redefinition warning.
17593         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
17594         long before casting to pointer to avoid a cast warning.
17596 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
17598         * sysdeps/tile/tilegx/Implies: New file.
17600 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
17602         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
17604 2014-12-23  Florian Weimer  <fweimer@redhat.com>
17606         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
17608 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
17610         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
17611         not define.
17612         * sysdeps/unix/sysv/linux/utimes.c: Do not include
17613         <kernel-features.h>.
17614         (__utimes) [__NR_utimes]: Make code unconditional.
17615         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
17616         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17617         (__ASSUME_UTIMES): Do not undefine.
17618         * sysdeps/unix/sysv/linux/tile/kernel-features.h
17619         (__ASSUME_UTIMES): Likewise.
17620         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
17621         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
17622         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
17623         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
17625 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
17627         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
17629 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
17631         [BZ #17747]
17632         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
17633         alias to weak alias for j0l, y0l.
17634         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
17635         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
17637         [BZ #17746]
17638         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
17639         conversion.
17641 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
17643         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
17644         to zero if not already defined.
17646 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
17648         [BZ #17724]
17649         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
17650         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
17651         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
17652         (char *) casts added.
17653         * sysdeps/ieee754/k_standardf.c: New file.
17654         * sysdeps/ieee754/k_standardl.c: Likewise.
17655         * math/Makefile (libm-support): Remove k_standard.
17656         (libm-calls): Add k_standard.
17658 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
17660         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
17661         Optimize to avoid an unnecessary FPCR read.
17663 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
17665         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
17666         Optimize to reduce FPCR/FPSR accesses.
17668 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
17670         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
17671         Call libc_fetestexcept_aarch64.
17673 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
17675         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
17676         Call libc_fesetround_aarch64.
17678 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
17680         [BZ #17733]
17681         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
17682         (__bind): Do not define as weak alias.
17683         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
17684         define.
17685         (__getsockname): Do not define as weak alias.
17687 2014-12-22  Will Newton  <will.newton@linaro.org>
17689         * manual/install.texi: Document that we require bison 2.7
17690         or above.
17691         * INSTALL: Regenerate.
17692         * configure.ac: Use AC_CHECK_PROG_VER instead of
17693         AC_PATH_PROG when checking for bison and check for
17694         version 2.7 or above.
17695         * configure: Regenerate.
17697 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
17699         [BZ #17745]
17700         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
17701         * sysdeps/tile/ffsll.c (ffsll): To here.
17703         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
17705 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
17707         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
17708         if not defined.
17709         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
17710         definition.
17711         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
17712         hidden ___tls_get_addr.
17713         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
17714         hidden __tls_get_addr.
17715         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
17716         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
17717         Likewise.
17719 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
17721         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
17722         _dl_init call.
17724 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
17726         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
17727         from "call _dl_init@PLT".
17728         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
17730 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
17732         * manual/search.texi: (Array Sort Function): Clarify stable sorting
17733         guarantees.
17735 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
17737         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
17739 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
17741         [BZ #17744]
17742         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
17743         strnlen.
17745 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
17747         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
17748         of multu on MIPSr6.
17749         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
17750         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
17751         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
17752         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
17753         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
17755 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
17757         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
17758         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
17759         (PTR_SUBU): Use subu for mips32r6/mips64r6.
17760         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
17761         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
17762         mips32r6/mips64r6.
17763         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
17765 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
17767         * string/strncat.c (STRNCAT): Simplify implementation.
17769 2014-12-19  David S. Miller  <davem@davemloft.net>
17771         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
17772         access the quad as both a long double and as a series of 4 words.
17774         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
17775         link_map->l_info array access.
17777 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
17779         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
17781         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
17782         * math/atest-exp2.c (TIMEOUT): Likewise.
17783         * math/atest-sincos.c (TIMEOUT): Likewise.
17785 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
17787         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
17788         -Wno-error with -fno-builtin-lround.
17790 2014-12-19  Torvald Riegel  <triegel@redhat.com>
17792         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
17793         Contains futex constants and functions moved over from ...
17794         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
17795         <lowlevellock-futex.h>.
17796         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
17797         (lll_timedwait_tid): Add comments and parentheses around macro
17798         arguments.
17800 2014-12-19  Torvald Riegel  <triegel@redhat.com>
17802         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
17803         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
17804         (__lll_private_flag): Remove.
17805         (lll_futex_wait): Likewise.
17806         (lll_futex_timed_wait): Likewise.
17807         (lll_futex_wake): Likewise.
17808         (lll_futex_requeue): Likewise.
17809         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
17810         (__lll_timedwait_tid): Spell out argument names.
17811         (lll_timedwait_tid): Add comments and parentheses around macro
17812         arguments.
17813         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
17814         LLL_SHARED and LLL_PRIVATE usable from assembly code.
17816 2014-12-19  Torvald Riegel  <triegel@redhat.com>
17818         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
17819         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
17820         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
17821         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
17822         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
17823         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
17824         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
17825         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
17826         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
17827         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
17828         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
17829         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
17830         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
17831         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
17832         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
17833         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
17834         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
17835         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
17836         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
17838 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
17840         * sysdeps/x86_64/x32/Makefile: New file.
17842 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
17844         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
17845         1L with (mp_limb_t) 1.
17847 2014-12-17  Roland McGrath  <roland@hack.frob.com>
17849         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
17850         * nptl/libc_pthread_init.c: ... here.
17851         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
17852         * nptl/register-atfork.c: ... here.
17854         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
17855         Use pthread_sigmask rather than INTERNAL_SYSCALL.
17856         Use assert_perror to check its return value.
17857         (__gai_create_helper_thread): Likewise.
17859         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
17861         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
17863 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
17865         [BZ #17725]
17866         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
17867         __profil_counter.
17868         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
17869         Likewise.
17870         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
17871         Likewise.
17872         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
17873         Likewise.
17874         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
17875         (profil_counter): Likewise.
17876         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
17877         (profil_counter): Likewise.
17878         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
17879         Likewise.
17880         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
17881         Likewise.
17882         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
17883         (profil_counter): Likewise.
17884         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
17885         Likewise.
17886         [!__profil_counter] (profil_counter): Define as weak alias of
17887         __profil_counter.
17888         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
17889         (profil_counter): Rename to __profil_counter.
17890         [!__profil_counter] (profil_counter): Define as weak alias of
17891         __profil_counter.
17892         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
17893         (profil_counter): Rename to __profil_counter.
17894         [!__profil_counter] (profil_counter): Define as weak alias of
17895         __profil_counter.
17896         * sysdeps/posix/profil.c: Update comment referring to
17897         profil_counter.
17898         (__profil): Use __profil_counter instead of profil_counter.
17899         * sysdeps/posix/sprofil.c (profil_counter): Rename to
17900         __profil_counter.  Use __profil_counter_ushort and
17901         __profil_counter_uint in definitions.
17902         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
17903         instead of profil_counter_uint and profil_counter_ushort.
17905         [BZ #17722]
17906         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
17907         define as weak alias of __inet_makeaddr.
17908         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
17909         as weak alias of __inet_addr.
17910         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
17911         as weak alias of __inet_pton.  Use libc_hidden_weak.
17912         * include/arpa/inet.h (__inet_pton): Declare.  Use
17913         libc_hidden_proto.
17914         (inet_makeaddr): Don't use libc_hidden_proto.
17915         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
17916         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
17917         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
17918         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
17919         Remove variable.
17920         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
17921         (test-xfail-POSIX/time.h/linknamespace): Likewise.
17923 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
17925         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
17927 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
17929         * stdio-common/bug-vfprintf-nargs.c (do_test):
17930         Cast value to intptr_t to avoid format warning
17931         for usage with PRIdPTR printing macro.
17933 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
17935         * libio/tst-widetext.c (do_test):
17936         Use format type %td instead of %Zd for ptrdiff_t
17937         in order to avoid format warning.
17939 2014-12-17  Andreas Schwab  <schwab@suse.de>
17941         * nscd/mem.c (gc): Add size_t cast to match printf format.
17943 2014-12-16  Roland McGrath  <roland@hack.frob.com>
17945         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
17946         (init): Apply PTR_MANGLE to pointers before storing them.
17947         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
17948         before using them.
17950 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
17952         [BZ #17719]
17953         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
17954         define as weak alias of __memrchr.
17955         (__memrchr): Do not define as strong alias of memrchr.
17956         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
17957         Remove variable.
17958         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
17959         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
17960         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
17962         [BZ #17717]
17963         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
17964         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
17965         (if_indextoname): Rename to __if_indextoname and define as weak
17966         alias of __if_indextoname.  Use libc_hidden_weak.
17967         (if_freenameindex): Rename to __if_freenameindex and define as
17968         weak alias of __if_freenameindex.
17969         (if_nameindex): Rename to __if_nameindex and define as weak alias
17970         of __if_nameindex.
17971         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
17972         __if_nametoindex and define as weak alias of __if_nametoindex.
17973         Use libc_hidden_weak.
17974         (if_freenameindex): Rename to __if_freenameindex and define as
17975         weak alias of __if_freenameindex.
17976         (if_nameindex): Rename to __if_nameindex and define as weak alias
17977         of __if_nameindex.
17978         (if_indextoname): Rename to __if_indextoname and define as weak
17979         alias of __if_indextoname.  Use libc_hidden_weak.
17980         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
17981         __if_nametoindex and define as weak alias of __if_nametoindex.
17982         Use libc_hidden_weak.
17983         (if_freenameindex): Rename to __if_freenameindex and define as
17984         weak alias of __if_freenameindex.  Use libc_hidden_weak.
17985         (if_nameindex_netlink): Use __if_freenameindex instead of
17986         if_freenameindex.
17987         (if_nameindex): Rename to __if_nameindex and define as weak alias
17988         of __if_nameindex.  Use libc_hidden_weak.
17989         (if_indextoname): Rename to __if_indextoname and define as weak
17990         alias of __if_indextoname.  Use libc_hidden_weak.
17991         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
17992         libc_hidden_proto.
17993         [!_ISOMAC] (__if_freenameindex): Likewise.
17994         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
17995         if_nametoindex.
17996         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
17997         variable.
17998         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
17999         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
18000         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
18001         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
18002         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
18003         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
18004         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
18006         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
18007         Remove variable.
18008         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
18009         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
18011 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
18013         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
18014         subscript above bounds'
18016         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
18017         bounds.
18019 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
18021         * libio/tst-fopenloc.c: Use test-skeleton.c.
18023         * stdlib/tst-bsearch.c: Use test-skeleton.c.
18024         (entry): Rename to ITEM.
18025         (do_test, comp): Adjust.
18027         * stdio-common/tst-fseek.c: Use test-skeleton.c.
18029 2014-12-16  Torvald Riegel  <triegel@redhat.com>
18031         * string/tester.c: Include <libc-internal.h>.
18032         (test_memset): Ignore -Wmemset-transposed-args.
18034 2014-12-16  Torvald Riegel  <triegel@redhat.com>
18036         * misc/tst-mntent2.c (do_test): Fix warning.
18038 2014-12-16  Torvald Riegel  <triegel@redhat.com>
18040         * elf/tst-unique4lib.cc(a): Mark as used.
18042 2014-12-16  Florian Weimer  <fweimer@redhat.com>
18044         [BZ #17630]
18045         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
18046         names.
18048 2014-12-16  Allan McRae  <allan@archlinux.org>
18050         * stdio-common/Makefile (tests): Re-add bug26.
18052 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
18054         [BZ #17657]
18055         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
18056         static array.
18058 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
18060         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
18061         (__lll_lock_wait): Likewise.
18062         (__lll_timedlock_wait): Likewise.
18063         (__lll_timedwait_tid): Likewise.
18064         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
18065         (__lll_robust_timedlock_wait): Likewise.
18066         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
18067         (lll_cond_trylock): Likewise.
18068         (__lll_lock): Likewise.
18069         (__lll_robust_lock): Likewise.
18070         (__lll_cond_lock): Likewise.
18071         (lll_robust_cond_lock): Likewise.
18072         (__lll_timedlock): Likewise.
18073         (__lll_robust_timedlock): Likewise.
18074         (__lll_unlock): Likewise.
18075         (__lll_robust_unlock): Likewise.
18076         (lll_wait_tid): Likewise.
18077         (lll_timedwait_tid): Likewise.
18079 2014-12-15  Torvald Riegel  <triegel@redhat.com>
18081         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
18083 2014-12-15  Torvald Riegel  <triegel@redhat.com>
18085         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
18087 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
18089         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
18090         * stdio-common/tst-sprintf.c: Likewise.
18092 2014-12-15  Torvald Riegel  <triegel@redhat.com>
18094         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
18096 2014-12-15  Jeff Law  <law@redhat.com>
18098         [BZ #16617]
18099         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
18100         on the heap.  (CVE-2012-3406)
18101         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
18102         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
18103         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
18105 2014-12-15  Will Newton  <will.newton@linaro.org>
18107         * manual/install.texi: Bump required version of texinfo
18108         to 4.7 from 4.5.
18109         * INSTALL: Regenerated.
18110         * configure.ac: Check for makeinfo version 4.7 and above.
18111         * configure: Regenerated.
18113 2014-12-12  Roland McGrath  <roland@hack.frob.com>
18115         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
18116         PREFIX, string constant to insert between directory and name.
18117         * sysdeps/posix/shm_open.c: Update caller.
18118         * sysdeps/posix/shm_unlink.c: Likewise.
18119         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
18120         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
18121         (SEM_SHM_PREFIX): New macro.
18122         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
18123         [$(have-thread-library) = no].
18124         * nptl/Makefile (libpthread-routines): Add shm-directory.
18125         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
18126         * sysdeps/nptl/shm-directory.h: New file.
18127         * sysdeps/posix/shm-directory.c
18128         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
18129         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
18130         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
18131         INTERNAL_SYSCALL.
18132         (__where_is_shmfs): Function removed.
18133         (mountpoint, defaultmount, defaultdir, __namedsem_once):
18134         Variables removed.
18135         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
18136         Use SHM_GET_NAME.
18137         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
18139         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
18140         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
18141         unconditional for use inside libpthread.
18142         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
18144 2014-12-12  Roland McGrath  <roland@hack.frob.com>
18146         * nptl/pthread_getaffinity.c: New file.
18147         * nptl/pthread_setaffinity.c: New file.
18148         * nptl/pthread_getname.c: New file.
18149         * nptl/pthread_setname.c: New file.
18151         * nptl/pthread_create.c (START_THREAD_DEFN)
18152         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
18154 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
18155             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18157         * resolv/res_send.c (send_vc): Disable warning resplen may
18158         be used uninitialized.
18160 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
18162         * nptl/tst-mutex6.c
18163         (ATTR_NULL): New define checks ATTR against NULL.
18164         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
18165         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
18167 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
18169         [BZ #17581]
18170         * malloc/hooks.c
18171         (mem2mem_check): Revert my previous change.
18172         (malloc_check_get_size): Revert my previous change.
18173         (mem2chunk_check): Revert my previous change.
18175 2014-12-11  Roland McGrath  <roland@hack.frob.com>
18177         * sysdeps/posix/shm-directory.c: New file.
18178         * sysdeps/posix/shm-directory.h: New file.
18179         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
18180         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
18181         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
18182         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
18183         Transmute EPERM to EACCES.
18184         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
18185         from ...
18186         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
18187         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
18189 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18191         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
18192         pointer and cast to uintptr_t.
18193         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
18194         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
18195         Add cast to avoid warning.
18196         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
18198 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
18200         * nptl/semaphore.h: Move to ...
18201         * sysdeps/pthread/semaphore.h: ... here.
18202         * Makefile (installed-headers): Change nptl/semaphore.h to
18203         sysdeps/pthread/semaphore.h.
18205 2014-12-11  Roland McGrath  <roland@hack.frob.com>
18207         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
18208         generated error format strings.
18210         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
18211         -Wformat-extra-args warnings for scanf formats.
18212         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
18213         test of zero-length format (duh).
18214         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
18215         corner-case scanf format test.
18216         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
18217         generated fprintf format string.
18218         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
18219         corner-case sprintf format tests.
18220         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
18221         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
18222         -Wformat-extra-args warnings throughout.
18223         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
18224         (CFLAGS-scanf4.c): Likewise.
18225         (CFLAGS-scanf7.c): Likewise.
18226         (CFLAGS-tst-sprintf.c): Likewise.
18227         (CFLAGS-tst-printf.c): Likewise.
18228         (CFLAGS-tst-printfsz.c): Likewise.
18230 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
18232         * include/cpio.h: New file.
18233         * include/fmtmsg.h: Likewise.
18235         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
18236         corresponding format argument to size_t.
18237         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
18238         arguments.
18239         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
18240         corresponding format argument to size_t.
18241         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
18242         arguments.
18243         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
18244         corresponding format argument to size_t.
18245         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
18246         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
18247         (CFLAGS-tst-mbswcs2.c): Likewise.
18248         (CFLAGS-tst-mbswcs3.c): Likewise.
18249         (CFLAGS-tst-mbswcs4.c): Likewise.
18250         (CFLAGS-tst-mbswcs5.c): Likewise.
18251         (CFLAGS-tst-trans.c): Likewise
18253 2014-12-11  Roland McGrath  <roland@hack.frob.com>
18255         * posix/regexbug1.c (main): Use "%s" format with regerror results,
18256         rather than assuming they won't contain any '%'s.
18258 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
18260         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
18261         inhibit_loop_to_libcall to avoid recursive calls.
18262         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
18263         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
18265 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
18267         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
18268         prototype.
18270 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
18272         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
18273         integer value instead of boolean.
18275 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
18277         * malloc/malloc.c: Fix powerof2 check.
18279 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
18281         * locale/programs/locfile.h (maybe_swap_uint32):
18282         Remove inline and add unused attribute.
18284 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
18286         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
18287         Truncating assembler expression to a .long expression.
18289 2014-12-11  Andreas Schwab  <schwab@suse.de>
18291         * elf/rtld.c (struct map_args): Constify str member.
18292         (do_preload): Constify fname argument.
18294 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18296         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
18297         constants definition.
18299 2014-12-11  Andreas Schwab  <schwab@suse.de>
18301         [BZ #16657]
18302         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
18303         FORCE_ELISION instead of DO_ELISION.
18304         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
18305         Remove.
18306         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
18307         Likewise.
18309         * iconvdata/gconv-modules: Remove duplicate entry.
18311 2014-12-11  Will Newton  <will.newton@linaro.org>
18313         Merge gettext 0.19.3 into intl/.
18315         This involves a number of cosmetic changes to comments
18316         and ANSI function definitions and prototypes throughout
18317         all the files. The gettext copyright header is used but
18318         with the date ranges taken from the glibc copy.
18320         * NEWS: Add gettext merge to 2.21.
18321         * intl/bindtextdom.c: Switch to gettext copyright.
18322         Use ANSI definitions and prototypes.
18323         Use gl_* locking primitives rather than __libc_* ones.
18324         Use __builtin_expect rather than __glibc_likely/unlikely.
18325         * intl/dcgettext.c: Switch to gettext copyright.
18326         Use ANSI definitions and prototypes.
18327         * intl/dcigettext.c: Switch to gettext copyright.
18328         Use ANSI definitions and prototypes.
18329         (INTDIV0_RAISES_SIGFPE): New define.
18330         Use gl_* locking primitives rather than __libc_* ones.
18331         Include eval-plural.h instead of plural-eval.c.
18332         Use __builtin_expect rather than __glibc_likely/unlikely.
18333         * intl/dcngettext.c: Switch to gettext copyright.
18334         Use ANSI definitions and prototypes.
18335         * intl/dgettext.c: Likewise.
18336         * intl/dngettext.c: Likewise.
18337         * intl/plural-eval.c: Renamed to...
18338         * intl/eval-plural.h: ...this.
18339         * intl/explodename.c: Switch to gettext copyright.
18340         Use ANSI definitions and prototypes.
18341         (_nl_explode_name): Use strchr instead of __rawmemchr.
18342         * intl/finddomain.c: Switch to gettext copyright.
18343         Use ANSI definitions and prototypes.
18344         Use gl_* locking primitives rather than __libc_* ones.
18345         (_nl_find_domain): Use malloc rather than alloca for
18346         allocation of temporary locale name.
18347         * intl/gettext.c: Switch to gettext copyright.
18348         Use ANSI definitions and prototypes.
18349         * intl/gettextP.h: Switch to gettext copyright.
18350         Use ANSI definitions and prototypes.
18351         Use gl_* locking primitives rather than __libc_* ones.
18352         * intl/gmo.h: Switch to gettext copyright.
18353         (struct sysdep_string): Move struct segment_pair outside of
18354         struct definition.
18355         * intl/hash-string.c: Use ANSI definitions and prototypes.
18356         * intl/hash-string.h: Switch to gettext copyright.
18357         Use ANSI definitions and prototypes.
18358         * intl/l10nflist.c: Switch to gettext copyright.
18359         Use ANSI definitions and prototypes.
18360         (_nl_normalize_codeset): Avoid integer overflow.
18361         * intl/loadinfo.h: Switch to gettext copyright.
18362         Use ANSI definitions and prototypes.
18363         (LIBINTL_DLL_EXPORTED): New define.
18364         (PATH_SEPARATOR): New define.
18365         * intl/loadmsgcat.c: Switch to gettext copyright.
18366         * intl/localealias.c: Switch to gettext copyright.
18367         Use ANSI definitions and prototypes.
18368         (_nl_expand_alias): Use PATH_SEPARATOR.
18369         * intl/ngettext.c: Switch to gettext copyright.
18370         Use ANSI definitions and prototypes.
18371         * intl/plural-exp.c: Likewise.
18372         * intl/plural-exp.h: Switch to gettext copyright.
18373         Use ANSI definitions and prototypes.
18374         (struct expression): Move definition of enum operator outside
18375         of struct definition.
18376         * intl/plural.c: Regenerate.
18377         * intl/plural.y: Switch to gettext copyright.
18378         Use ANSI definitions and prototypes.
18379         Port to bison 3.0.
18380         * intl/textdomain.c: Switch to gettext copyright.
18381         Use ANSI definitions and prototypes.
18382         Use gl_* locking primitives rather than __libc_* ones.
18384 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
18386         * debug/warning-nop.c: Add used atrribute.
18388 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
18390         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
18392         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
18393         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
18394         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
18396 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
18397             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18399         [BZ #17634]
18400         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
18401         Undefine after defining function.  Define as weak alias of
18402         __wcschr.  Use libc_hidden_weak.
18403         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
18404         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
18405         (libc_hidden_def): Also define __GI___wcschr alias.
18406         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
18407         __wcschr and define as weak alias of __wcschr.
18408         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
18409         __wcschr.
18410         [!WCSCHR] (DEFAULT_WCSCHR): Define.
18411         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
18412         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
18413         libc_hidden_weak.  Do not use libc_hidden_def.
18414         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
18415         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
18416         __GI___wcschr alias.
18417         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
18418         [IS_IN (libc)] (wcschr): Define as macro expanding to
18419         __redirect_wcschr.
18420         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
18421         [IS_IN (libc)] (__wcschr_power6): Likewise.
18422         [IS_IN (libc)] (__wcschr_power7): Likewise.
18423         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
18424         instead of wcschr.
18425         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
18426         __libc_wcschr.
18427         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
18428         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
18429         __wcschr and define as weak alias of __wcschr.  Use
18430         libc_hidden_builtin_def.
18431         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
18432         as weak alias of __wcschr.  Use libc_hidden_weak.
18433         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
18434         wcschr.
18435         * time/era.c (_nl_init_era_entries): Likewise.
18436         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
18437         variable.
18438         (test-xfail-XPG3/time.h/linknamespace): Likewise.
18439         (test-xfail-XPG4/time.h/linknamespace): Likewise.
18441 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
18443         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
18444         format for long int variable.
18446 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
18448         [BZ #10672]
18449         * manual/search.texi: (Array Sort Function): Remove claim how to make
18450         qsort stable.
18452 2014-12-10  Andreas Schwab  <schwab@suse.de>
18454         [BZ #12847]
18455         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
18456         user-controlled locks.
18458 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
18460         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
18461         register.
18463 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
18465         * configure.ac (--disable-werror): New configure option.
18466         (enable_werror): New AC_SUBST.
18467         * configure: Regenerated.
18468         * config.make.in (enable-werror): New variable.
18469         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
18470         -Wno-error=undef.
18471         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
18472         * manual/install.texi (Configuring and compiling): Document
18473         --disable-werror.
18474         * INSTALL: Regenerated.
18475         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
18476         (CFLAGS-tst-chk2.c): Likewise.
18477         (CFLAGS-tst-chk3.c): Likewise.
18478         (CFLAGS-tst-chk4.cc): Likewise.
18479         (CFLAGS-tst-chk5.cc): Likewise.
18480         (CFLAGS-tst-chk6.cc): Likewise.
18481         (CFLAGS-tst-lfschk1.c): Likewise.
18482         (CFLAGS-tst-lfschk2.c): Likewise.
18483         (CFLAGS-tst-lfschk3.c): Likewise.
18484         (CFLAGS-tst-lfschk4.cc): Likewise.
18485         (CFLAGS-tst-lfschk5.cc): Likewise.
18486         (CFLAGS-tst-lfschk6.cc): Likewise.
18488         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
18489         (main): Disable -Wdeprecated-declarations around calls to
18490         register_printf_function.
18492         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
18493         (do_test): Disable -Wdiv-by-zero around some calls to
18494         fwrite_unlocked and fread_unlocked.
18496         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
18497         (DIAG_POP_NEEDS_COMMENT): Likewise.
18498         (_DIAG_STR1): Likewise.
18499         (_DIAG_STR): Likewise.
18500         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
18501         * stdio-common/bug21.c: Include <libc-internal.h>.
18502         (do_test): Disable -Wformat around call to sscanf.
18503         * stdio-common/scanf14.c: Include <libc-internal.h>.
18504         (main): Disable -Wformat around some calls to scanf functions.
18506 2014-12-09  Torvald Riegel  <triegel@redhat.com>
18508         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
18510 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18512         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
18513         stack variable alignment.
18515 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
18517         [BZ #17682]
18518         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
18519         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
18520         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
18521         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
18522         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
18523         __getrlimit instead of getrlimit.
18524         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
18525         __gettimeofday instead of gettimeofday.
18526         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
18527         Likewise.
18528         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
18529         Likewise.
18530         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
18531         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
18532         Remove variable.
18533         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
18534         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
18536 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18538         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
18539         for wide-character tests.
18541 2014-12-04  Roland McGrath  <roland@hack.frob.com>
18543         * io/openat64.c: #include <libc-internal.h>
18544         (__openat64): Prototypify.  Use ignore_value on MODE.
18545         * io/openat.c: Likewise.
18546         * misc/reboot.c: #include <libc-internal.h>
18547         (reboot): Prototypify.  Use ignore_value on HOWTO.
18548         * misc/ptrace.c: #include <libc-internal.h>
18549         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
18551 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
18553         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
18554         XPG4, UNIX98 and XOPEN2K.
18555         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
18556         Remove variable.
18557         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
18559 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
18561         * libio/fileops.c: Use ISO C style for function definitions.
18562         * libio/iofopen.c: Likewise.
18563         * libio/wfileops.c: Likewise.
18565         [BZ #17653]
18566         * libio/fileops.c (_IO_new_file_underflow): Unset cached
18567         offset on EOF.
18568         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
18569         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
18570         (fgets_func): Function pointer to fgets and fgetws.
18571         (do_ftell_test): Add test to verify ftell value after read
18572         EOF.
18573         (do_test): Set fgets_func.
18575         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
18576         O_TRUNC flag for w and w+ modes.
18577         (do_rewind_test): Likewise.
18578         (do_ftell_test): Likewise.
18579         (do_write_test): Likewise.
18581         [BZ #17647]
18582         * libio/fileops.c (do_ftell): Seek only when there are
18583         unflushed writes.
18584         * libio/wfileops.c (do_ftell_wide): Likewise.
18585         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
18586         test case.
18587         (do_one_test): Call it.
18589 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
18591         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
18592         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
18593         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
18594         Remove variable.
18595         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
18596         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
18597         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
18599 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
18601         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
18602         Remove variable.
18603         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
18605         [BZ #17668]
18606         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
18607         as weak alias of __getifaddrs.  Use libc_hidden_weak.
18608         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
18609         __freeifaddrs.  Use libc_hidden_weak.
18610         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
18611         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
18612         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
18613         __freeifaddrs.  Use libc_hidden_weak.
18614         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
18615         __getifaddrs and define as weak alias of __getifaddrs.  Use
18616         libc_hidden_weak.
18617         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
18618         __freeifaddrs.  Use libc_hidden_weak.
18619         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
18620         Remove variable.
18621         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
18622         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
18624 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
18626         [BZ #17601]
18627         * sysdeps/mips/start.S (__start): Use indirect jump to call
18628         __libc_start_main.
18630 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
18632         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
18634         * nptl/tst-mutex1.c: Include <stdbool.h>.
18635         [!ATTR] (ATTR_NULL): New macro.
18636         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
18637         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
18638         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
18640         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
18641         to char *.
18643         [BZ #17665]
18644         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
18645         Change conditional to [__USE_MISC].
18647         [BZ #17664]
18648         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
18649         fgets_unlocked.
18650         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
18651         __fgets_unlocked.
18652         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
18653         fgets_unlocked.
18654         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
18655         Remove variable.
18656         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
18657         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
18658         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
18659         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
18660         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
18661         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
18662         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
18663         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
18664         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
18666         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
18668 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18670         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
18671         Remove strpbrk objects.
18672         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18673         (__libc_ifunc_impl_list): Remove strpbrk implementation.
18674         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
18675         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
18676         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
18677         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
18679         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
18680         Remove strcspn objects.
18681         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18682         (__libc_ifunc_impl_list): Remove strcspn implementation.
18683         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
18684         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
18685         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
18686         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
18688         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
18689         Remove strspn objetcs.
18690         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18691         (__libc_ifunc_impl_list): Remove strspn implementation.
18692         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
18693         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
18694         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
18695         * sysdeps/powerpc/powerpc64/strspn.S: New file.
18697 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
18699         [BZ #17581]
18700         * malloc/hooks.c
18701         (mem2mem_check): Add a terminator to the chain of checking blocks.
18702         (malloc_check_get_size): Use it here.
18703         (mem2chunk_check): Ditto.
18705 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18707         * sysdeps/powerpc/powerpc64/strtok.S: New file.
18708         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
18710 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
18712         * bits/ioctl-types.h: Indent preprocessor directives correctly.
18714         * nptl/nptl-init.c: Include libc-internal.h.
18715         (__pthread_initialize_minimal_internal): Use ROUND_UP.
18717         * elf/ldconfig.c (search_dir): Expand comment.
18719 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
18721         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
18722         variable.
18723         (linknamespace-symlist-stdlibs-tests): Likewise.
18724         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
18725         instead of $(objpfx)symlist-stdlibs.
18726         (linknamespace-libs-isoc): New variable.
18727         (linknamespace-libs): Use $(linknamespace-libs-isoc).
18728         (linknamespace-libs-ISO): New variable.
18729         (linknamespace-libs-ISO99): Likewise.
18730         (linknamespace-libs-ISO11): Likewise.
18731         (linknamespace-libs-XPG3): Likewise.
18732         (linknamespace-libs-XPG4): Likewise.
18733         (linknamespace-libs-POSIX): Likewise.
18734         (linknamespace-libs-UNIX98): Likewise.
18735         (linknamespace-libs-XOPEN2K): Likewise.
18736         (linknamespace-libs-POSIX2008): Likewise.
18737         (linknamespace-libs-XOPEN2K8): Likewise.
18738         ($(objpfx)symlist-stdlibs): Replace by
18739         $(linknamespace-symlist-stdlibs-tests).  Use
18740         $(linknamespace-libs-$*) as set of libraries.
18741         ($(linknamespace-header-tests)): Update dependencies.  Use
18742         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
18743         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
18744         * conform/linknamespace.pl: Remove comment about considering
18745         definitions of symbols from irrelevant libraries.
18747 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
18749         [BZ #13862]
18750         * elf/dl-tls.c: Include <atomic.h>.
18751         (oom): Remove #ifdef SHARED/#endif.
18752         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
18753         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
18754         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
18755         big enough.
18756         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
18757         * nptl/Makefile (tests): Add tst-stack4.
18758         (modules-names): Add tst-stack4mod.
18759         ($(objpfx)tst-stack4): New.
18760         (tst-stack4mod.sos): Likewise.
18761         ($(objpfx)tst-stack4.out): Likewise.
18762         ($(tst-stack4mod.sos)): Likewise.
18763         (clean): Likewise.
18764         * nptl/tst-stack4.c: New file.
18765         * nptl/tst-stack4mod.c: Likewise.
18767 2014-11-27  J. Brown  <jb999@gmx.de>
18769         * sysdeps/x86/bits/string.h: Add recent CPUs.
18771 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
18773         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
18774         sigblock.
18776         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
18777         feof.
18779         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
18780         variable.
18782 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
18784         * nscd/connections.c: Include libc-internal.h because of macro
18785         usage ignore_value.
18787 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
18789         * string/bits/string3.h (__warn_memset_zero_len): Don't
18790         declare for gcc newer than 5.0.
18791         (memset): Don't test for zero-length __LEN for gcc newer than
18792         5.0.
18794 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
18796         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
18797         size_t for %zu format.
18799         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
18800         difference, not %ju.
18802 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
18804         * include/libc-internal.h (ignore_value): New macro.
18805         * nscd/connections.c (restart): Wrap calls to setuid and setgid
18806         with ignore_value.
18808         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
18809         definition.
18811         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
18812         pthread_cleanup_push to void *.
18814         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
18815         Undefine.
18817         [BZ #16619]
18818         [BZ #16740]
18819         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
18820         instead of 1L << 52.
18822         * libio/bug-rewind.c (do_test): Check fwscanf return values.
18823         * libio/bug-rewind2.c (do_test): Likewise.
18825         * debug/test-stpcpy_chk-ifunc.c: Remove file.
18826         * debug/test-strcpy_chk-ifunc.c: Likewise.
18827         * wcsmbs/test-wcschr-ifunc.c: Likewise.
18828         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
18829         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
18830         * wcsmbs/test-wcslen-ifunc.c: Likewise.
18831         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
18832         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
18833         * Rules [$(multi-arch) = no] (tests): Do not filter out
18834         $(tests-ifunc).
18835         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
18836         * debug/Makefile (tests-ifunc): Remove variable.
18837         (tests): Do not add $(tests-ifunc).
18838         * wcsmbs/Makefile (tests-ifunc): Remove variable.
18839         (tests): Do not add $(tests-ifunc).
18840         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
18841         [TEST_IFUNC]: Remove conditionals.
18842         * string/test-string.h (TEST_IFUNC): Remove macro.
18843         [TEST_IFUNC]: Remove conditionals.
18845         * string/test-strchr.c [!WIDE] (L): New macro.
18846         [WIDE] (L): Likewise.
18847         (check1): Use CHAR instead of char.  Use L on string and character
18848         constants.
18850 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
18852         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
18853         tests.
18854         * sysdeps/powerpc/bits/atomic.h
18855         (__arch_atomic_exchange_and_add_32_acq): Add definition.
18856         (__arch_atomic_exchange_and_add_32_rel): Likewise.
18857         (atomic_exchange_and_add_acq): Likewise.
18858         (atomic_exchange_and_add_rel): Likewise.
18859         * sysdeps/powerpc/powerpc32/bits/atomic.h
18860         (__arch_atomic_exchange_and_add_64_acq): Add definition.
18861         (__arch_atomic_exchange_and_add_64_rel): Likewise.
18862         * sysdeps/powerpc/powerpc64/bits/atomic.h
18863         (__arch_atomic_exchange_and_add_64_acq): Add definition.
18864         (__arch_atomic_exchange_and_add_64_rel): Likewise.
18866 2014-11-26  Torvald Riegel  <triegel@redhat.com>
18868         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
18869         Change synchronization of __sched_fifo_min_prio and
18870         __sched_fifo_max_prio.
18871         * nptl/pthread_mutexattr_getprioceiling.c
18872         (pthread_mutexattr_getprioceiling): Likewise.
18873         * nptl/pthread_mutexattr_setprioceiling.c
18874         (pthread_mutexattr_setprioceiling): Likewise.
18875         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
18876         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
18877         Likewise.
18879 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
18881         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
18882         void.
18884 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
18886         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
18887         third argument const.
18889 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
18891         fnmatch: work around GCC compiler warning bug with uninit var
18892         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
18893         This works around a bug with x86-64 GCC 4.9.2 and earlier
18894         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
18895         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
18896         used uninitialized in this function [-Wmaybe-uninitialized]".
18898 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
18900         * posix/bug-regex31.c (main): Return RES not 0.
18902 2014-11-25  Anton Blanchard <anton@samba.org>
18904         * sysdeps/powerpc/bits/atomic.h
18905         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
18907 2014-11-24  Sterling Augustine  <saugustine@google.com>
18909         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
18911 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
18913         [BZ #17608]
18914         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
18916 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
18918         [BZ #17633]
18919         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
18920         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
18921         variable.
18922         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
18923         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
18925 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
18927         * string/strncpy.c (strncpy): Improve performance by using memset.
18929 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
18931         * string/strcpy.c (strcpy):
18932         Improve performance by using strlen and memcpy.
18934 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
18936         * string/strcoll_l.c (get_next_seq): __always_inline.
18937         * string/strcoll_l.c (do_compare): __always_inline.
18939 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18941         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
18942         defined.
18943         * include/mqueue.h: Likewise.
18944         * include/stdlib.h: Likewise.
18946         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
18947         (get_null_defines): Adjust.
18948         * sunrpc/Makefile: Adjust comment.
18949         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
18950         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
18951         (CFLAGS-interp.c): Likewise.
18952         (CFLAGS-ldconfig.c): Likewise.
18953         (CPPFLAGS-.os): Likewise.
18954         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
18955         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
18956         * extra-modules.mk (extra-modules.mk): Likewise.
18957         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
18958         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
18959         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
18960         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
18961         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
18962         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
18963         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
18964         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
18965         * iconvdata/Makefile (CPPFLAGS): Likewise.
18966         (cpp-srcs-left): Add libof for all iconvdata routines.
18967         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
18968         * include/assert.h: Likewise.
18969         * include/ctype.h: Likewise.
18970         * include/errno.h: Likewise.
18971         * include/libc-symbols.h: Likewise.
18972         * include/math.h: Likewise.
18973         * include/netdb.h: Likewise.
18974         * include/resolv.h: Likewise.
18975         * include/stdio.h: Likewise.
18976         * include/stdlib.h: Likewise.
18977         * include/string.h: Likewise.
18978         * include/sys/stat.h: Likewise.
18979         * include/wctype.h: Likewise.
18980         * intl/l10nflist.c: Likewise.
18981         * libidn/idn-stub.c: Likewise.
18982         * libio/libioP.h: Likewise.
18983         * nptl/libc_multiple_threads.c: Likewise.
18984         * nptl/pthreadP.h: Likewise.
18985         * posix/regex_internal.h: Likewise.
18986         * resolv/res_hconf.c: Likewise.
18987         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
18988         * sysdeps/arm/memmove.S: Likewise.
18989         * sysdeps/arm/sysdep.h: Likewise.
18990         * sysdeps/generic/_itoa.h: Likewise.
18991         * sysdeps/generic/symbol-hacks.h: Likewise.
18992         * sysdeps/gnu/errlist.awk: Likewise.
18993         * sysdeps/gnu/errlist.c: Likewise.
18994         * sysdeps/i386/i586/memcpy.S: Likewise.
18995         * sysdeps/i386/i586/memset.S: Likewise.
18996         * sysdeps/i386/i686/memcpy.S: Likewise.
18997         * sysdeps/i386/i686/memmove.S: Likewise.
18998         * sysdeps/i386/i686/mempcpy.S: Likewise.
18999         * sysdeps/i386/i686/memset.S: Likewise.
19000         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
19001         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
19002         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
19003         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
19004         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
19005         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
19006         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
19007         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
19008         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
19009         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
19010         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
19011         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
19012         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
19013         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
19014         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
19015         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
19016         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
19017         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
19018         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
19019         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
19020         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
19021         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
19022         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
19023         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
19024         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
19025         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
19026         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
19027         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
19028         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
19029         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
19030         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
19031         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
19032         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
19033         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
19034         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
19035         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
19036         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
19037         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
19038         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
19039         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
19040         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
19041         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
19042         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
19043         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
19044         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
19045         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
19046         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
19047         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
19048         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
19049         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
19050         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
19051         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
19052         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
19053         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
19054         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
19055         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
19056         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
19057         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
19058         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
19059         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
19060         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
19061         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
19062         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
19063         * sysdeps/nptl/bits/libc-lock.h: Likewise.
19064         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
19065         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
19066         * sysdeps/posix/closedir.c: Likewise.
19067         * sysdeps/posix/opendir.c: Likewise.
19068         * sysdeps/posix/readdir.c: Likewise.
19069         * sysdeps/posix/rewinddir.c: Likewise.
19070         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
19071         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
19072         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
19073         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
19074         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
19075         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
19076         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
19077         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
19078         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
19079         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
19080         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
19081         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
19082         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
19083         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
19084         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
19085         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
19086         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
19087         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
19088         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
19089         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
19090         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
19091         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
19092         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
19093         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
19094         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
19095         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
19096         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
19097         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
19098         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
19099         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
19100         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
19101         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
19102         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
19103         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
19104         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
19105         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
19106         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
19107         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
19108         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
19109         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
19110         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
19111         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
19112         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
19113         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
19114         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
19115         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
19116         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
19117         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
19118         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
19119         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
19120         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
19121         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
19122         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
19123         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
19124         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
19125         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
19126         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
19127         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
19128         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
19129         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
19130         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
19131         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
19132         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
19133         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
19134         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
19135         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
19136         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
19137         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
19138         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
19139         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
19140         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
19141         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
19142         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
19143         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
19144         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
19145         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
19146         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
19147         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
19148         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
19149         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
19150         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
19151         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
19152         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
19153         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
19154         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
19155         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
19156         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
19157         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
19158         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
19159         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
19160         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
19161         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
19162         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
19163         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
19164         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
19165         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
19166         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
19167         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
19168         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
19169         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
19170         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19171         * sysdeps/unix/alpha/sysdep.S: Likewise.
19172         * sysdeps/unix/alpha/sysdep.h: Likewise.
19173         * sysdeps/unix/make-syscalls.sh: Likewise.
19174         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
19175         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
19176         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
19177         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
19178         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
19179         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
19180         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
19181         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
19182         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
19183         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
19184         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
19185         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
19186         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
19187         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
19188         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
19189         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
19190         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
19191         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
19192         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
19193         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
19194         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
19195         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
19196         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
19197         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
19198         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
19199         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
19200         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
19201         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
19202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
19203         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
19204         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
19205         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
19206         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
19207         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19208         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
19209         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
19210         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
19211         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
19212         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
19213         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
19214         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
19215         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
19216         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
19217         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
19218         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
19219         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
19220         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
19221         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19222         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
19223         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19224         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
19225         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
19226         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
19227         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
19228         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
19229         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
19230         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
19231         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
19232         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
19233         * sysdeps/x86_64/memcpy.S: Likewise.
19234         * sysdeps/x86_64/memmove.c: Likewise.
19235         * sysdeps/x86_64/memset.S: Likewise.
19236         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
19237         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
19238         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
19239         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
19240         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
19241         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
19242         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
19243         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
19244         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
19245         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
19246         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
19247         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
19248         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
19249         * sysdeps/x86_64/multiarch/memset.S: Likewise.
19250         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19251         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
19252         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
19253         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
19254         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
19255         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
19256         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
19257         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
19258         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
19259         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
19260         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
19261         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
19262         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
19263         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
19264         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
19265         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
19266         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
19267         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
19268         * sysdeps/x86_64/strcmp.S: Likewise.
19270         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
19272         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
19273         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
19274         * elf/rtld-Rules: Likewise.
19275         * elf/setup-vdso.h: Likewise.
19276         * include/assert.h: Likewise.
19277         * include/bits/stdlib-float.h: Likewise.
19278         * include/errno.h: Likewise.
19279         * include/sys/stat.h: Likewise.
19280         * include/unistd.h: Likewise.
19281         * sysdeps/aarch64/setjmp.S: Likewise.
19282         * sysdeps/alpha/setjmp.S: Likewise.
19283         * sysdeps/arm/__longjmp.S: Likewise.
19284         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
19285         * sysdeps/arm/setjmp.S: Likewise.
19286         * sysdeps/arm/sysdep.h: Likewise.
19287         * sysdeps/generic/_itoa.h: Likewise.
19288         * sysdeps/generic/dl-sysdep.h: Likewise.
19289         * sysdeps/generic/ldsodefs.h: Likewise.
19290         * sysdeps/i386/dl-tls.h: Likewise.
19291         * sysdeps/i386/setjmp.S: Likewise.
19292         * sysdeps/m68k/setjmp.c: Likewise.
19293         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
19294         * sysdeps/mach/hurd/opendir.c: Likewise.
19295         * sysdeps/posix/getcwd.c: Likewise.
19296         * sysdeps/posix/opendir.c: Likewise.
19297         * sysdeps/posix/profil.c: Likewise.
19298         * sysdeps/powerpc/dl-procinfo.h: Likewise.
19299         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
19300         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
19301         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
19302         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
19303         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
19304         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
19305         * sysdeps/s390/dl-tls.h: Likewise.
19306         * sysdeps/s390/s390-32/setjmp.S: Likewise.
19307         * sysdeps/s390/s390-64/setjmp.S: Likewise.
19308         * sysdeps/sh/sh3/setjmp.S: Likewise.
19309         * sysdeps/sh/sh4/setjmp.S: Likewise.
19310         * sysdeps/unix/alpha/sysdep.h: Likewise.
19311         * sysdeps/unix/arm/sysdep.S: Likewise.
19312         * sysdeps/unix/i386/sysdep.S: Likewise.
19313         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
19314         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
19315         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
19316         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
19317         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
19318         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
19319         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
19320         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
19321         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
19322         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
19323         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
19324         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
19325         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
19326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
19327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19328         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
19329         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19330         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
19331         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
19332         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
19333         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
19334         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
19335         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19336         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
19337         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
19338         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
19339         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
19340         * sysdeps/unix/x86_64/sysdep.S: Likewise.
19341         * sysdeps/x86_64/setjmp.S: Likewise.
19343         * include/math.h: Use IS_IN instead of IS_IN_libm.
19344         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
19345         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
19346         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
19347         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
19348         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
19349         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
19350         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
19351         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
19352         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
19353         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
19354         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
19355         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
19356         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
19357         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
19358         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
19359         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
19360         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
19361         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
19362         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
19363         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
19364         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
19365         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
19366         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
19367         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
19368         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
19369         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
19370         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
19371         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
19372         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
19373         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
19374         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
19375         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
19376         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
19377         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
19378         Likewise.
19379         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
19380         Likewise.
19381         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
19382         Likewise.
19383         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
19384         Likewise.
19385         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
19386         Likewise.
19387         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
19388         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
19389         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
19390         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
19391         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
19392         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
19393         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
19394         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
19395         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
19396         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
19397         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
19398         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
19399         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
19400         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
19401         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
19402         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
19403         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
19404         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
19405         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
19406         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
19407         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
19408         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
19409         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
19410         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
19411         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
19412         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
19413         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
19415         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
19416         * nptl/pthreadP.h: Likewise.
19417         * nptl_db/structs.def: Likewise.
19418         * sysdeps/arm/sysdep.h: Likewise.
19419         * sysdeps/nptl/bits/libc-lock.h: Likewise.
19420         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
19421         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
19422         * sysdeps/unix/alpha/sysdep.h: Likewise.
19423         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
19424         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
19425         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
19426         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
19427         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
19428         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
19429         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
19430         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
19431         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
19432         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
19433         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
19434         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
19435         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
19436         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
19437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
19438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
19439         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
19440         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
19441         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
19442         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
19443         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
19444         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
19445         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
19446         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
19447         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
19448         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
19450         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
19451         * nptl/pthreadP.h: Likewise.
19452         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
19453         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
19454         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
19455         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
19456         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
19457         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
19458         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
19459         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
19460         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
19461         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
19462         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
19463         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
19464         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
19465         Likewise.
19466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
19467         Likewise.
19468         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
19469         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
19470         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
19471         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
19472         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
19473         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
19474         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
19475         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
19477         * dlfcn/dladdr.c: Use IS_IN.
19478         * dlfcn/dladdr1.c: Likewise.
19479         * dlfcn/dlclose.c: Likewise.
19480         * dlfcn/dlerror.c: Likewise.
19481         * dlfcn/dlinfo.c: Likewise.
19482         * dlfcn/dlmopen.c: Likewise.
19483         * dlfcn/dlopen.c: Likewise.
19484         * dlfcn/dlsym.c: Likewise.
19485         * dlfcn/dlvsym.c: Likewise.
19487         * include/ifaddrs.h: Use IS_IN.
19488         * inet/check_pf.c: Likewise.
19489         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
19490         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
19492         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
19493         IS_IN_ldconfig.
19494         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
19495         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
19497         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
19498         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
19499         IS_IN (libc).
19501         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
19503         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
19504         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
19505         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
19506         * include/libc-symbols.h (IS_IN_LIB): New macro.
19507         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
19508         * include/netdb.h: Likewise.
19509         * include/stap-probe.h: Remove all uses of IN_LIB.
19511         * Makeconfig (module-cppflags-real): Define MODULE_NAME
19512         instead of IN_MODULE.
19513         * include/libc-symbols.h (IN_MODULE): Define using
19514         MODULE_NAME.
19515         (PASTE_NAME, PASTE_NAME1): New macros.
19516         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
19517         of IN_LIB.
19518         (STAP_PROBE_ASM): Likewise.
19520 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19522         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
19523         __mach_init in dlopened libc.
19525 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
19527         * sysdeps/arm/preconfigure.ac: Delete EABI check.
19528         * sysdeps/arm/preconfigure: Regenerate.
19530 2014-11-21  Roland McGrath  <roland@hack.frob.com>
19532         * nptl/pthread_create.c (__pthread_create_2_1): Set
19533         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
19534         when copying values from IATTR into PD.
19536 2014-11-21  Will Newton  <will.newton@linaro.org>
19537             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
19539         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
19540         Refactor inline-asm.  Also add comment.
19542         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
19543         ElfW macro instead of hardcoded Elf64 types.
19544         (la_aarch64_gnu_pltenter): Likewise.
19545         * sysdeps/aarch64/dl-machine.h
19546         (elf_machine_runtime_setup): Use ElfW(Addr).
19548         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
19549         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
19550         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
19551         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
19552         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
19553         (R_AARCH64_TLS_DTPMOD64): Rename to ..
19554         (R_AARCH64_TLS_DTPMOD): This.
19555         (R_AARCH64_TLS_DTPREL64): Rename to ...
19556         (R_AARCH64_TLS_DTPREL): This.
19557         (R_AARCH64_TLS_TPREL64): Rename to ...
19558         (R_AARCH64_TLS_TPREL): This.
19559         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
19560         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
19561         R_AARCH64_TLS_TPREL64.
19562         (elf_machine_rela): Likewise.
19564 2014-11-21  Torvald Riegel  <triegel@redhat.com>
19566         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
19567         by setting it to 0.  64b atomics are not supported currently.
19569 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
19571         [BZ #16469]
19572         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
19573         search domain names.
19575 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
19577         [BZ #16469]
19578         * NEWS: Update.
19579         * resolv/res_query.c (__libc_res_nquerydomain): Retain
19580         trailing dot.
19581         * posix/tst-getaddrinfo5.c: New.
19582         * posix/Makefile (tests): Add it.
19584 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
19586         [BZ #14498]
19587         * NEWS: Fixed.
19588         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
19589         after parsing line but before break_if_match.
19590         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
19591         if there is a protocol mismatch.
19593 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
19595         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
19596         because the potential race is on the user-supplied stream.
19598 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
19600         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
19601         string literal if not passed a buffer.
19602         * manual/job.texi (ctermid): Update reasoning, note deviation
19603         from posix, suggest mtasurace when not passed a buffer, for
19604         future non-preliminary safety notes.
19606 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
19608         * manual/users.texi (cuserid): Fix MT-Safety note for the case
19609         of not passing it a buffer.
19610         Reported by Peng Haitao.
19612 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
19614         * manual/Makefile ($(objpfx)stamp-summary): Require
19615         check-safety.sh to pass.
19616         * manual/check-safety.sh: Wish for verification that every
19617         @deftypefn and @deftypefun is followed by a @safety remark.
19619 2014-11-20  Roland McGrath  <roland@hack.frob.com>
19621         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
19623         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
19624         PTHREAD_CANCEL_ASYNCHRONOUS.
19625         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
19626         send SIGCANCEL.
19628         * nptl/default-sched.h: New file.
19629         * sysdeps/unix/sysv/linux/default-sched.h: New file.
19630         * nptl/pthread_create.c: Include it.
19631         (__pthread_create_2_1): Use collect_default_sched instead of making
19632         Linux syscalls here directly.
19634 2014-11-20  Torvald Riegel  <triegel@redhat.com>
19636         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
19637         __pthread_once): Use C11 atomics.
19639 2014-11-20  Torvald Riegel  <triegel@redhat.com>
19641         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
19643 2014-11-20  Torvald Riegel  <triegel@redhat.com>
19645         * include/atomic.h (__atomic_link_error, __atomic_check_size,
19646         atomic_thread_fence_acquire, atomic_thread_fence_release,
19647         atomic_thread_fence_seq_cst, atomic_load_relaxed,
19648         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
19649         atomic_compare_exchange_weak_relaxed,
19650         atomic_compare_exchange_weak_acquire,
19651         atomic_compare_exchange_weak_release,
19652         atomic_exchange_acquire, atomic_exchange_release,
19653         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
19654         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
19655         atomic_fetch_and_acquire,
19656         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
19658 2014-11-20  Torvald Riegel  <triegel@redhat.com>
19660         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
19661         USE_ATOMIC_COMPILER_BUILTINS): Define.
19662         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
19663         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19664         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
19665         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19666         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
19667         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19668         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
19669         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19670         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
19671         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19672         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
19673         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19674         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
19675         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19676         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
19677         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19678         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
19679         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19680         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
19681         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19682         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
19683         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19684         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
19685         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19686         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
19687         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19688         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
19689         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19690         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
19691         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19692         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
19693         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19694         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
19695         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19696         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
19697         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19698         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
19699         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19700         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
19701         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19703 2014-11-19  Roland McGrath  <roland@hack.frob.com>
19705         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
19706         the sched_priority value here.  It was already checked when the user
19707         called pthread_attr_setschedparam.
19709         * nptl/tst-bad-schedattr.c: New file.
19710         * nptl/Makefile (tests): Add it.
19712 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
19713             Florian Weimer  <fweimer@redhat.com>
19714             Joseph Myers  <joseph@codesourcery.com>
19715             Adam Conrad  <adconrad@0c3.net>
19716             Andreas Schwab  <schwab@suse.de>
19717             Brooks  <bmoses@google.com>
19719         [BZ #17625]
19720         * wordexp-test.c (__dso_handle): Add prototype.
19721         (__register_atfork): Likewise.
19722         (__app_register_atfork): New function.
19723         (registered_forks): New global.
19724         (register_fork): New function.
19725         (test_case): Add 3 new tests for WRDE_CMDSUB.
19726         (main): Call __app_register_atfork.
19727         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
19728         fork count is non-zero fail the test.
19729         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
19730         is set.
19731         (parse_dollars): Remove check for WRDE_NOCMD.
19732         (parse_dquote): Likewise.
19734 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
19736         * Makeconfig (built-modules): List non-library modules to be
19737         built.
19738         (module-cppflags): Include libc-modules.h for
19739         everything except shlib-versions.v.i.
19740         (CPPFLAGS): Use it.
19741         (before-compile): Add libc-modules.h.
19742         ($(common-objpfx)libc-modules.h,
19743         $(common-objpfx)libc-modules.stmp): New targets.
19744         (common-generated): Add libc-modules.h and libc-modules.stmp.
19745         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
19746         * include/libc-symbols.h: Don't include libc-modules.h.
19747         * include/libc-modules.h: Remove file.
19748         * scripts/gen-libc-modules.awk: New script to generate
19749         libc-modules.h.
19750         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
19751         Depend on libc-modules.stmp.
19753         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
19755         * Makeconfig (in-module): Get value of libof set for the
19756         translation unit.
19757         (CPPFLAGS): Use $(in-module).
19758         * Makerules: Don't suffix routine names for nonlib.
19759         * include/libc-modules.h: New file.
19760         * include/libc-symbols.h: Include libc-modules.h
19761         (IS_IN): New macro to replace IS_IN_* macros.
19762         * elf/Makefile: Set libof-* for each routine.
19763         * elf/rtld-Rules: Likewise.
19764         * extra-modules.mk: Likewise.
19765         * iconv/Makefile: Likewise.
19766         * iconvdata/Makefile: Likewise.
19767         * locale/Makefile: Likewise.
19768         * malloc/Makefile: Likewise.
19769         * nss/Makefile: Likewise.
19770         * sysdeps/gnu/Makefile: Likewise.
19771         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
19772         * sysdeps/unix/sysv/linux/Makefile: Likewise.
19773         * sysdeps/s390/s390-64/Makefile: Likewise.
19774         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
19775         CPPFLAGS for nscd instead of nonlib.
19777 2014-11-18  Roland McGrath  <roland@hack.frob.com>
19779         * nptl/createthread.c: New file.
19781         * nptl/createthread.c: Moved ...
19782         * sysdeps/unix/sysv/linux/createthread.c: ... here.
19784         * nptl/createthread.c: Add proper top-line comment.
19785         (do_clone): Folded into ...
19786         (create_thread): ... here.  Take new arguments STOPPED_START and
19787         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
19788         increment __nptl_threads, do event-reporting logic, do
19789         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
19790         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
19791         resource cleanup if sched_setaffinity or sched_setscheduler fails,
19792         just send SIGCANCEL.
19793         * nptl/pthread_create.c: Forward-declare create_thread before
19794         including createthread.c.
19795         (start_thread): Use new macro START_THREAD_DEFN to replace defining
19796         declaration, and new macro START_THREAD_SELF to replace argument.
19797         Remove return statement.
19798         (report_thread_creation): New function.
19799         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
19800         synchronization logic, and __nptl_nthreads increment here, around
19801         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
19802         PD->parent_cancelhandling here, before create_thread.  When
19803         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
19804         __deallocate_stack, and ENOMEM translation here.
19806 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
19808         [BZ #17616]
19809         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
19810         (mptwo): Rename to __mptwo.
19811         (__inv): Use __mptwo instead of mptwo.
19812         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
19813         (mptwo): Rename to __mptwo.
19814         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
19815         of mpone and __mptwo instead of mptwo.
19816         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
19817         instead of mpone.
19818         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
19819         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
19820         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
19821         of mpone and __mptwo instead of mptwo.
19822         (__mpranred): Use __mpone instead of mpone.
19823         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
19824         variable.
19825         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
19826         (test-xfail-ISO99/math.h/linknamespace): Likewise.
19827         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
19828         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
19829         (test-xfail-ISO11/math.h/linknamespace): Likewise.
19830         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
19831         (test-xfail-XPG3/math.h/linknamespace): Likewise.
19832         (test-xfail-XPG4/math.h/linknamespace): Likewise.
19833         (test-xfail-POSIX/math.h/linknamespace): Likewise.
19834         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
19835         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
19836         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
19837         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
19838         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
19839         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
19840         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
19841         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
19842         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
19843         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
19845 2014-11-18  Tom de Vries  <tom@codesoucery.com>
19847         * manual/signal.texi (Primitives Interrupted by Signals): In section,
19848         replace BSD Handler xref with BSD Signal Handling.
19850 2014-11-17  Richard Henderson  <rth@redhat.com>
19852         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
19853         (_FP_PACK_RAW_2): Remove.
19854         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
19855         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
19856         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
19857         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
19858         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
19859         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
19860         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
19861         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
19862         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
19863         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
19864         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
19865         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
19866         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
19867         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
19868         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
19869         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
19871 2014-11-14  Roland McGrath  <roland@hack.frob.com>
19873         * signal/signal.h [__USE_MISC]
19874         (struct sigvec): Remove type.
19875         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
19876         (sigvec): Remove declaration.
19877         * sysdeps/posix/sigvec.c: Moved ...
19878         * signal/sigvec.c: ... here, replacing old file.
19879         (struct sigvec): New type, copied from old signal.h definition.
19880         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
19881         (__sigvec): Convert definition to prototype.
19882         (sigvec): Replace weak_alias with compat_symbol.
19883         * signal/Versions (libc: GLIBC_2.21): New version set.
19884         * include/signal.h: Remove __sigvec declaration.
19885         * sysdeps/unix/bsd/sigvec.c: Remove file.
19886         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
19887         * manual/signal.texi (BSD Handler): Remove subsection.
19888         Move siginterrupt up to ...
19889         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
19890         (Blocking in BSD): Fold subsection into its parent.
19891         * NEWS: Mention sigvec removal.
19893 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
19895         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
19896         (DLA_FMS): Make definition conditional only on [__FMA4__].
19897         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
19898         definition.
19900         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
19901         Make definition conditional only on [PROF].
19902         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
19903         definition.
19904         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
19905         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
19907         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
19908         !__GNUC__].
19909         * include/signal.h (__sigpause): Move declaration above call to
19910         libc_hidden_proto.
19911         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
19912         variable.
19913         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
19914         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
19916 2014-11-14  David S. Miller  <davem@davemloft.net>
19918         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
19919         Define before including <string/memcpy.c> and <string/mempcpy.c>.
19921 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
19923         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
19924         * configure: Regenerated.
19925         * manual/install.texi (Tools for Compilation): Document a
19926         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
19927         compiler verified to work.
19928         * INSTALL: Regenerated.
19930         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
19931         redeclare with asm name.
19932         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
19933         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
19934         including <string.h>.
19935         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
19936         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
19937         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
19938         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
19939         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
19940         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
19941         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
19943 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
19945         * stdlib/strtol.c (__strtol): Use prototype definition.
19947         [BZ #17594]
19948         * stdlib/strtol.c (SYM__): New macro.
19949         (SYM__1): Likewise.
19950         (__strtol): Likewise.
19951         (strtol): Rename to __strtol and define as weak alias of
19952         __strtol.  Use libc_hidden_weak.
19954 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
19956         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
19957         Use numbered labels in inline assembly.
19959 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
19961         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
19962         Add setjmp LIBC_PROBE.
19963         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
19964         Likewise.
19965         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
19966         Add longjmp, longjmp_target LIBC_PROBE.
19967         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
19968         Likewise.
19970 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
19972         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
19973         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
19974         to get rid of unused variable warning.
19976 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
19978         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
19979         Check for unwind_backtrace ==  NULL only in SHARED case.
19980         (__backchain_backtrace): Compile only in SHARED case.
19981         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
19982         Likewise.
19983         (__backchain_backtrace): Declare as static.
19985 2014-11-12  Roland McGrath  <roland@hack.frob.com>
19987         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
19988         (__libc_multiple_threads_ptr): Variable moved ...
19989         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
19991 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
19993         * conform/GlibcConform.pm: New file.
19994         * conform/conformtest.pl: Use GlibcConform module.
19995         * conform/linknamespace.pl: New file.
19996         * conform/list-header-symbols.pl: Likewise.
19997         * conform/Makefile (linknamespace-symlists-base): New variable.
19998         (linknamespace-symlists-tests): Likewise.
19999         (linknamespace-header-base): Likewise.
20000         (linknamespace-header-tests): Likewise.
20001         (tests-special): Add new tests.
20002         ($(linknamespace-symlists-tests)): New rule.
20003         (linknamespace-libs): New variable.
20004         ($(objpfx)symlist-stdlibs): New rule.
20005         ($(linknamespace-header-tests)): Likewise.
20006         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
20007         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
20008         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
20009         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
20010         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
20011         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
20012         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
20013         (test-xfail-ISO/math.h/linknamespace): Likewise.
20014         (test-xfail-ISO/signal.h/linknamespace): Likewise.
20015         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
20016         (test-xfail-ISO/time.h/linknamespace): Likewise.
20017         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
20018         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
20019         (test-xfail-ISO99/math.h/linknamespace): Likewise.
20020         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
20021         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
20022         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
20023         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
20024         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
20025         (test-xfail-ISO11/math.h/linknamespace): Likewise.
20026         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
20027         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
20028         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
20029         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
20030         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
20031         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
20032         (test-xfail-XPG3/math.h/linknamespace): Likewise.
20033         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
20034         (test-xfail-XPG3/search.h/linknamespace): Likewise.
20035         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
20036         (test-xfail-XPG3/time.h/linknamespace): Likewise.
20037         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
20038         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
20039         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
20040         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
20041         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
20042         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
20043         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
20044         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
20045         (test-xfail-XPG4/math.h/linknamespace): Likewise.
20046         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
20047         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
20048         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
20049         (test-xfail-XPG4/search.h/linknamespace): Likewise.
20050         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
20051         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
20052         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
20053         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
20054         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
20055         (test-xfail-XPG4/time.h/linknamespace): Likewise.
20056         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
20057         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
20058         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
20059         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
20060         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
20061         (test-xfail-POSIX/math.h/linknamespace): Likewise.
20062         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
20063         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
20064         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
20065         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
20066         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
20067         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
20068         (test-xfail-POSIX/time.h/linknamespace): Likewise.
20069         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
20070         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
20071         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
20072         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
20073         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
20074         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
20075         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
20076         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
20077         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
20078         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
20079         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
20080         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
20081         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
20082         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
20083         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
20084         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
20085         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
20086         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
20087         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
20088         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
20089         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
20090         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
20091         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
20092         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
20093         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
20094         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
20095         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
20096         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
20097         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
20098         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
20099         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
20100         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
20101         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
20102         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
20103         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
20104         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
20105         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
20106         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
20107         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
20108         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
20109         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
20110         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
20111         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
20112         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
20113         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
20114         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
20115         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
20116         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
20117         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
20118         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
20119         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
20120         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
20121         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
20122         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
20123         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
20124         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
20125         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
20126         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
20127         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
20128         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
20129         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
20130         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
20131         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
20132         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
20133         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
20134         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
20135         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
20136         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
20137         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
20138         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
20139         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
20140         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
20141         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
20142         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
20143         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
20144         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
20145         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
20146         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
20147         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
20148         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
20149         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
20150         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
20151         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
20152         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
20153         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
20154         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
20155         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
20156         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
20157         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
20158         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
20159         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
20160         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
20161         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
20162         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
20163         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
20164         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
20165         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
20166         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
20168         [BZ #17589]
20169         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
20170         of fgets_unlocked.
20172         [BZ #17585]
20173         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
20174         (memmem): Rename to __memmem and define as weak alias of
20175         __memmem.  Use libc_hidden_weak.
20176         (__memmem): Use libc_hidden_def.
20177         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
20178         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
20179         memmem.
20181         [BZ #17582]
20182         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
20183         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
20184         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
20185         and define as weak alias of __fgets_unlocked.  Use
20186         libc_hidden_weak.
20187         (__fgets_unlocked): Use libc_hidden_def.
20188         * include/stdio.h (__fgets_unlocked): Declare.  Use
20189         libc_hidden_proto.
20190         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
20191         __fgets_unlocked instead of fgets_unlocked.
20192         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
20193         (GET_NPROCS_CONF_PARSER): Likewise.
20194         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
20195         (GET_NPROCS_CONF_PARSER): Likewise.
20197         [BZ #17574]
20198         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
20199         weak alias of __wmemset.  Use libc_hidden_weak.
20200         (__wmemset): Use libc_hidden_def.
20201         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
20202         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
20203         of wmemset.
20205         [BZ #17573]
20206         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
20207         with asm name __mempcpy.
20208         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
20210         [BZ #17572]
20211         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
20212         and define as weak alias of __rawmemchr.
20213         (__rawmemchr): Do not define as strong alias of rawmemchr.
20215         [BZ #17571]
20216         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
20217         alias of __qsort_r.
20218         (qsort): Call __qsort_r instead of qsort_r.
20219         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
20220         (__qsort_r): Declare.  Call libc_hidden_proto.
20221         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
20222         instead of qsort_r.
20223         * nscd/gai.c (__qsort_r): Define to qsort_r.
20224         * posix/tst-rfc3484.c (__qsort_r): Likewise.
20225         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
20226         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
20228         [BZ #17570]
20229         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
20230         define as weak alias of __malloc_info.
20232         [BZ #17584]
20233         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
20234         as weak alias of __rewinddir.  Don't use libc_hidden_def.
20235         (__rewinddir): Use libc_hidden_def.
20236         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
20237         as weak alias of __rewinddir.  Don't use libc_hidden_def.
20238         (__rewinddir): Use libc_hidden_def.
20239         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
20240         weak alias of __rewinddir.  Don't use libc_hidden_def.
20241         (__rewinddir): Use libc_hidden_def.
20242         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
20243         (__rewinddir): Use libc_hidden_proto.
20244         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
20245         rewinddir.
20246         (__getcwd): Use __rewinddir instead of rewinddir.
20248         [BZ #17583]
20249         * libio/fileno.c (fileno): Rename to __fileno and define as weak
20250         alias of __fileno.  Use libc_hidden_weak.
20251         (__fileno): Use libc_hidden_def.
20252         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
20253         * libio/ftello.c (ftello): Rename to __ftello and define as weak
20254         alias of __ftello.
20255         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
20256         __ftello.
20257         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
20258         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
20259         libc_hidden_def.
20260         (fread_unlocked): Don't use libc_hidden_ver.
20261         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
20262         and define as weak alias of __fread_unlocked.  Don't use
20263         libc_hidden_def.
20264         (__fread_unlocked): Use libc_hidden_def.
20265         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
20266         (ftello): Don't use libc_hidden_proto.
20267         (__ftello): Declare.  Use libc_hidden_proto.
20268         (fread_unlocked): Don't use libc_hidden_proto.
20269         (__fread_unlocked): Declare.  Use libc_hidden_proto.
20270         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
20271         and __ftello instead of fileno, fread_unlocked and ftello.
20273 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
20275         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
20276         GOT12.
20277         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
20278         Likewise.
20279         (_dl_start_user): Likewise.
20280         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
20282 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
20283             Siddhesh Poyarekar  <siddhesh@redhat.com>
20285         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
20286         Move argv and envp down instead of moving argc up.
20287         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
20289 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
20291         [BZ #17506]
20292         * test-skeleton.c (main): Return successful if one of
20293         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
20294         * string/tst-strcoll-overflow.c: Define expected status.
20296 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
20298         [BZ #17475]
20299         * locale/iso-639.def: Define Bhili and Tulu language codes.
20301 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
20303         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
20305 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
20307         [BZ #17555]
20308         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
20310 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
20312         * configure.ac: Updated check of minimal required version to
20313         2.22.
20314         * manual/install.texi (Tools for Compilation): Updated version
20315         number.
20316         * configure: Regenerated.
20317         * INSTALL: Likewise.
20319 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
20321         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
20322         __tls_get_addr.
20324 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
20326         * include/sys/wait.h (__libc_waitpid): Remove declaration.
20327         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
20328         (__waitpid): Don't define as alias.  Use libc_hidden_def not
20329         libc_hidden_weak.
20330         (waitpid): Define as alias of __waitpid.
20331         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
20332         __waitpid.
20333         (__waitpid): Don't define as alias.  Use libc_hidden_def not
20334         libc_hidden_weak.
20335         (waitpid): Define as alias of __waitpid.
20336         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
20337         __libc_waitpid alias.
20338         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
20339         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
20340         Likewise.
20341         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
20342         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
20343         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
20344         alias.
20345         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
20346         __waitpid.
20347         (__waitpid): Don't define as alias.  Use libc_hidden_def not
20348         libc_hidden_weak.
20349         (waitpid): Define as alias of __waitpid.
20351 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
20353         * manual/llio.texi: Add comment that write safety has been
20354         fixed in Linux.
20356         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
20357         (localplt-build-dso): Add elf/ld.so.
20358         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
20359         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
20360         and free for ld.so.
20361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
20362         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
20363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
20364         Likewise.
20365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
20366         Likewise.
20367         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
20368         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
20369         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
20370         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
20371         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
20372         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
20373         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
20374         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
20375         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
20376         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
20377         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
20379 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
20381         [BZ #14132]
20382         * include/libc-symbols.h (INTUSE): Remove macro.
20383         (INTDEF): Likewise.
20384         (INTVARDEF): Likewise.
20385         (_INTVARDEF): Likewise.
20386         (INTDEF2): Likewise.
20387         (INTVARDEF2): Likewise.
20388         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
20389         rtld_hidden_def instead of INTVARDEF.
20390         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
20391         (_dl_starting_up_internal): Remove declaration.
20392         (_dl_starting_up): Use rtld_hidden_proto.
20393         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
20394         declaration.
20395         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
20396         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
20397         _dl_starting_up.
20398         * elf/dl-writev.h (_dl_writev): Likewise.
20399         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
20400         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
20401         _dl_starting_up_internal.
20403 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20405         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
20406         test-skeleton.c.
20408 2014-11-05  Will Newton  <will.newton@linaro.org>
20410         * benchtests/Makefile: (bench-malloc): Add malloc thread
20411         scalability benchmark.
20412         * benchtests/bench-malloc-threads.c: New file.
20414 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
20416         * sysdeps/aarch64/strchrnul.S: New file.
20418 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20420         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
20421         definition.
20422         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
20423         Likwise.
20424         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
20425         Likewise.
20426         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
20427         Likewise.
20428         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
20429         Likewise.
20430         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
20431         Likewise.
20433 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
20435         * catgets/test-gencat.c: Use test-skeleton.c.
20436         * catgets/tst-catgets.c: Likewise.
20437         * csu/tst-empty.c: Likewise.
20438         * elf/tst-audit2.c: Likewise.
20439         * elf/tst-global1.c: Likewise.
20440         * elf/tst-pathopt.c: Likewise.
20441         * elf/tst-piemod1.c: Likewise.
20442         * elf/tst-tls10.c: Likewise.
20443         * elf/tst-tls11.c: Likewise.
20444         * elf/tst-tls12.c: Likewise.
20445         * gnulib/tst-gcc.c: Likewise.
20446         * iconvdata/tst-e2big.c: Likewise.
20447         * iconvdata/tst-loading.c: Likewise.
20448         * iconv/tst-iconv1.c: Likewise.
20449         * iconv/tst-iconv2.c: Likewise.
20450         * inet/test-inet6_opt.c: Likewise.
20451         * inet/tst-gethnm.c: Likewise.
20452         * inet/tst-network.c: Likewise.
20453         * inet/tst-ntoa.c: Likewise.
20454         * intl/tst-codeset.c: Likewise.
20455         * intl/tst-gettext2.c: Likewise.
20456         * intl/tst-gettext3.c: Likewise.
20457         * intl/tst-ngettext.c: Likewise.
20458         * intl/tst-translit.c: Likewise.
20459         * io/test-stat.c: Likewise.
20460         * libio/test-fmemopen.c: Likewise.
20461         * libio/tst-freopen.c: Likewise.
20462         * libio/tst-sscanf.c: Likewise.
20463         * libio/tst-ungetwc1.c: Likewise.
20464         * libio/tst-ungetwc2.c: Likewise.
20465         * libio/tst-widetext.c: Likewise.
20466         * localedata/tst-ctype.c: Likewise.
20467         * localedata/tst-digits.c: Likewise.
20468         * localedata/tst-leaks.c: Likewise.
20469         * localedata/tst-mbswcs1.c: Likewise.
20470         * localedata/tst-mbswcs2.c: Likewise.
20471         * localedata/tst-mbswcs3.c: Likewise.
20472         * localedata/tst-mbswcs4.c: Likewise.
20473         * localedata/tst-mbswcs5.c: Likewise.
20474         * localedata/tst-setlocale.c: Likewise.
20475         * localedata/tst-trans.c: Likewise.
20476         * localedata/tst-wctype.c: Likewise.
20477         * localedata/tst-xlocale1.c: Likewise.
20478         * login/tst-grantpt.c: Likewise.
20479         * malloc/tst-calloc.c: Likewise.
20480         * malloc/tst-malloc.c: Likewise.
20481         * malloc/tst-mallocstate.c: Likewise.
20482         * malloc/tst-mcheck.c: Likewise.
20483         * malloc/tst-mtrace.c: Likewise.
20484         * malloc/tst-obstack.c: Likewise.
20485         * math/atest-exp2.c: Likewise.
20486         * math/atest-exp.c: Likewise.
20487         * math/atest-sincos.c: Likewise.
20488         * math/test-matherr.c: Likewise.
20489         * math/test-misc.c: Likewise.
20490         * math/test-powl.c: Likewise.
20491         * math/tst-definitions.c: Likewise.
20492         * misc/tst-dirname.c: Likewise.
20493         * misc/tst-efgcvt.c: Likewise.
20494         * misc/tst-fdset.c: Likewise.
20495         * misc/tst-hsearch.c: Likewise.
20496         * misc/tst-mntent2.c: Likewise.
20497         * nptl/tst-sem7.c: Likewise.
20498         * nptl/tst-sem8.c: Likewise.
20499         * nptl/tst-sem9.c: Likewise.
20500         * nss/test-netdb.c: Likewise.
20501         * posix/tst-fnmatch.c: Likewise.
20502         * posix/tst-getlogin.c: Likewise.
20503         * posix/tst-gnuglob.c: Likewise.
20504         * posix/tst-mmap.c: Likewise.
20505         * pwd/tst-getpw.c: Likewise.
20506         * resolv/tst-inet_ntop.c: Likewise.
20507         * rt/tst-timer.c: Likewise.
20508         * stdio-common/test-fseek.c: Likewise.
20509         * stdio-common/test-popen.c: Likewise.
20510         * stdio-common/test-vfprintf.c: Likewise.
20511         * stdio-common/tst-cookie.c: Likewise.
20512         * stdio-common/tst-fileno.c: Likewise.
20513         * stdio-common/tst-gets.c: Likewise.
20514         * stdio-common/tst-obprintf.c: Likewise.
20515         * stdio-common/tst-perror.c: Likewise.
20516         * stdio-common/tst-sprintf2.c: Likewise.
20517         * stdio-common/tst-sprintf3.c: Likewise.
20518         * stdio-common/tst-sprintf.c: Likewise.
20519         * stdio-common/tst-swprintf.c: Likewise.
20520         * stdio-common/tst-tmpnam.c: Likewise.
20521         * stdio-common/tst-unbputc.c: Likewise.
20522         * stdio-common/tst-wc-printf.c: Likewise.
20523         * stdlib/tst-environ.c: Likewise.
20524         * stdlib/tst-fmtmsg.c: Likewise.
20525         * stdlib/tst-limits.c: Likewise.
20526         * stdlib/tst-rand48-2.c: Likewise.
20527         * stdlib/tst-rand48.c: Likewise.
20528         * stdlib/tst-random2.c: Likewise.
20529         * stdlib/tst-random.c: Likewise.
20530         * stdlib/tst-strtol.c: Likewise.
20531         * stdlib/tst-strtoll.c: Likewise.
20532         * stdlib/tst-tls-atexit.c: Likewise.
20533         * stdlib/tst-xpg-basename.c: Likewise.
20534         * string/test-ffs.c: Likewise.
20535         * string/tst-bswap.c: Likewise.
20536         * string/tst-inlcall.c: Likewise.
20537         * string/tst-strtok.c: Likewise.
20538         * string/tst-strxfrm.c: Likewise.
20539         * sysdeps/x86_64/tst-audit10.c: Likewise.
20540         * sysdeps/x86_64/tst-audit3.c: Likewise.
20541         * sysdeps/x86_64/tst-audit4.c: Likewise.
20542         * sysdeps/x86_64/tst-audit5.c: Likewise.
20543         * time/tst-ftime_l.c: Likewise.
20544         * time/tst-getdate.c: Likewise.
20545         * time/tst-mktime3.c: Likewise.
20546         * time/tst-mktime.c: Likewise.
20547         * time/tst-posixtz.c: Likewise.
20548         * time/tst-strptime2.c: Likewise.
20549         * time/tst-strptime3.c: Likewise.
20550         * wcsmbs/tst-btowc.c: Likewise.
20551         * wcsmbs/tst-mbrtowc.c: Likewise.
20552         * wcsmbs/tst-mbsrtowcs.c: Likewise.
20553         * wcsmbs/tst-wchar-h.c: Likewise.
20554         * wcsmbs/tst-wcpncpy.c: Likewise.
20555         * wcsmbs/tst-wcrtomb.c: Likewise.
20556         * wcsmbs/tst-wcsnlen.c: Likewise.
20557         * wcsmbs/tst-wcstof.c: Likewise.
20559 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
20561         [BZ #14132]
20562         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
20563         INTDEF.
20564         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
20565         declaration.
20566         (_dl_mcount): Use rtld_hidden_proto.
20567         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
20568         _dl_mcount.
20569         * elf/rtld.c (_rtld_global_ro): Likewise.
20571         [BZ #14132]
20572         * elf/dl-init.c (_dl_init): Don't use INTDEF.
20573         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
20574         of _dl_init_internal.
20575         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
20576         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
20577         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
20578         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
20579         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
20580         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
20581         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
20582         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
20583         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
20584         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
20585         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
20586         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
20587         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
20588         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
20589         * sysdeps/tile/dl-start.S (_start): Likewise.
20590         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
20591         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
20593         [BZ #14132]
20594         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
20595         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
20596         (rtld_progname): Make macro definition unconditional.
20597         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
20598         INTDEF.
20599         (dlmopen_doit): Do not use INTUSE with _dl_argv.
20600         (dl_main): Likewise.
20601         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
20602         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
20603         instead of _dl_argv_internal.
20604         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
20605         __GI__dl_argv instead of INTUSE(_dl_argv).
20606         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
20607         __GI__dl_argv instead of _dl_argv_internal.
20609         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
20610         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
20611         macro.
20612         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
20613         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
20614         New macro.
20615         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
20616         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
20617         macro.
20618         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
20619         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
20621 2014-11-04  Andreas Schwab  <schwab@suse.de>
20623         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
20625 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20627         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
20628         mtvsrd instruction in binary form.
20630 2014-11-03  Andreas Schwab  <schwab@suse.de>
20632         [BZ #17522]
20633         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
20634         for less than MB_LEN_MAX use a local buffer of that size.
20635         * libio/tst-fputws.c: New file.
20636         * libio/Makefile (tests): Add tst-fputws.
20638 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
20640         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
20641         the size of the fpu_fr.fpu_dregs[] array.
20643 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
20645         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
20646         (__nanosleep): Do not define as alias.
20647         (nanosleep): Define as alias of __nanosleep.
20648         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
20649         __libc_nanosleep name.
20651 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
20653         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
20654         install.texi in comment.
20656 2014-10-31  Torvald Riegel  <triegel@redhat.com>
20658         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
20659         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
20660         ... add here and use lwsync or sync ...
20661         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
20662         ... and add here using lwsync.
20664 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
20666         * elf/dl-machine-reject-phdr.h: New file.
20667         * elf/dl-load.c: #include that.
20668         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
20669         if that returned true.
20671 2014-10-31  Roland McGrath  <roland@hack.frob.com>
20673         [BZ #17496]
20674         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
20675         gen-as-const-headers chunk.  Add a big scare comment after the last
20676         safe place to touch before-compile.
20678 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
20680         * manual/install.texi (Tools for Compilation): Update autoconf
20681         version requirements.
20682         * INSTALL: Regenerated.
20684         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
20685         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
20686         (__libc_pselect): Likewise.
20688         [BZ #14138]
20689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
20690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
20691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
20692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
20694 2014-10-31  Torvald Riegel  <triegel@redhat.com>
20696         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
20697         correct barrier instruction.
20698         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
20699         Likewise.
20700         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
20701         Likewise.
20703 2014-10-30  Roland McGrath  <roland@hack.frob.com>
20705         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
20706         after defining inlines.  Instead, just use parens to defeat macro
20707         expansion of __isctype in its declaration.
20709 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
20711         * include/sys/uio.h (__libc_readv): Remove declaration.
20712         (__libc_writev): Likewise.
20713         * misc/readv.c (__libc_readv): Rename to __readv.
20714         (__readv): Do not define as alias.
20715         (readv): Define as alias of __readv.
20716         * misc/writev.c (__libc_writev): Rename to __writev.
20717         (__writev): Do not define as alias.
20718         (writev): Define as alias of __writev.
20719         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
20720         (__readv): Do not define as alias.
20721         (readv): Define unconditionally as alias of __readv.
20722         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
20723         (__writev): Do not define as alias.
20724         (writev): Define unconditionally as alias of __writev.
20725         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
20726         name.
20727         (writev): Do not define __libc_writev name.
20729 2014-10-30  Roland McGrath  <roland@hack.frob.com>
20731         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
20732         (convert_charseq): New function, broken out of ...
20733         (use_from_charmap): ... here.  Call it.
20734         (use_to_charmap): Use convert_charseq and free instead of duplicating
20735         its code with a variable-length stack struct.
20737 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
20739         * include/fcntl.h (__libc_creat): Remove declaration.
20740         * io/creat.c (__libc_creat): Rename to creat.
20741         (creat): Do not define as alias.
20742         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
20743         of creat instead of __libc_creat.
20744         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
20745         to creat.
20746         (creat): Do not define as alias.
20747         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
20748         __libc_creat.
20749         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
20750         __libc_creat name.
20751         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
20752         Likewise.
20754 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
20756         * manual/llio.texi: Add comments discussing why write() may be
20757         considered MT-unsafe on Linux.
20759 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
20761         * dl-load.c (local_strdup): Remove.
20762         (expand_dynamic_string_token): Use __strdup.
20763         (decompose_rpath): Likewise.
20764         (_dl_map_object): Likewise.
20766 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
20768         [BZ #14132]
20769         * sysdeps/generic/unwind-dw2-fde.c
20770         (__register_frame_info_bases_internal): Do not declare.
20771         (__register_frame_info_table_bases_internal): Likewise.
20772         (__deregister_frame_info_bases_internal): Likewise.
20773         (__register_frame_info_bases): Declare and use hidden_proto before
20774         definition.  Use hidden_def instead of INTDEF.
20775         (__register_frame_info_table_bases): Likewise.
20776         (__deregister_frame_info_bases): Likewise.
20777         (__register_frame_info): Do not use INTUSE.
20778         (__register_frame): Likewise.
20779         (__register_frame_info_table): Likewise.
20780         (__register_frame_table): Likewise.
20781         (__deregister_frame_info): Likewise.
20782         (__deregister_frame): Likewise.
20784 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
20786         * sysdeps/unix/sysv/linux/arm/kernel-features.h
20787         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
20788         not undefine.
20789         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
20790         Likewise.
20791         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
20792         Likewise.
20794 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
20796         [BZ #14138]
20797         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
20798         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
20799         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
20800         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
20801         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
20802         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
20803         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
20804         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
20805         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
20806         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
20807         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
20808         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
20809         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
20810         syscall.
20811         (setfsuid): Likewise.
20812         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
20813         (setfsuid): Likewise.
20814         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
20815         (setfsuid): Likewise.
20816         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
20817         Likewise.
20818         (setfsuid): Likewise.
20819         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
20820         (setfsuid): Likewise.
20821         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
20822         Likewise.
20823         (setfsuid): Likewise.
20825 2014-10-27  Andreas Schwab  <schwab@suse.de>
20827         [BZ #17501]
20828         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
20829         check for Slow_SSE4_2 feature bit.
20830         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
20831         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
20832         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
20833         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
20835 2014-10-24  Roland McGrath  <roland@hack.frob.com>
20837         * configure.ac: Validate compiler version with a empirical test of
20838         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
20839         $CC -v output.
20840         * configure: Regenerated.
20842         * inet/htons.c (htons): Prototypify.
20843         * inet/htonl.c (htonl): Likewise.
20845 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
20847         * string/strncat.c (strncat): Improve performance by using strlen.
20849 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
20851         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
20853 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
20855         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
20856         Call libc_fetestexcept_aarch64.
20858 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
20860         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
20861         Call libc_feholdexcept_aarch64.
20863 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
20865         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
20866         Call get_rounding_mode.
20868 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
20870         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
20871         Simplify logic.
20873 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
20875         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
20876         Simplify logic.
20878 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
20880         [BZ #14138]
20881         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
20882         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
20883         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
20884         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
20885         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
20886         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
20887         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
20888         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
20889         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
20890         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
20891         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
20892         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
20893         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
20894         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
20895         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
20896         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
20897         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
20898         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
20899         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
20900         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
20901         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
20902         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
20903         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
20904         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
20905         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
20906         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
20907         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
20908         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
20909         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
20910         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
20911         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
20912         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
20913         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
20914         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
20915         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
20916         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
20917         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
20918         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
20919         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
20920         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
20921         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
20922         syscall.
20923         (geteuid): Likewise.
20924         (getgid): Likewise.
20925         (getuid): Likewise.
20926         (getresgid): Likewise.
20927         (getresuid): Likewise.
20928         (getgroups): Likewise.
20929         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
20930         (geteuid): Likewise.
20931         (getgid): Likewise.
20932         (getuid): Likewise.
20933         (getresgid): Likewise.
20934         (getresuid): Likewise.
20935         (getgroups): Likewise.
20936         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
20937         (geteuid): Likewise.
20938         (getgid): Likewise.
20939         (getuid): Likewise.
20940         (getresgid): Likewise.
20941         (getresuid): Likewise.
20942         (getgroups): Likewise.
20943         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
20944         Likewise.
20945         (geteuid): Likewise.
20946         (getgid): Likewise.
20947         (getuid): Likewise.
20948         (getresgid): Likewise.
20949         (getresuid): Likewise.
20950         (getgroups): Likewise.
20951         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
20952         (geteuid): Likewise.
20953         (getgid): Likewise.
20954         (getuid): Likewise.
20955         (getresgid): Likewise.
20956         (getresuid): Likewise.
20957         (getgroups): Likewise.
20958         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
20959         Likewise.
20960         (geteuid): Likewise.
20961         (getgid): Likewise.
20962         (getuid): Likewise.
20963         (getgroups): Likewise.
20965         [BZ #14138]
20966         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
20967         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
20968         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
20969         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
20970         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
20971         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
20972         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
20973         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
20974         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
20975         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
20976         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
20977         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
20978         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
20979         __chown.
20980         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
20981         (lchown): Likewise.
20982         (fchown): Likewise.
20983         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
20984         Likewise.
20985         (lchown): Likewise.
20986         (fchown): Likewise.
20987         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
20988         (lchown): Likewise.
20989         (fchown): Likewise.
20990         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
20991         Likewise.
20992         (lchown): Likewise.
20993         (fchown): Likewise.
20995 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
20997         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
20998         Simplify logic.
21000 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
21002         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
21003         Cleanup logic.
21005 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
21007         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
21008         Remove unused include.
21010 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
21012         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
21013         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
21014         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
21015         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
21017 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
21018             Helge Deller <deller@gmx.de>
21020         [BZ #17508]
21021         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
21022         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
21023         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
21025 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
21027         [BZ #14132]
21028         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
21029         Remove macro definition.
21030         (__ashrdi3_v_glibc20): Likewise.
21031         (__lshrdi3_v_glibc20): Likewise.
21032         (__cmpdi2_v_glibc20): Likewise.
21033         (__ucmpdi2_v_glibc20): Likewise.
21034         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
21035         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
21036         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
21037         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
21038         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
21039         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
21041 2014-10-22  Roland McGrath  <roland@hack.frob.com>
21043         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
21044         old GNU extension [0] syntax.
21045         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
21046         alloca rather than an array member with variable length.
21047         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
21048         * nscd/nscd.c (invalidate_db): New function, broken out of ...
21049         (parse_opt): ... here.  Likewise use alloca there.
21050         Validate the -i argument before checking for rootness.
21051         (send_shutdown): New function, broken out of ...
21052         (parse_opt): ... here.
21054 2014-10-22  Roland McGrath  <roland@hack.frob.com>
21056         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
21057         macro to get at the _rt_local_ro field.
21058         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
21059         ([PIC] case) or _dl_hwcap ([!PIC] case).
21060         * sysdeps/arm/setjmp.S: Likewise.
21062         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
21063         * sysdeps/arm/configure.ac: New check to define it.
21064         * sysdeps/arm/configure: Regenerated.
21065         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
21066         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
21067         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
21068         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
21069         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
21070         Use move/movt pair instead of a load.
21071         (LDST_GLOBAL): Macro removed.
21072         (LDR_GLOBAL): New macro replaces it.
21073         (LDR_HIDDEN): New macro.
21074         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
21075         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
21077         * setjmp/tst-setjmp-static.c: New file.
21078         * setjmp/Makefile (tests): Add it.
21079         (tests-static): New variable.
21081 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
21083         [BZ #17485]
21084         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
21086 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
21088         [BZ #14132]
21089         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
21091 2014-10-21  Roland McGrath  <roland@hack.frob.com>
21093         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
21095 2014-10-20  Roland McGrath  <roland@hack.frob.com>
21097         * io/fts.c (dirent_not_directory): New function.
21098         (fts_build): Call it.
21100 2014-10-20  Roland McGrath  <roland@hack.frob.com>
21102         * nptl/version.c (__nptl_main): Use normal __write rather than
21103         INTERNAL_SYSCALL.
21104         (banner): Update copyright years.
21106         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
21107         gettimeofday.
21108         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
21109         * nptl/pthread_cond_timedwait.c: Likewise.
21110         * nptl/pthread_mutex_timedlock.c: Likewise.
21111         * nptl/sem_timedwait.c: Likewise.
21113         * sysdeps/nptl/bits/libc-lock.h
21114         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
21115         (__libc_lock_init_recursive): Return void, not 0.
21116         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
21117         (__libc_rwlock_init): Likewise.
21118         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
21120 2014-10-20  Torvald Riegel  <triegel@redhat.com>
21122         [BZ #15215]
21123         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
21124         (__pthread_once_slow): ... here.
21125         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
21126         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
21128 2014-10-20  Torvald Riegel  <triegel@redhat.com>
21130         [BZ #15215]
21131         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
21132         __PTHREAD_ONCE_FORK_GEN_INCR): New.
21133         * sysdeps/nptl/fork.c (__libc_fork): Use them.
21134         * nptl/pthread_once.c (__pthread_once): Likewise.
21135         Update comments.
21137 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
21139         [BZ #14138]
21140         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
21141         name.
21142         (writev): Use __libc_writev as strong name.
21143         * sysdeps/unix/sysv/linux/readv.c: Remove file.
21144         * sysdeps/unix/sysv/linux/writev.c: Likewise.
21146 2014-10-17  Roland McGrath  <roland@hack.frob.com>
21148         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
21150         * sysdeps/i386/nptl/tls.h
21151         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
21152         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
21153         New macros.
21154         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
21155         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
21156         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
21157         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
21158         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
21159         Call CHECK_THREAD_SYSINFO instead of doing an assert.
21161         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
21162         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
21163         on [__NR_futex].
21164         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
21165         broken out of ...
21166         (__pthread_mutex_init): ... here.  Call it.
21167         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
21168         Conditionalize PI cases on [__NR_futex].
21169         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
21170         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
21171         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
21173         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
21174         conditional on [SIGSETXID].
21175         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
21176         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
21177         is defined.  Likewise for SIGSETXID.
21178         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
21179         Conditionalize definitions on [SIGSETXID].
21180         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
21181         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
21182         unblocking on [SIGCANCEL].
21184         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
21185         [__NR_set_robust_list].
21187 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
21189         * string/strcoll_l.c (get_next_seq): Fix up formatting.
21190         (do_compare): Likewise.
21192 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
21194         [BZ #15884]
21195         * string/strcoll_l.c: Don't include stdio.h.
21196         (coll_seq): Remove members idxarr and rulearr.
21197         (get_next_seq_cached): Remove function.
21198         (get_next_seq): Likewise.
21199         (get_next_seq_nocache): Rename to get_next_seq.
21200         (do_compare): Remove function.
21201         (do_compare_nocache): Rename to do_compare.
21202         (STRCOLL): Remove weight and rules cache.
21204 2014-10-16  Roland McGrath  <roland@hack.frob.com>
21206         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
21207         * sysdeps/arm/sfp-machine.h: ... to here.
21208         * sysdeps/arm/Implies: Remove arm/soft-fp.
21210 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
21212         * conform/data/sys/utsname.h-data (*_t): Allow.
21213         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
21214         [POSIX] (WEXITED): Do not expect constant.
21215         [POSIX] (WSTOPPED): Likewise.
21216         [POSIX] (WNOHANG): Likewise.
21217         [POSIX] (WNOWAIT): Likewise.
21218         [POSIX] (siginfo_t): Do not expect type or elements.
21219         [POSIX] (pid_t): Do not expect type.
21220         [POSIX] (signal.h): Do not allow header.
21221         [POSIX] (sys/resource.h): Likewise.
21222         [POSIX] (si_*): Do not allow pattern.
21223         [POSIX] (W*): Likewise.
21224         [POSIX] (P_*): Likewise.
21225         [POSIX] (BUS_*): Likewise.
21226         [POSIX] (CLD_*): Likewise.
21227         [POSIX] (FPE_*): Likewise.
21228         [POSIX] (ILL_*): Likewise.
21229         [POSIX] (POLL_*): Likewise.
21230         [POSIX] (SEGV_*): Likewise.
21231         [POSIX] (SI_*): Likewise.
21232         [POSIX] (TRAP_*): Likewise.
21233         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
21234         variable.
21236 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
21238         [BZ #12926]
21239         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
21240         infinite loop when __recvmsg returns 0.
21242 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
21244         * CANCEL-FCT-WAIVE: Remove file.
21245         * CANCEL-FILE-WAIVE: Likewise.
21247         [BZ #14132]
21248         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
21249         instead of INTVARDEF.
21250         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
21251         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
21252         rtld_hidden_data_def instead of INTVARDEF.
21253         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
21254         * elf/dl-deps.c (expand_dst): Likewise.
21255         * elf/dl-load.c (_dl_dst_count): Likewise.
21256         (_dl_dst_substitute): Likewise.
21257         (decompose_rpath): Likewise.
21258         (_dl_init_paths): Likewise.
21259         (open_path): Likewise.
21260         (_dl_map_object): Likewise.
21261         * elf/rtld.c (dl_main): Likewise.
21262         (process_dl_audit): Likewise.
21263         (process_envvars): Likewise.
21264         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
21265         Remove declaration.
21266         (__libc_enable_secure): Use rtld_hidden_proto.
21268 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
21270         * elf/dl-load.c
21271         (add_path): New function broken out of _dl_rtld_di_serinfo.
21272         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
21274 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
21276         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
21277         parentheses around macro arguments.
21278         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
21279         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
21280         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
21281         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
21282         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
21283         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
21284         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
21285         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
21286         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
21287         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
21288         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
21289         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
21290         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
21291         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
21292         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
21293         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
21294         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
21295         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
21296         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
21297         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
21298         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
21299         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
21300         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
21301         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
21302         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
21303         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
21304         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
21305         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
21306         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
21307         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
21308         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
21309         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
21310         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
21311         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
21312         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
21313         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
21314         Likewise.
21315         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
21316         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
21317         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
21318         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
21319         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
21320         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
21321         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
21322         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
21323         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
21324         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
21325         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
21326         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
21327         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
21328         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
21329         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
21330         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
21331         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
21332         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
21333         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
21334         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
21335         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
21336         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
21337         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
21338         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
21339         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
21340         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
21341         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
21342         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
21343         (_FP_FRAC_SRS_1): Likewise.
21344         (_FP_FRAC_CLZ_1): Likewise.
21345         (_FP_MUL_MEAT_1_imm): Likewise.
21346         (_FP_MUL_MEAT_1_wide): Likewise.
21347         (_FP_MUL_MEAT_1_hard): Likewise.
21348         (_FP_SQRT_MEAT_1): Likewise.
21349         (_FP_FRAC_ASSEMBLE_1): Likewise.
21350         (_FP_FRAC_DISASSEMBLE_1): Likewise.
21351         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
21352         (__FP_CLZ_2): Likewise.
21353         (_FP_MUL_MEAT_2_wide): Likewise.
21354         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
21355         (_FP_MUL_MEAT_2_gmp): Likewise.
21356         (_FP_MUL_MEAT_2_120_240_double): Likewise.
21357         (_FP_SQRT_MEAT_2): Likewise.
21358         (_FP_FRAC_ASSEMBLE_2): Likewise.
21359         (_FP_FRAC_DISASSEMBLE_2): Likewise.
21360         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
21361         (_FP_FRAC_CLZ_4): Likewise.
21362         (_FP_MUL_MEAT_4_wide): Likewise.
21363         (_FP_MUL_MEAT_4_gmp): Likewise.
21364         (_FP_SQRT_MEAT_4): Likewise.
21365         (_FP_FRAC_ASSEMBLE_4): Likewise.
21366         (_FP_FRAC_DISASSEMBLE_4): Likewise.
21367         * soft-fp/op-common.h (_FP_CMP): Likewise.
21368         (_FP_CMP_EQ): Likewise.
21369         (_FP_CMP_UNORD): Likewise.
21370         (_FP_TO_INT): Likewise.
21371         (_FP_FROM_INT): Likewise.
21372         [!__FP_CLZ] (__FP_CLZ): Likewise.
21373         (_FP_DIV_HELP_imm): Likewise.
21374         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
21375         Likewise.
21376         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
21377         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
21378         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
21379         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
21380         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
21381         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
21382         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
21383         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
21384         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
21385         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
21386         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
21387         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
21388         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
21389         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
21390         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
21391         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
21392         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
21393         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
21394         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
21395         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
21396         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
21397         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
21398         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
21399         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
21400         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
21401         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
21402         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
21403         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
21404         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
21405         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
21406         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
21407         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
21408         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
21409         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
21410         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
21411         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
21412         (FP_UNPACK_RAW_SP): Likewise.
21413         (FP_PACK_RAW_S): Likewise.
21414         (FP_PACK_RAW_SP): Likewise.
21415         (FP_UNPACK_S): Likewise.
21416         (FP_UNPACK_SP): Likewise.
21417         (FP_UNPACK_SEMIRAW_S): Likewise.
21418         (FP_UNPACK_SEMIRAW_SP): Likewise.
21419         (FP_PACK_S): Likewise.
21420         (FP_PACK_SP): Likewise.
21421         (FP_PACK_SEMIRAW_S): Likewise.
21422         (FP_PACK_SEMIRAW_SP): Likewise.
21423         (_FP_SQRT_MEAT_S): Likewise.
21424         (FP_CMP_S): Likewise.
21425         (FP_CMP_EQ_S): Likewise.
21426         (FP_CMP_UNORD_S): Likewise.
21427         (FP_TO_INT_S): Likewise.
21428         (FP_FROM_INT_S): Likewise.
21430         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
21432         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
21433         (FP_EX_INVALID_IMZ): Likewise.
21434         (FP_EX_INVALID_IMZ_FMA): Likewise.
21435         (FP_EX_INVALID_ISI): Likewise.
21436         (FP_EX_INVALID_ZDZ): Likewise.
21437         (FP_EX_INVALID_IDI): Likewise.
21438         (FP_EX_INVALID_SQRT): Likewise.
21439         (FP_EX_INVALID_CVI): Likewise.
21440         (FP_EX_INVALID_VC): Likewise.
21441         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
21442         "invalid" exceptions.
21443         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
21444         (_FP_ADD_INTERNAL): Likewise.
21445         (_FP_MUL): Likewise.
21446         (_FP_FMA): Likewise.
21447         (_FP_DIV): Likewise.
21448         (_FP_CMP_CHECK_NAN): Likewise.
21449         (_FP_SQRT): Likewise.
21450         (_FP_TO_INT): Likewise.
21451         (FP_EXTEND): Likewise.
21453 2014-10-09  Allan McRae  <allan@archlinux.org>
21455         * po/fr.po: Update French translation from translation project.
21457 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
21459         [BZ #14132]
21460         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
21461         of INTDEF.
21462         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
21463         (__cxa_atexit): Use libc_hidden_proto.
21464         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
21466         [BZ #14132]
21467         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
21468         declaration.
21469         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
21470         [!_ISOMAC] (__iswspace_l_internal): Likewise.
21471         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
21472         [!_ISOMAC] (__iswctype_internal): Likewise.
21473         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
21474         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
21475         alias.
21476         (fcntl): Remove __fcntl_internal alias.
21477         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
21478         __connect_internal alias.
21479         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
21480         Likewise.
21482         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
21483         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
21484         FP_DENORM_ZERO.
21485         (_FP_CHECK_FLUSH_ZERO): New macro.
21486         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
21487         (_FP_CMP): Likewise.
21488         (_FP_CMP_EQ): Likewise.
21489         (_FP_TO_INT): Do not set inexact for subnormal arguments if
21490         FP_DENORM_ZERO.
21491         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
21492         (FP_TRUNC): Likewise.
21494         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
21495         treated as invalid conversion, not as normal exponent.
21497         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
21498         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
21499         (_FP_CMP_EQ): Likewise.
21500         (_FP_CMP_UNORD): Likewise.
21501         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
21502         (FP_CMP_EQ_D): Likewise.
21503         (FP_CMP_UNORD_D): Likewise.
21504         * soft-fp/extended.h (FP_CMP_E): Likewise.
21505         (FP_CMP_EQ_E): Likewise.
21506         (FP_CMP_UNORD_E): Likewise.
21507         * soft-fp/quad.h (FP_CMP_Q): Likewise.
21508         (FP_CMP_EQ_Q): Likewise.
21509         (FP_CMP_UNORD_Q): Likewise.
21510         * soft-fp/single.h (FP_CMP_S): Likewise.
21511         (FP_CMP_EQ_S): Likewise.
21512         (FP_CMP_UNORD_S): Likewise.
21513         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
21514         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
21515         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
21516         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
21517         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
21518         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
21519         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
21520         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
21521         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
21522         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
21523         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
21524         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
21525         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
21526         to FP_CMP_Q.
21527         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
21528         FP_CMP_Q.
21529         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
21530         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
21531         FP_CMP_EQ_Q.
21532         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
21533         FP_CMP_Q.
21534         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
21535         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
21536         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
21537         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
21538         FP_CMP_EQ_Q.
21539         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
21540         FP_CMP_Q.
21541         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
21542         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
21543         FP_CMP_EQ_Q.
21544         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
21545         FP_CMP_Q.
21546         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
21547         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
21548         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
21549         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
21550         FP_CMP_EQ_Q.
21552         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
21553         a subnormal result, set the underflow exception if trapping on
21554         underflow is enabled.
21555         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
21556         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
21557         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
21558         redefine to 0.
21559         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
21560         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
21561         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
21562         * soft-fp/extendxftf2.c (__extendxftf2): Use
21563         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
21565         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
21566         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
21567         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
21568         FP_HANDLE_EXCEPTIONS.
21569         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
21570         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
21571         FP_HANDLE_EXCEPTIONS.
21572         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
21573         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
21574         FP_HANDLE_EXCEPTIONS.
21575         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
21576         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
21577         FP_HANDLE_EXCEPTIONS.
21579 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
21581         [BZ #14132]
21582         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
21583         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
21584         use INTUSE.
21585         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
21586         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
21587         Remove alias.
21588         (__adjtimex): Define using libc_hidden_ver.
21589         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
21590         Remove declaration.
21591         (ntp_gettime): Call __adjtimex directly.
21592         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
21593         Remove declaration.
21594         (ntp_gettimex): Call __adjtimex directly.
21595         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
21596         __adjtimex_internal alias.
21598 2014-10-08  Roland McGrath  <roland@hack.frob.com>
21600         [BZ #17460]
21601         * nscd/nscd.c (more_help): Rewrite list of tables collection
21602         using xstrdup and asprintf.
21604         * nscd/nscd_conf.c: Remove local xstrdup declaration.
21606 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
21607             Roland McGrath  <roland@hack.frob.com>
21609         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
21610         (do_lookup_unique): ... local function 'enter' here; update callers.
21612 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
21614         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
21615         compat_symbol calls on [SHARED].
21616         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
21617         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
21618         Remove.
21619         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
21620         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
21621         (oldsetrlimit): Remove.
21622         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
21623         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
21624         (lchown): New syscall entry.
21625         (oldsetrlimit): Remove.
21626         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
21627         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
21628         (oldsetrlimit): Remove.
21629         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
21631         [BZ #14138]
21632         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
21633         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
21634         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
21635         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
21636         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
21637         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
21638         (fchown): Likewise.
21639         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
21640         (fchown): Likewise.
21641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
21642         Likewise.
21644 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21646         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
21647         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
21648         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
21649         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
21650         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
21651         Likewise.
21652         (__old_sem_post): Likewise.
21654 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
21656         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
21657         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
21658         HAVE_CLOCK_GETTIME_VSYSCALL macros.
21659         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
21660         Use INLINE_VSYSCALL macro.
21661         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
21662         __vdso_clock_gettime.
21663         * sysdeps/unix/sysv/linux/tile/init-first.c
21664         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
21665         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
21666         __vdso_clock_gettime.
21668         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
21669         to set up frame more cleanly.
21671         * sysdeps/tile/memcmp.c: New file.
21673         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
21675         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
21676         * sysdeps/tile/tilegx/strcasestr.c: New file.
21677         * sysdeps/tile/tilegx/strnlen.c: New file.
21678         * sysdeps/tile/tilegx/strstr.c: New file.
21680         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
21682 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
21684         * nptl/tst-setuid3.c: Write errors to stdout.
21686 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
21688         * elf/dl-deps.c
21689         (preload): New functions broken out of _dl_map_object_deps.
21690         (_dl_map_object_deps):  Remove a nested function. Update call sites.
21692 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
21694         [BZ #14138]
21695         * sysdeps/unix/sysv/linux/execve.c: Remove file.
21696         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
21698 2014-10-01  Steve Ellcey  <sellcey@mips.com>
21700         * sysdeps/mips/strcmp.S: New.
21702 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
21704         [BZ #14138]
21705         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
21706         (linkat): Likewise.
21707         (mkdirat): Likewise.
21708         (readlinkat): Likewise.
21709         (renameat): Likewise.
21710         (symlinkat): Likewise.
21711         (unlinkat): Likewise.
21712         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
21713         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
21714         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
21715         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
21716         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
21717         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
21718         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
21720 2014-09-30  Will Newton  <will.newton@linaro.org>
21722         * math/math.h: Define long double math functions if
21723         _LIBC_TEST is defined.
21724         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
21726         * localedata/Makefile: Move assignment to tests-special
21727         into an ifdef testing run-built-tests.
21728         * timezone/Makefile: Likewise.
21730 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
21732         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
21733         with $(BASH) not $(SHELL).
21735 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
21736             Matthew LeGendre  <legendre1@llnl.gov>
21738         [BZ #17411]
21739         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
21740         l_reloc_result.
21742 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
21744         * stdio-common/printf_fp.c
21745         (hack_digit): New function, broken out of ...
21746         (__printf_fp): ... local function here.  Update call sites.
21747         hack_digit now takes an additional parameter that is a pointer
21748         to a struct of the referenced locals.  Those locals moved inside
21749         the struct and references updated.
21751 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
21753         * aclocal.m4: Require autoconf 2.69.
21754         * configure: Regenerated.
21755         * sysdeps/aarch64/configure: Likewise.
21756         * sysdeps/alpha/configure: Likewise.
21757         * sysdeps/arm/armv7/configure: Likewise.
21758         * sysdeps/arm/configure: Likewise.
21759         * sysdeps/ia64/configure: Likewise.
21760         * sysdeps/mach/configure: Likewise.
21761         * sysdeps/mips/configure: Likewise.
21762         * sysdeps/s390/configure: Likewise.
21763         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
21764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
21766         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
21767         file.
21768         * sysdeps/ia64/configure.ac: Likewise.
21770 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
21772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
21773         specify symbol version for ld.so.  Do not include entry for
21774         libpthread.
21775         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
21776         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
21777         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
21779         [BZ #14171]
21780         * Makeconfig [$(build-shared) = yes]
21781         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
21782         makefiles.
21783         [$(build-shared) = yes && $(soversions.mk-done) = t]
21784         ($(common-objpfx)gnu/lib-names.h): Remove rule.
21785         [$(build-shared) = yes && $(soversions.mk-done) = t]
21786         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
21787         to Makerules.
21788         [$(build-shared) = yes && $(soversions.mk-done) = t]
21789         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
21790         here.
21791         [$(build-shared) = yes && $(soversions.mk-done) = t]
21792         (common-generated): Don't append gnu/lib-names.h and
21793         gnu/lib-names.stmp here.
21794         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
21795         (lib-names-h-abi): New variable.
21796         [$(build-shared) = yes && $(soversions.mk-done) = t]
21797         (lib-names-stmp-abi): Likewise.
21798         [$(build-shared) = yes && $(soversions.mk-done) = t &&
21799         abi-variants] (before-compile): Append
21800         $(common-objpfx)$(lib-names-h-abi).
21801         [$(build-shared) = yes && $(soversions.mk-done) = t &&
21802         abi-variants] (common-generated): Append gnu/lib-names.h.
21803         [$(build-shared) = yes && $(soversions.mk-done) = t &&
21804         abi-variants] (install-others-nosubdir): Depend on
21805         $(inst_includedir)/$(lib-names-h-abi).
21806         [$(build-shared) = yes && $(soversions.mk-done) = t &&
21807         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
21808         [$(build-shared) = yes && $(soversions.mk-done) = t]
21809         ($(common-objpfx)$(lib-names-h-abi)): New rule.
21810         [$(build-shared) = yes && $(soversions.mk-done) = t]
21811         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
21812         [$(build-shared) = yes && $(soversions.mk-done) = t]
21813         (common-generated): Append $(lib-names-h-abi) and
21814         $(lib-names-stmp-abi).
21815         * scripts/lib-names.awk: Do not handle multi being set.
21816         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
21817         Remove variable.
21818         (abi-lp64_be-ld-soname): Likewise.
21819         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
21820         Likewise.
21821         (abi-hard-ld-soname): Likewise.
21822         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
21823         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
21824         Remove variable.
21825         (abi-o32_hard-ld-soname): Likewise.
21826         (abi-o32_soft_2008-ld-soname): Likewise.
21827         (abi-o32_hard_2008-ld-soname): Likewise.
21828         (abi-n32_soft-ld-soname): Likewise.
21829         (abi-n32_hard-ld-soname): Likewise.
21830         (abi-n32_soft_2008-ld-soname): Likewise.
21831         (abi-n32_hard_2008-ld-soname): Likewise.
21832         (abi-n64_soft-ld-soname): Likewise.
21833         (abi-n64_hard-ld-soname): Likewise.
21834         (abi-n64_soft_2008-ld-soname): Likewise.
21835         (abi-n64_hard_2008-ld-soname): Likewise.
21836         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
21837         Likewise.
21838         (abi-64-v2-ld-soname): Likewise.
21839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
21840         ld.so entries.
21841         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
21842         variable.
21843         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
21844         entry.
21845         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
21846         variable.
21847         (abi-64-ld-soname): Likewise.
21848         (abi-x32-ld-soname): Likewise.
21849         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
21850         entry.
21851         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
21853 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
21855         [BZ #14138]
21856         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
21857         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
21858         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
21859         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
21860         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
21861         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
21862         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
21863         syscall entry for GLIBC_2.2 symbol version.
21864         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
21865         Likewise.
21866         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
21867         (setrlimit): Likewise.
21868         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
21869         Likewise.
21871 2014-09-23  Will Newton  <will.newton@linaro.org>
21873         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
21874         _LINUX_ARM_SYSDEP_H include guard too.
21875         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
21876         define.
21878 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
21880         * sysdeps/unix/sysv/linux/eventfd.c:
21881         Make first argument unsigned.
21882         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
21883         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
21885 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
21887         * socket/recvmmsg.c (recvmmsg): Drop const argument.
21888         * socket/sys/socket.h: Likewise
21889         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
21891 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21893         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
21895 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
21897         * time/tst-ftime.c: New test.
21898         * time/Makefile (tests): Add tst-ftime.
21900 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
21902         * soft-fp/extended.h: Fix comment formatting.
21903         * soft-fp/op-1.h: Likewise.
21904         * soft-fp/op-2.h: Likewise.
21905         * soft-fp/op-4.h: Likewise.
21906         * soft-fp/op-8.h: Likewise.
21907         * soft-fp/op-common.h: Likewise.
21908         * soft-fp/soft-fp.h: Likewise.
21910         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
21912 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
21914         [BZ #6652]
21915         * Makeconfig (soversions-default-setname): Remove variable.
21916         ($(common-objpfx)soversions.i): Don't pass default_setname to
21917         soversions.awk.
21918         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
21919         oldest_abi to abi-versions.awk.
21920         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
21921         * config.make.in (oldest-abi): Remove variable.
21922         * configure.ac (--enable-oldest-abi): Remove configure option.
21923         * configure: Regenerated.
21924         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
21925         text.
21926         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
21927         * scripts/soversions.awk: Do not handle default_setname variable.
21928         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
21929         variable.
21930         * sysdeps/mach/hurd/configure: Regenerated.
21931         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
21932         variable.
21933         * sysdeps/unix/sysv/linux/configure: Regenerated.
21935 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
21937         * elf/Makefile (CFLAGS-interp.c): Remove.
21938         ($(elf-objpfx)runtime-linker.h): Generate header with linker
21939         path string.
21940         * elf/interp.c: Include generated runtime-linker.h
21942         * Makerules (lib%.so): Don't include $(+interp) in
21943         prerequisites.
21944         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
21945         * dlfcn/eval.c: Remove file.
21947         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
21948         macros.
21950         [BZ #17266]
21951         * misc/sys/cdefs.h: Define __extern_always_inline for clang
21952         4.2 and newer.
21954         [BZ #17370]
21955         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
21957 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
21958             Jakub Jelinek  <jakub@redhat.com>
21960         [BZ #17266]
21961         * libio/stdio.h: Check definition of __fortify_function
21962         instead of __extern_always_inline to include bits/stdio2.h.
21963         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
21964         check if __extern_always_inline is defined.
21965         [__USE_MISC || __USE_XOPEN]: Likewise.
21966         [__USE_ISOC99] Likewise.
21967         * misc/sys/cdefs.h (__fortify_function): Define only if
21968         __extern_always_inline is defined.
21969         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
21970         __extern_always_inline and __extern_inline only for g++-4.3
21971         and newer or a compatible gcc.
21973 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
21975         [BZ #17371]
21976         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
21977         last change to handle zero prefix length.
21979 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21981         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
21982         _SC_REGEX_VERSION.
21984         * posix/getconf.c (vars): Add _POSIX_IPV6 and
21985         _POSIX_RAW_SOCKETS.
21987 2014-09-13  Allan McRae  <allan@archlinux.org>
21989         * po/ru.po: Update Russian translation from translation project.
21991 2014-09-12  Roland McGrath  <roland@hack.frob.com>
21993         * locale/programs/locale.c (show_locale_vars): Inline local function
21994         into its sole call site.  Clean up some style nits.
21995         (print_item): New function, broken out of ...
21996         (show_info): ... local function here.  Clean up style nits.
21998         * locale/programs/ld-ctype.c (set_one_default): New function, broken
21999         out of ...
22000         (set_class_defaults): ... local function set_default here.
22001         Define set_default as a macro locally to pass constant parameters.
22002         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
22003         rather than a shared local.
22005         * stdlib/rpmatch.c (try): New function, broken out of ...
22006         (rpmatch): ... local function here.  Also, prototypify definition.
22008 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
22010         * scripts/soversions.awk: Do not handle configuration names.
22011         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
22012         vendor and os variables to soversions.awk.
22013         * configure.ac: Do not modify gnu-* host_os.
22014         * configure: Regenerated
22015         * shlib-versions: Remove first column with configuration names.
22016         * nptl/shlib-versions: Likewise.
22017         * nptl_db/shlib-versions: Likewise.
22018         * sysdeps/hppa/shlib-versions: Likewise.
22019         * sysdeps/m68k/shlib-versions: Likewise.
22020         * sysdeps/mach/hurd/shlib-versions: Likewise.
22021         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
22022         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
22023         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
22024         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
22025         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
22026         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
22027         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
22028         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
22029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
22030         Likewise.
22031         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
22032         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
22033         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
22034         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
22035         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
22036         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
22037         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
22038         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
22040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
22041         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
22042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
22043         Regenerated.
22044         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
22045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
22046         Condition symbol version definitions on [HAVE_ELFV2_ABI].
22048         * shlib-versions: Remove OS-specific entries.  Moved to files in
22049         sysdeps.
22050         * sysdeps/mach/hurd/shlib-versions: New file.
22051         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
22053         * nptl/shlib-versions: Remove architecture-specific entries.
22054         Moved to files in sysdeps.
22055         * shlib-versions: Likewise.
22056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
22057         file.
22058         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
22059         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
22060         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
22061         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
22063         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
22064         (UDP_NO_CHECK6_RX): Likewise.
22066 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
22068         * sysdeps/posix/sysconf.c (__sysconf): Spell
22069         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
22071 2014-08-12  Florian Weimer  <fweimer@redhat.com>
22073         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
22074         loading.
22075         * iconv/Versions (__gconv_transliterate): Export for use from
22076         gconv modules.
22077         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
22078         (struct __gconv_trans_data, __gconv_trans_fct,
22079         __gconv_trans_context_fct, __gconv_trans_query_fct,
22080         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
22081         definitions.
22082         (struct __gconv_step_data): Remove __trans member.
22083         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
22084         longer hidden.  Remove unused trans_data argument.
22085         * iconv/gconv_int.h (struct trans_struct): Remove definition.
22086         (__gconv_translit_find): Remove declaration.
22087         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
22088         prototype.
22089         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
22090         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
22091         trans_data argument.  Add hidden definition.
22092         (__gconv_translit_find): Remove.
22093         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
22094         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
22095         * iconv/skeleton.c: Remove transliteration initialization.
22096         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
22097         __gconv_step_data initialization.
22098         * libio/iofwide.c (__libio_translit_): Remove.
22099         (_IO_fwide): Adjust struct __gconv_step_data initialization.
22100         * wcsmbs/btowc.c (__btowc): Likewise.
22101         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
22102         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
22103         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
22104         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
22105         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
22106         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
22107         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
22108         * wcsmbs/wctob.c (wctob): Likewise.
22110 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
22112         [BZ #16194]
22113         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
22114         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
22115         register usage.
22116         * sysdeps/x86/Makefile: Adjust.
22118 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
22119             Roland McGrath  <roland@hack.frob.com>
22121         * locale/weight.h: Add include guard.
22122         (findidx): Make static rather than auto; take new parameters
22123         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
22124         * locale/weightwc.h: Likewise.
22125         * posix/fnmatch_loop.c
22126         (FCT): Change type of EXTRA from int32_t to wint_t.
22127         Don't include either header inside the function.
22128         Call FINDIDX rather than findidx, and pass new arguments.
22129         #undef FINDIDX at the end of the file.
22130         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
22131         FINDIDX before including fnmatch_loop.c for the non-wide version.
22132         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
22133         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
22134         for the wide version.
22135         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
22136         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
22137         Pass new arguments to findidx.
22138         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
22139         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
22140         Don't #include it inside the function.  Pass new arguments to findidx.
22141         * posix/regex_internal.h
22142         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
22143         (re_string_elem_size_at): Don't #include it inside the function.
22144         Pass new arguments to findidx.
22145         * string/strcoll_l.c: #include WEIGHT_H at top level.
22146         (get_next_seq): Don't #include it inside the function.
22147         Pass new arguments to findidx.
22148         (get_next_seq_nocache): Likewise.
22149         * string/strxfrm_l.c: #include WEIGHT_H at top level.
22150         (STRXFRM): Don't #include it inside the function.
22151         Pass new arguments to findidx.
22153 2014-09-11  Florian Weimer  <fweimer@redhat.com>
22155         [BZ #17344]
22156         * malloc/malloc.c (unlink): Turn asserts into a call to
22157         malloc_printerr.
22159 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
22161         [BZ #17370]
22162         * libio/wfileops (do_ftell_wide): Free OUT.
22164 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
22166         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
22168 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22170         [BZ #17363]
22171         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
22172         group if the current group is empty.
22174 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22176         * benchtests/bench-memset.c (test_main): Add more test from size
22177         from 32 to 512 bytes.
22178         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22179         Add POWER8 memset object.
22180         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22181         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
22182         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
22183         implementation.
22184         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
22185         Likewise.
22186         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
22187         multiarch POWER8 memset optimization.
22188         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
22189         POWER8 memset optimization.
22191         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22192         Remove bzero multiarch objects.
22193         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
22194         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
22195         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
22196         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
22197         Remove define.
22198         [__bzero]: Redefine to specific name.
22199         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
22200         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
22201         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
22202         define.
22203         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
22204         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
22206 2014-09-10  Florian Weimer  <fweimer@redhat.com>
22208         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
22209         warnings into errors.
22211         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
22212         __cxa_thread_atexit_impl prototype.
22214 2014-09-09  Steve Ellcey  <sellcey@mips.com>
22216         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
22217         Fix capitalization of error message.
22219 2014-09-09  Steve Ellcey  <sellcey@mips.com>
22221         * sysdeps/mips/preconfigure: Modify ABI tests.
22223 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
22225         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
22227 2014-09-07  Roland McGrath  <roland@hack.frob.com>
22228             Carlos O'Donell  <carlos@systemhalted.org>
22230         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
22231         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
22232         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
22233         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
22234         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
22235         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
22236         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
22237         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
22238         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
22239         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
22240         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
22241         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
22242         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
22243         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
22244         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
22245         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
22246         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
22247         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
22248         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
22249         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
22250         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
22251         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
22252         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
22253         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
22254         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
22255         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
22256         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
22257         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
22258         Deconditionalize the code that was previously under [RESET_PID].
22259         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
22260         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
22261         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
22262         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
22263         include sysdep.h.
22265 2014-09-08  Allan McRae  <allan@archlinux.org>
22267         * version.h (RELEASE): Set to "development".
22268         (VERSION): Set to "2.20.90"
22270 2014-09-07  Allan McRae  <allan@archlinux.org
22272         * version.h (RELEASE): Set to "stable".
22273         (VERSION): Set to "2.20"
22274         * include/features.h (__GLIBC_MINOR__): Set to 20.
22276         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
22277         Liebler.
22279         * po/ko.po: Update Korean translation from translation project.
22281 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
22283         [BZ #17354]
22284         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
22285         macro for handling signed relocations.
22287 2014-09-03  Florian Weimer  <fweimer@redhat.com>
22289         [BZ #17325]
22290         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
22291         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
22292         assert.
22293         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
22294         * iconvdata/ibm935.c (BODY): Likewise.
22295         * iconvdata/ibm937.c (BODY): Likewise.
22296         * iconvdata/ibm939.c (BODY): Likewise.
22297         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
22298         assert.
22299         * iconvdata/Makefile (iconv-test.out): Pass module list to test
22300         script.
22301         * iconvdata/run-iconv-test.sh: New test loop for checking for
22302         decoder crashers.
22304 2014-09-02  Khem Raj  <raj.khem@gmail.com>
22306         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
22307         libm_hidden_ver.
22309 2014-09-01  Allan McRae  <allan@archlinux.org>
22311         * po/eo.po: Update Esperanto translation from translation project.
22313         * po/ca.po: Update Catalan translation from translation project.
22315 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22317         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
22318         __proc_dostop call.
22320 2014-08-27  Mark Wielaard  <mjw@redhat.com>
22322         [BZ #17319]
22323         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
22324         to call set_thread_area instead of hand written asm.
22325         (__NR_set_thread_area): Removed define.
22326         (TLS_FLAG_WRITABLE): Likewise.
22327         (__ASSUME_SET_THREAD_AREA): Remove check.
22328         (TLS_EBX_ARG): Remove define.
22329         (TLS_LOAD_EBX): Likewise.
22331 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22333         Simplify atomicity of socket creation in bind.
22335         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
22336         looking up the name after linking the file.
22338 2014-08-27  Allan McRae  <allan@archlinux.org>
22340         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
22342 2014-08-26  Florian Weimer  <fweimer@redhat.com>
22344         [BZ #17187]
22345         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
22346         trans_compare, open_translit, __gconv_translit_find):
22347         Remove module loading code.
22349 2014-08-26  Allan McRae  <allan@archlinux.org>
22351         * po/vi.po: Update Vietnamese translation from translation project.
22353         * po/uk.po: Update Ukrainian translation from translation project.
22355         * po/fr.po: Update French translation from translation project.
22357         * po/ru.po: Update Russian translation from translation project.
22359         * po/pl.po: Update Polish translation from translation project.
22361         * po/cs.po: Update Czech translation from translation project.
22363         * po/de.po: Update German translation from translation project.
22365         * po/bg.po: Update Bulgarian translation from translation project.
22367         * po/sv.po: Update Sweedish translation from translation project.
22369         * po/nl.po: Update Dutch translation from translation project.
22371         * po/es.po: Update Spanish translation from translation project.
22373 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22375         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
22377         * catgets/Makefile (CPPFLAGS-gencat): Remove.
22378         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
22379         (CPPFLAGS-iconvconfig): Likewise.
22380         * timezone/Makefile (CPPFLAGS-zic): Likewise.
22382         * include/libc-symbols.h: Remove unnecessary check for
22383         NOT_IN_libc.
22384         * nptl/pthreadP.h: Likewise.
22385         * sysdeps/aarch64/setjmp.S: Likewise.
22386         * sysdeps/alpha/setjmp.S: Likewise.
22387         * sysdeps/arm/sysdep.h: Likewise.
22388         * sysdeps/i386/setjmp.S: Likewise.
22389         * sysdeps/m68k/setjmp.c: Likewise.
22390         * sysdeps/posix/getcwd.c: Likewise.
22391         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
22392         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
22393         * sysdeps/s390/s390-32/setjmp.S: Likewise.
22394         * sysdeps/s390/s390-64/setjmp.S: Likewise.
22395         * sysdeps/sh/sh3/setjmp.S: Likewise.
22396         * sysdeps/sh/sh4/setjmp.S: Likewise.
22397         * sysdeps/unix/alpha/sysdep.h: Likewise.
22398         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
22399         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
22400         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
22401         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
22402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
22403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
22404         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22405         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
22406         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
22407         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
22408         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22409         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
22410         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
22411         * sysdeps/x86_64/setjmp.S: Likewise.
22413 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
22415         [BZ #17263]
22416         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
22417         <stdint.h>.
22418         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
22419         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
22421 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
22423         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
22425         [BZ #17262]
22426         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
22427         and __x86_64__ when disabling x87 inline functions.
22429 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
22431         [BZ #17259]
22432         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
22433         asm statement with __cpuid_count.
22435 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
22437         * configure.ac: Change __ehdr_start code to dereference the struct.
22438         Run readelf on the output to look for relocations.
22439         * configure: Regenerated.
22441 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
22443         [BZ #17261]
22444         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
22445         value to 0.
22446         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
22448 2014-08-12  Roland McGrath  <roland@hack.frob.com>
22450         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
22452 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
22454         [BZ #16892]
22455         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
22456         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
22458 2014-08-12  Sean Anderson  <seanga2@gmail.com>
22460         * malloc/malloc.c: Fix typo in comment.
22462 2014-08-09  Allan McRae  <allan@archlinux.org>
22464         * Regenerate libc.po.
22466 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
22468         * intl/tst-gettext2.sh: Check every lang file for creation.
22470 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
22472         * sysdeps/aarch64/fpu/math_private.h
22473         (libc_feholdsetround_noex_aarch64_ctx): New function.
22475 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
22477         * sysdeps/arm/armv6/strcpy.S (strcpy):
22478         Fix performance issue in misaligned cases.
22480 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22482         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
22483         Move definition from termios.h.
22484         (struct termio): Likewise.
22485         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
22486         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
22487         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
22488         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
22489         Likewise.
22490         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
22491         Move definition to ioctl-types.h
22492         (struct termio): Likewise.
22493         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
22494         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
22495         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
22496         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
22497         Likewise.
22499 2014-08-05  Richard Henderson  <rth@redhat.com>
22501         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
22502         exceptions.
22503         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
22504         Add fraiseexcpt.
22505         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
22506         Use __feraiseexcept.
22507         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
22508         Protect libm symbols with IS_IN_libm.
22510         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
22512 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
22514         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
22516 2014-08-04  Will Newton  <will.newton@linaro.org>
22518         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
22519         file.
22521 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
22523         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
22524         variants for each function.
22526 2014-08-04  Roland McGrath  <roland@hack.frob.com>
22528         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
22529         appended ...
22530         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
22531         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
22532         appended ...
22533         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
22534         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
22535         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
22536         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
22537         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
22538         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
22539         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
22540         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
22541         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
22542         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
22543         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
22544         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
22545         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
22546         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
22547         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
22548         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
22549         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
22550         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
22551         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
22552         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
22553         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
22554         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
22555         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
22556         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
22557         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
22558         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
22559         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
22560         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
22561         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
22562         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
22563         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
22564         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
22565         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
22566         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
22567         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
22568         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
22569         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
22570         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
22571         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
22572         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
22573         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
22574         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
22575         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
22576         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
22577         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
22578         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
22579         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
22580         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
22581         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
22582         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
22583         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
22584         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
22585         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
22586         Update #include.
22587         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
22588         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
22590 2014-08-04  Roland McGrath  <roland@hack.frob.com>
22592         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
22593         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
22594         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
22595         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
22596         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
22597         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
22599 2014-08-04  Roland McGrath  <roland@hack.frob.com>
22601         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
22602         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
22603         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
22604         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
22606 2014-08-04  Roland McGrath  <roland@hack.frob.com>
22608         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
22609         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
22610         (__libc_vfork): Define function under this name.
22611         (__vfork): Define as an alias.
22612         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
22613         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
22615 2014-08-04  Roland McGrath  <roland@hack.frob.com>
22617         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
22618         that was previously under [RESET_PID].
22619         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
22621 2014-08-04  Andreas Schwab  <schwab@suse.de>
22623         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
22625 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
22627         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
22628         (main): Likewise.
22630 2014-08-01  Roland McGrath  <roland@hack.frob.com>
22632         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
22634 2014-08-01  Richard Henderon  <rth@redhat.com>
22636         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
22637         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
22638         typo in exact zero test.
22639         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22640         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22641         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22643 2014-08-01  Roland McGrath  <roland@hack.frob.com>
22645         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
22646         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
22647         * sysdeps/arm/sysdep.h: ... here.
22648         [!__ASSEMBLER__]: Include <stdint.h>.
22650 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
22652         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
22653         (HAVE_WCTYPE_H): Likewise.
22654         (HAVE_ISWCTYPE): Likewise.
22655         (ENABLE_NLS): Likewise.
22656         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
22657         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
22659         * posix/regex_internal.c: Check if DEBUG is defined and is
22660         set.
22662         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
22663         (HAVE_MBSRTOWCS): Likewise.
22664         * posix/fnmatch.c: Include string.h unconditionally.
22666 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
22668         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
22669         reversal.
22671 2014-07-31  Roland McGrath  <roland@hack.frob.com>
22673         * sysdeps/generic/safe-fatal.h: New file.
22674         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
22675         * nptl/forward.c: Include it.
22676         (__pthread_unwind): Use __safe_fatal as default action, rather
22677         than a bogus use of INTERNAL_SYSCALL that could never work.
22679         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
22680         * configure.ac (libc_cv_builtin_trap): New test.
22681         * configure: Regenerated.
22682         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
22683         (ABORT_INSTRUCTION): Define using __builtin_trap.
22685         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
22686         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
22687         * sysdeps/nptl/nptl-signals.h: New file.
22688         * nptl/pthreadP.h: Include <nptl-signals.h>.
22690 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
22692         * sysdeps/s390/s390-64/utf16-utf32-z9.c
22693         (ONE_DIRECTION): Define.
22694         * sysdeps/s390/s390-64/utf8-utf16-z9.c
22695         (ONE_DIRECTION): Define.
22696         * sysdeps/s390/s390-64/utf8-utf32-z9.c
22697         (ONE_DIRECTION): Define.
22699 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
22701         * sysdeps/s390/Makefile: Delete file.
22702         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
22703         * sysdeps/s390/__longjmp.c: Delete file.
22704         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
22705         Remove fields __flags and __reserved.
22706         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
22707         and add versioning.
22708         * sysdeps/s390/rtld-__longjmp.c: Delete file.
22709         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
22710         * sysdeps/s390/rtld-setjmp.S: Likewise.
22711         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
22712         * sysdeps/s390/s390-32/__longjmp.c: ... here.
22713         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
22714         * sysdeps/s390/s390-32/setjmp.S: ... here.
22715         Add versioning.
22716         (__sigsetjmp): Remove setting __flags field.
22717         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
22718         * sysdeps/s390/s390-64/__longjmp.c: ... here.
22719         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
22720         * sysdeps/s390/s390-64/setjmp.S: ... here.
22721         Add versioning.
22722         (__sigsetjmp): Remove setting __flags field.
22723         * sysdeps/s390/setjmp.S: Delete file.
22724         * sysdeps/s390/sigjmp.c: Likewise.
22725         * sysdeps/s390/v1-longjmp.c: Likewise.
22726         * sysdeps/s390/v1-setjmp.h: Likewise.
22727         * sysdeps/s390/v1-sigjmp.c: Likewise.
22728         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
22729         Remove v1-longjmp_chk.
22730         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
22731         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
22732         Include debug/longjmp_chk.c and add versioning.
22733         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
22734         Include nptl/pt-longjmp.c and add versioning.
22735         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
22736         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
22737         Include __longjmp.c.
22738         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
22739         Move to ...
22740         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
22741         (__getcontext): Remove setting __flags field.
22742         Add versioning.
22743         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
22744         Don't restore upper high grps.
22745         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
22746         Likewise.
22747         (__swapcontext): Remove setting uc_flags field.
22748         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
22749         Delete file.
22750         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
22751         Include __longjmp.c.
22752         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
22753         Move to ...
22754         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
22755         (__getcontext): Remove setting __flags field.
22756         Add versioning.
22757         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
22758         (__swapcontext): Remove setting uc_flags field.
22759         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
22760         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
22761         Remove fields uc_high_gprs and __reserved.
22762         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
22763         New file with reverted content.
22764         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
22765         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
22766         Regenerated.
22767         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
22768         Regenerated.
22770 2014-07-31  Andreas Schwab  <schwab@suse.de>
22772         * config.h.in (HAVE_IFUNC): Define to 0.
22773         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
22774         definedness.
22776 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
22778         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22779         memmove-avx-unaligned, memcpy-avx-unaligned and
22780         mempcpy-avx-unaligned.
22781         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22782         Add tests for AVX memcpy functions.
22783         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
22784         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
22785         memcpy_chk.
22786         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
22787         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
22788         memmove_chk.
22789         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
22790         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
22791         mempcpy_chk.
22792         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
22793         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
22794         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
22796 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22798         [BZ #17213]
22799         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
22800         powerpc64le.
22802 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
22804         [BZ #16839]
22805         * manual/llio.texi: Add section about open file description locks.
22806         * manual/examples/ofdlocks.c: Example of open file description
22807         lock usage.
22808         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
22809         F_OFD_SETLK, and F_OFD_SETLKW.
22811 2014-07-23  Allan McRae  <allan@archlinux.org>
22813         * po/es.po: Update Spanish translation from translation project.
22815 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
22817         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
22819 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
22821         [BZ #17078]
22822         * sysdeps/arm/dl-machine.h (elf_machine_rela)
22823         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
22824         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
22826 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
22828         [BZ #17088]
22829         * math/fesetenv.c (__fesetenv)
22830         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
22831         * math/feupdateenv.c (__feupdateenv)
22832         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
22834         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
22835         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
22836         (__ASSUME_SOCKETCALL): Do not define.
22838         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
22839         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
22840         (__ASSUME_SOCKETCALL): Do not define.
22841         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
22842         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
22843         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
22844         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
22845         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22846         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
22847         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22848         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22850         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
22851         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
22852         (__ASSUME_SOCKETCALL): Do not define.
22853         (__ASSUME_IPC64): Define unconditionally.
22854         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
22855         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
22856         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
22857         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22858         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
22859         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22860         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
22861         Likewise.
22863         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
22864         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
22865         (__ASSUME_SOCKETCALL): Do not define.
22866         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
22867         (__ASSUME_FUTEX_LOCK_PI): Likewise.
22868         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
22869         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
22870         (__ASSUME_REQUEUE_PI): Define unconditionally.
22871         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
22872         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
22873         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22874         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
22875         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22876         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22878         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
22879         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
22880         (__ASSUME_SOCKETCALL): Do not define.
22881         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
22882         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22883         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22884         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
22885         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22886         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22888         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
22889         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
22890         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
22891         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
22892         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22893         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
22894         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22895         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
22896         (__ASSUME_GETCPU_SYSCALL): Likewise.
22898         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
22899         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
22900         cases for individual architectures.
22901         * sysdeps/gnu/configure: Regenerated.
22902         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
22903         LIBC_SLIBDIR_RTLDDIR.
22904         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
22905         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
22906         LIBC_SLIBDIR_RTLDDIR.
22907         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
22908         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
22909         LIBC_SLIBDIR_RTLDDIR.
22910         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
22911         Regenerated.
22912         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
22913         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
22914         file.
22915         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
22916         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
22917         file.
22918         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
22919         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
22920         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
22921         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
22923         * sysdeps/aarch64/shlib-versions: Move to ...
22924         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
22925         * sysdeps/alpha/shlib-versions: Move to ...
22926         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
22927         * sysdeps/arm/shlib-versions: Move to ...
22928         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
22929         * sysdeps/hppa/shlib-versions: Move all contents except for
22930         libgcc_s entry to ...
22931         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
22932         entry from ...
22933         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
22934         * sysdeps/ia64/shlib-versions: Move to ...
22935         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
22936         entry from ...
22937         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
22938         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
22939         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
22940         * sysdeps/microblaze/shlib-versions: Move to ...
22941         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
22942         * sysdeps/mips/shlib-versions: Move to ...
22943         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
22944         entry from ...
22945         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
22946         * sysdeps/tile/shlib-versions: Move to ...
22947         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
22948         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
22949         from ...
22950         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
22951         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
22952         entry from ...
22953         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
22955 2014-07-17  Will Newton  <will.newton@linaro.org>
22957         * sysdeps/arm/bits/atomic.h
22958         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
22959         (__arch_compare_and_exchange_bool_16_int): Likewise.
22960         (__arch_compare_and_exchange_bool_64_int): Likewise.
22962         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
22963         into an #else block.
22965 2014-07-16  Roland McGrath  <roland@hack.frob.com>
22967         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
22968         just Linux configurations.  Test empirically that the compiler sets
22969         __ARM_EABI__, rather than using the tuple to decide.
22970         * sysdeps/arm/preconfigure: Regenerated.
22971         * sysdeps/unix/sysv/linux/arm/configure: File removed.
22972         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
22973         contents appended ...
22974         * sysdeps/arm/configure.ac: ... here.
22975         * sysdeps/arm/configure: Regenerated.
22977 2014-07-15  Roland McGrath  <roland@hack.frob.com>
22979         * nptl/pthread_kill.c: New file.
22980         * nptl/pthread_sigmask.c: New file.
22981         * nptl/pthread_sigqueue.c: New file.
22983         * sysdeps/nptl/lowlevellock.h: New file.
22984         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
22985         * sysdeps/nptl/lowlevellock-futex.h: New file.
22987         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
22988         Remove dead declarations.
22990 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
22992         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
22993         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
22994         config-cflags-avx2.
22995         * sysdeps/x86_64/configure.ac: Likewise.
22996         * sysdeps/i386/configure: Regenerated.
22997         * sysdeps/x86_64/configure: Likewise.
22998         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22999         memset-avx2 only if config-cflags-avx2 is yes.
23000         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23001         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
23002         defined.
23003         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
23004         only if HAVE_AVX2_SUPPORT is defined.
23005         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23007 2014-07-14  Alan Modra  <amodra@gmail.com>
23009         [BZ #17153]
23010         * elf/elf.h (DT_PPC64_NUM): Correct value.
23011         * NEWS: Add to fixed bug list.
23013 2014-07-13  Jim Meyering  <meyering@fb.com>
23015         [BZ 17150]
23016         regex: don't deref NULL upon heap allocation failure
23017         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
23018         failure in one more place.
23019         To trigger the segfault, configure grep -with-included-regex,
23020         build it, and run these commands:
23021         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
23023 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
23025         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
23027 2014-07-11  Richard Henderson  <rth@redhat.com>
23029         * sysdeps/aarch64/libm-test-ulps: Update.
23031 2014-07-10  Florian Weimer  <fweimer@redhat.com>
23033         [BZ #17135]
23034         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
23035         * nptl/allocatestack.c (__nptl_setxid_error): New function.
23036         (__nptl_setxid): Initialize error member.  Call
23037         __nptl_setxid_error.
23038         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
23039         * nptl/descr.h (struct xid_command): Add error member.
23040         * nptl/tst-setuid3.c: New file.
23041         * nptl/Makefile (tests): Add it.
23043 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23045         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
23046         New define.
23047         (__lll_trylock): Use __lll_base_trylock.
23048         (__lll_cond_trylock): Likewise.
23050 2014-07-10  Roland McGrath  <roland@hack.frob.com>
23052         * nptl/pthread_create.c (start_thread): Use atomic_or and
23053         lll_futex_wake directly rather than lll_robust_dead.
23054         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
23055         (lll_robust_dead): Macro removed.
23056         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
23057         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
23058         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
23059         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
23060         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
23061         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
23062         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
23063         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
23064         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
23065         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
23066         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
23067         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
23068         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
23069         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
23070         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
23072         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
23073         Use atomic_compare_and_exchange_val_acq directly rather than
23074         lll_robust_trylock.
23075         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
23076         (__lll_robust_trylock, lll_robust_trylock): Removed.
23077         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
23078         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
23079         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
23080         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
23081         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
23082         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
23083         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
23084         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
23085         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
23086         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
23087         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
23088         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
23089         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
23090         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
23092 2014-07-02  Florian Weimer  <fweimer@redhat.com>
23094         * manual/locale.texi (Locale Names): New section documenting
23095         locale name syntax.  Adjust menu and node chaining accordingly.
23096         (Choosing Locale): Reference Locale Names, Locale Categories.
23097         Mention setting LC_ALL=C.  Reflect that name syntax is now
23098         documented.
23099         (Locale Categories): New section title.  Reference Locale Names.
23100         LC_ALL is an environment variable, but not a category.
23101         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
23102         description, now in Locale Name.  Reference that section.  Locale
23103         name syntax is now documented.
23105 2014-07-02  Florian Weimer  <fweimer@redhat.com>
23107         [BZ #17137]
23108         * locale/findlocale.c (name_present, valid_locale_name): New
23109         functions.
23110         (_nl_find_locale): Use the loc_name variable to store name
23111         candidates.  Call name_present and valid_locale_name to check and
23112         validate locale names.  Return an error if the locale is invalid.
23114 2014-07-02  Florian Weimer  <fweimer@redhat.com>
23116         * locale/setlocale.c (setlocale): Use strdup for allocating
23117         composite name copy.
23119 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
23121         Sync up with gnulib.
23122         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
23123         [!_LIBC && ENABLE_NLS]: Include gettext.h.
23124         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
23125         and _GL_ARG_NONNULL.
23126         [USE_UNLOCKED_IO]: Include unlocked-io.h.
23127         [!_LIBC]: Include code for Windows and Cygwin.
23128         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
23129         Include prototype for int strerror_r.
23130         [!_LIBC] (is_open): New function.
23131         (flush_stdout): New function.
23132         (print_errno_message): Use it.
23133         (error): Likewise.
23134         (error_at_line): Likewise.
23135         (error_tail) Add function attribute macros.  Use
23136         __builtin_expect.
23138         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
23140         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
23142         * io/ftw.c: Include sys/param.h unconditionally.
23144         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
23146         [BZ #17125]
23147         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
23148         libc_freeres_ptr.
23149         (freecache): New function to free CACHE on exit.
23151         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
23152         initialization.
23154 2014-07-09  David S. Miller  <davem@davemloft.net>
23156         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23158         * sysdeps/sparc/nptl/internaltypes.h: Delete.
23159         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
23160         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
23161         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
23162         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
23163         * sysdeps/sparc/nptl/sem_init.c: Likewise.
23164         * sysdeps/sparc/nptl/sem_post.c: Likewise.
23165         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
23166         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
23167         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
23168         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
23169         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
23170         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
23172 2014-07-09  Andreas Schwab  <schwab@suse.de>
23174         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
23175         output.
23176         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
23177         (do_test): Likewise.
23179         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
23181 2014-07-09  Will Newton  <will.newton@linaro.org>
23183         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
23184         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
23185         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
23186         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
23187         * sysdeps/hppa/start.S (_start): Likewise.
23189 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
23191         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
23193         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
23194         defined.
23196 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
23198         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
23199         after checking that it is non-NULL.
23201         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
23203 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23205         * sysdeps/powerpc/memmove.c: Remove file.
23206         * sysdeps/powerpc/powerpc32/power4/memcopy.h
23207         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
23208         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
23209         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
23210         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
23211         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
23212         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
23213         string memmove instead of removed powerpc one.
23215         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
23216         [weak_alias]: Fix compiler warning due trailing data.
23217         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
23218         [weak_alias]: Likewise.
23219         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
23220         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
23222         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
23223         (__libc_ifunc_impl_list): Add memmove functions.
23225 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
23227         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
23228         Remove code.
23229         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
23230         Likewise
23231         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
23232         Likewise
23233         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
23234         Likewise
23235         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
23236         Likewise
23237         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
23238         Likewise
23239         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
23240         Likewise
23241         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
23242         Likewise
23243         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
23244         Likewise
23245         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
23246         Likewise
23247         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
23248         Likewise
23249         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
23250         Likewise
23251         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
23252         Likewise
23253         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
23254         Likewise
23255         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
23256         Likewise
23257         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
23258         Likewise
23259         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
23260         Likewise
23262 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23264         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
23265         to avoid alignment traps in non-cacheable memory.
23266         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
23268         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
23269         multiarch objects.
23270         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
23271         file: multiarch power7 memmove.
23272         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
23273         multiarch default memmove.
23274         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
23275         multiarch memove for powerpc32/power4.
23277         * string/bcopy.c: Use full path to include memmove.c.
23278         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
23279         multiarch objects.
23280         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
23281         bcopy for powerpc64.
23282         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
23283         bcopy for powerpc64.
23284         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
23285         and memmove implementations.
23286         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
23287         optimized multiarch memmove for POWER7/powerpc64.
23288         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
23289         default multiarch memmove for powerpc64.
23290         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
23291         multiarch for powerpc64.
23292         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
23293         for POWER7/powerpc64.
23294         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
23295         memmove for POWER7/powerpc64.
23297         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
23298         glibc default one.
23300         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
23301         __ELF_NATIVE_CLASS equal to 64.
23303 2014-07-07  Roland McGrath  <roland@hack.frob.com>
23305         * sysdeps/nptl/lowlevellock.h: File removed.
23307         * NEWS: NPTL is no longer an add-on!
23308         * nptl/internaltypes.h: Moved ...
23309         * sysdeps/nptl/internaltypes.h: ... here.
23310         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
23311         * sysdeps/nptl/fork.c: Likewise.
23312         * sysdeps/nptl/gai_misc.h: Likewise.
23313         * sysdeps/nptl/librt-cancellation.c: Likewise.
23314         * sysdeps/nptl/jmp-unwind.c: Likewise.
23315         * sysdeps/nptl/setxid.h: Likewise.
23316         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
23317         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
23318         * sysdeps/unix/sysv/linux/arm/Implies: New file.
23319         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
23320         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
23321         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
23322         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
23323         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
23324         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
23325         * sysdeps/unix/sysv/linux/mips/Implies: New file.
23326         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
23327         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
23328         * sysdeps/unix/sysv/linux/sh/Implies: New file.
23329         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
23330         * sysdeps/unix/sysv/linux/tile/Implies: New file.
23331         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
23332         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
23333         * nptl/Makeconfig: Moved ...
23334         * sysdeps/nptl/Makeconfig: ... here.
23335         * nptl/configure: File removed.
23336         * nptl/ANNOUNCE: File removed.
23337         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
23338         * sysdeps/unix/sysv/linux/configure: Regenerated.
23340         * nptl/Makefile (routines): Add libc_pthread_init,
23341         libc_multiple_threads, register-atfork and unregister-atfork.
23342         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
23343         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
23344         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
23345         pthread-pi-defines.sym, structsem.sym.
23346         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
23347         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
23348         [$(subdir) = nptl] (tests): Add tst-setgetname.
23349         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
23350         * sysdeps/unix/sysv/linux/sigaction.c: Just include
23351         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
23352         [!LIBC_SIGACTION]: Remove aliases.
23353         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
23354         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
23355         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
23356         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
23357         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
23358         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
23359         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
23360         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
23361         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
23362         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
23363         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
23364         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
23365         __libc_allocate_rtsig_private.
23366         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
23367         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
23368         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
23369         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
23370         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
23371         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
23372         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
23373         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
23374         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
23375         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
23376         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
23377         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
23378         * nptl/internaltypes.h: ... here.
23379         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
23380         * sysdeps/nptl/jmp-unwind.c: ... here.
23381         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
23382         * nptl/libc-lowlevellock.c: ... here.
23383         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
23384         * nptl/libc_multiple_threads.c: ... here.
23385         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
23386         * nptl/libc_pthread_init.c: ... here.
23387         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
23388         * nptl/lowlevelbarrier.sym: ... here.
23389         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
23390         * nptl/lowlevelcond.sym: ... here.
23391         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
23392         * nptl/lowlevellock.c: ... here.
23393         * nptl/lowlevellock.h: Moved ...
23394         * sysdeps/nptl/lowlevellock.h: ... here.
23395         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
23396         * nptl/lowlevelrobustlock.c: ... here.
23397         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
23398         * nptl/lowlevelrobustlock.sym: ... here.
23399         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
23400         * nptl/lowlevelrwlock.sym: ... here.
23401         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
23402         * nptl/pt-fork.c: ... here.
23403         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
23404         * nptl/pthread-pi-defines.sym: ... here.
23405         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
23406         * nptl/pthread_attr_getaffinity.c: ... here.
23407         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
23408         * nptl/pthread_attr_setaffinity.c: ... here.
23409         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
23410         * nptl/pthread_mutex_cond_lock.c: ... here.
23411         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
23412         Update #include.
23413         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
23414         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
23415         * nptl/pthread_once.c: ... here, replacing old file.
23416         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
23417         * nptl/pthread_yield.c: ... here.
23418         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
23419         * nptl/register-atfork.c: ... here.
23420         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
23421         * nptl/sem_post.c: ... here.
23422         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
23423         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
23424         * nptl/sem_timedwait.c: ... here.
23425         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
23426         * nptl/sem_trywait.c: ... here.
23427         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
23428         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
23429         * nptl/sem_wait.c: ... here.
23430         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
23431         * nptl/structsem.sym: ... here.
23432         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
23433         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
23434         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
23435         * nptl/unregister-atfork.c: ... here.
23436         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
23437         * nptl/unwindbuf.sym: ... here.
23438         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
23439         * sysdeps/nptl/fork.c: ... here.
23440         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
23441         * sysdeps/nptl/fork.h: ... here.
23442         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
23443         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
23444         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
23445         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
23446         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
23447         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
23448         * sysdeps/unix/sysv/linux/getpid.c: ... here.
23449         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
23450         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
23451         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
23452         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
23453         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
23454         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
23455         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
23456         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
23457         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
23458         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
23459         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
23460         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
23461         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
23462         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
23463         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
23464         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
23465         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
23466         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
23467         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
23468         * sysdeps/unix/sysv/linux/raise.c: ... here.
23469         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
23470         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
23471         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
23472         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
23473         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
23474         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
23475         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
23476         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
23477         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
23478         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
23479         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
23480         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
23481         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
23482         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
23483         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
23485 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
23487         * sysdeps/generic/memcopy.h: Add comment for
23488         MEMCPY_OK_FOR_FWD_MEMMOVE.
23490 2014-07-04  Will Newton  <will.newton@linaro.org>
23492         * string/memchr.c: Merge from gnulib.
23493         [_LIBC]: Remove conditionals.
23494         (__ptr_t): Remove define.
23495         (LONG_MAX_32_BITS): Likewise.
23496         (LONG_MAX): Likewise.
23497         (MEMCHR): Use ANSI prototype and optimize algorithm.
23499         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
23501 2014-07-03  Roland McGrath  <roland@hack.frob.com>
23503         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
23504         (lll_futex_timed_wait_bitset): Fix syscall argument count.
23506         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
23507         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
23508         in a bare environment with no <stdlib.h> installed.
23509         * sysdeps/nptl/configure: Regenerated.
23511         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
23513         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
23514         AC_EGREP_CPP for kernel header checks, so they only succeed if
23515         including <linux/version.h> actually works right.
23516         * sysdeps/unix/sysv/linux/configure: Regenerated.
23518         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
23519         value so it's not diagnosed as unused.
23521         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
23522         thing) with "ifeq ($(subdir),rt)".
23524 2014-07-03  Richard Henderson  <rth@redhat.com>
23526         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
23527         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
23528         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
23530         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
23531         (math_force_eval): New.
23533         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
23534         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
23536         * sysdeps/alpha/fpu/s_round.c: Remove file.
23537         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
23539         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
23540         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
23541         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
23542         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
23543         (_dl_start, print_statistics): Likewise.
23544         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
23545         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
23547         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
23548         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
23549         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
23550         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
23551         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
23552         (HP_SMALL_TIMING_AVAIL): Define.
23553         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
23554         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
23555         (HP_SMALL_TIMING_AVAIL): Define.
23556         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
23557         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
23559         * sysdeps/aarch64/hp-timing.h: New file.
23561         * sysdeps/generic/hp-timing.h: Remove dead comment.
23562         * sysdeps/generic/hp-timing-common.h: New file.
23563         * sysdeps/alpha/hp-timing.h: Include it.
23564         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
23565         * sysdeps/i386/i686/hp-timing.h: Likewise.
23566         * sysdeps/ia64/hp-timing.h: Likewise.
23567         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
23568         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
23569         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
23570         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
23571         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
23572         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
23573         (hp_timing_t): New.
23575         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
23576         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
23577         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
23578         * elf/rtld.c (_dl_start_final): Likewise.
23579         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
23580         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
23581         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
23582         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
23583         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
23584         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
23585         (HP_TIMING_DIFF_INIT): Remove.
23586         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
23587         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
23588         (HP_TIMING_DIFF_INIT): Remove.
23589         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
23590         * sysdeps/i386/i686/hp-timing.c: Remove file.
23591         * sysdeps/x86_64/hp-timing.c: Remove file.
23592         * sysdeps/ia64/hp-timing.c: Remove file.
23593         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
23594         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
23595         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
23596         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
23598         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
23599         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
23600         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
23601         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
23602         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
23603         (HP_TIMING_ACCUM): Remove.
23604         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
23605         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
23606         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
23608         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
23609         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
23610         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
23611         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
23612         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
23613         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
23614         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
23615         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
23617         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
23619 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
23621         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
23623 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
23625         Sync up with gettext.
23626         * intl/loadmsgcat.c: Define O_BINARY if not defined.
23627         [_MSC_VER]: Include malloc.h
23628         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
23629         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
23630         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
23631         TEMP_FAILURE_RETRY.  Cast return of alloca.
23632         [!_LIBC] Call gl_rwlock_init.
23633         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
23635 2014-07-02  Roland McGrath  <roland@hack.frob.com>
23637         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
23638         before checking its value.
23640 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
23642         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
23644         * debug/memcpy_chk.c: Don't include pagecopy.h.
23645         * debug/mempcpy_chk.c: Likewise.
23646         * string/memcpy.c: Likewise.
23647         * string/memmove.c: Likewise.
23648         * sysdeps/powerpc/memmove.c: Likewise.
23649         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
23650         definition of PAGE_COPY_FWD_MAYBE here...
23651         * sysdeps/generic/pagecopy.h: ... from here.
23652         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
23654 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
23655             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23657         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
23658         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
23659         optimizations.
23660         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
23661         (__libc_ifunc_impl_list): Likewise.
23662         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
23663         multiarch strcat for PPC64.
23664         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
23665         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
23667 2014-07-02  Roland McGrath  <roland@hack.frob.com>
23669         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
23671 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
23673         * intl/loadmsgcat.c: Remove declaration of
23674         get_sysdep_segment_value.
23675         (get_sysdep_segment_value): Use ISO C style.
23676         (_nl_load_domain): Use ISO C style.  Get rid of redundant
23677         semicolon.  Fix typo and formatting in comment.
23678         (_nl_unload_domain): Use ISO C style.
23680         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
23682 2014-07-02  Will Newton  <will.newton@linaro.org>
23684         * malloc/obstack.c: Merge from gnulib master.
23685         [HAVE_CONFIG_H]: Remove conditional code.
23686         [!_LIBC]: Include config.h.
23687         [!ELIDE_CODE]: Don't include inttypes.h, include
23688         stdint.h unconditionally.
23689         (print_and_abort): Mark as _Noreturn.
23690         (_obstack_allocated_p): Mark as __attribute_pure__.
23691         (obstack_free): Rename to __obstack_free.
23692         [!__attribute__]: Remove conditional code.
23693         * malloc/obstack.h: Merge from gnulib master.
23694         [__cplusplus]: Move conditional down.
23695         [!__attribute_pure__]: Define __attribute_pure__ here
23696         if it is not already defined.
23697         (_obstack_memory_used): Mark as __attribute_pure__.
23698         [!__obstack_free]: Define as obstack_free.
23699         [__GNUC__]: Remove check for ancient NeXT gcc.
23701 2014-07-02  Will Newton  <will.newton@linaro.org>
23702             Paul Eggert  <eggert@cs.ucla.edu>
23704         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
23706 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
23708         * resolv/gethnamaddr.c: Add comment warning that the file is
23709         not maintained.
23711 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
23713         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
23714         entries.
23716         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
23717         entry for aio_cancel and aio_cancel64.
23718         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
23719         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
23720         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
23721         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
23722         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
23723         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
23724         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
23725         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
23726         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
23727         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
23728         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
23729         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
23730         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
23732 2014-07-01  Roland McGrath  <roland@hack.frob.com>
23734         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
23735         * nptl/pthread_mutex_lock.c: Likewise.
23736         * nptl/pthread_mutex_timedlock.c: Likewise.
23737         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
23739 2014-07-01  Richard henderson  <rth@redhat.com>
23741         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
23742         (__isnan, __isnanl): Remove.
23743         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
23745         * sysdeps/alpha/fpu/libm-test-ulps: Update.
23747 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
23749         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
23751 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
23753         * resolv/nss_dns/dns-host.c (getanswer_r)
23754         [MULTI_PTRS_ARE_ALIASES]: Remove code.
23756 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
23758         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23759         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
23760         undefine.
23761         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
23762         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
23764 2014-07-01  Roland McGrath <roland@hack.frob.com>
23766         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
23767         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
23769         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
23770         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
23772         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
23773         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
23774         ... here.
23775         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
23776         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
23778         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
23779         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
23780         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
23781         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
23783         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
23784         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
23785         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
23786         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
23787         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
23788         Moved ...
23789         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
23790         ... here.
23791         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
23792         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
23793         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
23794         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
23795         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
23796         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
23797         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
23798         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
23799         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
23800         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
23801         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
23802         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
23803         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
23804         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
23805         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
23806         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
23807         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
23808         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
23809         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
23810         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
23811         ... here.
23812         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
23813         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
23814         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
23815         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
23816         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
23817         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
23818         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
23819         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
23821 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
23823         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
23824         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
23825         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
23826         Add sysdep.
23828 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23830         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23832 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
23834         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
23835         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
23837         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
23839         * sysdeps/arm/libm-test-ulps: Regenerated.
23841 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
23842             Roland McGrath <roland@hack.frob.com>
23844         * test-skeleton.c (signal_handler): Kill the whole process group
23845         before killing the child individually.
23846         (main): Report any failure on `setpgid'.
23848 2014-06-30  Roland McGrath  <roland@hack.frob.com>
23850         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
23851         from _TLS_H to _ARM_NPTL_TLS_H.
23852         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
23853         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
23855 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
23857         [BZ #16539]
23858         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
23859         (__expm1l): Return argument unchanged when small but not
23860         subnormal.
23862         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
23863         include macro name.
23864         (_FP_UNPACK_RAW_1_P): Likewise.
23865         (_FP_PACK_RAW_1): Likewise.
23866         (_FP_PACK_RAW_1_P): Likewise.
23867         (_FP_MUL_MEAT_1_wide): Likewise.
23868         (_FP_MUL_MEAT_DW_1_hard): Likewise.
23869         (_FP_MUL_MEAT_1_hard): Likewise.
23870         (_FP_DIV_MEAT_1_imm): Likewise.
23871         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
23872         (_FP_DIV_MEAT_1_udiv): Likewise.
23873         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
23874         (_FP_UNPACK_RAW_2): Likewise.
23875         (_FP_UNPACK_RAW_2_P): Likewise.
23876         (_FP_PACK_RAW_2): Likewise.
23877         (_FP_PACK_RAW_2_P): Likewise.
23878         (_FP_MUL_MEAT_DW_2_wide): Likewise.
23879         (_FP_MUL_MEAT_2_wide): Likewise.
23880         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
23881         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
23882         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
23883         (_FP_MUL_MEAT_2_gmp): Likewise.
23884         (_FP_DIV_MEAT_2_udiv): Likewise.
23885         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
23886         (_FP_FRAC_SRL_4): Likewise.
23887         (_FP_FRAC_SRST_4): Likewise.
23888         (_FP_FRAC_SRS_4): Likewise.
23889         (_FP_UNPACK_RAW_4): Likewise.
23890         (_FP_UNPACK_RAW_4_P): Likewise.
23891         (_FP_PACK_RAW_4): Likewise.
23892         (_FP_PACK_RAW_4_P): Likewise.
23893         (_FP_MUL_MEAT_DW_4_wide): Likewise.
23894         (_FP_MUL_MEAT_4_wide): Likewise.
23895         (_FP_MUL_MEAT_4_gmp): Likewise.
23896         (umul_ppppmnnn): Likewise.
23897         (_FP_DIV_MEAT_4_udiv): Likewise.
23898         (__FP_FRAC_ADD_4): Likewise.
23899         (__FP_FRAC_SUB_3): Likewise.
23900         (__FP_FRAC_SUB_4): Likewise.
23901         (__FP_FRAC_DEC_3): Likewise.
23902         (__FP_FRAC_DEC_4): Likewise.
23903         (__FP_FRAC_ADDI_4): Likewise.
23904         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
23905         (_FP_FRAC_SRL_8): Likewise.
23906         (_FP_FRAC_SRS_8): Likewise.
23908         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
23909         include macro name.
23910         (FP_UNPACK_RAW_EP): Likewise.
23911         (FP_PACK_RAW_E): Likewise.
23912         (FP_PACK_RAW_EP): Likewise.
23913         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
23914         (_FP_ISSIGNAN): Likewise.
23915         (_FP_ADD_INTERNAL): Likewise.
23916         (_FP_FMA): Likewise.
23917         (_FP_CMP): Likewise.
23918         (_FP_SQRT): Likewise.
23919         (_FP_TO_INT): Likewise.
23920         (_FP_FROM_INT): Likewise.
23921         (FP_EXTEND): Likewise.
23922         (_FP_DIV_MEAT_N_loop): Likewise.
23924 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
23926         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
23927         throughout.
23929 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
23931         [BZ #17097]
23932         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
23933         result with correct sign in case of exponents that produce
23934         overflow except for X very close to 1.
23936 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
23938         mktime: merge #if/#ifdef usage from glibc
23939         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
23940         as that works with both Glibc's and Gnulib's style.
23941         See thread starting at Siddhesh Poyarekar's bug report at:
23942         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
23944 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23946         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
23947         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
23948         * sysdeps/tile/tilegx/memmove.c: Remove file.
23950 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
23952         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
23953         abi-name definition.
23954         * scripts/soversions.awk: Do not handle or generate ABI lines.
23955         * shlib-versions: Remove ABI entries.
23956         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
23957         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
23959 2014-06-27  Roland McGrath  <roland@hack.frob.com>
23961         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
23962         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
23963         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
23964         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
23965         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
23966         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
23967         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
23968         Moved ...
23969         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
23970         ... here.
23971         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
23972         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
23973         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
23974         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
23975         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
23976         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
23977         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
23978         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
23979         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
23980         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
23981         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
23982         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
23983         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
23984         Moved ...
23985         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
23986         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
23987         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
23988         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
23989         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
23990         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
23991         Moved ...
23992         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
23993         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
23994         Moved ...
23995         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
23996         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
23997         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
23998         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
23999         Moved ...
24000         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
24001         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
24002         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
24003         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
24004         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
24005         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
24006         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
24007         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
24008         Moved ...
24009         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
24010         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
24011         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
24012         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
24013         Moved ...
24014         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
24015         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
24016         Moved ...
24017         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
24018         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
24019         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
24020         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
24021         Moved ...
24022         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
24023         ... here.
24024         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
24025         Identical file removed.
24026         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
24027         Moved ...
24028         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
24029         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
24030         Identical file removed.
24031         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
24032         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
24033         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
24034         Moved ...
24035         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
24036         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
24037         Identical file removed.
24038         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
24039         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
24040         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
24041         Identical file removed.
24042         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
24043         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
24044         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
24045         Identical file removed.
24046         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
24047         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
24048         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
24049         Identical file removed.
24050         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
24051         Moved ...
24052         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
24053         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
24054         Identical file removed.
24055         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
24056         Moved ...
24057         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
24058         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
24059         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
24060         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
24061         Identical file removed.
24062         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
24063         Moved ...
24064         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
24065         ... here.
24066         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
24067         Identical file removed.
24068         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
24069         Moved ...
24070         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
24071         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
24072         Identical file removed.
24073         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
24074         Moved ...
24075         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
24076         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
24077         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
24078         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
24079         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
24080         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
24081         Moved ...
24082         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
24083         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
24084         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
24086         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
24087         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
24088         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
24089         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
24090         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
24092 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
24094         [BZ #17092]
24095         * nscd/nscd.c (monitor_child): Return exit status of child
24096         instead of return value from wait syscall.
24098 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
24100         * configure.ac (libc_commonpagesize): Remove variable.
24101         (libc_relro_required): Likewise.
24102         (libc_cv_z_relro): Remove configure test.
24103         * configure: Regenerated.
24104         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
24105         variable.
24106         (libc_relro_required): Likewise.
24107         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
24108         (libc_relro_required): Likewise.
24109         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
24110         (libc_relro_required): Likewise.
24111         * sysdeps/arm/preconfigure: Regenerated.
24112         * sysdeps/ia64/preconfigure: Remove file.
24113         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
24114         variable.
24115         (libc_relro_required): Likewise.
24117         [BZ #16561]
24118         [BZ #16562]
24119         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
24120         (__ieee754_yn): Set FE_TONEAREST mode internally and then
24121         recompute overflowing results in original rounding mode.
24122         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
24123         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
24124         recompute overflowing results in original rounding mode.
24125         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
24126         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
24127         recompute overflowing results in original rounding mode.
24128         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
24129         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
24130         recompute overflowing results in original rounding mode.
24131         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
24132         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
24133         recompute overflowing results in original rounding mode.
24134         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
24135         (libc_feholdsetround_ctx): New macro.
24136         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
24137         * sysdeps/i386/fpu/libm-test-ulps: Update.
24138         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
24140 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
24142         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
24143         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
24144         corresponding .cpsetup call.
24146 2014-06-26  Roland McGrath  <roland@hack.frob.com>
24148         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
24149         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
24150         * sysdeps/arm/Makefile [$(subdir) = csu]
24151         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
24152         (static-only-routines): Add aeabi_read_tp here.
24153         (shared-only-routines): Add libc-aeabi_read_tp here.
24154         (CFLAGS-libc-start.c): Add -fexceptions here.
24155         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
24156         (sysdep_routines, static-only-routines, shared-only-routines):
24157         Don't add to these here.
24158         (CFLAGS-libc-start.c): Likewise.
24160         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
24161         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
24162         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
24163         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
24164         * sysdeps/arm/Makefile [$(subdir) = rt]
24165         (librt-sysdep_routines, librt-shared-only-routines):
24166         Append rt-aeabi_unwind_cpp_pr1 here.
24167         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
24168         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
24169         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
24170         (libpthread-sysdep_routines, libpthread-shared-only-routines):
24171         Append nptl-aeabi_unwind_cpp_pr1 here.
24172         (tests): Filter out tst-cleanupx4 here.
24173         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
24174         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
24175         Don't do those here.
24177 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
24179         * scripts/list-sources.sh: Do not handle ports specially.
24181 2014-06-26  Roland McGrath  <roland@hack.frob.com>
24183         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
24184         * sysdeps/arm/feupdateenv.c: Likewise.
24186         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
24188 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
24190         * manual/texinfo.tex: Update to version 2014-05-05.10 with
24191         trailing whitespace removed.
24192         * scripts/config.guess: Update to version 2014-03-23.
24193         * scripts/config.sub: Update to version 2014-05-01
24194         * scripts/install-sh: Update to version 2013-12-25.23.
24195         * scripts/move-if-change: Update from gnulib.
24197 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
24199         * debug/memmove_chk.c: Remove pagecopy.h include.
24201 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
24203         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
24204         identical to gnulib mktime.
24206 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
24208         * configure.ac: Do not test for machine being rs6000.  Do not test
24209         for powerpc*-*soft.
24210         * configure: Regenerated.
24212         [BZ #11505]
24213         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
24214         test.
24215         * configure: Regenerated.
24216         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
24217         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
24218         Remove configure test.
24219         * sysdeps/arm/configure: Regenerated.
24220         * sysdeps/nptl/configure.ac: Do not check
24221         libc_cv_asm_cfi_directives.
24222         * sysdeps/nptl/configure: Regenerated.
24223         * sysdeps/x86_64/nptl/configure.ac: Remove file.
24224         * sysdeps/x86_64/nptl/configure: Remove generated file.
24225         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
24226         unconditional.
24227         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
24229 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
24231         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
24232         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
24233         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
24234         it is defined.
24236         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
24237         instead of whether it is defined.
24238         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
24239         * sysdeps/hppa/dl-machine.h: Likewise.
24240         * sysdeps/ia64/dl-machine.h: Likewise.
24241         * sysdeps/m68k/dl-machine.h: Likewise.
24242         * sysdeps/microblaze/dl-machine.h: Likewise.
24243         * sysdeps/mips/dl-machine.: Likewise.
24244         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
24245         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
24246         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
24247         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
24248         * sysdeps/sh/dl-machine.h: Likewise.
24249         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
24250         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
24251         * sysdeps/tile/dl-machine.h: Likewise.
24252         * sysdeps/x86_64/dl-machine.h: Likewise.
24254         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
24255         code.
24256         (verify_persistent_db): Likewise.
24258 2014-06-26  Roland McGrath  <roland@hack.frob.com>
24260         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
24261         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
24262         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
24263         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
24264         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
24265         Moved ...
24266         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
24267         ... here.
24268         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
24269         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
24270         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
24271         Identical file removed.
24272         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
24273         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
24274         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
24275         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
24276         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
24277         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
24278         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
24279         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
24280         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
24281         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
24282         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
24283         Moved ...
24284         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
24285         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
24286         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
24287         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
24288         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
24289         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
24290         Moved ...
24291         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
24292         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
24293         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
24294         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
24295         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
24296         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
24297         Identical file removed.
24298         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
24299         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
24300         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
24301         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
24302         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
24303         Moved ...
24304         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
24305         ... here.
24306         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
24307         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
24308         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
24309         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
24310         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
24311         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
24312         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
24313         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
24314         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
24315         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
24316         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
24317         Moved ...
24318         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
24319         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
24320         Moved ...
24321         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
24322         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
24323         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
24324         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
24325         Moved ...
24326         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
24327         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
24328         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
24330         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
24331         folded into ...
24332         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
24333         * sysdeps/unix/sysv/linux/s390/Versions
24334         (libpthread: GLIBC_2.19): New version set.
24335         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
24336         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
24337         (librt: GLIBC_2.3.3): New version set.
24338         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
24339         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
24340         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
24341         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
24342         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
24343         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
24344         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
24345         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
24346         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
24347         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
24348         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
24349         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
24350         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
24351         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
24352         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
24353         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
24354         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
24355         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
24356         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
24357         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
24358         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
24359         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
24360         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
24361         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
24362         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
24363         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
24364         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
24365         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
24366         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
24367         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
24368         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
24369         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
24370         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
24371         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
24372         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
24373         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
24374         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
24375         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
24376         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
24377         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
24378         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
24379         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
24380         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
24381         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
24382         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
24384         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
24385         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
24386         (__libc_vfork): Define the function under this name.
24387         [!NOT_IN_libc] (__vfork): Make this an alias.
24388         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
24389         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
24390         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
24391         (__libc_vfork): Define the function under this name.
24392         [!NOT_IN_libc] (__vfork): Make this an alias.
24393         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
24394         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
24395         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
24396         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
24397         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
24398         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
24400         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
24401         code that was previously under [RESET_PID].
24402         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
24403         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
24404         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
24406         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
24407         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
24408         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
24409         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
24410         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
24411         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
24412         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
24413         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
24414         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
24415         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
24416         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
24417         Moved ...
24418         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
24419         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
24420         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
24421         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
24422         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
24423         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
24424         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
24425         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
24426         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
24427         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
24428         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
24429         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
24430         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
24431         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
24432         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
24433         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
24434         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
24435         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
24436         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
24437         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
24438         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
24439         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
24440         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
24441         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
24442         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
24443         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
24444         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
24445         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
24446         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
24448 2014-06-25  Roland McGrath  <roland@hack.frob.com>
24450         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
24451         that was previously under [RESET_PID].
24452         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
24454 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
24456         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
24457         not undefine and redefine.
24458         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
24459         [O_CLOEXEC]: Make code unconditional.
24460         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
24461         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
24462         <kernel-features.h>.
24463         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
24464         conditional variable definition.
24465         (shm_open) [O_CLOEXEC]: Make code unconditional.
24466         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
24467         code.
24469         * configure.ac (USE_REGPARMS): Don't define here.
24470         * configure: Regenerated.
24471         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
24472         * sysdeps/i386/configure: Regenerated.
24474         * nptl/createthread.c: Don't include kernel-features.h.
24475         * nptl/pthread_cancel.c: Likewise.
24476         * nptl/pthread_condattr_setclock.c: Likewise.
24477         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
24478         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
24479         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
24480         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
24481         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
24482         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
24483         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
24484         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
24485         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
24486         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
24487         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
24488         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
24489         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
24490         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
24491         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
24492         * nscd/gai.c: Likewise.
24493         * nss/nss_db/db-open.c: Likewise.
24494         * sysdeps/generic/ldsodefs.h: Likewise.
24495         * sysdeps/sh/nptl/tls.h: Likewise.
24496         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
24497         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
24498         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
24499         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
24500         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
24501         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
24502         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
24503         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
24504         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
24505         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
24506         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
24507         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
24508         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
24509         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
24510         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
24511         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
24512         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
24513         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
24514         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
24515         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
24516         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
24517         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
24518         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
24519         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
24520         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
24521         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
24522         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
24523         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
24524         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
24525         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
24526         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
24527         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
24528         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
24529         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
24530         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
24531         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
24532         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
24533         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
24534         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
24535         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
24536         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
24537         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
24538         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
24539         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
24540         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
24541         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
24542         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
24543         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
24544         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
24545         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
24546         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
24547         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
24548         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
24549         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
24550         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
24551         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
24552         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
24553         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
24554         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
24555         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
24556         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
24557         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
24558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
24559         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
24560         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
24561         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
24562         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
24563         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
24564         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
24565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
24566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
24567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
24568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
24569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
24570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
24571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
24572         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
24573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
24574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
24575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
24576         * sysdeps/unix/sysv/linux/pread.c: Likewise.
24577         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
24578         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
24579         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
24580         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
24581         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
24582         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
24583         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
24584         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
24585         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
24586         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
24587         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
24588         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
24589         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
24590         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
24591         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
24592         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
24593         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
24594         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
24595         * sysdeps/unix/sysv/linux/system.c: Likewise.
24596         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
24597         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
24598         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
24599         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
24600         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
24601         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
24602         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
24604         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
24605         * configure: Regenerated.
24606         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
24608         * configure.ac (base_machine): Do not set specially for particular
24609         machines here.
24610         * configure: Regenerated.
24611         * sysdeps/powerpc/preconfigure: Move machine and base_machine
24612         settings from configure.ac.
24613         * sysdeps/i386/preconfigure: New file.
24614         * sysdeps/s390/preconfigure: Likewise.
24615         * sysdeps/sh/preconfigure: Likewise.
24616         * sysdeps/sparc/preconfigure: Likewise.
24618 2014-06-25  Roland McGrath  <roland@hack.frob.com>
24620         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
24621         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
24622         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
24623         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
24624         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
24625         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
24626         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
24627         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
24628         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
24629         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
24630         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
24631         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
24632         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
24633         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
24634         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
24635         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
24636         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
24637         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
24638         * sysdeps/sparc/sparc64/Makefile: ... appended here.
24640         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
24641         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
24642         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
24643         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
24644         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
24645         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
24646         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
24647         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
24648         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
24649         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
24650         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
24651         * sysdeps/sparc/sparc32/sem_post.c: ... here.
24652         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
24653         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
24654         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
24655         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
24656         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
24657         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
24658         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
24659         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
24660         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
24661         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
24662         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
24663         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
24664         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
24665         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
24666         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
24667         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
24668         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
24669         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
24670         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
24671         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
24672         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
24673         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
24674         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
24675         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
24676         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
24677         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
24679         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
24680         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
24681         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
24682         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
24683         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
24684         Moved ...
24685         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
24686         ... here.
24687         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
24688         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
24689         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
24690         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
24691         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
24692         Moved ...
24693         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
24694         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
24695         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
24696         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
24697         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
24698         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
24699         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
24700         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
24701         Moved ...
24702         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
24703         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
24704         Moved ...
24705         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
24706         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
24707         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
24708         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
24709         Moved ...
24710         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
24711         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
24712         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
24713         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
24714         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
24715         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
24716         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
24717         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
24718         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
24719         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
24720         Moved ...
24721         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
24722         ... here.
24723         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
24724         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
24725         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
24726         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
24727         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
24728         Moved ...
24729         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
24730         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
24731         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
24732         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
24733         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
24734         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
24735         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
24736         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
24737         Moved ...
24738         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
24739         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
24740         Moved ...
24741         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
24742         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
24743         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
24744         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
24745         Moved ...
24746         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
24747         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
24748         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
24749         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
24750         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
24752 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
24754         * timezone/checktab.awk: Update from tzcode 2014e.
24755         * timezone/private.h: Likewise.
24756         * timezone/tzfile.h: Likewise.
24757         * timezone/zdump.c: Likewise.
24758         * timezone/zic.c: Likewise.
24760         * sysdeps/unix/sysv/linux/kernel-features.h
24761         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
24762         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
24763         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
24764         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
24765         Remove conditional code.
24767 2014-06-25  Will Newton  <will.newton@linaro.org>
24769         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
24770         (_dl_arm_cap_flags): Add HWCAP2 values.
24771         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
24772         (_DL_HWCAP_COUNT): Increase to 37.
24773         (_DL_HWCAP_LAST): New define.
24774         (_DL_HWCAP2_LAST): New define.
24775         (_dl_procinfo): Add support for printing
24776         AT_HWCAP2 entries.
24777         (_dl_string_hwcap): Use _dl_hwcap_string.
24779 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24781         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24783 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
24785         * README: Do not mention ports directory.
24787         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
24788         Remove macro.
24789         * sysdeps/unix/sysv/linux/futimes.c: Do not include
24790         <kernel-features.h>.
24791         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
24792         conditional variable definition.
24793         (__futimes): Update comment.
24794         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
24795         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
24797         [BZ #16560]
24798         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
24799         arguments close to 0.
24800         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
24801         Likewise.
24802         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
24803         Likewise.
24804         * math/auto-libm-test-in: Add more tests of exp10.
24805         * math/auto-libm-test-out: Regenerated.
24806         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24808         * sysdeps/unix/sysv/linux/kernel-features.h
24809         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
24810         * sysdeps/unix/sysv/linux/readv.c: Do not include
24811         <kernel-features.h>.
24812         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
24813         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
24814         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
24815         unconditional.
24816         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
24817         conditional code.
24818         * sysdeps/unix/sysv/linux/writev.c: Do not include
24819         <kernel-features.h>.
24820         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
24821         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
24822         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
24823         unconditional.
24824         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
24825         conditional code.
24827 2014-06-25  Will Newton  <will.newton@linaro.org>
24829         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
24830         comment changes throughout the file.  Remove checks
24831         for HAVE_*_H definitions that are not required.
24832         (__gen_tempname): Call abort if an unknown kind value is
24833         passed.
24835 2014-06-25  Andreas Schwab  <schwab@suse.de>
24837         [BZ #17086]
24838         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
24839         scalbln, scalblnf, scalblnl in libc.
24841 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
24843         [BZ #17086]
24844         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
24845         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
24846         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
24848 2014-06-24  Roland McGrath  <roland@hack.frob.com>
24850         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
24851         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
24852         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
24853         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
24854         Update #include.
24855         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
24856         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
24857         Update #include.
24858         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
24859         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
24860         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
24861         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
24862         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
24863         * sysdeps/x86/bits/pthreadtypes.h: ... here.
24864         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
24865         * sysdeps/x86/bits/semaphore.h: ... here.
24866         * sysdeps/x86/nptl/elide.h: Moved ...
24867         * sysdeps/x86/elide.h: ... here.
24868         * sysdeps/x86_64/nptl/Implies: File removed.
24869         * sysdeps/i386/nptl/Implies: File removed.
24871 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
24873         [BZ #16539]
24874         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
24875         return the argument for normal arguments with exponent below -64.
24876         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
24877         Likewise.
24878         * math/auto-libm-test-in: Add another test of expm1.
24879         * math/auto-libm-test-out: Regenerated.
24881         [BZ #16287]
24882         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
24883         calling __erfcl for arguments at least 16.
24884         * math/auto-libm-test-in: Add more tests of erf.
24885         * math/auto-libm-test-out: Regenerated.
24887         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
24888         individual architectures.
24889         * sysdeps/unix/sysv/linux/configure: Regenerated.
24890         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
24891         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
24892         * sysdeps/unix/sysv/linux/powerpc/configure.ac
24893         (ldd_rewrite_script): Define variable.
24894         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
24895         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
24896         file.
24897         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
24898         generated file.
24899         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
24900         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
24901         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
24902         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
24903         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
24904         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
24905         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
24906         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
24908 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
24910         [BZ #17084]
24911         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
24912         Rename member __data.d to __data.__elision_data.
24914 2014-06-24  Wilco  <wdijkstr@arm.com>
24916         * NEWS: Add 16918 to fixed bug list.
24918 2014-06-24  Wilco  <wdijkstr@arm.com>
24920         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
24922 2014-06-24  Wilco  <wdijkstr@arm.com>
24924         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
24925         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
24926         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
24927         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
24928         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
24929         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
24930         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
24931         Use _FPU_MASK_RM.
24933 2014-06-24  Wilco  <wdijkstr@arm.com>
24935         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
24937 2014-06-24  Wilco  <wdijkstr@arm.com>
24939         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
24940         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
24941         * sysdeps/arm/fesetround.c (fesetround): Remove space.
24942         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
24944 2014-06-24  Wilco  <wdijkstr@arm.com>
24946         [BZ #16918]
24947         * sysdeps/arm/feupdateenv.c (feupdateenv):
24948         Rewrite to reduce FPSCR accesses and fix return value.
24950 2014-06-24  Wilco  <wdijkstr@arm.com>
24952         * sysdeps/arm/fclrexcpt.c (feclearexcept):
24953         Optimize to avoid unnecessary FPSCR writes.
24954         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
24955         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
24956         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
24957         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
24959 2014-06-24  Wilco  <wdijkstr@arm.com>
24961         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
24962         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
24963         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
24964         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
24965         Call libc_fetestexcept_vfp.
24966         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
24967         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
24968         __SOFTFP__ ifdef so that they can be built for softfp.
24970 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
24972         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
24973         argument type signed char.
24975         * Makerules (check-abi): Dump diff of symlist if the test
24976         fails.
24978 2014-06-23  Roland McGrath  <roland@hack.frob.com>
24980         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
24981         using abort.
24983         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
24984         Remove unused variable ST.
24986 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
24988         [BZ #16354]
24989         [BZ #17061]
24990         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
24991         small arguments before calling __expm1.
24992         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
24993         small arguments before calling __expm1f.
24994         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
24995         small arguments before calling __expm1l.
24996         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
24997         Likewise.
24998         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
24999         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
25000         spurious underflow for some cosh tests.
25001         * math/auto-libm-test-out: Regenerated.
25002         * sysdeps/i386/fpu/libm-test-ulps: Update.
25004         [BZ #17050]
25005         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
25006         (__ieee754_y1): Set errno if return value overflows.
25007         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
25008         (__ieee754_y1f): Set errno if return value overflows.
25009         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
25010         (__ieee754_y1l): Set errno if return value overflows.
25011         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
25012         (__ieee754_y1l): Set errno if return value overflows.
25013         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
25014         * math/auto-libm-test-out: Regenerated.
25016         * math/gen-auto-libm-tests.c: Document use of
25017         ignore-zero-inf-sign.
25018         (input_flag_type): Add value flag_ignore_zero_inf_sign.
25019         (input_flags): Add ignore-zero-inf-sign.
25020         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
25021         * math/gen-libm-test.pl (generate_testfile): Handle
25022         ignore-zero-inf-sign.
25023         * math/auto-libm-test-in: Mark some cpow tests with
25024         ignore-zero-inf-sign and some with xfail-rounding.
25025         * math/auto-libm-test-out: Regenerated.
25026         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
25027         * sysdeps/i386/fpu/libm-test-ulps: Update.
25028         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25030         [BZ #16315]
25031         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
25032         overflowing or underflowing operations take place with sign of
25033         result.
25034         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
25035         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
25036         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
25037         (__ieee754_pow): Recompute overflowing and underflowing results in
25038         original rounding mode.
25039         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
25040         (__powl_helper): Allow negative argument X and scale negated value
25041         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
25042         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
25043         overflowing or underflowing operations take place with sign of
25044         result.
25045         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
25046         Include <math.h>.
25047         * math/auto-libm-test-in: Add more tests of pow.
25048         * math/auto-libm-test-out: Regenerated.
25049         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
25050         (pow_tonearest_test_data): Remove.
25051         (pow_test_tonearest): Likewise.
25052         (pow_towardzero_test_data): Likewise.
25053         (pow_test_towardzero): Likewise.
25054         (pow_downward_test_data): Likewise.
25055         (pow_test_downward): Likewise.
25056         (pow_upward_test_data): Likewise.
25057         (pow_test_upward): Likewise.
25058         (main): Don't call removed functions.
25059         * sysdeps/i386/fpu/libm-test-ulps: Update.
25060         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25062 2014-06-23  Roland McGrath  <roland@hack.frob.com>
25064         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
25065         Moved ...
25066         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
25067         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25068         Moved ...
25069         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
25070         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
25071         Moved ...
25072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
25073         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
25074         Moved ...
25075         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
25076         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
25077         File removed.
25078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
25079         File removed.
25080         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
25081         File removed.
25082         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
25083         File removed.
25084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
25085         File removed.
25086         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
25087         File removed.
25088         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
25089         File removed.
25090         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
25091         File removed.
25092         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
25093         File removed.
25094         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
25095         File removed.
25096         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
25097         File removed.
25098         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
25099         File removed.
25100         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
25101         Moved ...
25102         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
25103         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
25104         Moved ...
25105         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
25106         ... here.
25107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
25108         Moved ...
25109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
25110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
25111         Moved ...
25112         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
25113         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
25114         Moved ...
25115         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
25116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
25117         Moved ...
25118         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
25119         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
25120         Moved ...
25121         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
25122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
25123         Moved ...
25124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
25125         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
25126         Moved ...
25127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
25128         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
25129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
25130         ... here.
25131         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
25132         Moved ...
25133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
25134         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
25135         Moved ...
25136         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
25137         ... here.
25138         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
25139         Moved ...
25140         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
25141         ... here.
25142         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
25143         Moved ...
25144         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
25145         ... here.
25146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
25147         Moved ...
25148         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
25149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
25150         Moved ...
25151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
25152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
25153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
25154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
25155         Moved ...
25156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
25157         ... here.
25158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
25159         Moved ...
25160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
25161         ... here.
25162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
25163         Moved ...
25164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
25165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
25166         Moved ...
25167         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
25168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
25169         Moved ...
25170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
25171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25172         Moved ...
25173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
25174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
25175         Moved ...
25176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
25177         ... here.
25178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
25179         Moved ...
25180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
25181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
25182         Moved ...
25183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
25184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
25185         Moved ...
25186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
25187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
25188         Moved ...
25189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
25190         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
25191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
25192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
25193         Moved ...
25194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
25195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
25196         Moved ...
25197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
25198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
25199         Moved ...
25200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
25201         ... here.
25202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25203         Moved ...
25204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
25205         ... here.
25206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
25207         Moved ...
25208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
25209         ... here.
25210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
25211         Moved ...
25212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
25213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
25214         Moved ...
25215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
25216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
25217         Moved ...
25218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
25219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
25220         Moved ...
25221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
25222         ... here.
25223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
25224         Moved ...
25225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
25226         ... here.
25227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
25228         Moved ...
25229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
25230         ... here.
25231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
25232         Moved ...
25233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
25234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
25235         Moved ...
25236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
25238 2014-06-23  Will Newton  <will.newton@linaro.org>
25239             Wilco  <wdijkstr@arm.com>
25241         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
25242         implementation.  Include get-rounding-mode.h.
25243         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
25244         [!libc_feholdsetround_noex_ctx]: Define
25245         libc_feholdsetround_noex_ctx.
25246         [!libc_feholdsetround_noexf_ctx]: Define
25247         libc_feholdsetround_noexf_ctx.
25248         [!libc_feholdsetround_noexl_ctx]: Define
25249         libc_feholdsetround_noexl_ctx.
25250         (libc_feholdsetround_ctx): New function.
25251         (libc_feresetround_ctx): New function.
25252         (libc_feholdsetround_noex_ctx): New function.
25253         (libc_feresetround_noex_ctx): New function.
25255 2014-06-23  Roland McGrath  <roland@hack.frob.com>
25257         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
25258         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
25259         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
25260         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
25261         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
25262         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
25264         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
25265         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
25266         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
25267         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
25268         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
25269         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
25270         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
25271         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
25272         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
25273         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
25274         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
25275         Moved ...
25276         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
25277         ... here.
25278         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
25279         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
25280         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
25281         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
25282         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
25283         Moved ...
25284         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
25285         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
25286         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
25287         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
25288         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
25289         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
25290         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
25291         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
25292         Moved ...
25293         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
25294         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
25295         Moved ...
25296         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
25297         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
25298         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
25299         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
25300         Moved ...
25301         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
25302         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
25303         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
25304         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
25305         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
25306         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
25307         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
25308         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
25309         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
25310         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
25311         Moved ...
25312         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
25313         ... here.
25314         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
25315         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
25316         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
25317         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
25318         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
25319         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
25320         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
25321         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
25322         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
25323         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
25324         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
25325         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
25326         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
25327         Moved ...
25328         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
25329         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
25330         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
25331         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
25332         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
25333         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
25334         Moved ...
25335         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
25336         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
25337         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
25338         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
25339         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
25341         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
25342         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
25343         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
25344         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
25345         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
25346         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
25347         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
25348         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
25349         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
25350         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
25351         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
25352         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
25353         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
25354         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
25355         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
25356         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
25357         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
25358         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
25359         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
25360         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
25361         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
25362         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
25363         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
25364         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
25365         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
25366         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
25367         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
25368         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
25370 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
25372         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
25373         (FALLOC_FL_COLLAPSE_RANGE): New macro.
25374         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
25375         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
25376         (IPV6_PMTUDISC_INTERFACE): Likewise.
25377         (IPV6_PMTUDISC_OMIT): Likewise.
25379 2014-06-23  Andreas Schwab  <schwab@suse.de>
25381         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
25382         Remove unused errout label.
25384 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25386         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
25387         macro: hardware supports Vector Crypto instructions.
25389 2014-06-23  Will Newton  <will.newton@linaro.org>
25391         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
25392         rather than __builtin_expect.
25394         * elf/dl-lookup.c (undefined_msg): Remove variable.
25395         (_dl_lookup_symbol_x): Replace undefined_msg with string
25396         literal.
25398         * elf/dl-lookup.c (do_lookup_unique): New function.
25399         (do_lookup_x): Move STB_GNU_UNIQUE handling code
25400         to a separate function.
25402 2014-06-23  Andreas Schwab  <schwab@suse.de>
25404         [BZ #17079]
25405         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
25406         before reading the next line.
25408 2014-06-23  Will Newton  <will.newton@linaro.org>
25410         * test-skeleton.c (signal_handler): Use printf and %m
25411         rather than perror.  Use printf rather than fprintf to
25412         stderr.  Use puts rather than fputs to stderr.
25413         (main): Likewise.
25415 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
25417         * nscd/nscd.c (thread_info_t): Remove typedef.
25418         (thread_info): Remove variable.
25420 2014-06-21  Allan McRae  <allan@archlinux.org>
25422         * NEWS: Mention CVE-2014-4043.
25424 2014-06-20  Roland McGrath  <roland@hack.frob.com>
25426         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
25427         * nptl/smp.h: ... here.
25429         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
25431         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
25432         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
25433         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
25434         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
25436         * nptl/allocatestack.c: Include <stack-aliasing.h>.
25437         * nptl/stack-aliasing.h: New file.
25438         * sysdeps/i386/i686/stack-aliasing.h: New file.
25439         * sysdeps/i386/i686/nptl/Makefile: File removed.
25440         * sysdeps/x86_64/stack-aliasing.h: New file.
25441         * sysdeps/x86_64/nptl/Makefile
25442         (CFLAGS-pthread_create.c): Variable removed.
25444         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
25445         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
25446         old file.
25447         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
25448         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
25449         old file.
25451 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
25453         * sysdeps/unix/sysv/linux/arm/kernel-features.h
25454         (__ASSUME_SIGFRAME_V2): Remove macro.
25455         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
25456         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
25457         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
25458         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
25459         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
25460         Declare as function.  Remove conditional macro definitions.
25461         (__default_rt_sa_restorer): Likewise.
25462         (__default_sa_restorer_v1): Remove declaration.
25463         (__default_sa_restorer_v2): Likewise.
25464         (__default_rt_sa_restorer_v1): Likewise.
25465         (__default_rt_sa_restorer_v2): Likewise.
25466         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
25467         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
25468         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
25470 2014-06-20  Roland McGrath  <roland@hack.frob.com>
25472         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
25473         (libpthread-routines): Add sysdep.
25474         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
25475         * sysdeps/unix/sysv/linux/sparc/Versions
25476         (libpthread: GLIBC_2.3.3): New version set.
25477         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
25478         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
25479         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
25480         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
25481         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
25482         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
25483         Moved ...
25484         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
25485         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
25486         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
25487         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
25488         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
25489         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
25490         * sysdeps/sparc/nptl/sem_init.c: ... here.
25491         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
25492         * sysdeps/sparc/nptl/sem_post.c: ... here.
25493         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
25494         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
25495         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
25496         * sysdeps/sparc/nptl/sem_wait.c: ... here.
25497         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
25498         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
25499         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
25500         (libpthread-routines): Add cpu_relax.
25501         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
25502         File removed.
25503         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
25504         (librt: GLIBC_2.3.3): New version set.
25505         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
25506         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
25507         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
25508         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
25509         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
25510         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
25511         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
25512         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
25513         Moved ...
25514         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
25515         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
25516         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
25517         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
25518         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
25519         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
25520         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
25521         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
25522         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
25523         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
25524         Moved ...
25525         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
25526         Update #include.
25527         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
25528         Moved ...
25529         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
25530         Update #include.
25531         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
25532         Moved ...
25533         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
25534         Update #include.
25535         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
25536         Moved ...
25537         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
25538         Update #include.
25539         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
25540         Moved ...
25541         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
25542         Update #include.
25543         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
25544         Moved ...
25545         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
25546         Update #include.
25547         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
25548         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
25549         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
25550         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
25551         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
25552         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
25553         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
25554         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
25555         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
25556         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
25557         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
25558         Moved ...
25559         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
25560         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
25561         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
25562         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
25563         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
25565 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
25567         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
25568         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
25569         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
25570         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
25571         * nscd/nscd.c: Likewise.
25572         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
25573         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
25574         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
25575         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
25577         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
25578         <kernel-features.h>.
25579         (init_mq_netlink): Remove conditional have_sock_cloexec
25580         definitions.  Remove code conditional on have_sock_cloexec < 0.
25581         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
25582         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
25583         * sysdeps/unix/sysv/linux/opensock.c: Do not include
25584         <kernel-features.h>.
25585         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
25586         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
25588 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
25590         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
25591         Add tests for memset_chk and memset.
25593         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
25594         with AVX2_Usable.
25596 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
25598         [BZ #16046]
25599         * elf/tst-dl-iter-static.c: New file.
25600         * elf/Makefile (tests-static): Add tst-dl-iter-static.
25602         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
25603         error.
25605 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
25607         * sysdeps/unix/sysv/linux/kernel-features.h
25608         (__ASSUME_F_GETOWN_EX): Remove macro.
25609         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
25610         <kernel-features.h>.
25611         (miss_F_GETOWN_EX): Remove variable or macro.
25612         (do_fcntl): Do not check miss_F_GETOWN_EX.
25613         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
25615         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
25616         Remove macro.
25617         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
25618         [!__ASSUME_AT_RANDOM]: Remove conditional code.
25619         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
25621         * sysdeps/unix/sysv/linux/kernel-features.h
25622         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
25623         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
25624         [ADJ_OFFSET_SS_READ]: Make code unconditional.
25625         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
25627 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
25629         [BZ #17075]
25630         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
25631         Fix calculation of the symbol's value.
25632         * sysdeps/arm/tst-armtlsdescloc.c: New file.
25633         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
25634         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
25635         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
25636         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
25637         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
25638         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
25639         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
25640         (modules-names): Add `tst-armtlsdescmod',
25641         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
25642         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
25643         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
25644         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
25645         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
25646         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
25647         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
25648         ($(objpfx)tst-armtlsdescloc): New dependency.
25649         ($(objpfx)tst-armtlsdescextnow): Likewise.
25650         ($(objpfx)tst-armtlsdescextlazy): Likewise.
25651         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
25652         TLS scheme support.
25653         * sysdeps/arm/configure: Regenerate.
25655 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
25657         * include/fcntl.h (__atfct_seterrno): Remove prototype.
25658         (__atfct_seterrno_2): Likewise.
25659         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
25660         <kernel-features.h>.
25661         (__ASSUME_ATFCTS): Do not undefine and redefine.
25662         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
25663         (__have_atfcts): Remove conditional definition.
25664         (__fxstatat([__NR_fstatat64]: Make code unconditional.
25665         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
25666         unreachable if [__ASSUME_ATFCTS].
25667         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
25668         not undefine and redefine.
25669         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
25670         <kernel-features.h>.
25671         (faccessat) [__NR_faccessat]: Make code unconditional.
25672         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
25673         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
25674         <kernel-features.h>.
25675         (fchmodat) [__NR_fchmodat]: Make code unconditional.
25676         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
25677         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
25678         <kernel-features.h>.
25679         (fchownat) [__NR_fchownat]: Make code unconditional.
25680         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
25681         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
25682         <kernel-features.h>.
25683         (futimesat) [__NR_futimesat]: Make code unconditional.
25684         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
25685         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
25686         <kernel-features.h>.
25687         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
25688         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
25689         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
25690         <kernel-features.h>.
25691         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
25692         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
25693         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
25694         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
25695         <kernel-features.h>.
25696         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
25697         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
25698         * sysdeps/unix/sysv/linux/linkat.c: Do not include
25699         <kernel-features.h>.
25700         (linkat) [__NR_linkat]: Make code unconditional.
25701         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
25702         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
25703         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
25704         <kernel-features.h>.
25705         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
25706         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
25707         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
25708         <kernel-features.h>.
25709         (mkdirat) [__NR_mkdirat]: Make code unconditional.
25710         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
25711         * sysdeps/unix/sysv/linux/openat.c: Do not include
25712         <kernel-features.h>.
25713         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
25714         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
25715         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
25716         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
25717         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
25718         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
25719         <kernel-features.h>.
25720         (readlinkat) [__NR_readlinkat]: Make code unconditional.
25721         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
25722         result of INLINE_SYSCALL directly, not via int variable.
25723         * sysdeps/unix/sysv/linux/renameat.c: Do not include
25724         <kernel-features.h>.
25725         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
25726         (renameat) [__NR_renameat]: Make code unconditional.
25727         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
25728         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
25729         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
25730         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
25731         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
25732         (__ASSUME_ATFCTS): Do not undefine and redefine.
25733         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
25734         <kernel-features.h>.
25735         (symlinkat) [__NR_symlinkat]: Make code unconditional.
25736         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
25737         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
25738         <kernel-features.h>.
25739         (unlinkat) [__NR_unlinkat]: Make code unconditional.
25740         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
25741         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
25742         (__ASSUME_ATFCTS): Do not undefine and redefine.
25743         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
25744         <kernel-features.h>.
25745         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
25746         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
25747         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
25748         <kernel-features.h>.
25749         (__xmknodat) [__NR_mknodat]: Make code unconditional.
25750         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
25752 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
25754         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
25756 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
25758         [BZ #17069]
25759         * posix/regcomp.c (parse_reg_exp): Deallocate partially
25760         constructed tree before returning error.
25761         * posix/bug-regexp36.c: Expand test case.
25763 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
25765         [BZ #6803]
25766         * math/libm-test.inc (scalbln_test_date):
25767         Add errno expectations.
25768         * math/w_scalblnf.c: New File.
25769         Add wrapper which checks for setting errno to ERANGE.
25770         Add weak_alias for corresponding scalbln function.
25771         * math/w_scalbln.c: Likewise.
25772         * math/w_scalblnl.c: Likewise.
25773         * math/Makefile (libm-calls): Add w_scalbln.
25774         * sysdeps/ieee754/flt-32/s_scalblnf.c:
25775         Remove weak_alias for corresponding scalbln function.
25776         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
25777         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
25778         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
25779         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25780         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
25781         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
25782         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
25783         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
25784         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
25785         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
25786         Remove long_double_symbol for scalblnl function in libm, libc.
25787         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
25788         Add wrapper which checks for setting errno to ERANGE.
25789         Add long_double_symbol for scalblnl function in libm, libc.
25790         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
25791         Remove long_double_symbol for scalblnl in libm.
25792         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
25793         Add wrapper which checks for setting errno to ERANGE.
25794         Add long_double_symbol for scalblnl function in libm.
25795         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
25796         Do not use wrapper because of own implementation.
25798 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
25800         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
25801         3 bytes for __pad1 for x32.
25802         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
25804 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
25805             H.J. Lu  <hongjiu.lu@intel.com>
25807         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
25808         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
25809         * sysdeps/x86_64/multiarch/memset.S: Likewise.
25810         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25811         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
25813 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
25815         [BZ #17069]
25816         * posix/regcomp.c (parse_expression): Deallocate partially
25817         constructed tree before returning error.
25818         * posix/Makefile.c (tests): Add bug-regex36.
25819         (generated): Add bug-regex36.mtrace.
25820         (tests-special): Add $(objpfx)bug-regex36-mem.out
25821         (bug-regex36-ENV): New variable.
25822         ($(objpfx)bug-regex36-mem.out): New rule.
25823         * posix/bug-regex36.c: New file.
25825 2014-06-19  Will Newton  <will.newton@linaro.org>
25827         * malloc/malloc.c (systrim): If extra is zero then return
25828         early.
25830 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
25832         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
25834 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
25836         * sysdeps/aarch64/strchr.S: New file.
25838 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
25840         [BZ #17022]
25841         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
25842         from arguments -2 or below.
25843         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
25844         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
25846 2014-06-18  Andreas Schwab  <schwab@suse.de>
25848         [BZ #17062]
25849         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
25850         of a bracket expr not to run off the end of the string.
25851         * posix/Makefile (tests): Add tst-fnmatch3.
25852         * posix/tst-fnmatch3.c: New file.
25854 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
25856         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
25857         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
25858         [$(cross-compiling) = no]: Likewise.
25859         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
25860         [$(cross-compiling) = no]: Likewise.
25862 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25864         [BZ #17031]
25865         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
25866         double, adjusted for any remainder from the high double.
25867         * math/libm-test.inc (nearbyint): Add tests.
25868         (rint): Likewise.
25870 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25872         * nptl/sysdeps/powerpc/Makefile: Moved ...
25873         * sysdeps/powerpc/nptl/Makefile: ... here.
25874         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
25875         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
25876         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
25877         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
25878         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
25879         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
25880         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
25881         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
25882         * nptl/sysdeps/powerpc/tls.h: Moved ...
25883         * sysdeps/powerpc/nptl/tls.h: ... here.
25885 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
25887         [BZ #16681]
25888         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
25889         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
25890         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
25891         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
25892         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
25893         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
25894         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
25895         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
25896         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
25898 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
25900         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
25902 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
25904         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
25905         defined operator.
25907         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
25908         $TIMEOUTFACTOR.
25910 2014-06-16  Florian Weimer  <fweimer@redhat.com>
25912         [BZ #17058]
25913         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
25914         non-executed part of the test.
25916 2014-06-16  Andreas Schwab  <schwab@suse.de>
25918         * string/bits/string2.h (strdup, strndup): Update feature guard.
25920 2014-06-14  David S. Miller  <davem@davemloft.net>
25922         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25924 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
25926         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
25927         that was previously under [RESET_PID].
25928         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
25930         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
25931         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
25932         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
25933         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
25934         (__libc_vfork): New strong alias.
25935         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
25937 2014-06-14 Andi Kleen  <ak@linux.intel.com>
25939         * sysdeps/generic/elide.h: New file.
25941 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
25943         * Makefile (installed-headers): Adjust path of pthread.h header.
25945 2014-06-13  Roland McGrath  <roland@hack.frob.com>
25947         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
25948         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
25949         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
25950         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
25952         * nptl/sysdeps/s390/Makefile: Moved ...
25953         * sysdeps/s390/nptl/Makefile: ... here.
25954         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
25955         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
25956         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
25957         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
25958         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
25959         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
25960         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
25961         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
25962         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
25963         * sysdeps/s390/nptl/pthreaddef.h: ... here.
25964         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
25965         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
25966         * nptl/sysdeps/s390/tls.h: Moved ...
25967         * sysdeps/s390/nptl/tls.h: ... here.
25969         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
25970         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
25972 2014-06-13  David S. Miller  <davem@davemloft.net>
25974         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
25975         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
25976         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
25977         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
25978         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
25979         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
25980         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
25981         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
25982         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
25983         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
25984         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
25985         Remove RESET_PID cpp guards.
25986         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
25987         Remove RESET_PID cpp guards.
25988         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
25990 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
25992         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
25993         __sp to uintptr_t.
25995 2014-06-13  Andi Kleen  <ak@linux.intel.com>
25997         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
25998         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
25999         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
26000         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
26001         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
26002         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
26003         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
26004         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
26005         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
26006         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
26007         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
26008         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
26009         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
26010         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
26011         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
26012         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
26013         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
26014         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
26015         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
26016         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
26018         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
26019         (pthread_rwlock_rdlock): Add elision.
26020         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
26021         (pthread_rwlock_wrlock): Add elision.
26022         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
26023         (pthread_rwlock_trywrlock): Add elision.
26024         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
26025         (pthread_rwlock_tryrdlock): Add elision.
26026         * nptl/pthread_rwlock_unlock.c: Include elide.h.
26027         (pthread_rwlock_tryrdlock): Add elision unlock.
26028         * nptl/sysdeps/pthread/pthread.h:
26029         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
26030         (PTHREAD_RWLOCK_INITIALIZER,
26031         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
26032         Handle new elision field.
26033         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
26034         * sysdeps/arm/nptl/bits/pthreadtypes.h
26035         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26036         * sysdeps/sh/nptl/bits/pthreadtypes.h
26037         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26038         * sysdeps/tile/nptl/bits/pthreadtypes.h
26039         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26040         * sysdeps/a/nptl/bits/pthreadtypes.h
26041         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26042         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
26043         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26044         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
26045         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26046         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
26047         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26048         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
26049         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26050         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
26051         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26052         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
26053         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26054         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
26055         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26056         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
26057         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26058         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
26059         (elision_init): Set try_xbegin to zero when no RTM.
26060         * sysdeps/x86/nptl/bits/pthreadtypes.h
26061         (pthread_rwlock_t): Change __pad1 to __rwelision.
26062         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26064 2014-06-13  Andi Kleen  <ak@linux.intel.com>
26066         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
26067         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
26068         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
26069         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
26071 2014-06-13  Meador Inge  <meadori@codesourcery.com>
26073         [BZ #16996]
26074         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
26075         that the cached result has been set before returning it.
26077 2014-06-12  Roland McGrath  <roland@hack.frob.com>
26079         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
26080         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
26081         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
26082         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
26083         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
26084         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
26086         * nptl/sysdeps/sparc/Makefile: Moved ...
26087         * sysdeps/sparc/nptl/Makefile: ... here.
26088         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
26089         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
26090         * nptl/sysdeps/sparc/tls.h: Moved ...
26091         * sysdeps/sparc/nptl/tls.h: ... here.
26092         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
26093         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
26094         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
26095         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
26096         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
26097         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
26098         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
26099         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
26100         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
26101         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
26102         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
26103         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
26104         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
26105         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
26106         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
26107         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
26108         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
26109         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
26110         Update #include.
26111         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
26112         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
26113         Update #include.
26114         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
26115         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
26116         Update #include.
26117         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
26118         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
26119         Update #include.
26121         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
26123         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
26124         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
26126         * sysdeps/pthread/posix-timer.h: Include <list.h>.
26127         (struct list_links): Type removed.
26128         (struct thread_node, struct timer_node): Replace struct list_links
26129         with struct list_head.
26130         (list_unlink_ip): Likewise.
26131         * sysdeps/pthread/timer_routines.c
26132         (timer_free_list, thread_free_list, thread_active_list): Likewise.
26133         (list_append, list_insbefore): Likewise.
26134         (list_init): Function removed.
26135         (thread_init, init_module): Use INIT_LIST_HEAD instead.
26136         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
26137         * sysdeps/pthread/Makefile: ... here, new file.
26139         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
26140         * sysdeps/nptl/Implies: ... here.
26141         * sysdeps/unix/sysv/linux/Implies: Add nptl.
26142         * nptl/sysdeps/pthread/list.h: Moved ...
26143         * include/list.h: ... here.
26144         * nptl/sysdeps/pthread/createthread.c: Moved ...
26145         * nptl/createthread.c: ... here.
26146         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
26147         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
26148         * nptl/pt-longjmp.c: ... here.
26149         * nptl/sysdeps/pthread/Makefile: Moved ...
26150         * sysdeps/nptl/Makefile: ... here.
26151         * nptl/sysdeps/pthread/Subdirs: Moved ...
26152         * sysdeps/nptl/Subdirs: ... here.
26153         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
26154         * sysdeps/nptl/aio_misc.h: ... here.
26155         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
26156         * sysdeps/nptl/bits/libc-lock.h: ... here.
26157         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
26158         * sysdeps/nptl/bits/libc-lockP.h: ... here.
26159         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
26160         * sysdeps/nptl/bits/stdio-lock.h: ... here.
26161         * nptl/sysdeps/pthread/configure: Moved ...
26162         * sysdeps/nptl/configure: ... here.
26163         * nptl/sysdeps/pthread/configure.ac: Moved ...
26164         * sysdeps/nptl/configure.ac: ... here.
26165         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
26166         * sysdeps/nptl/gai_misc.h: ... here.
26167         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
26168         * sysdeps/nptl/librt-cancellation.c: ... here.
26169         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
26170         * sysdeps/nptl/malloc-machine.h: ... here.
26171         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
26172         * sysdeps/nptl/pthread-functions.h: ... here.
26173         * nptl/sysdeps/pthread/pthread.h: Moved ...
26174         * sysdeps/nptl/pthread.h: ... here.
26175         * nptl/sysdeps/pthread/setxid.h: Moved ...
26176         * sysdeps/nptl/setxid.h: ... here.
26177         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
26178         * sysdeps/nptl/sigfillset.c: ... here.
26179         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
26180         * sysdeps/nptl/tcb-offsets.h: ... here.
26181         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
26182         * sysdeps/nptl/tst-mqueue8x.c: ... here.
26183         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
26184         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
26185         * nptl/sysdeps/pthread/allocalim.h: Moved ...
26186         * sysdeps/pthread/allocalim.h: ... here.
26187         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
26188         * sysdeps/pthread/bits/sigthread.h: ... here.
26189         * nptl/sysdeps/pthread/flockfile.c: Moved ...
26190         * sysdeps/pthread/flockfile.c: ... here.
26191         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
26192         * sysdeps/pthread/ftrylockfile.c: ... here.
26193         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
26194         * sysdeps/pthread/funlockfile.c: ... here.
26195         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
26196         * sysdeps/pthread/posix-timer.h: ... here.
26197         * nptl/sysdeps/pthread/timer_create.c: Moved ...
26198         * sysdeps/pthread/timer_create.c: ... here.
26199         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
26200         * sysdeps/pthread/timer_delete.c: ... here.
26201         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
26202         * sysdeps/pthread/timer_getoverr.c: ... here.
26203         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
26204         * sysdeps/pthread/timer_gettime.c: ... here.
26205         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
26206         * sysdeps/pthread/timer_routines.c: ... here.
26207         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
26208         * sysdeps/pthread/timer_settime.c: ... here.
26209         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
26210         * sysdeps/pthread/tst-timer.c: ... here.
26211         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
26212         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
26214         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
26215         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
26217         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
26218         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
26219         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
26220         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
26221         Update #include target.
26222         * nptl/sysdeps/i386/i686/Makefile: Moved ...
26223         * sysdeps/i386/i686/nptl/Makefile: ... here.
26224         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
26225         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
26226         Update #include target.
26227         * nptl/sysdeps/i386/i686/tls.h: Moved ...
26228         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
26229         * nptl/sysdeps/i386/Makefile: Moved ...
26230         * sysdeps/i386/nptl/Makefile: ... here.
26231         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
26232         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
26233         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
26234         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
26235         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
26236         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
26237         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
26238         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
26239         * sysdeps/i386/nptl/pthreaddef.h: ... here.
26240         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
26241         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
26242         * nptl/sysdeps/i386/tls.h: Moved ...
26243         * sysdeps/i386/nptl/tls.h: ... here.
26245         * sysdeps/sh/Makefile [$(subdir) = csu]
26246         (gen-as-const-headers): Add tcb-offsets.sym.
26247         * nptl/sysdeps/sh/Makefile: File removed.
26248         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
26249         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
26250         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
26251         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
26252         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
26253         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
26254         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
26255         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
26256         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
26257         * sysdeps/sh/nptl/pthreaddef.h: ... here.
26258         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
26259         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
26260         * nptl/sysdeps/sh/tls.h: Moved ...
26261         * sysdeps/sh/nptl/tls.h: ... here.
26262         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
26263         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
26264         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
26265         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
26266         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
26267         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
26268         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
26269         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
26270         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
26271         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
26272         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
26273         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
26274         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
26275         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
26276         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
26277         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
26278         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
26279         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
26280         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
26281         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
26282         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
26283         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
26284         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
26285         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
26286         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
26287         Moved ...
26288         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
26289         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
26290         Moved ...
26291         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
26292         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
26293         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
26294         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
26295         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
26296         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
26297         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
26298         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
26299         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
26300         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
26301         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
26302         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
26303         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
26304         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
26305         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
26306         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
26307         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
26308         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
26309         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
26311 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
26313         * posix/spawn_faction_addopen.c: Include string.h.
26315 2014-06-11  Roland McGrath  <roland@hack.frob.com>
26317         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
26318         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
26319         * nptl/sysdeps/x86_64/Makefile: Moved ...
26320         * sysdeps/x86_64/nptl/Makefile: ... here.
26321         * nptl/sysdeps/x86_64/configure: Moved ...
26322         * sysdeps/x86_64/nptl/configure: ... here.
26323         * nptl/sysdeps/x86_64/configure.ac: Moved ...
26324         * sysdeps/x86_64/nptl/configure.ac: ... here.
26325         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
26326         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
26327         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
26328         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
26329         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
26330         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
26331         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
26332         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
26333         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
26334         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
26335         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
26336         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
26337         * nptl/sysdeps/x86_64/tls.h: Moved ...
26338         * sysdeps/x86_64/nptl/tls.h: ... here.
26339         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
26340         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
26341         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
26342         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
26344         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
26346 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26348         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26350 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
26352         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
26353         type.
26354         [POSIX] (off_t): Likewise.
26355         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
26356         [POSIX] (S_ISBLK): Require macro.
26357         [POSIX] (S_ISCHR): Likewise.
26358         [POSIX] (S_ISDIR): Likewise.
26359         [POSIX] (S_ISFIFO): Likewise.
26360         [POSIX] (S_ISREG): Likewise.
26361         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
26362         optional-macro.
26363         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
26364         type.
26365         [POSIX] (time_t): Likewise.
26366         [POSIX] (timer_t): Likewise.
26368 2014-06-11  Florian Weimer  <fweimer@redhat.com>
26370         [BZ #17048]
26371         * posix/spawn_int.h (struct __spawn_action): Make the path string
26372         non-const to support deallocation.
26373         * posix/spawn_faction_addopen.c
26374         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
26375         * posix/spawn_faction_destroy.c
26376         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
26377         path in all spawn_do_open actions.
26378         * posix/tst-spawn.c (do_test): Exercise the copy operation in
26379         posix_spawn_file_actions_addopen.
26381 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
26383         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
26384         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
26385         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
26386         conditional code always true.
26387         (__libc_vfork): New alias.
26389 2014-06-11  Roland McGrath  <roland@hack.frob.com>
26391         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
26392         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
26394         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
26396         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
26397         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
26399         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
26400         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
26402         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
26403         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
26405 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
26407         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
26408         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
26409         multiarch strcmp for PPC64.
26410         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
26411         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
26412         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
26413         multiarch optimizations.
26414         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
26415         (__libc_ifunc_impl_list): Likewise.
26417 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
26419         * benchtests/scripts/validate_benchout.py: New script.
26420         * benchtests/Makefile (bench-func): Call it.
26421         * benchtests/scripts/benchout.schema.json: New file.
26423 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
26425         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
26426         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
26427         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
26428         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
26429         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
26430         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
26431         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
26432         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
26433         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
26434         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
26435         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
26436         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
26437         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
26438         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
26439         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
26440         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
26441         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
26442         Moved ...
26443         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
26444         ... here.
26445         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
26446         Moved ...
26447         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
26448         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
26449         Moved ...
26450         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
26451         ... here.
26452         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
26453         Moved ...
26454         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
26455         ... here.
26456         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
26457         Moved ...
26458         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
26459         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
26460         Moved ...
26461         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
26462         ... here.
26463         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
26464         Moved ...
26465         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
26466         ... here.
26467         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
26468         Moved ...
26469         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
26470         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
26471         Moved ...
26472         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
26473         ... here.
26474         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
26475         Moved ...
26476         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
26477         ... here.
26478         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
26479         Moved ...
26480         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
26481         ... here.
26482         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
26483         Moved ...
26484         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
26485         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
26486         Moved ...
26487         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
26488         ... here.
26489         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
26490         Moved ...
26491         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
26492         ... here.
26493         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
26494         Moved ...
26495         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
26496         ... here.
26497         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
26498         Moved ...
26499         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
26500         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
26501         Moved ...
26502         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
26503         ... here.
26504         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
26505         Moved ...
26506         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
26507         ... here.
26508         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
26509         Moved ...
26510         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
26511         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
26512         Moved ...
26513         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
26514         ... here.
26515         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
26516         Moved ...
26517         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
26518         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
26519         Moved ...
26520         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
26521         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
26522         Moved ...
26523         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
26524         ... here.
26525         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
26526         Moved ...
26527         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
26528         ... here.
26529         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
26530         Moved ...
26531         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
26532         ... here.
26533         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
26534         Moved ...
26535         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
26536         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
26537         Moved ...
26538         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
26539         ... here.
26540         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
26541         Moved ...
26542         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
26543         ... here.
26544         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
26545         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
26546         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
26547         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
26548         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
26549         Moved ...
26550         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
26551         ... here.
26552         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
26553         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
26554         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
26555         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
26556         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
26557         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
26558         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
26559         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
26560         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
26561         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
26562         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
26563         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
26564         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
26565         Moved ...
26566         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
26567         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
26568         Moved ...
26569         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
26570         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
26571         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
26572         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
26573         Moved ...
26574         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
26575         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
26576         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
26577         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
26578         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
26579         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
26580         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
26582 2014-06-10  Wilco  <wdijkstr@arm.com>
26584         * math/test-fenv-return.c: New file.
26585         * math/Makefile: Add new test test-fenv-return.
26587 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
26589         [BZ #17042]
26590         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
26591         when x - 1 is zero.
26592         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
26593         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
26594         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
26595         0.0L for an argument of 1.0L.
26596         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
26597         Likewise.
26598         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
26599         value when x - 1 is zero.
26600         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
26601         * sysdeps/i386/fpu/libm-test-ulps: Update.
26602         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26604 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
26606         [BZ #15119]
26607         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
26609 2014-06-09  Roland McGrath  <roland@hack.frob.com>
26611         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
26612         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
26614 2014-06-09  Roland McGrath  <roland@hack.frob.com>
26616         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
26617         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
26619         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
26620         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
26622         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
26623         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
26625         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
26626         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
26628         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
26629         if not already defined.
26630         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
26631         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
26632         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
26633         (TLS_INIT_TP): Use it.
26634         (TLS_DEFINE_INIT_TP): New macro.
26635         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
26637 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
26639         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
26640         constant.
26641         [POSIX] (IXANY): Likewise.
26642         [POSIX] (OLCUC): Likewise.
26643         [POSIX || POSIX2008] (CBAUD): Do not allow.
26644         [POSIX || POSIX2008] (DEFECHO): Likewise.
26645         [POSIX || POSIX2008] (ECHOCTL): Likewise.
26646         [POSIX || POSIX2008] (ECHOKE): Likewise.
26647         [POSIX || POSIX2008] (ECHOPRT): Likewise.
26648         [POSIX || POSIX2008] (EXTA): Likewise.
26649         [POSIX || POSIX2008] (EXTB): Likewise.
26650         [POSIX || POSIX2008] (FLUSHO): Likewise.
26651         [POSIX || POSIX2008] (LOBLK): Likewise.
26652         [POSIX || POSIX2008] (PENDIN): Likewise.
26653         [POSIX || POSIX2008] (SWTCH): Likewise.
26654         [POSIX || POSIX2008] (VDISCARD): Likewise.
26655         [POSIX || POSIX2008] (VDSUSP): Likewise.
26656         [POSIX || POSIX2008] (VLNEXT): Likewise.
26657         [POSIX || POSIX2008] (VREPRINT): Likewise.
26658         [POSIX || POSIX2008] (VSTATUS): Likewise.
26659         [POSIX || POSIX2008] (VWERASE): Likewise.
26660         (B*): Change to B[0123456789]*.
26661         * conform/data/time.h-data [POSIX || UNIX98]
26662         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
26663         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
26664         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
26665         [POSIX] (tm_*): Do not allow.
26667 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
26669         * Makefile (install): Don't set LANGUAGE.
26670         * Makefile.in (install): Likewise.
26671         * assert/Makefile (test-assert-ENV): Remove variable.
26672         (test-assert-perr-ENV): Likewise.
26673         * elf/Makefile (neededtest4-ENV): Likewise.
26674         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
26675         [$(cross-compiling) = no]: Don't set LANGUAGE.
26676         * io/ftwtest-sh (LANG): Remove variable.
26677         * libio/Makefile (tst-widetext-ENV): Likewise.
26678         * manual/install.texi (Running make install): Don't refer to
26679         environment settings for make install.
26680         * INSTALL: Regenerated.
26681         * nptl/tst-tls6.sh: Don't set LANG.
26682         * posix/globtest.sh (LANG): Remove variable.
26683         * string/Makefile (tester-ENV): Likewise.
26684         (inl-tester-ENV): Likewise.
26685         (noinl-tester-ENV): Likewise.
26686         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
26687         [$(cross-compiling) = no]: Don't set LANGUAGE.
26688         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
26689         without explicit environment settings.
26691 2014-06-06  Roland McGrath  <roland@hack.frob.com>
26693         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
26694         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
26695         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
26696         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
26698 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
26700         * crypt/crypt-private.h [DOS]: Add some includes taken from the
26701         other files in the crypt directory.
26702         * crypt/crypt.c: Remove duplicate includes.
26703         * crypt/crypt-entry.c: Likewise.
26704         * crypt/crypt_util.c: Likewise.
26706 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
26708         * Makeconfig (run-program-env): New variable.
26709         (run-program-prefix-before-env): Likewise.
26710         (run-program-prefix-after-env): Likewise.
26711         (run-program-prefix): Define in terms of new variables.
26712         (built-program-cmd-before-env): New variable.
26713         (built-program-cmd-after-env): Likewise.
26714         (built-program-cmd): Define in terms of new variables.
26715         (test-program-prefix-before-env): New variable.
26716         (test-program-prefix-after-env): Likewise.
26717         (test-program-prefix): Define in terms of new variables.
26718         (test-program-cmd-before-env): New variable.
26719         (test-program-cmd-after-env): Likewise.
26720         (test-program-cmd): Define in terms of new variables.
26721         * Rules (make-test-out): Use $(run-program-env).
26722         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
26723         (help): Do not mention environment variables.  Mention
26724         --timeoutfactor option.
26725         (timeoutfactor): New variable.
26726         (blacklist_exports): Remove function.
26727         (exports): Remove variable.
26728         (command): Do not include ${exports}.
26729         * manual/install.texi (Configuring and compiling): Do not mention
26730         test wrappers preserving environment variables.  Mention that last
26731         assignment to a variable must take precedence.
26732         * INSTALL: Regenerated.
26733         * benchtests/Makefile (run-bench): Use $(run-program-env).
26734         * catgets/Makefile ($(objpfx)test1.cat): Use
26735         $(built-program-cmd-before-env), $(run-program-env) and
26736         $(built-program-cmd-after-env).
26737         ($(objpfx)test2.cat): Do not specify environment variables
26738         explicitly.
26739         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
26740         $(run-program-env) and $(built-program-cmd-after-env).
26741         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
26742         $(run-program-env) and $(test-program-cmd-after-env).
26743         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
26744         explicitly.
26745         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
26746         run_program_env and test_program_cmd_after_env arguments.
26747         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
26748         * elf/tst-pathopt.sh: Use run_program_env argument.
26749         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
26750         $(test-wrapper-env) and $(run-program-env).
26751         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
26752         run_program_env arguments.
26753         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
26754         * intl/Makefile ($(objpfx)tst-gettext.out): Use
26755         $(test-program-prefix-before-env), $(run-program-env) and
26756         $(test-program-prefix-after-env).
26757         ($(objpfx)tst-gettext2.out): Likewise.
26758         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
26759         run_program_env and test_program_prefix_after_env arguments.
26760         * intl/tst-gettext2.sh: Likewise.
26761         * intl/tst-gettext4.sh: Do not set environment variables
26762         explicitly.
26763         * intl/tst-gettext6.sh: Likewise.
26764         * intl/tst-translit.sh: Likewise.
26765         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
26766         $(test-program-prefix-before-env), $(run-program-env) and
26767         $(test-program-prefix-after-env).
26768         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
26769         run_program_env and test_program_prefix_after_env arguments.
26770         * math/Makefile (run-regen-ulps): Use $(run-program-env).
26771         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
26772         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
26773         explicitly with each use of ${test_wrapper_env}.
26774         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
26775         $(test-program-prefix-before-env), $(run-program-env) and
26776         $(test-program-prefix-after-env).
26777         * posix/tst-getconf.sh: Do not set environment variables
26778         explicitly.
26779         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
26780         run_program_env and test_program_prefix_after_env arguments.
26781         * stdio-common/tst-printf.sh: Do not set environment variables
26782         explicitly.
26783         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
26784         $(test-program-prefix-before-env), $(run-program-env) and
26785         $(test-program-prefix-after-env).
26786         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
26787         run_program_env and test_program_prefix_after_env arguments.
26788         Split $test calls into $test_pre and $test.
26789         * timezone/Makefile (build-testdata): Use
26790         $(built-program-cmd-before-env), $(run-program-env) and
26791         $(built-program-cmd-after-env).
26793 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26795         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
26796         strlen for non SHARED builds.
26798 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
26800         * nptl/allocatestack.c (check_list): Inlined function...
26801         (__reclaim_stacks): ... here.
26803 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
26805         [BZ #15698]
26806         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
26807         memory overrun.
26809 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
26811         * Rules (make-test-out): Include
26812         LOCPATH=$(common-objpfx)localedata in default environment.
26813         * debug/Makefile (tst-chk1-ENV): Remove variable.
26814         (tst-chk2-ENV): Likewise.
26815         (tst-chk3-ENV): Likewise.
26816         (tst-chk4-ENV): Likewise.
26817         (tst-chk5-ENV): Likewise.
26818         (tst-chk6-ENV): Likewise.
26819         (tst-lfschk1-ENV): Likewise.
26820         (tst-lfschk2-ENV): Likewise.
26821         (tst-lfschk3-ENV): Likewise.
26822         (tst-lfschk4-ENV): Likewise.
26823         (tst-lfschk5-ENV): Likewise.
26824         (tst-lfschk6-ENV): Likewise.
26825         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
26826         (tst-iconv7-ENV): Likewise.
26827         * intl/Makefile (LOCPATH-ENV): Likewise.
26828         (tst-codeset-ENV): Likewise.
26829         (tst-gettext3-ENV): Likewise.
26830         (tst-gettext5-ENV): Likewise.
26831         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
26832         (tst-fopenloc-ENV): Likewise.
26833         (tst-fgetws-ENV): Remove variable.
26834         (tst-ungetwc1-ENV): Likewise.
26835         (tst-ungetwc2-ENV): Likewise.
26836         (bug-ungetwc2-ENV): Likewise.
26837         (tst-swscanf-ENV): Likewise.
26838         (bug-ftell-ENV): Likewise.
26839         (tst-fgetwc-ENV): Likewise.
26840         (tst-fseek-ENV): Likewise.
26841         (tst-ftell-partial-wide-ENV): Likewise.
26842         (tst-ftell-active-handler-ENV): Likewise.
26843         (tst-ftell-append-ENV): Likewise.
26844         * posix/Makefile (tst-fnmatch-ENV): Likewise.
26845         (tst-regexloc-ENV): Likewise.
26846         (bug-regex1-ENV): Likewise.
26847         (tst-regex-ENV): Likewise.
26848         (tst-regex2-ENV): Likewise.
26849         (bug-regex5-ENV): Likewise.
26850         (bug-regex6-ENV): Likewise.
26851         (bug-regex17-ENV): Likewise.
26852         (bug-regex18-ENV): Likewise.
26853         (bug-regex19-ENV): Likewise.
26854         (bug-regex20-ENV): Likewise.
26855         (bug-regex22-ENV): Likewise.
26856         (bug-regex23-ENV): Likewise.
26857         (bug-regex25-ENV): Likewise.
26858         (bug-regex26-ENV): Likewise.
26859         (bug-regex30-ENV): Likewise.
26860         (bug-regex32-ENV): Likewise.
26861         (bug-regex33-ENV): Likewise.
26862         (bug-regex34-ENV): Likewise.
26863         (bug-regex35-ENV): Likewise.
26864         (tst-rxspencer-ENV): Likewise.
26865         (tst-rxspencer-no-utf8-ENV): Likewise.
26866         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
26867         (tst-sscanf-ENV): Likewise.
26868         (tst-swprintf-ENV): Likewise.
26869         (tst-swscanf-ENV): Likewise.
26870         (test-vfprintf-ENV): Likewise.
26871         (scanf13-ENV): Likewise.
26872         (bug14-ENV): Likewise.
26873         (tst-grouping-ENV): Likewise.
26874         * stdlib/Makefile (tst-strtod-ENV): Likewise.
26875         (tst-strtod3-ENV): Likewise.
26876         (tst-strtod4-ENV): Likewise.
26877         (tst-strtod5-ENV): Likewise.
26878         (testmb2-ENV): Likewise./
26879         * string/Makefile (tst-strxfrm-ENV): Likewise.
26880         (tst-strxfrm2-ENV): Likewise.
26881         (bug-strcoll1-ENV): Likewise.
26882         (test-strcasecmp-ENV): Likewise.
26883         (test-strncasecmp-ENV): Likewise.
26884         * time/Makefile (tst-strptime-ENV): Likewise.
26885         (tst-ftime_l-ENV): Likewise.
26886         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
26887         (tst-mbrtowc-ENV): Likewise.
26888         (tst-wcrtomb-ENV): Likewise.
26889         (tst-mbrtowc2-ENV): Likewise.
26890         (tst-c16c32-1-ENV): Likewise.
26891         (tst-mbsnrtowcs-ENV): Likewise.
26893 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
26895         * manual/resource.texi (How to get information about the memory
26896         subsystem?): Fix typo.
26897         Reported by Peon de la Parra Ivan <peon@keba.com>
26899 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
26901         [BZ #16882]
26902         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
26903         (pthread_spin_lock): Branch out of spin loop to proper location.
26904         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
26905         (pthread_spin_lock): Likewise.
26907         * nptl/tst-spin4.c: New test.
26908         * nptl/Makefile (tests): Add tst-spin4.
26910 2014-06-03  Andreas Schwab  <schwab@suse.de>
26912         [BZ #15946]
26913         * resolv/res_send.c (send_dg): Reload file descriptor after
26914         calling reopen.
26916 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
26918         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
26920 2014-06-03  Richard Henderson  <rth@redhat.com>
26922         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
26923         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
26924         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
26925         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
26926         in the SAVE_PID block.
26927         (__libc_vfork): New alias.
26928         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
26930         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
26931         child in registers, not on the stack.  Remove RESET_PID conditionals.
26932         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
26934 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
26936         * sysdeps/aarch64/libm-test-ulps: Regenerate.
26938 2014-06-03  Wilco  <wdijkstr@arm.com>
26940         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
26941         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
26942         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
26943         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
26944         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
26945         Likewise.
26947 2014-06-03  Wilco  <wdijkstr@arm.com>
26949         * sysdeps/aarch64/fpu/math_private.h
26950         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
26951         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
26952         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
26953         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
26954         Fix declarations.
26956 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
26958         * crypt/crypt-private.h: Include ufc-crypt.h.
26959         (__b64_from_24bit): Declare extern.
26960         * crypt/crypt_util.c(__b64_from_24bit): New function.
26961         (b64t): New static const variable.
26962         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
26963         (b64t): Remove variable.
26964         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
26965         * crypt/sha256-crypt.c: Include crypt-private.h.
26966         (b64t): Remove variable.
26967         (__sha256_crypt_r): Remove b64_from_24bit and replace
26968         with __b64_from_24bit.
26969         * crypt/sha512-crypt.c: Likewise.
26971 2014-06-02  Roland McGrath  <roland@hack.frob.com>
26973         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
26974         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
26975         Label the code __libc_vfork rather than __vfork.
26976         [!NOT_IN_libc] (vfork): Define as weak alias.
26977         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
26978         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
26979         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
26981 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
26983         * malloc/malloc.c (malloc_info): Fix format specifier for
26984         n_mmaps.
26986 2014-06-02  Wilco  <wdijkstr@arm.com>
26988         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
26989         FPCR write.
26991 2014-06-02  Wilco  <wdijkstr@arm.com>
26993         [BZ #17009]
26994         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
26995         Rewrite to reduce FPCR/FPSR accesses.
26997 2014-06-01  David S. Miller  <davem@davemloft.net>
26999         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27001 2014-05-31  David S. Miller  <davem@davemloft.net>
27003         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
27004         to occur in round to nearest mode when |x| >= 2.0
27006 2014-05-30  Richard Henderson  <rth@twiddle.net>
27008         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
27009         (PSEUDO_RET_NOERRNO): Remove.
27010         (ret): Don't redefine.
27011         (ret_NOERRNO): Define in terms of ret.
27012         (ret_ERRVAL): Likewise.
27014         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
27015         use of PSEUDO_RET; perform the error check directly.
27017 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
27019         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
27020         with __int128_t.
27022 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
27024         * malloc/malloc (malloc_info): Fix formatting.
27026 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
27027             Roland McGrath  <roland@hack.frob.com>
27029         * malloc/malloc (malloc_info): Also print mmapped statistics.
27031 2014-05-30  Roland McGrath  <roland@hack.frob.com>
27033         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
27034         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
27036 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
27038         * malloc/malloc.c (malloc_info): Inline mi_arena.
27040 2014-05-29  Richard Henderson  <rth@twiddle.net>
27042         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
27043         Remove comma before expanding ASM_ARGS_##nr.
27044         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
27045         Make _x0 a strict output; make _x8 a strict input; adjust expansion
27046         of ASM_ARGS_##nr.
27047         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
27048         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
27049         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
27050         (ASM_ARGS_1): Add leading comma.
27052         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
27053         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
27054         to __errno_location.
27055         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
27056         Remove the expected plt for __errno_location.
27058         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
27059         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
27060         call to __read_tp.
27062         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
27063         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
27064         it and break it down.
27065         (DOCARGS_0, DOCARGS_1): Do nothing.
27066         (DOCARGS_2): Update to store into the new stack frame.
27067         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
27068         (UNDOCARGS_1): Update to restore from the new stack frame.
27069         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
27070         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
27072         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
27073         (SINGLE_THREAD_P): New parameter for result regno.
27074         (PSEUDO): Update to match; use cbz instead of beq.
27076         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
27077         Use ENTRY to define the _nocancel entry point.  Share the syscall
27078         and syscall error check paths with the cancel path.
27079         (PSEUDO_END): New.
27081         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
27082         whitespace; tabs before and after asm mnemonics.
27084 2014-05-29  Eric Wong  <normalperson@yhbt.net>
27086         [BZ #15132]
27087         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27088         Call fstat64 or stat64 internally, depending on arguments passed.
27089         Replace stat buffer argument with file descriptor argument.
27090         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
27091         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
27092         Pass fd to __internal_statvfs instead of calling fstat64.
27093         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
27094         Pass fd to __internal_statvfs64 instead of calling fstat64.
27095         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
27096         Pass -1 to __internal_statvfs instead of calling stat64.
27097         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
27098         Pass -1 to __internal_statvfs64 instead of calling stat64.
27100 2014-05-28  Roland McGrath  <roland@hack.frob.com>
27102         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
27103         that was previously under [RESET_PID].
27104         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
27106         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
27107         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
27109 2014-05-27  Roland McGrath  <roland@hack.frob.com>
27111         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
27113         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
27114         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
27116 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
27118         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
27120 2014-05-27  Andreas Schwab  <schwab@suse.de>
27122         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
27123         TLS_INIT_TP macro.
27124         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
27125         * elf/rtld.c (init_tls, dl_main): Likewise.
27126         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
27127         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
27128         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
27129         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
27130         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
27131         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
27132         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
27133         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
27134         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
27135         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
27136         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
27137         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
27138         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
27139         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
27140         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
27141         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
27142         * sysdeps/generic/tls.h: Update description.
27144 2014-05-27  Will Newton  <will.newton@linaro.org>
27146         [BZ #16990]
27147         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
27148         and restore r2 rather than just restoring.
27150 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
27152         [BZ #16724]
27153         * libio/tst-ftell-append.c: New test case.
27154         * libio/Makefile (tests): Add test case.
27155         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
27156         append mode.
27157         * libio/wfileops.c (do_ftell_wide): Likewise.
27159 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27161         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27163         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
27164         ...
27165         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
27166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
27167         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
27168         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
27169         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
27170         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
27171         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
27172         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
27173         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
27174         Moved ...
27175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
27176         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
27177         Moved ...
27178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
27179         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
27180         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
27181         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
27182         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
27183         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
27184         ...
27185         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
27186         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
27187         Moved ...
27188         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
27189         here.
27190         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
27191         ...
27192         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
27193         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
27194         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
27196         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
27197         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
27198         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
27199         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
27201         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
27202         merge into ...
27203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
27204         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
27205         ...
27206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
27207         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
27208         ...
27209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
27210         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
27211         Moved ...
27212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
27213         here.
27214         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
27215         Moved ...
27216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
27217         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
27218         Moved ...
27219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
27221         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
27222         conditional [RESET_PID].
27223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
27224         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
27225         removed.
27226         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
27227         removed.
27229         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
27230         <tcb-offsets.h>.
27231         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
27232         (__libc_vfork): New strong alias.
27233         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
27234         removed.
27235         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
27236         Removed.
27238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
27239         <tcb-offsets.h>.
27240         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
27241         (__libc_vfork): New strong alias.
27242         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
27243         removed.
27244         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
27245         removed.
27247 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
27249         * malloc/malloc.c (mi_arena): New function.
27250         (malloc_info): Remove nested function mi_arena. Call non-nosted
27251         function mi_arena.
27253 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27255         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
27256         by insrwi.
27257         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
27258         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
27259         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
27260         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
27261         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
27262         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
27263         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
27265 2014-05-26  Andreas Schwab  <schwab@suse.de>
27267         [BZ #16984]
27268         * locale/programs/repertoire.c (repertoire_read): Add slash
27269         between I18NPATH element and file name.
27270         * locale/programs/locfile.c (locfile_read): Likewise.
27272 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
27274         * nptl/pthread_mutexattr_settype.c
27275         (__pthread_mutexattr_settype):
27276         Disable lock elision for PTHREAD_MUTEX_NORMAL.
27278 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
27280         * nptl/tst-mutex5 (do_test):
27281         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
27283 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
27285         * benchtests/README: Document 'init' directive.
27286         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
27287         BENCH_INIT.
27288         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
27289         (parse_file): Recognize 'init' directive.
27291 2014-05-26  Kyle McMartin  <kyle@redhat.com>
27293         [BZ #16796]
27294         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
27295         alignment of struct pthread.
27297 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
27299         [BZ #16878]
27300         * nscd/netgroupcache.c (addgetnetgrentX): Look for
27301         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
27302         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
27303         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
27305 2014-05-25  Richard Henderson  <rth@twiddle.net>
27307         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
27308         (SINGLE_THREAD_P_PIC): Remove.
27309         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
27310         (SINGLE_THREAD_P_PIC): Remove.
27312         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
27313         branch to syscall error ...
27314         (PSEUDO): ... here.
27315         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
27316         from __local_syscall_error to .Lsyscall_error.
27317         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
27318         (SYSCALL_ERROR): Update label name.
27320         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
27321         Do not use DOARGS/UNDOARGS.
27322         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
27323         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
27324         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
27325         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
27326         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
27328         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
27329         block comment.
27331         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
27332         define if !NOT_IN_libc.
27333         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
27334         define with non-default symbol versions.
27336 2014-05-23  Richard Henderson  <rth@twiddle.net>
27338         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
27339         (vfork, __vfork): Define via compat_symbol.
27341         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
27342         [!HAVE_IFUNC] (vfork_compat): Remove.
27343         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
27345 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
27347         [BZ #16978]
27348         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
27349         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
27350         variable.
27352 2014-05-23  Richard Henderson  <rth@twiddle.net>
27354         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
27355         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
27356         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
27357         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
27359         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
27360         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
27361         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
27362         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
27363         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
27364         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
27365         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
27366         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
27367         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
27368         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
27369         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
27370         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
27371         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
27372         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
27373         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
27374         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
27375         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
27376         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
27377         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
27378         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
27379         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
27380         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
27381         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
27382         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
27383         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
27384         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
27385         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
27386         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
27387         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
27388         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
27389         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
27390         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
27391         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
27392         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
27393         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
27394         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
27395         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
27396         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
27397         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
27398         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
27399         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
27400         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
27401         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
27402         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
27403         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
27404         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
27405         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
27406         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
27407         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
27408         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
27409         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
27410         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
27411         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
27412         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
27413         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
27414         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
27416         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
27417         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
27418         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
27419         before exiting on error.
27420         (__libc_vfork): New strong alias.
27421         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
27422         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
27424         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
27425         that was previously under [RESET_PID].
27426         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
27428         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
27430 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
27432         [BZ #16977]
27433         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
27434         value when x - 1 is zero.
27435         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
27436         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
27437         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
27438         0.0L for an argument of 1.0L.
27439         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
27440         Likewise.
27441         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
27442         value when x - 1 is zero.
27443         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
27444         * sysdeps/i386/fpu/libm-test-ulps: Update.
27445         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27447 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
27449         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
27450         alphasort and versionsort.
27452 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27454         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
27455         macro.
27456         [copysignf]: Likewise.
27458 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
27460         * crypt/md5-crypt.c: Fix formatting.
27462 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
27464         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
27465         (b64_from_24bit): New function.
27467 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27469         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
27470         libc_hidden_builtin_def to ifunc.
27471         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
27472         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
27474 2014-05-21  Roland McGrath  <roland@hack.frob.com>
27476         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
27477         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
27479 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
27481         * nscd/Depend (linuxthreads): Remove.
27482         (nptl): Add.
27483         * resolv/Depend (linuxthreads): Remove.
27484         * rt/Depend (linuxthreads): Remove.
27486         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
27487         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
27488         $(common-objpfx)elf/.
27489         (link-libc-before-gnulib): Likewise.
27490         (elfobjdir): Remove variable.
27491         * Makefile (install): Use $(elf-objpfx) instead of
27492         $(common-objpfx)elf/.
27493         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
27494         $(elfobjdir)/.
27495         (link-libc-deps): Likewise.
27496         ($(common-objpfx)libc.so): Likewise.
27497         ($(common-objpfx)linkobj/libc.so): Likewise.
27498         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
27499         instead of $(common-objpfx)elf/.
27500         (symbolic-link-list): Likewise.
27501         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
27502         [$(cross-compiling) = no]: Likewise.
27503         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
27504         $(elfobjdir)/.
27505         (static-gnulib-arch): Likewise.
27506         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
27507         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
27508         $(common-objpfx)elf/.
27510 2014-05-21  Richard Henderson  <rth@redhat.com>
27512         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
27513         (SINGLE_THREAD_P): Use the correct width load.  Fold
27514         into the ldr offset.
27516         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
27517         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
27519 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
27521         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
27522         (libgcc_s_resume): Use __attribute_used__.
27523         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
27524         Likewise.
27526 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27528         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
27529         optimization when used with float constants.
27531         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27533 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
27535         [BZ #16915]
27536         * locale/nl_langinfo_l.c: Make direct reference to every
27537         _nl_current_CATEGORY symbol.
27538         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
27539         (tests-static): Add tst-langinfo-static.
27540         (tests-special): Add tst-langinfo-static.out.
27541         ($(objpfx)tst-langinfo.out): Redirect output.
27542         ($(objpfx)tst-langinfo-static.out): New.
27543         * localedata/tst-langinfo.sh: Send output to stdout.
27544         * localedata/tst-langinfo-static.c: New file.
27546         [BZ #16965]
27547         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
27548         when the shift amount is modulo the limb size.
27550 2014-05-20  Richard Henderson  <rth@redhat.com>
27552         [BZ #16967]
27553         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
27554         Change type of sa_flags from unsigned int to int.
27556         [BZ #16966]
27557         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
27559         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
27561 2014-05-20  Will Newton  <will.newton@linaro.org>
27563         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
27564         Test the return value of the system call in the nocancel case.
27566 2014-05-20  Will Newton  <will.newton@linaro.org>
27567             Yvan Roux  <yvan.roux@linaro.org>
27569         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
27570         #include of asm/ptrace.h.
27571         (PTRACE_GET_THREAD_AREA): Remove #undef.
27572         (PTRACE_GETHBPREGS): Likewise.
27573         (PTRACE_SETHBPREGS): Likewise.
27574         (struct user_regs_struct): New structure.
27575         (struct user_fpsimd_struct): New structure.
27576         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
27577         #include of asm/ptrace.h and second #include of sys/user.h.
27578         (PTRACE_GET_THREAD_AREA): Remove #undef.
27579         (PTRACE_GETHBPREGS): Likewise.
27580         (PTRACE_SETHBPREGS): Likewise.
27581         (ELF_NGREG): Use new struct user_regs_struct.
27582         (elf_fpregset_t): Use new struct user_fpsimd_struct.
27584 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27586         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
27587         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
27589 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
27591         [BZ #16958]
27592         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
27593         membar to avoid block loads/stores to overlap previous stores.
27595 2014-05-17  Richard Henderson  <rth@redhat.com>
27597         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
27598         Create the __##syscall_name##_nocancel entry point.
27599         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
27600         Remove; let the sysdep-cancel.h code create it.
27602 2014-05-17  David S. Miller  <davem@davemloft.net>
27604         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
27605         Protect with __USE_GNU.
27606         (TIOCSET_TEMPT): Likewise.
27607         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
27608         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
27609         these are already provided in bits/ioctl-types.h
27611 2014-05-16  Roland McGrath  <roland@hack.frob.com>
27613         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
27614         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
27616         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
27617         Use wait4 regardless of [__NR_waitpid].
27619 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
27621         PR libgcc/60166
27622         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
27623         (_FP_NANSIGN_Q): Set the quiet bit.
27625 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
27627         * benchtests/Makefile
27628         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
27629         not $(common-objpfx)math/libm.so.
27630         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
27631         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
27632         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
27633         $(common-objpfx)dlfcn/libdl.so.
27634         ($(objpfx)tst-audit8): Depend on $(libm), not
27635         $(common-objpfx)math/libm.so.
27636         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
27637         not $(common-objpfx)dlfcn/libdl.so.
27638         * math/Makefile
27639         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
27640         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
27641         [$(build-shared) = yes].
27642         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
27643         $(common-objpfx)nptl/libpthread.so.
27644         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
27645         $(common-objpfx)math/libm.so$(libm.so-version) or
27646         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
27647         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
27648         $(common-objpfx)dlfcn/libdl.so.
27649         * setjmp/Makefile (link-libm): Remove variable.
27650         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
27651         * stdio-common/Makefile (link-libm): Remove variable.
27652         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
27653         * stdlib/Makefile (link-libm): Remove variable.
27654         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
27655         ($(objpfx)tst-strtod-round): Likewise.
27656         ($(objpfx)tst-tininess): Likewise.
27657         ($(objpfx)tst-strtod-underflow): Likewise.
27658         ($(objpfx)tst-strtod6): Likewise.
27659         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
27660         $(libdl), not $(common-objpfx)nptl/libpthread.so and
27661         $(common-objpfx)dlfcn/libdl.so.
27663 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27665         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
27666         BSD terminal modes definitions.
27668 2014-05-16  Roland McGrath  <roland@hack.frob.com>
27670         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
27671         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
27673         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
27674         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
27675         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
27676         Don't do #include_next.
27677         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
27678         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
27679         Don't do #include_next.
27680         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
27681         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
27682         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
27683         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
27685 2014-05-16  Allan McRae  <allan@archlinux.org>
27687         * po/sv.po: Update Swedish translation from translation project.
27689         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
27690         in sed expression.
27692 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
27694         [BZ #16917]
27695         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
27696         errno if the TIOCGPTN ioctl fails with an error different than
27697         EINVAL.
27698         * login/tst-ptsname.c: New file.
27699         * login/Makefile (tests): Add tst-ptsname.
27701         [BZ #16943]
27702         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
27703         and prlimit64.
27705 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
27707         [BZ #16849]
27708         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
27709         herrno to return EAI_AGAIN.
27711 2014-05-14  Roland McGrath  <roland@hack.frob.com>
27713         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
27714         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
27715         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
27716         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
27717         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
27718         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
27719         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
27720         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
27721         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
27722         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
27723         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
27724         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
27725         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
27726         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
27727         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
27728         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
27729         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
27730         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
27731         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
27732         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
27733         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
27734         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
27735         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
27736         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
27737         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
27738         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
27739         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
27740         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
27741         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
27742         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
27743         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
27744         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
27745         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
27746         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
27747         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
27748         Moved ...
27749         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
27750         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
27751         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
27752         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
27753         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
27754         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
27755         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
27756         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
27757         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
27758         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
27759         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
27760         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
27761         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
27762         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
27763         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
27764         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
27765         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
27766         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
27767         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
27768         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
27769         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
27770         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
27771         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
27772         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
27773         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
27774         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
27775         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
27776         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
27777         Moved ...
27778         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
27779         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
27780         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
27781         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
27782         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
27783         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
27784         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
27785         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
27786         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
27787         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
27788         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
27789         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
27790         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
27791         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
27792         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
27793         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
27794         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
27795         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
27796         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
27797         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
27798         Moved ...
27799         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
27800         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
27801         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
27803         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
27804         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
27805         (libpthread-sysdep_routines): Add elision-related stuff here instead.
27806         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
27807         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
27808         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
27809         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
27810         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
27811         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
27812         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
27813         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
27814         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
27815         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
27816         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
27817         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
27818         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
27819         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
27820         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
27821         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
27822         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
27823         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
27824         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
27825         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
27826         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
27827         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
27828         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
27829         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
27830         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
27831         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
27832         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
27833         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
27835         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
27836         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
27838         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
27839         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
27840         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
27841         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
27842         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
27843         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
27844         Moved ...
27845         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
27846         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
27847         Moved ...
27848         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
27849         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
27850         Moved ...
27851         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
27852         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
27853         Moved ...
27854         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
27855         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
27856         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
27857         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
27858         Moved ...
27859         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
27860         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
27861         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
27862         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
27863         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
27864         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
27865         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
27866         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
27867         Moved ...
27868         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
27869         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
27870         Moved ...
27871         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
27872         ... here.
27873         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
27874         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
27875         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
27876         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
27877         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
27878         Moved ...
27879         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
27880         ... here.
27881         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
27882         Moved ...
27883         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
27884         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
27885         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
27886         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
27887         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
27888         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
27889         Moved ...
27890         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
27891         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
27892         Moved ...
27893         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
27894         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
27895         Moved ...
27896         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
27897         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
27898         Moved ...
27899         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
27900         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
27901         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
27902         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
27903         Moved ...
27904         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
27905         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
27906         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
27907         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
27908         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
27909         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
27910         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
27911         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
27912         Moved ...
27913         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
27914         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
27915         Moved ...
27916         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
27917         ... here.
27918         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
27919         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
27920         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
27921         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
27922         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
27923         Moved ...
27924         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
27925         ... here.
27926         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
27927         Moved ...
27928         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
27929         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
27930         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
27931         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
27932         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
27933         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
27934         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
27935         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
27936         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
27937         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
27938         Moved ...
27939         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
27940         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
27941         Moved ...
27942         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
27943         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
27944         Moved ...
27945         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
27946         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
27947         Moved ...
27948         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
27949         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
27950         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
27951         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
27952         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
27953         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
27954         Moved ...
27955         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
27956         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
27957         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
27958         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
27959         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
27960         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
27961         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
27962         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
27963         Moved ...
27964         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
27965         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
27966         Moved ...
27967         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
27968         ... here.
27969         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
27970         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
27971         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
27972         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
27973         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
27974         Moved ...
27975         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
27976         ... here.
27977         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
27978         Moved ...
27979         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
27980         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
27981         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
27982         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
27983         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
27984         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
27985         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
27986         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
27987         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
27988         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
27989         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
27991         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
27992         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
27994         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
27995         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
27997         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
27998         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
27999         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
28000         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
28001         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
28002         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
28003         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
28004         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
28005         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
28006         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
28007         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
28008         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
28009         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
28010         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
28011         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
28012         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
28013         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
28014         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
28015         Moved ...
28016         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
28017         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
28018         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
28019         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
28020         Moved ...
28021         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
28022         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
28023         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
28024         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
28025         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
28026         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
28027         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
28028         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
28029         Moved ...
28030         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
28031         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
28032         Moved ...
28033         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
28034         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
28035         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
28036         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
28037         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
28038         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
28039         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
28040         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
28041         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
28042         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
28043         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
28044         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
28045         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
28046         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
28047         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
28048         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
28049         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
28051         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
28052         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
28053         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
28054         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
28055         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
28057         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
28058         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
28059         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
28060         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
28061         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
28062         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
28063         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
28064         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
28065         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
28066         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
28068         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
28069         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
28071         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
28072         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
28073         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
28074         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
28075         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
28076         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
28077         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
28078         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
28079         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
28080         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
28081         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
28082         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
28083         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
28084         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
28085         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
28086         Update #include.
28087         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
28088         Likewise.
28089         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
28090         Likewise.
28091         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
28092         Likewise.
28093         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
28094         Likewise.
28095         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
28096         Likewise.
28097         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
28098         Likewise.
28099         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
28100         Likewise.
28101         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
28102         Likewise.
28103         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
28104         Likewise.
28105         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
28106         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
28107         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
28108         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
28109         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
28110         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
28111         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
28112         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
28113         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
28114         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
28115         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
28116         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
28117         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
28118         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
28119         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
28121         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
28122         that was previously under [RESET_PID].
28123         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
28124         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
28125         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
28127         * sysdeps/i386/nptl/Implies: New file.
28128         * sysdeps/x86_64/nptl/Implies: New file.
28129         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
28130         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
28131         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
28132         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
28134         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
28135         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
28136         (__libc_vfork): New strong alias.
28137         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
28138         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
28140         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
28141         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
28142         (__libc_vfork): New strong alias.
28143         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
28144         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
28146         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
28147         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
28148         (__libc_vfork): New strong alias.
28149         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
28150         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
28151         * nptl/pt-vfork.c: New file.
28152         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
28153         (libpthread: GLIBC_2.20): New version set (empty).
28155 2014-05-14  Will Newton  <will.newton@linaro.org>
28157         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
28158         rather than #if.
28160 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
28162         [BZ #16564]
28163         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
28164         arguments with exponent 65 or above.
28165         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
28166         arguments 0x1p113L or above.
28167         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
28168         to arguments 0x1p107L or above.
28169         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
28170         positive arguments with exponent 65 or above.
28171         * math/auto-libm-test-in: Add more tests of log1p.
28172         * math/auto-libm-test-out: Regenerated.
28174         [BZ #16928]
28175         * math/s_cacos.c (__cacos): Ensure zero real part of result from
28176         non-finite arguments is +0.
28177         * math/s_cacosf.c (__cacosf): Likewise.
28178         * math/s_cacosl.c (__cacosl): Likewise.
28179         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
28180         * sysdeps/i386/fpu/libm-test-ulps: Update.
28181         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28183         [BZ #16927]
28184         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
28185         value.
28186         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
28187         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
28188         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
28189         for explicit high bit of mantissa when testing for argument equal
28190         to 1.
28191         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
28192         * sysdeps/i386/fpu/libm-test-ulps: Update.
28193         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28195         [BZ #16516]
28196         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
28197         (__erf): Scale by 16 instead of 8 in potentially underflowing
28198         case.  Ensure exception if result actually underflows.
28199         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
28200         (__erff): Scale by 16 instead of 8 in potentially underflowing
28201         case.  Ensure exception if result actually underflows.
28202         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
28203         (efx8): Remove variable.
28204         (__erfl): Scale by 16 instead of 8 in potentially underflowing
28205         case.  Ensure exception if result actually underflows.
28206         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
28207         (efx8): Remove variable.
28208         (__erfl): Scale by 16 instead of 8 in potentially underflowing
28209         case.  Ensure exception if result actually underflows.
28210         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
28211         (efx8): Remove variable.
28212         (__erfl): Scale by 16 instead of 8 in potentially underflowing
28213         case.  Ensure exception if result actually underflows.
28214         * math/auto-libm-test-in: Add more tests of erf.
28215         * math/auto-libm-test-out: Regenerated.
28217 2014-05-14  Andreas Schwab  <schwab@suse.de>
28219         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
28220         Remove code conditionalized on USE___THREAD.
28222         * config.h.in (HAVE_PT_CHOWN): Define as 0.
28223         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
28224         not definedness.
28226 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
28228         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
28229         Define unconditionally.
28230         (__ASSUME_O_CLOEXEC): Likewise.
28231         (__ASSUME_SOCK_CLOEXEC): Likewise.
28232         (__ASSUME_IN_NONBLOCK): Likewise.
28233         (__ASSUME_PIPE2): Likewise.
28234         (__ASSUME_EVENTFD2): Likewise.
28235         (__ASSUME_SIGNALFD4): Likewise.
28236         (__ASSUME_DUP3): Likewise.
28237         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
28238         (__ASSUME_DUP3): Do not define.
28239         (__ASSUME_EVENTFD2): Likewise.
28240         (__ASSUME_IN_NONBLOCK): Likewise.
28241         (__ASSUME_O_CLOEXEC): Likewise.
28242         (__ASSUME_PIPE2): Likewise.
28243         (__ASSUME_SIGNALFD4): Likewise.
28244         (__ASSUME_SOCK_CLOEXEC): Likewise.
28245         (__ASSUME_UTIMES): Undefine.
28246         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
28247         (__ASSUME_UTIMES): Do not define.
28248         (__ASSUME_O_CLOEXEC): Likewise.
28249         (__ASSUME_SOCK_CLOEXEC): Likewise.
28250         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
28251         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
28252         0x020621].
28253         (__ASSUME_PIPE2): Likewise.
28254         (__ASSUME_EVENTFD2): Likewise.
28255         (__ASSUME_SIGNALFD4): Likewise.
28256         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
28257         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
28258         Do not define.
28259         (__ASSUME_EVENTFD2): Likewise.
28260         (__ASSUME_SIGNALFD4): Likewise.
28261         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
28262         (__ASSUME_32BITUIDS): Likewise.
28263         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
28264         (__ASSUME_IPC64): Likewise.
28265         (__ASSUME_ST_INO_64_BIT): Likewise.
28266         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
28267         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
28268         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
28269         (__ASSUME_UTIMES): Do not define.
28270         (__ASSUME_PSELECT): Likewise.
28271         (__ASSUME_PPOLL): Likewise.
28272         (__ASSUME_O_CLOEXEC): Likewise.
28273         (__ASSUME_SOCK_CLOEXEC): Likewise.
28274         (__ASSUME_IN_NONBLOCK): Likewise.
28275         (__ASSUME_PIPE2): Likewise.
28276         (__ASSUME_EVENTFD2): Likewise.
28277         (__ASSUME_SIGNALFD4): Likewise.
28278         (__ASSUME_DUP3): Likewise.
28279         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
28280         (__ASSUME_UTIMES): Likewise.
28281         (__ASSUME_O_CLOEXEC): Likewise.
28282         (__ASSUME_SOCK_CLOEXEC): Likewise.
28283         (__ASSUME_IN_NONBLOCK): Likewise.
28284         (__ASSUME_PIPE2): Likewise.
28285         (__ASSUME_EVENTFD2): Likewise.
28286         (__ASSUME_SIGNALFD4): Likewise.
28287         (__ASSUME_DUP3): Likewise.
28288         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
28289         (__ASSUME_UTIMES): Likewise.
28290         (__ASSUME_O_CLOEXEC): Likewise.
28291         (__ASSUME_SOCK_CLOEXEC): Likewise.
28292         (__ASSUME_IN_NONBLOCK): Likewise.
28293         (__ASSUME_PIPE2): Likewise.
28294         (__ASSUME_EVENTFD2): Likewise.
28295         (__ASSUME_SIGNALFD4): Likewise.
28296         (__ASSUME_DUP3): Likewise.
28297         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
28298         Likewise.
28299         (__ASSUME_UTIMES): Likewise.
28300         (__ASSUME_EVENTFD2): Likewise.
28301         (__ASSUME_SIGNALFD4): Likewise.
28302         * sysdeps/unix/sysv/linux/tile/kernel-features.h
28303         (__ASSUME_O_CLOEXEC): Likewise.
28304         (__ASSUME_SOCK_CLOEXEC): Likewise.
28305         (__ASSUME_IN_NONBLOCK): Likewise.
28306         (__ASSUME_PIPE2): Likewise.
28307         (__ASSUME_EVENTFD2): Likewise.
28308         (__ASSUME_SIGNALFD4): Likewise.
28309         (__ASSUME_DUP3): Likewise.
28310         (__ASSUME_UTIMES): Undefine.
28312         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
28313         feclearexcept.  Remove symbol versioning code.
28314         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
28315         symbol versioning code.
28316         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
28317         symbol versioning code.
28318         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
28319         feupdateenv.  Remove symbol versioning code.
28320         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
28321         fegetexceptflag.  Remove symbol versioning code.
28322         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
28323         fesetexceptflag.  Remove symbol versioning code.
28324         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
28325         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
28326         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
28327         (__posix_fadvise64_l32): Remove prototype.
28328         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
28329         code.
28331 2014-05-13  Roland McGrath  <roland@hack.frob.com>
28333         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
28334         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
28335         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
28336         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
28338 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
28340         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
28341         current working directory
28343 2014-05-13  Roland McGrath  <roland@hack.frob.com>
28345         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
28346         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
28347         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
28348         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
28349         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
28350         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
28351         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
28352         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
28353         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
28354         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
28355         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
28356         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
28357         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
28358         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
28359         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
28360         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
28361         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
28362         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
28363         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
28364         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
28365         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
28366         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
28367         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
28368         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
28369         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
28370         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
28371         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
28372         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
28373         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
28374         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
28375         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
28376         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
28377         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
28378         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
28379         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
28380         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
28381         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
28382         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
28383         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
28384         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
28385         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
28386         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
28388         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
28389         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
28391         * sysdeps/unix/sysv/linux/arm/Makefile
28392         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
28393         Add rt-aeabi_unwind_cpp_pr1.
28394         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
28395         Add nptl-aeabi_unwind_cpp_pr1.
28396         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
28397         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
28398         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
28399         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
28400         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
28401         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
28403         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
28404         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
28405         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
28406         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
28408         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
28409         Deconditionalize the code that was previously under [RESET_PID].
28410         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
28412         * sysdeps/generic/exit-thread.h: New file.
28413         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
28414         * include/unistd.h (__exit_thread): Remove declaration.
28415         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
28416         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
28417         * csu/libc-start.c: Include <exit-thread.h>.
28418         (LIBC_START_MAIN): Pass no argument to __exit_thread.
28419         * nptl/pthread_create.c: Include <exit-thread.h>.
28420         (start_thread): Call __exit_thread in place of __exit_thread_inline.
28421         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
28422         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
28423         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
28424         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
28425         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
28426         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
28427         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
28428         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
28429         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
28430         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
28431         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
28432         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
28433         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
28434         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
28435         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
28436         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
28438 2014-05-13  Andreas Schwab  <schwab@suse.de>
28440         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
28442 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
28444         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
28445         (__ASSUME_UTIMES): Do not condition on kernel version.
28446         (__ASSUME_PSELECT): Define unconditionally.
28447         (__ASSUME_PPOLL): Likewise.
28448         (__ASSUME_ATFCTS): Likewise.
28449         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
28450         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
28451         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
28452         (__ASSUME_UTIMENSAT): Define unconditionally.
28453         (__ASSUME_PRIVATE_FUTEX): Likewise.
28454         (__ASSUME_FALLOCATE): Likewise.
28455         (__ASSUME_O_CLOEXEC): Likewise.
28456         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
28457         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
28458         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
28459         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
28460         (__ASSUME_IN_NONBLOCK): Likewise.
28461         (__ASSUME_PIPE2): Likewise.
28462         (__ASSUME_EVENTFD2): Likewise.
28463         (__ASSUME_SIGNALFD4): Likewise.
28464         (__ASSUME_DUP3): Likewise.
28465         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
28466         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
28467         (__ASSUME_AT_RANDOM): Likewise.
28468         (__ASSUME_PREADV): Likewise.
28469         (__ASSUME_PWRITEV): Likewise.
28470         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
28471         (__ASSUME_F_GETOWN_EX): Define unconditionally.
28472         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
28473         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
28474         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
28475         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
28476         (__ASSUME_O_CLOEXEC): Define unconditionally.
28477         (__ASSUME_PSELECT): Do not undefine conditionally.
28478         (__ASSUME_PPOLL): Likewise.
28479         (__ASSUME_ATFCTS): Likewise.
28480         (__ASSUME_SET_ROBUST_LIST): Likewise.
28481         (__ASSUME_UTIMENSAT): Likewise.
28482         (__ASSUME_FDATASYNC): Define unconditionally.
28483         * sysdeps/unix/sysv/linux/arm/kernel-features.h
28484         (__ASSUME_SIGFRAME_V2): Likewise.
28485         )__ASSUME_EVENTFD2): Likewise.
28486         (__ASSUME_SIGNALFD4): Likewise.
28487         (__ASSUME_PSELECT): Do not undefine conditionally.
28488         (__ASSUME_PPOLL): Likewise.
28489         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
28490         (__ASSUME_PSELECT): Define unconditionally.
28491         (__ASSUME_PPOLL): Likewise.
28492         (__ASSUME_O_CLOEXEC): Likewise.
28493         (__ASSUME_SOCK_CLOEXEC): Likewise.
28494         (__ASSUME_IN_NONBLOCK): Likewise.
28495         (__ASSUME_PIPE2): Likewise.
28496         (__ASSUME_EVENTFD2): Likewise.
28497         (__ASSUME_SIGNALFD4): Likewise.
28498         (__ASSUME_DUP3): Likewise.
28499         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
28500         (__ASSUME_O_CLOEXEC): Likewise.
28501         (__ASSUME_SOCK_CLOEXEC): Likewise.
28502         (__ASSUME_IN_NONBLOCK): Likewise.
28503         (__ASSUME_PIPE2): Likewise.
28504         (__ASSUME_EVENTFD2): Likewise.
28505         (__ASSUME_SIGNALFD4): Likewise.
28506         (__ASSUME_DUP3): Likewise.
28507         * sysdeps/unix/sysv/linux/mips/kernel-features.h
28508         (__ASSUME_EVENTFD2): Likewise.
28509         (__ASSUME_SIGNALFD4): Likewise.
28510         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
28512 2014-05-12  Andreas Schwab  <schwab@suse.de>
28514         [BZ #16932]
28515         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
28516         (_nss_nis_gethostbyname4_r): Return error if item length is larger
28517         than maximum RPC packet size.
28518         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
28519         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
28520         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
28521         (_nss_nis_getservbyport_r): Likewise.
28523 2014-05-12  Will Newton  <will.newton@linaro.org>
28525         * malloc/Makefile (tests): Add tst-mallopt.
28526         * malloc/tst-mallopt.c: New file.
28528 2014-05-09  Roland McGrath  <roland@hack.frob.com>
28530         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
28531         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
28533 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28535         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
28536         (tst-tlsmod6.so): Likewise.
28538 2014-05-09  Roland McGrath  <roland@hack.frob.com>
28540         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
28542 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
28544         [BZ #16064]
28545         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
28546         and <dl-procinfo.h>.
28547         (__fegetenv): Save SSE state in envp->__eip if supported.
28548         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
28549         envp->__eip if supported.
28550         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
28551         and <dl-procinfo.h>.
28552         (__fesetenv): Always set __eip, __cs_selector, __opcode,
28553         __data_offset and __data_selector in environment to 0.  Set SSE
28554         state if supported.
28555         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
28556         test-fenv-sse.
28557         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
28558         -mfpmath=sse.
28559         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
28561 2014-05-09  Will Newton  <will.newton@linaro.org>
28563         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
28564         and libc_relro_required for ARM.
28565         * sysdeps/arm/preconfigure: Regenerate.
28567 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
28568             Stefan Liebler  <stli@linux.vnet.ibm.com>
28570         * config.make.in (enable-lock-elision): New Makefile variable.
28571         * configure.ac: Likewise.
28572         * configure: Regenerate.
28573         * sysdeps/s390/configure.ac:
28574         Add check for gcc transactions support.
28575         * sysdeps/s390/configure: Regenerate.
28576         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
28577         Build elision files if enabled.
28578         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
28579         Add lock elision support for s390.
28580         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
28581         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
28582         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
28583         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
28584         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
28585         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
28586         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
28587         Likewise.
28588         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
28589         Likewise.
28590         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
28591         Likewise.
28592         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
28593         Likewise.
28594         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
28595         (__lll_timedlock_elision, __lll_lock_elision)
28596         (__lll_unlock_elision, __lll_trylock_elision)
28597         (lll_timedlock_elision, lll_lock_elision)
28598         (lll_unlock_elision, lll_trylock_elision): Add.
28599         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
28600         (pthread_mutex_t): Add lock elision support for s390.
28602 2014-05-14  Wilco  <wdijkstr@arm.com>
28604         * sysdeps/arm/fclrexcpt.c: Cleanup.
28605         * sysdeps/arm/fedisblxcpt.c: Cleanup.
28606         * sysdeps/arm/feenablxcpt.c: Cleanup.
28607         * sysdeps/arm/fegetenv.c: Cleanup.
28608         * sysdeps/arm/fegetexcept.c: Cleanup.
28609         * sysdeps/arm/fegetround.c: Cleanup.
28610         * sysdeps/arm/feholdexcpt.c: Cleanup.
28611         * sysdeps/arm/fesetenv.c: Cleanup.
28612         * sysdeps/arm/fesetround.c: Cleanup.
28613         * sysdeps/arm/feupdateenv.c: Cleanup.
28614         * sysdeps/arm/fgetexcptflg.c: Cleanup.
28615         * sysdeps/arm/fraiseexcpt.c: Cleanup.
28616         * sysdeps/arm/fsetexcptflg.c: Cleanup.
28617         * sysdeps/arm/ftestexcept.c: Cleanup.
28618         * sysdeps/arm/get-rounding-mode.h: Cleanup.
28619         * sysdeps/arm/setfpucw.c: Cleanup.
28621 2014-05-09  Will Newton  <will.newton@linaro.org>
28623         * sysdeps/arm/armv7/strcmp.S: New file.
28624         * NEWS: Mention addition of ARMv7 optimized strcmp.
28626 2014-05-08  Roland McGrath  <roland@hack.frob.com>
28628         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
28629         look for %.ac rather than %.in.
28631         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
28632         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
28633         * sysdeps/mach/hurd/configure: Regenerated.
28634         * sysdeps/unix/sysv/linux/configure: Regenerated.
28636         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
28638 2014-05-07  Steve Ellcey  <sellcey@mips.com>
28640         [BZ# 16922]
28641         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
28642         (LONG_SUB): Ditto.
28643         (PTR_SUB): Ditto.
28645 2014-05-07  Andreas Schwab  <schwab@suse.de>
28647         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
28648         when skipping over non-matching result from nscd.
28650 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
28652         [BZ #16876]
28653         * nptl/sockperf.c (client): Check socket return value.
28655         [BZ #16877]
28656         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
28657         nscd security class.
28659 2014-05-06  Roland McGrath  <roland@hack.frob.com>
28661         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
28662         * sysdeps/arm/unwind.h: ... here.
28664 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
28666         [BZ# 16916]
28667         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
28668         Define.
28670 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
28672         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
28673         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
28674         multiarch strncpy for PPC64.
28675         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
28676         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
28677         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
28678         multiarch optimizations.
28679         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
28680         (__libc_ifunc_impl_list): Likewise.
28681         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
28682         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
28683         multiarch stpncpy for PPC64.
28684         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
28685         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
28687 2014-05-06  Andreas Schwab  <schwab@suse.de>
28689         [BZ #16912]
28690         * gmon/mcount.c (_MCOUNT_DECL): Use
28691         atomic_compare_and_exchange_bool_acq instead of
28692         catomic_compare_and_exchange_bool_acq.
28694 2014-05-05  Roland McGrath  <roland@hack.frob.com>
28696         * elf/Makefile (others, install-bin): Remove pldd.
28697         (pldd-modules): Variable removed.
28698         ($(objpfx)pldd): Target removed.
28699         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
28700         (others, install-bin): Append pldd here.
28701         ($(objpfx)pldd): New target.
28703         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
28704         to 0, so the first #if test emitted later doesn't see it undefined.
28705         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
28706         * sysdeps/gnu/errlist.c: Regenerated.
28708 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28710         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
28711         [libc_hidden_builtin_def]: Define to empty value.
28712         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
28713         [libc_hidden_builtin_def]: Likewise.
28714         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
28715         [libc_hidden_builtin_def]: Likewise.
28716         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
28717         [libc_hidden_builtin_def]: Likewise.
28718         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
28719         __redirect_memcpy and define ifunc as default hidden symbol.
28720         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
28721         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
28723 2014-05-04  Adam Conrad  <adconrad@0c3.net>
28725         * locale/iso-4217.def: Reintroduce XDR currency.
28727 2014-05-04  Allan McRae  <allan@archlinux.org>
28729         * po/eo.po: Update Esperanto translation from translation project.
28731 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
28733         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
28734         and FEATURE_INDEX_MAX to 1.
28735         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
28737 2014-05-01  Steve Ellcey  <sellcey@mips.com>
28739         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
28740         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
28741         * iconvdata/big5.c (ONE_DIRECTION): Define.
28742         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
28743         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
28744         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
28745         * iconvdata/cp932.c (ONE_DIRECTION): Define.
28746         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
28747         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
28748         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
28749         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
28750         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
28751         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
28752         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
28753         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
28754         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
28755         * iconvdata/gbk.c (ONE_DIRECTION): Define.
28756         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
28757         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
28758         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
28759         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
28760         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
28761         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
28762         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
28763         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
28764         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
28765         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
28766         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
28767         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
28768         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
28769         * iconvdata/iso646.c (ONE_DIRECTION): Define.
28770         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
28771         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
28772         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
28773         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
28774         * iconvdata/johab.c (ONE_DIRECTION): Define.
28775         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
28776         * iconvdata/sjis.c (ONE_DIRECTION): Define.
28777         * iconvdata/t.61.c (ONE_DIRECTION): Define.
28778         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
28779         * iconvdata/tscii.c (ONE_DIRECTION): Define.
28780         * iconvdata/uhc.c (ONE_DIRECTION): Define.
28781         * iconvdata/unicode.c (ONE_DIRECTION): Define.
28782         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
28783         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
28784         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
28786 2014-05-01  Roland McGrath  <roland@hack.frob.com>
28788         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
28789         (_IO_JUMPS_OFFSET): Define to 0.
28791         * nptl/sysdeps/pthread/bits/libc-lock.h
28792         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
28793         (__libc_lock_define_initialized_recursive): Always define using
28794         initializer.  Modern compilers treat uninitialized (implicit zero) and
28795         explicit zero initializers the same (i.e. put the datum in bss).
28797 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
28799         * nscd/nscd-client.h: Include <string.h>.
28801 2014-05-01  David S. Miller  <davem@davemloft.net>
28803         [BZ #16885]
28804         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
28805         multiple zero bytes exist at the end of a string.
28806         Reported by Aurelien Jarno <aurelien@aurel32.net>
28808         * string/test-strcmp.c (check): Add explicit test for situations where
28809         there are multiple zero bytes after the first.
28811 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
28813         [BZ #16890]
28814         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
28815         when compiling wprintf.
28816         * stdio-common/tstdiomisc.c (t3): New function.
28817         (main): Call it.
28819 2014-05-01  Steve Ellcey  <sellcey@mips.com>
28821         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
28822         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
28823         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
28824         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
28826 2014-05-01  Steve Ellcey  <sellcey@mips.com>
28828         * stdlib/longlong.h: Updated from GCC.
28830 2014-05-01  Will Newton  <will.newton@linaro.org>
28831             Bernard Ogden  <bernie.ogden@linaro.org>
28833         * NEWS: Update fixed bug list.
28835         [BZ #15119]
28836         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
28838 2014-04-30  David S. Miller  <davem@davemloft.net>
28840         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
28841         (libc_feholdexcept_setround_sparc_ctx): New function.
28842         (libc_fesetenv_sparc_ctx): Likewise.
28843         (libc_feupdateenv_sparc_ctx): Likewise.
28844         (libc_feholdsetround_sparc_ctx): Likewise.
28845         (libc_feholdexcept_setround_ctx): Define.
28846         (libc_feholdexcept_setroundf_ctx): Likewise.
28847         (libc_feholdexcept_setroundl_ctx): Likewise.
28848         (libc_fesetenv_ctx): Likewise.
28849         (libc_fesetenvf_ctx): Likewise.
28850         (libc_fesetenvl_ctx): Likewise.
28851         (libc_feupdateenv_ctx): Likewise.
28852         (libc_feupdateenvf_ctx): Likewise.
28853         (libc_feupdateenvl_ctx): Likewise.
28854         (libc_feresetround_ctx): Likewise.
28855         (libc_feresetroundf_ctx): Likewise.
28856         (libc_feresetroundl_ctx): Likewise.
28857         (libc_feholdsetround_ctx): Likewise.
28858         (libc_feholdsetroundf_ctx): Likewise.
28859         (libc_feholdsetroundl_ctx): Likewise.
28861         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
28862         with __USE_GNU instead of XOPEN cpp guards.
28864         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
28865         0.
28867         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
28868         with XOPEN cpp guards.
28870 2014-04-30  Julian Brown  <julian@codesourcery.com>
28872         [BZ #16888]
28873         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
28874         handling.
28876 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
28878         [BZ #9894]
28879         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
28880         Change to 2.6.32.
28881         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
28882         * sysdeps/unix/sysv/linux/configure: Regenerated.
28883         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
28884         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
28885         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
28886         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
28887         * README: Update reference to required Linux kernel version.
28888         * manual/install.texi (Linux): Update reference to required Linux
28889         kernel headers version.
28890         * INSTALL: Regenerated.
28892         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
28893         header inclusion.
28894         [POSIX] (limits.h): Likewise.
28895         [POSIX] (math.h): Likewise.
28896         [POSIX] (sys/wait.h): Likewise.
28897         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
28898         function.
28899         [POSIX] (stddef.h): Do not allow header inclusion.
28901 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28903         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
28905 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
28907         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
28908         Return immediately after lll_futex_wake.
28910 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
28912         [BZ #16791]
28913         * nscd/nscd-client.h (datahead_init_common): Initialize entire
28914         structure.
28915         (datahead_init_pos): Call datahead_init_common early.
28916         (datahead_init_neg): Likewise.
28918         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
28919         datahead_init_neg): New functions.
28920         * nscd/aicache.c (addhstaiX): Use them.
28921         * nscd/grpcache.c (cache_addgr): Likewise.
28922         * nscd/hstcache.c (cache_addhst): Likewise.
28923         * nscd/initgrcache.c (addinitgroupsX): Likewise.
28924         * nscd/netgroupcache.c (do_notfound): Likewise.
28925         (addgetnetgrentX): Likewise.
28926         (addinnetgrX): Likewise.
28927         * nscd/pwdcache.c (cache_addpw): Likewise.
28928         * nscd/servicescache.c (cache_addserv): Likewise.
28930 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
28931             Atsushi Onoe  <atsushi@onoe.org>
28933         [BZ #14308]
28934         [BZ #12994]
28935         [BZ #13651]
28936         * resolv/res_query.c (__libc_res_nsearch): Return if at least
28937         one response is valid.
28938         * resolv/res_send.c (send_dg): Check for validity of other
28939         response if the current response is a referral.
28941 2014-04-29  Steve Ellcey  <sellcey@mips.com>
28943         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
28945 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
28947         [BZ #16823]
28948         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
28949         Always divide by positive zero when computing -Inf result.
28950         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
28951         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
28953 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28955         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
28956         FPSCR if value do not change.
28957         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
28958         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
28959         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
28960         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
28961         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
28962         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
28963         function.
28965 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
28967         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
28968         * sysdeps/unix/sysv/linux/hppa: Move directory from
28969         ports/systeps/unix/sysv/linux/hppa.
28970         * README: Update listing for hppa-*-linux-gnu.
28972 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
28974         [BZ #16754]
28975         * manual/stdio.texi (Hook functions): Fix types of stream hook
28976         functions.
28977         [BZ #16854]
28978         * socket/sys/socket.h: Fix typo in comment.
28980 2014-04-28  Wilco  <wdijkstr@arm.com>
28982         * sysdeps/arm/fenv_private.h: New file.
28983         * sysdeps/arm/math_private.h: New file.
28984         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
28986 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
28988         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
28989         with __int128_t.
28990         (La_x86_64_retval): Likewise.
28992 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
28994         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
28995         fpsr if value didn't change.
28996         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
28997         to fpcr if value didn't change.
28998         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
28999         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
29000         fpsr or fpcr if value didn't change.
29001         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
29002         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
29003         fpcr if value didn't change.
29004         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
29005         to fpsr if value didn't change.
29007 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
29009         * nptl/tst-sem3.c: Use test-skeleton.c
29010         (main): Rename to do_test.  Use return instead of
29011         exit.
29012         * nptl/tst-sem4.c: Use test-skeleton.c
29013         (main): Rename to do_test.
29015 2014-04-22  David S. Miller  <davem@davemloft.net>
29017         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
29018         (struct sigaction): New struct member __glibc_reserved0, change
29019         type of sa_flags to int.
29021 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
29023         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
29024         (COUNT_LEADING_ZEROS_0): Define for AArch64.
29026 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
29028         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
29029         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
29031 2014-04-22  Will Newton  <will.newton@linaro.org>
29032             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
29034         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
29035         (__longjmp): Add longjmp and longjmp_target SystemTap
29036         probes.
29037         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
29038         (__sigsetjmp): Add setjmp SystemTap probe.
29040 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
29042         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
29043         match manual order.
29045 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29047         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
29049         * sysdeps/powerpc/fpu/fenv_private.h
29050         (libc_feholdexcept_setroundl_ctx): Define to
29051         libc_feholdexcept_setround_ppc_ctx.
29052         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
29053         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
29054         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
29055         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
29057 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
29059         * sysdeps/aarch64/math-tests.h: New file.
29061 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
29063         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
29064         New.
29065         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29066         Check and set bit_AVX2_Usable.
29067         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
29068         macro.
29069         (bit_AVX2): Likewise.
29070         (index_AVX2_Usable): Likewise.
29071         (CPUID_AVX2): Likewise.
29072         (HAS_AVX2): Likewise.
29074 2014-04-17  Will Newton  <will.newton@linaro.org>
29076         * manual/setjmp.texi (System V contexts): Add note that
29077         calling setcontext on a context created by a call to a
29078         signal handler is undefined.  Update text to note that
29079         setcontext from a signal handler is possible but not
29080         recommended.
29082         [BZ #16629]
29083         * stdlib/tst-setcontext.c: Include signal.h.
29084         (main): Check that the signal stack before and
29085         after swapcontext is the same.
29087         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
29088         Re-implement to restore registers in user code and avoid
29089         rt_sigreturn system call.
29091 2014-04-17  Wilco  <wdijkstr@arm.com>
29093         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
29094         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
29095         * math/test-fenv.c: Skip exception trap tests on targets which only
29096         support non-stop mode.
29098 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
29099             Wilco Dijkstra  <wilco.dijkstra@arm.com>
29101         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
29102         (libc_feholdsetround_aarch64_ctx)
29103         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
29104         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
29105         (libc_feresetround_ctx, libc_feresetroundf_ctx)
29106         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
29107         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
29108         (libc_feresetround_noexl_ctx): Define.
29110 2014-04-16  Richard Henderson  <rth@redhat.com>
29112         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
29114         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
29115         unwind tables.
29117         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
29118         const from the non-libc, non-ldso copy.
29120         * sysdeps/alpha/libm-test-ulps: Regenerate.
29122 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
29123             Wilco Dijkstra  <wilco.dijkstra@arm.com>
29125         * sysdeps/aarch64/fpu/math_private.h: New file.
29127 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
29129         * sysdeps/aarch64/libm-test-ulps: Regenerate.
29131 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
29133         [BZ #16275]
29134         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
29135         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
29136         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
29137         Intel MPX bound registers before _dl_profile_fixup.
29138         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
29139         registers after _dl_profile_fixup.  Save and restore bound
29140         registers bnd0/bnd1 when calling _dl_call_pltexit.
29141         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
29142         (LR_BND_OFFSET): Likewise.
29143         (LRV_BND0_OFFSET): Likewise.
29144         (LRV_BND1_OFFSET): Likewise.
29146 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29148         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
29149         to...
29150         * sysdeps/mach/hurd/i386/tls.h: ... here.
29151         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
29152         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
29153         fields.
29155 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29157         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
29159 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
29161         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
29163 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
29165         [BZ #14770]
29166         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
29167         * sysdeps/s390/configure: Regenerate.
29169         [BZ #16824]
29170         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
29171         Set round-to-nearest internally to reduce error accumulation.
29173 2014-04-16  Alan Modra  <amodra@gmail.com>
29175         [BZ #16740]
29176         [BZ #16619]
29177         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
29178         * math/libm-test.inc (frexp_test_data): Add tests.
29179         * NEWS: Update fixed bug list.
29181 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
29183         * benchtests/Makefile: Depend on libraries in build directory.
29184         (bench-math): Separate out math tests.
29185         (bench-pthread): Separate out pthread tests.
29186         (bench): Include math and pthread tests.
29188 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
29190         [BZ #16831]
29191         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
29192         _dl_debug_initialize.
29194         * configure.ac: Remove SELinux header check.
29195         * configure: Regenerate.
29196         * nscd/selinux.c (perms): Array of const char* to permission names.
29197         (nscd_request_avc_has_perm): Call security_deny_unknown to find
29198         default policy. Call string_to_security_class and string_to_av_perm to
29199         translate strings. Enforce default policy and call avs_has_perm with
29200         results of translated strings.
29202 2014-04-13  David S. Miller  <davem@davemloft.net>
29204         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29206 2014-04-12  Allan McRae  <allan@archlinux.org>
29208         [BZ #16838]
29209         * manual/string.texi (Collation Functions): Fix qsort argument
29210         order in example.
29211         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
29213 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
29215         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
29216         Make the test a no-op if there are no exceptions defined.
29218 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
29220         * elf/Makefile (tests): make tst-dlopen-aout conditional on
29221         enable-hardcoded-path-in-tests
29223 2014-04-11  Will Newton  <will.newton@linaro.org>
29225         * benchtests/Makefile (extra-objs): Add json-lib.o.
29226         (bench-func): Tidy up JSON output.
29227         * benchtests/bench-skeleton.c: Include json-lib.h.
29228         (main): Use JSON library functions to do output of
29229         benchmark results.
29230         * benchtests/bench-timing-type.c (main): Output the
29231         timing type simply, leaving formatting to the user.
29232         * benchtests/json-lib.c: New file.
29233         * benchtests/json-lib.h: Likewise.
29235 2014-04-11  Torvald Riegel  <triegel@redhat.com>
29237         [BZ #15215]
29238         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
29239         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
29240         memory barriers.  Add comments.
29241         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
29242         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
29243         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
29244         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
29245         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
29246         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
29248 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
29250         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
29251         * sysdeps/s390/s390-64/configure.ac: ... this ...
29252         * sysdeps/s390/configure.ac: ... to here.
29253         * sysdeps/s390/s390-32/configure: Delete file.
29254         * sysdeps/s390/s390-64/configure: Delete file.
29255         * sysdeps/s390/configure: Regenerate.
29257 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
29259         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
29261 2014-04-11  Will Newton  <will.newton@linaro.org>
29263         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
29264         to zero if it is not defined elsewhere.  (mtrim): Test
29265         the value of MALLOC_DEBUG with #if rather than #ifdef.
29267 2014-04-10 Torvald Riegel  <triegel@redhat.com>
29269         * benchtests/pthread_once-inputs: New file.
29270         * benchtests/pthread_once-source.c: New file.
29271         * benchtests/README: Update documentation.
29273 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
29274             H.J. Lu  <hongjiu.lu@intel.com>
29276         [BZ #16275]
29277         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
29278         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
29279         * sysdeps/x86_64/configure: Regenerated.
29280         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
29281         macro.
29282         (REGISTER_SAVE_RAX): Likewise.
29283         (REGISTER_SAVE_RCX): Likewise.
29284         (REGISTER_SAVE_RDX): Likewise.
29285         (REGISTER_SAVE_RSI): Likewise.
29286         (REGISTER_SAVE_RDI): Likewise.
29287         (REGISTER_SAVE_R8): Likewise.
29288         (REGISTER_SAVE_R9): Likewise.
29289         (REGISTER_SAVE_BND0): Likewise.
29290         (REGISTER_SAVE_BND1): Likewise.
29291         (REGISTER_SAVE_BND2): Likewise.
29292         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
29293         bound registers when calling _dl_fixup.
29295 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29297         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
29298         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
29299         of its definition.
29300         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
29301         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
29302         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
29303         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
29304         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
29305         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
29306         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
29308 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
29310         [BZ #15514]
29311         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
29312         pathconf(_PC_NAME_MAX).
29314 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29316         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
29317         Remove macro usage.
29318         (__PTHREAD_SPINS): Move definition to ...
29319         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
29320         (__PTHREAD_SPINS): ... here.
29321         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
29322         (__PTHREAD_SPIN): Likewise.
29323         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
29324         (__PTHREAD_SPIN): Likewise.
29325         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
29326         (__PTHREAD_SPIN): Likewise.
29327         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
29328         (__PTHREAD_SPIN): Likewise.
29329         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
29330         (__PTHREAD_SPIN): Likewise.
29331         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
29332         (__PTHREAD_SPIN): Likewise.
29333         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
29334         (__PTHREAD_SPIN): Likewise.
29335         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
29336         (__PTHREAD_SPIN): Likewise.
29337         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
29338         (__PTHREAD_SPIN): Likewise.
29339         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
29340         (__PTHREAD_SPIN): Likewise.
29341         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
29342         (__PTHREAD_SPIN): Likewise.
29343         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
29344         (__PTHREAD_SPIN): Likewise.
29346         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
29347         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
29348         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
29349         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
29350         imply folder.
29351         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
29352         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
29353         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
29354         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
29355         correct imply path.
29356         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
29357         strlen symbol for non multi-arch builds.
29358         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
29359         missing hidden_def and weak_alias.
29361 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
29363         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
29365 2014-04-07  Will Newton  <will.newton@linaro.org>
29367         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
29368         and contents.  [!_LIBC] Remove #ifndef and contents.
29369         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
29370         * string/memccpy.c (__memccpy): Use ANSI prototype.
29371         * string/memfrob.c (memfrob): Likewise.
29372         * string/strcoll.c (STRCOLL): Likewise.
29373         * string/strlen.c (strlen): Likewise.
29374         * string/strtok.c (STRTOK): Likewise.
29375         * string/strcat.c: Remove unused #include of memcopy.h.
29376         (strcat): Use ANSI prototype.
29377         * string/strchr.c: Remove unused #include of memcopy.h.
29378         (strchr): Use ANSI prototype.
29379         * string/strcmp.c: Remove unused #include of memcopy.h.
29380         (strcmp): Use ANSI prototype.
29381         * string/strcpy.c: Remove unused #include of memcopy.h.
29382         (strcpy): Use ANSI prototype.
29384 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29386         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
29387         * config.make.in (config-extra-cppflags): Set it from
29388         libc_extra_cppflags.
29389         * configure.ac (libc_extra_cflags): Make it accumulate over
29390         configure fragments.
29391         (libc_extra_cppflags): New flag.
29392         * configure. Regenerate.
29393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
29394         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
29395         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
29396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
29398         [BZ #16815]
29399         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
29400         result for FE_DOWNWARD rounding mode.
29401         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
29402         Likewise.
29403         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29405 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
29407         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
29408         in function argument name.
29410 2014-04-03  David Svoboda  <svoboda@cert.org>
29412         [BZ #5666]
29413         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
29414         explicitly.
29416 2014-04-03  Roland McGrath  <roland@hack.frob.com>
29418         * elf/dl-unmap-segments.h: New file.
29419         * sysdeps/generic/ldsodefs.h
29420         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
29421         * elf/dl-close.c: Include <dl-unmap-segments.h>.
29422         * elf/dl-fptr.c: Likewise.
29423         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
29424         * sysdeps/aarch64/tlsdesc.c: Likewise.
29425         * sysdeps/arm/tlsdesc.c: Likewise.
29426         * sysdeps/i386/tlsdesc.c: Likewise.
29427         * sysdeps/tile/dl-runtime.c: Likewise.
29428         * sysdeps/x86_64/tlsdesc.c: Likewise.
29429         * elf/dl-load.h: New file.
29430         * elf/dl-load.c: Include it.
29431         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
29432         Macros moved to dl-load.h.
29433         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
29434         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
29435         Use _dl_unmap_segments in place of __munmap.
29436         Break out segment-mapping loop into ...
29437         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
29439 2014-04-03  Will Newton  <will.newton@linaro.org>
29441         * elf/dl-lookup.c (do_lookup_x): Remove comment
29442         referring to nested function and move variable
29443         declarations down to before first use.
29445 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
29447         [BZ #16799]
29448         [BZ #16800]
29449         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
29450         with 0 numerator.
29451         * math/s_catanf.c (__catanf): Likewise.
29452         * math/s_catanh.c (__catanh): Likewise.
29453         * math/s_catanhf.c (__catanhf): Likewise.
29454         * math/s_catanhl.c (__catanhl): Likewise.
29455         * math/s_catanl.c (__catanl): Likewise.
29456         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
29457         by positive zero when computing -Inf result.
29458         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
29459         (catanh_test): Likewise.
29460         * sysdeps/i386/fpu/libm-test-ulps: Update.
29461         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29463         [BZ #16789]
29464         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
29465         instead of using underflowing value in computing result.
29466         * math/s_clog10.c (__clog10): Likewise.
29467         * math/s_clog10f.c (__clog10f): Likewise.
29468         * math/s_clog10l.c (__clog10l): Likewise.
29469         * math/s_clogf.c (__clogf): Likewise.
29470         * math/s_clogl.c (__clogl): Likewise.
29471         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
29472         (clog10_test): Likewise.
29473         * sysdeps/i386/fpu/libm-test-ulps: Update.
29474         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29476 2014-04-02  Alan Modra  <amodra@gmail.com>
29478         [BZ #16739]
29479         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
29480         output when value is near a power of two.  Use int64_t for lx and
29481         remove casts.  Use decimal rather than hex exponent constants.
29482         Don't use long double multiplication when double will suffice.
29483         * math/libm-test.inc (nextafter_test_data): Add tests.
29484         * NEWS: Add 16739 and 16786 to bug list.
29486         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
29488         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
29490 2014-04-01  Will Newton  <will.newton@linaro.org>
29492         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
29493         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
29495 2014-04-01  Florian Weimer  <fweimer@redhat.com>
29497         [BZ #13347]
29498         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
29499         * nptl/tst-setuid2.c: New file.
29500         * nptl/Makefile (xtests): Add tst-setuid2.
29502 2014-04-01  Alan Modra  <amodra@gmail.com>
29504         [BZ #16786]
29505         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
29507 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
29509         [BZ #6803]
29510         [BZ #6804]
29511         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
29512         set errno as appropriate.
29513         * math/w_scalbf.c (__scalbf): Likewise.
29514         * math/w_scalbl.c (__scalbl): Likewise.
29515         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
29516         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
29517         * math/libm-test.inc (scalb_test_data): Add errno expectations.
29518         Add more NaN tests.
29520         [BZ #16349]
29521         * math/w_atan2.c: Include <errno.h>.
29522         (__atan2): Set errno for result underflowing to zero.
29523         * math/w_atan2f.c: Include <errno.h>.
29524         (__atan2f): Set errno for result underflowing to zero.
29525         * math/w_atan2l.c: Include <errno.h>.
29526         (__atan2l): Set errno for result underflowing to zero.
29527         * math/auto-libm-test-in: Don't allow missing errno for some atan2
29528         tests.
29529         * math/auto-libm-test-out: Regenerated.
29531 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29533         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
29534         Encode instruction correctly in little endian.
29535         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
29536         Likewise.
29537         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
29538         Likewise.
29539         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
29540         Likewise.
29541         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
29542         Likewise.
29544 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
29546         [BZ #9894]
29547         * sysdeps/unix/sysv/linux/kernel-features.h
29548         [__sparc__ && !__arch64__ && !__sparc_v9__]
29549         (__ASSUME_SET_ROBUST_LIST): Do not define.
29550         [__sparc__ && !__arch64__ && !__sparc_v9__]
29551         (__ASSUME_FUTEX_LOCK_PI): Likewise.
29552         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
29553         Likewise.
29554         * sysdeps/unix/sysv/linux/arm/kernel-features.h
29555         (__ASSUME_FUTEX_LOCK_PI): Undefine.
29556         (__ASSUME_REQUEUE_PI): Likewise.
29557         (__ASSUME_SET_ROBUST_LIST): Likewise.
29558         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
29559         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
29560         Undefine.
29561         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
29562         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
29563         Likewise.
29564         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
29565         Likewise.
29566         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
29567         Likewise.
29568         * sysdeps/unix/sysv/linux/mips/kernel-features.h
29569         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
29570         Undefine.
29571         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
29572         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
29573         Likewise.
29575         [BZ #16648]
29576         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
29577         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
29578         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
29580 2014-03-31  Will Newton  <will.newton@linaro.org>
29582         * benchtests/Makefile (bench): Add ffs and ffsll to list
29583         of tests.
29584         * benchtests/ffs-inputs: New file.
29585         * benchtests/ffsll-inputs: Likewise.
29587 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
29589         [BZ #16770]
29590         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
29591         too large before casting to int.
29592         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
29593         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
29594         * math/libm-test.inc (scalb_test_data): Add more tests.
29596 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
29598         * benchtests/Makefile (DETAILED_OPT): New make option.
29599         (bench-func): Run benchmark program with -d if DETAILED_OPT is
29600         set.
29601         * benchtests/bench-skeleton.c: Include stdbool.h.
29602         (main): Store and print timings per input.
29603         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
29604         member to each argument value.
29605         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
29606         (_print_arg_data): Initialize per-input timing to 0.
29608         * benchtests/Makefile (timing-type): New binary.
29609         (bench-clean): Also remove bench-timing-type.
29610         (bench): New target for timing-type.
29611         (bench-func): Print output in JSON format.
29612         * benchtests/bench-skeleton.c (main): Print output in JSON
29613         format.
29614         * benchtests/bench-timing-type.c: New file.
29615         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
29616         (TIMING_PRINT_STATS): Remove.
29617         * benchtests/scripts/bench.py (_print_arg_data): Store variant
29618         name separately.
29620         * benchtests/bench-modf.c: Remove.
29621         * benchtests/modf-inputs: New inputs file.
29623 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
29625         [BZ #16362]
29626         * math/s_clog10.c (M_PI_LOG10E): New macro.
29627         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
29628         imaginary parts are 0.
29629         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
29630         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
29631         imaginary parts are 0.
29632         * math/s_clog10l.c (M_PI_LOG10El): New macro.
29633         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
29634         imaginary parts are 0.
29635         * math/libm-test.inc (clog10_test_data): Update expected results
29636         for when real and imaginary parts are 0.
29638 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
29640         * elf/dl-load.c: Finish conversion of __builtin_expect into
29641         __glibc_{un}likely.
29643 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
29645         [BZ #16348]
29646         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
29647         1+x for argument with exponent below -67.
29648         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
29649         Likewise.
29650         * math/auto-libm-test-in: Add more tests of exp.
29651         * math/auto-libm-test-out: Regenerated.
29653 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
29655         [BZ #16759]
29656         * inet/getnetgrent_r.c (get_nonempty_val): New function.
29657         (nscd_getnetgrent): Use it.
29659         [BZ #16760]
29660         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
29661         of stpcpy.
29663 2014-03-27  Andi Kleen  <ak@linux.intel.com>
29665         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
29666         (lll_robust_lock, lll_cond_lock, lll_timedlock)
29667         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
29668         (lll_robust_unlock): Remove out of line section. Use cfi
29669         intrinsics.
29670         (LLL_STUB_UNWIND_INFO*): Remove.
29671         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
29672         (lll_robust_lock, lll_cond_lock, lll_timedlock)
29673         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
29674         (lll_robust_unlock): Remove out of line section. Use cfi
29675         intrinsics.
29676         (LLL_STUB_UNWIND_INFO*): Remove.
29678 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
29680         [BZ #16758]
29681         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
29682         blank values.
29684 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
29686         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
29688 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
29690         [BZ #16198]
29691         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
29692         fnstenv.
29693         * math/test-fenv-preserve.c: New file.
29694         * math/Makefile (tests): Add test-fenv-preserve.
29696 2014-03-26  Will Newton <will.newton@linaro.org>
29698         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
29700 2014-03-25  Roland McGrath  <roland@hack.frob.com>
29702         * scripts/versionlist.awk: Partition the version sets and emit all
29703         GLIBC_* (sorted) before all others (sorted).
29705 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
29707         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
29708         GLIBC_2.2.5 version.
29710 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29712         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
29713         calls.
29715         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
29716         previous change.
29718         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29720 2014-03-25  Andreas Schwab  <schwab@suse.de>
29722         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
29723         label to be used after in6ailist is initialized.
29725 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29727         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
29728         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
29730 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
29732         [BZ #16357]
29733         [BZ #16599]
29734         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
29735         min_plus_half.
29736         (fp_formats): Update initializers.
29737         (init_fp_formats): Initialize new field.
29738         (output_for_one_input_case): Allow underflow for results up to
29739         min_plus_half.
29740         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
29741         * math/auto-libm-test-in: Don't mark some underflows from asin and
29742         atanh as spurious.
29743         * math/auto-libm-test-out: Regenerated.
29744         * sysdeps/i386/fpu/libm-test-ulps: Update.
29745         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29747 2014-03-25  Andreas Schwab  <schwab@suse.de>
29749         * libio/Makefile (tst-ftell-partial-wide-ENV)
29750         (tst-ftell-active-handler-ENV): Define.
29752 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
29754         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
29756 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
29758         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
29760 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
29762         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
29763         * sysdeps/x86_64/fpu/multiarch/e_exp.c
29764         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
29766 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
29768         [BZ #16634]
29769         * elf/dl-load.c (open_verify): Add mode parameter.
29770         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
29771         (open_path): Change from boolean 'secure' to complete flag 'mode'
29772         (_dl_map_object): Adjust.
29773         * elf/Makefile (tests): Add tst-dlopen-aout.
29774         * elf/tst-dlopen-aout.c: New test.
29776 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
29778         [BZ #16714]
29779         * sysdeps/unix/sysv/linux/s390/bits/stat.h
29780         (struct stat): Rename member pad0 to __glibc_reserved0.
29782         [BZ #16712]
29783         * sysdeps/s390/s390-32/bits/wordsize.h
29784         (__WORDSIZE32_SIZE_ULONG): New define.
29785         * sysdeps/s390/s390-64/bits/wordsize.h
29786         (__WORDSIZE32_SIZE_ULONG): Likewise.
29787         * sysdeps/generic/stdint.h (SIZE_MAX):
29788         Define as UL if __WORDSIZE32_SIZE_ULONG.
29790         [BZ #16713]
29791         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
29792         (__glibc_reserved0): New variable.
29793         (sa_flags): Change type to int.
29795         * posix/Makefile (before-compile): Use += before-compile instead
29796         of a :=.
29798         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
29799         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
29801 2014-03-20  Andreas Schwab  <schwab@suse.de>
29803         [BZ #16743]
29804         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
29805         non-matching result from nscd.
29807 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
29809         * scripts/bench.py: Moved to ...
29810         * benchtests/scripts/bench.py: ... here.
29811         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
29813 2014-03-24  Andreas Schwab  <schwab@suse.de>
29815         [BZ #16002]
29816         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
29817         alloca_account and account alloca use for struct in6ailist.
29819 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
29821         [BZ #16284]
29822         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
29823         rounding mode to recompute results that overflow to infinity or
29824         underflow to zero.
29825         * math/auto-libm-test-in: Don't mark tests as expected to fail for
29826         bug 16284.
29827         * math/auto-libm-test-out: Regenerated.
29828         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
29829         (ccosh_test): Likewise.
29830         (csin_test_data): Use plus_oflow.
29831         (csin_test): Use ALL_RM_TEST.
29832         (csinh_test_data): Use plus_oflow.
29833         (csinh_test): Use ALL_RM_TEST.
29834         * sysdeps/i386/fpu/libm-test-ulps: Update.
29835         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29837 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
29839         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
29840         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
29841         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
29843         [BZ #16731]
29844         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
29845         when x - 1 is zero.
29846         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
29847         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
29848         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
29849         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
29850         argument is 1.
29851         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
29852         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
29853         zero.
29854         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
29855         * sysdeps/i386/fpu/libm-test-ulps: Update.
29856         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29858 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
29860         * scripts/bench.pl: Remove file.
29861         * scripts/bench.py: New benchmark script.
29862         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
29863         * benchtests/README: Mention python dependency.
29864         * scripts/pylintrc: New file.
29865         * scripts/pylint: New file.
29867         * bits/mathdef.h: Use #ifdef instead of #if.
29868         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
29869         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
29870         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
29871         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
29872         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
29873         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
29875 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29876             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
29878         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
29879         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
29880         and strpbrk-ppc64 objects.
29881         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29882         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
29883         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
29884         multiarch strpbrk for POWER7.
29885         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
29886         multiarch strpbrk for PPC64.
29887         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
29888         ifunc selector.
29889         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
29890         strpbrk for POWER7.
29892 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
29894         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
29895         (atan_test): Likewise.
29896         (atanh_test_data): Use NO_TEST_INLINE for two tests.
29897         (atanh_test): Use ALL_RM_TEST.
29898         (atan2_test_data): Likewise.
29899         (cabs_test): Likewise.
29900         (cacosh_test): Likewise.
29901         (carg_test): Likewise.
29902         (casin_test): Likewise.
29903         (casinh_test): Likewise.
29904         (cbrt_test): Likewise.
29905         (csqrt_test): Likewise.
29906         (erf_test): Likewise.
29907         (erfc_test): Likewise.
29908         (pow10_test): Likewise.
29909         (exp2_test): Likewise.
29910         (hypot_test): Likewise.
29911         (j0_test): Likewise.
29912         (j1_test): Likewise.
29913         (lgamma_test): Likewise.
29914         (gamma_test): Likewise.
29915         (sincos_test): Likewise.
29916         (tanh_test): Likewise.
29917         (y0_test): Likewise.
29918         (y1_test): Likewise.
29919         * sysdeps/i386/fpu/libm-test-ulps: Update.
29920         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29922 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29924         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
29925         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
29926         and strcspn-ppc64 objects.
29927         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29928         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
29929         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
29930         multiarch strcspn for POWER7.
29931         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
29932         multiarch strcspn for PPC64.
29933         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
29934         ifunc selector.
29935         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
29936         strcspn for POWER7.
29938 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
29940         * math/gen-libm-test.pl (generate_testfile): Expect only function
29941         name as argument to AUTO_TESTS_* and pass results for all rounding
29942         modes to parse_args.
29943         (parse_auto_input): Separate inputs of automatic tests from
29944         outputs before storing in %auto_tests.
29945         * math/libm-test.inc (acos_test_data): Update call to
29946         AUTO_TESTS_f_f.
29947         (acos_test): Use ALL_RM_TEST.
29948         (acos_tonearest_test_data): Remove.
29949         (acos_test_tonearest): Likewise.
29950         (acos_towardzero_test_data): Likewise.
29951         (acos_test_towardzero): Likewise.
29952         (acos_downward_test_data): Likewise.
29953         (acos_test_downward): Likewise.
29954         (acos_upward_test_data): Likewise.
29955         (acos_test_upward): Likewise.
29956         (acosh_test_data): Update call to AUTO_TESTS_f_f.
29957         (asin_test_data): Likewise.
29958         (asin_test): Use ALL_RM_TEST.
29959         (asin_tonearest_test_data): Remove.
29960         (asin_test_tonearest): Likewise.
29961         (asin_towardzero_test_data): Likewise.
29962         (asin_test_towardzero): Likewise.
29963         (asin_downward_test_data): Likewise.
29964         (asin_test_downward): Likewise.
29965         (asin_upward_test_data): Likewise.
29966         (asin_test_upward): Likewise.
29967         (asinh_test_data): Update call to AUTO_TESTS_f_f.
29968         (atan_test_data): Likewise.
29969         (atanh_test_data): Likewise.
29970         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
29971         (cabs_test_data): Update call to AUTO_TESTS_c_f.
29972         (carg_test_data): Likewise.
29973         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
29974         (ccos_test_data): Update call to AUTO_TESTS_c_c.
29975         (ccosh_test_data): Likewise.
29976         (cexp_test_data): Likewise.
29977         (clog_test_data): Likewise.
29978         (clog10_test_data): Likewise.
29979         (cos_test_data): Update call to AUTO_TESTS_f_f.
29980         (cos_test): Use ALL_RM_TEST.
29981         (cos_tonearest_test_data): Remove.
29982         (cos_test_tonearest): Likewise.
29983         (cos_towardzero_test_data): Likewise.
29984         (cos_test_towardzero): Likewise.
29985         (cos_downward_test_data): Likewise.
29986         (cos_test_downward): Likewise.
29987         (cos_upward_test_data): Likewise.
29988         (cos_test_upward): Likewise.
29989         (cosh_test_data): Update call to AUTO_TESTS_f_f.
29990         (cosh_test): Use ALL_RM_TEST.
29991         (cosh_tonearest_test_data): Remove.
29992         (cosh_test_tonearest): Likewise.
29993         (cosh_towardzero_test_data): Likewise.
29994         (cosh_test_towardzero): Likewise.
29995         (cosh_downward_test_data): Likewise.
29996         (cosh_test_downward): Likewise.
29997         (cosh_upward_test_data): Likewise.
29998         (cosh_test_upward): Likewise.
29999         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
30000         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
30001         (ctan_test_data): Likewise.
30002         (ctan_test): Use ALL_RM_TEST.
30003         (ctan_tonearest_test_data): Remove.
30004         (ctan_test_tonearest): Likewise.
30005         (ctan_towardzero_test_data): Likewise.
30006         (ctan_test_towardzero): Likewise.
30007         (ctan_downward_test_data): Likewise.
30008         (ctan_test_downward): Likewise.
30009         (ctan_upward_test_data): Likewise.
30010         (ctan_test_upward): Likewise.
30011         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
30012         (ctanh_test): Use ALL_RM_TEST.
30013         (ctanh_tonearest_test_data): Remove.
30014         (ctanh_test_tonearest): Likewise.
30015         (ctanh_towardzero_test_data): Likewise.
30016         (ctanh_test_towardzero): Likewise.
30017         (ctanh_downward_test_data): Likewise.
30018         (ctanh_test_downward): Likewise.
30019         (ctanh_upward_test_data): Likewise.
30020         (ctanh_test_upward): Likewise.
30021         (erf_test_data): Update call to AUTO_TESTS_f_f.
30022         (erfc_test_data): Likewise.
30023         (exp_test_data): Likewise.
30024         (exp_test): Use ALL_RM_TEST.
30025         (exp_tonearest_test_data): Remove.
30026         (exp_test_tonearest): Likewise.
30027         (exp_towardzero_test_data): Likewise.
30028         (exp_test_towardzero): Likewise.
30029         (exp_downward_test_data): Likewise.
30030         (exp_test_downward): Likewise.
30031         (exp_upward_test_data): Likewise.
30032         (exp_test_upward): Likewise.
30033         (exp10_test_data): Update call to AUTO_TESTS_f_f.
30034         (exp10_test): Use ALL_RM_TEST.
30035         (exp10_tonearest_test_data): Remove.
30036         (exp10_test_tonearest): Likewise.
30037         (exp10_towardzero_test_data): Likewise.
30038         (exp10_test_towardzero): Likewise.
30039         (exp10_downward_test_data): Likewise.
30040         (exp10_test_downward): Likewise.
30041         (exp10_upward_test_data): Likewise.
30042         (exp10_test_upward): Likewise.
30043         (exp2_test_data): Update call to AUTO_TESTS_f_f.
30044         (expm1_test_data): Likewise.
30045         (expm1_test): Use ALL_RM_TEST.
30046         (expm1_tonearest_test_data): Remove.
30047         (expm1_test_tonearest): Likewise.
30048         (expm1_towardzero_test_data): Likewise.
30049         (expm1_test_towardzero): Likewise.
30050         (expm1_downward_test_data): Likewise.
30051         (expm1_test_downward): Likewise.
30052         (expm1_upward_test_data): Likewise.
30053         (expm1_test_upward): Likewise.
30054         (fma_test_data): Update call to AUTO_TESTS_fff_f.
30055         (fma_test): Use ALL_RM_TEST.
30056         (fma_towardzero_test_data): Remove.
30057         (fma_test_towardzero): Likewise.
30058         (fma_downward_test_data): Likewise.
30059         (fma_test_downward): Likewise.
30060         (fma_upward_test_data): Likewise.
30061         (fma_test_upward): Likewise.
30062         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
30063         (j0_test_data): Update call to AUTO_TESTS_f_f.
30064         (j1_test_data): Likewise.
30065         (jn_test_data): Update call to AUTO_TESTS_if_f.
30066         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
30067         (log_test_data): Update call to AUTO_TESTS_f_f.
30068         (log10_test_data): Likewise.
30069         (log1p_test_data): Likewise.
30070         (log2_test_data): Likewise.
30071         (pow_test_data): Update call to AUTO_TESTS_ff_f.
30072         (pow_tonearest_test_data): Likewise.
30073         (sin_test_data): Update call to AUTO_TESTS_f_f.
30074         (sin_test): Use ALL_RM_TEST.
30075         (sin_tonearest_test_data): Remove.
30076         (sin_test_tonearest): Likewise.
30077         (sin_towardzero_test_data): Likewise.
30078         (sin_test_towardzero): Likewise.
30079         (sin_downward_test_data): Likewise.
30080         (sin_test_downward): Likewise.
30081         (sin_upward_test_data): Likewise.
30082         (sin_test_upward): Likewise.
30083         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
30084         (sinh_test_data): Update call to AUTO_TESTS_f_f.
30085         (sinh_test): Use ALL_RM_TEST.
30086         (sinh_tonearest_test_data): Remove.
30087         (sinh_test_tonearest): Likewise.
30088         (sinh_towardzero_test_data): Likewise.
30089         (sinh_test_towardzero): Likewise.
30090         (sinh_downward_test_data): Likewise.
30091         (sinh_test_downward): Likewise.
30092         (sinh_upward_test_data): Likewise.
30093         (sinh_test_upward): Likewise.
30094         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
30095         (sqrt_test): Use ALL_RM_TEST.
30096         (sqrt_tonearest_test_data): Remove.
30097         (sqrt_test_tonearest): Likewise.
30098         (sqrt_towardzero_test_data): Likewise.
30099         (sqrt_test_towardzero): Likewise.
30100         (sqrt_downward_test_data): Likewise.
30101         (sqrt_test_downward): Likewise.
30102         (sqrt_upward_test_data): Likewise.
30103         (sqrt_test_upward): Likewise.
30104         (tan_test_data): Update call to AUTO_TESTS_f_f.
30105         (tan_test): Use ALL_RM_TEST.
30106         (tan_tonearest_test_data): Remove.
30107         (tan_test_tonearest): Likewise.
30108         (tan_towardzero_test_data): Likewise.
30109         (tan_test_towardzero): Likewise.
30110         (tan_downward_test_data): Likewise.
30111         (tan_test_downward): Likewise.
30112         (tan_upward_test_data): Likewise.
30113         (tan_test_upward): Likewise.
30114         (tanh_test_data): Update call to AUTO_TESTS_f_f.
30115         (tgamma_test_data): Likewise.
30116         (y0_test_data): Likewise.
30117         (y1_test_data): Likewise.
30118         (yn_test_data): Update call to AUTO_TESTS_if_f.
30119         (main): Do not call removed functions.
30121 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
30123         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
30124         (ldexp_test_data): Remove.
30125         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
30126         scalbn_test_data.
30127         (scalb_test): Use ALL_RM_TEST.
30129 2014-03-19  Andreas Schwab  <schwab@suse.de>
30131         * nscd/nscd.service: Also invalidate netgroup cache on reload.
30133 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
30135         [BZ #16649]
30136         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
30137         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
30138         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
30139         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30140         (__ASSUME_PREADV): Undefine.
30141         (__ASSUME_PWRITEV): Likewise.
30143 2014-03-18  Roland McGrath  <roland@hack.frob.com>
30145         * bits/mman-linux.h: Add comment about non-Linux use.
30146         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
30147         bits/mman-linux.h resting place.
30149         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
30150         * bits/mman-linux.h: ... here.
30152 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30154         * conform/conformtest.pl: Add standard definition when calling C
30155         preprocessor on data files.
30156         (checknamespace): Remove unused variable.
30158 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
30160         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
30161         minus_oflow, plus_uflow and minus_uflow in expected results.
30162         * math/libm-test.inc (scalbn_test_data): Add more tests of
30163         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
30164         minus_uflow.
30165         (scalbn_test): Use ALL_RM_TEST.
30166         (scalbln_test_data): Add more tests of negative arguments.  Use
30167         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
30168         (scalbln_test): Use ALL_RM_TEST.
30170 2014-03-18  Roland McGrath  <roland@hack.frob.com>
30172         * scripts/abilist.awk: Ignore symbols marked with .hidden.
30174 2014-03-18  Will Newton  <will.newton@linaro.org>
30176         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
30177         inaccurate comment.
30179 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
30181         * Makerules [!subdir] (check-abi): Exit with error status if a
30182         test failed.
30184 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
30186         * math/libm-test.inc (nearbyint_test_data): Include all tests used
30187         for rint.  Include results for all rounding modes.
30188         (nearbyint_test): Use ALL_RM_TEST.
30189         (rint_test_data): Include all tests used for nearbyint.
30191 2014-03-17  Will Newton  <will.newton@linaro.org>
30193         * nptl/sysdeps/pthread/pthread.h: Revert previous
30194         change.
30196         * sysdeps/generic/ldsodefs.h: Revert previous
30197         change.
30199         * libio/genops.c: Revert previous change.
30200         * libio/libioP.h: Likewise.
30201         * stdio-common/vfprintf.c: Likewise.
30203         * sysdeps/generic/math_private.h: Revert previous
30204         change.
30206         * sysdeps/generic/math_private.h: Check whether
30207         HAVE_RM_CTX is defined with #ifdef rather
30208         than #if.
30210         * argp/argp-fmtstream.h: Check whether
30211         __STRICT_ANSI__ is defined with #ifdef rather
30212         than #if.
30213         * argp/argp.h: Likewise.
30215         * libio/genops.c: Check whether
30216         _IO_JUMPS_OFFSET is defined with #ifdef rather
30217         than #if.
30218         * libio/libioP.h: Likewise.
30219         * stdio-common/vfprintf.c: Likewise.
30221         * sysdeps/generic/ldsodefs.h: Check whether
30222         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
30223         than #if.
30225         * nptl/sysdeps/pthread/pthread.h: Check
30226         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
30227         its value.
30229 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
30231         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
30232         setting O_APPEND.
30233         * libio/tst-ftell-active-handler.c (do_append_test): Add a
30234         test case.
30236         [BZ #16680]
30237         * libio/fileops.c (_IO_file_open): Seek to end of file but
30238         don't cache the offset.
30239         (get_file_offset): Remove function.
30240         (do_ftell): Use cached offset when available.
30241         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
30242         don't cache the offset.
30243         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
30244         case.
30245         (do_one_test): Call it.
30246         (do_ftell_test): Fix up expected old offset for a+ mode.
30247         * libio/wfileops.c (do_ftell_wide): Used cached offset when
30248         available.
30250         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
30251         up test status with function return status.
30252         (do_write_test): Likewise.
30253         (do_append_test): Likewise.
30255         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
30256         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
30257         Remove.
30259 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
30261         * math/gen-libm-test.pl (parse_args): Handle results specified for
30262         each rounding mode separately.
30263         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
30264         tests and results from lrint_tonearest_test_data,
30265         lrint_towardzero_test_data, lrint_downward_test_data and
30266         lrint_upward_test_data.
30267         (lrint_test): Use ALL_RM_TEST.
30268         (lrint_tonearest_test_data): Remove.
30269         (lrint_test_tonearest): Likewise.
30270         (lrint_towardzero_test_data): Likewise.
30271         (lrint_test_towardzero): Likewise.
30272         (lrint_downward_test_data): Likewise.
30273         (lrint_test_downward): Likewise.
30274         (lrint_upward_test_data): Likewise.
30275         (lrint_test_upward): Likewise.
30276         (llrint_test_data): Merge in per-rounding-mode tests and results
30277         from llrint_tonearest_test_data, llrint_towardzero_test_data,
30278         llrint_downward_test_data and llrint_upward_test_data.
30279         (llrint_test): Use ALL_RM_TEST.
30280         (llrint_tonearest_test_data): Remove.
30281         (llrint_test_tonearest): Likewise.
30282         (llrint_towardzero_test_data): Likewise.
30283         (llrint_test_towardzero): Likewise.
30284         (llrint_downward_test_data): Likewise.
30285         (llrint_test_downward): Likewise.
30286         (llrint_upward_test_data): Likewise.
30287         (llrint_test_upward): Likewise.
30288         (rint_test_data): Merge in per-rounding-mode tests and results
30289         from rint_tonearest_test_data, rint_towardzero_test_data,
30290         rint_downward_test_data and rint_upward_test_data.  Add
30291         per-rounding-mode results for tests not in those arrays.
30292         (rint_test): Use ALL_RM_TEST.
30293         (rint_tonearest_test_data): Remove.
30294         (rint_test_tonearest): Likewise.
30295         (rint_towardzero_test_data): Likewise.
30296         (rint_test_towardzero): Likewise.
30297         (rint_downward_test_data): Likewise.
30298         (rint_test_downward): Likewise.
30299         (rint_upward_test_data): Likewise.
30300         (rint_test_upward): Likewise.
30301         (main): Don't call removed functions.
30303 2014-03-14  Roland McGrath  <roland@hack.frob.com>
30305         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
30306         "Compiled on ..." crapola.  It is anti-useful.
30308 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
30310         * scripts/evaluate-test.sh: Handle fourth argument to determine
30311         whether test run should stop on failure.
30312         * Makeconfig (stop-on-test-failure): New variable.
30313         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
30314         $(stop-on-test-failure).
30315         * Makefile (tests): Give a summary of results from testing and
30316         exit with failure status if they include an ERROR or FAIL.
30317         (xtests): Likewise.
30318         * manual/install.texi (Configuring and compiling): Mention
30319         stop-on-test-failure=y.
30320         * INSTALL: Regenerated.
30322 2014-03-14  Roland McGrath  <roland@hack.frob.com>
30324         * scripts/versionlist.awk: New file.
30325         * Makerules [$(build-shared) = yes]
30326         (postclean-generated): Add Versions.def, not Versions.def.v and
30327         Versions.def.v.i.
30328         ($(common-objpfx)Versions.def.v.i): Target removed.
30329         ($(common-objpfx)Versions.def): New target.
30330         ($(common-objpfx)Versions.all): Depend on that rather that
30331         $(common-objpfx)Versions.def.v.
30332         * Versions.def: File removed.
30334         * Makeconfig (+gccwarn): Add -Wundef.
30335         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
30336         a dl-sysdep.h breaking its contract.
30337         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
30338         * include/stackinfo.h: New file.
30339         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
30340         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
30341         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
30342         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
30343         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
30344         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
30345         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
30346         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
30347         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
30348         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
30349         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
30350         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
30351         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
30352         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
30353         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
30355 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30357         [BZ #16707]
30358         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
30359         implementation.
30360         * math/libm-test.inc (round_test_data): Add more tests.
30362         [BZ #16706]
30363         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
30364         implementation.
30365         * math/libm-test.inc (nearbyint_test_data): Add more tests.
30367         [BZ #16701]
30368         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
30369         implementation.
30370         * math/libm-test.inc (ceil_test_data): Add more tests.
30372         * math/libm-test.inc (trunc_test_data): Add more tests related to
30373         BZ#16414.
30375 2014-03-14  Roland McGrath  <roland@hack.frob.com>
30377         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
30378         with #if rather than #ifdef.
30379         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
30381 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
30383         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
30384         first.  Disable AVX-512 GCC support if assembler doesn't support
30385         it.
30386         * sysdeps/x86_64/configure: Regenerated.
30388 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
30390         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
30391         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
30392         (__old_pthread_attr_setstack): Likewise.
30393         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
30394         [!_STACK_GROWS_DOWN]: Likewise.
30396 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
30398         * config.make.in (have-bash2): Delete.
30399         * configure.ac (libc_cv_have_bash2): Delete.
30400         * configure: Regenerate.
30401         * elf/Makefile (common-ldd-rewrite): Rename to ...
30402         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
30403         (sh-ldd-rewrite): Delete.
30404         (bash-ldd-rewrite): Delete.
30405         (have-bash2): Delete checks.
30406         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
30407         ldd-rewrite.
30409         * config.make.in (have-ksh): Delete.
30410         (KSH): Delete.
30411         * configure.ac (libc_cv_have_ksh): Delete.
30412         * configure: Regenerate.
30414         * elf/Makefile: Delete $(have-ksh) check.
30415         ($(objpfx)sotruss): Change KSH to BASH.
30416         * elf/sotruss.ksh: Rename to ...
30417         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
30418         function style to match POSIX.  Drop ksh vim mode setting.
30420         * manual/time.texi (Specifying the Time Zone with TZ): Change
30421         Tuesday to Thursday.
30423         * debug/tst-longjmp_chk2.c: Update header comment.
30424         (stackoverflow_handler): Add comment.  Call assert on pass value.
30426 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
30428         [BZ #16194]
30429         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
30430         (HAVE_AVX512_ASM_SUPPORT): Likewise.
30431         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
30432         (La_x86_64_vector): Add zmm.
30433         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
30434         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
30435         ($(objpfx)tst-audit10): New target.
30436         ($(objpfx)tst-audit10.out): Likewise.
30437         (tst-audit10-ENV): New.
30438         (AVX512-CFLAGS): Likewise.
30439         (CFLAGS-tst-audit10.c): Likewise.
30440         (CFLAGS-tst-auditmod10a.c): Likewise.
30441         (CFLAGS-tst-auditmod10b.c): Likewise.
30442         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
30443         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
30444         * sysdeps/x86_64/configure: Regenerated.
30445         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
30446         AVX-512 zmm register support.
30447         (_dl_x86_64_save_sse): Likewise.
30448         (_dl_x86_64_restore_sse): Likewise.
30449         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
30450         size vector registers.
30451         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
30452         (ZMM_SIZE): Likewise.
30453         * sysdeps/x86_64/tst-audit10.c: New file.
30454         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
30455         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
30457 2014-03-13  Roland McGrath  <roland@hack.frob.com>
30459         * configure.ac (HAVE_EHDR_START): New check.
30460         * configure: Regenerated.
30461         * config.h.in (HAVE_EHDR_START): New #undef.
30462         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
30463         assuming the lowest-addressed segment maps the start of the file.
30465 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
30467         * INSTALL: Regenerated.
30469 2014-03-13  Will Newton  <will.newton@linaro.org>
30471         * manual/setjmp.texi (System V contexts): Improve
30472         clarity and grammar of documentation.
30474 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
30476         [BZ #16381]
30477         * elf/Makefile (tests): Add tst-pie2.
30478         (tests-pie): Add tst-pie2.
30479         * elf/tst-pie2.c: New file.
30480         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
30481         for ET_EXEC.
30482         * elf/rtld.c (map_doit): Load executable as lt_executable.
30483         (dl_main): Likewise.
30485 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
30487         [BZ #16642]
30488         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30489         (__ASSUME_PSELECT): Undefine.
30491 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30493         [BZ #16689]
30494         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
30495         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
30496         static build.
30497         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
30498         selector for static builds.
30500 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
30502         [BZ #16695]
30503         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
30504         key in the buffer.
30506 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30508         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
30509         IFUNC selector for static builds.
30511 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
30513         * sysdeps/mips/math_private.h [__mips_hard_float]
30514         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
30515         libc_feresetround_mips_ctx.
30516         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
30517         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
30518         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
30520         [BZ #16677]
30521         * math/s_nextafter.c (__nextafter): Do not return value from
30522         overflowing computation.
30523         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
30524         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
30525         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
30526         Likewise.
30527         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
30528         Likewise.
30529         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
30530         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
30532 2014-03-11  Roland McGrath  <roland@hack.frob.com>
30534         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
30535         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
30536         Move sfi_sp use from the load-multiple (that no longer sets sp) to
30537         the new mov targetting sp.
30539 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30541         [BZ #16683]
30542         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
30543         Define it for static builds as well.
30544         (NO_BZERO_IMPL): Likewise.
30546 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
30548         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
30549         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
30550         multiarch strspn for PPC64.
30551         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
30552         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
30553         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
30554         (__libc_ifunc_impl_list): Likewise.
30555         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
30556         multiarch optimizations
30557         * string/strspn.c (strspn): Using macro to redefine symbol name.
30559 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
30560             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30562         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
30563         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
30564         multiarch strncat for PPC64.
30565         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
30566         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
30567         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
30568         (__libc_ifunc_impl_list): Likewise.
30569         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
30570         multiarch optimizations
30572 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
30574         [BZ #16639]
30575         * nscd/nscd.service: Make service type forking.
30577 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30579         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
30580         sign in non default rounding modes.
30581         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
30583 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
30585         * math/libm-test.inc (ALL_RM_TEST): New macro.
30586         (ceil_test): Use ALL_RM_TEST.
30587         (cimag_test): Likewise.
30588         (conj_test): Likewise.
30589         (copysign_test): Likewise.
30590         (cproj_test): Likewise.
30591         (creal_test): Likewise.
30592         (fabs_test): Likewise.
30593         (floor_test): Likewise.
30594         (fmax_test): Likewise.
30595         (fmin_test): Likewise.
30596         (fmod_test): Likewise.
30597         (fpclassify_test): Likewise.
30598         (frexp_test): Likewise.
30599         (ilogb_test): Likewise.
30600         (isfinite_test): Likewise.
30601         (finite_test): Likewise.
30602         (isgreater_test): Likewise.
30603         (isgreaterequal_test): Likewise.
30604         (isinf_test): Likewise.
30605         (isless_test): Likewise.
30606         (islessequal_test): Likewise.
30607         (islessgreater_test): Likewise.
30608         (isnan_test): Likewise.
30609         (isnormal_test): Likewise.
30610         (issignaling_test): Likewise.
30611         (isunordered_test): Likewise.
30612         (logb_test): Likewise.
30613         (logb_downward_test_data): Remove.
30614         (logb_test_downward): Likewise.
30615         (lround_test): Use ALL_RM_TEST.
30616         (llround_test): Likewise.
30617         (modf_test): Likewise.
30618         (nexttoward_test): Likewise.
30619         (remainder_test): Likewise.
30620         (drem_test): Likewise.
30621         (remainder_tonearest_test_data): Likewise.
30622         (remainder_test_tonearest): Likewise.
30623         (drem_test_tonearest): Likewise.
30624         (remainder_towardzero_test_data): Likewise.
30625         (remainder_test_towardzero): Likewise.
30626         (drem_test_towardzero): Likewise.
30627         (remainder_downward_test_data): Likewise.
30628         (remainder_test_downward): Likewise.
30629         (drem_test_downward): Likewise.
30630         (remainder_upward_test_data): Likewise.
30631         (remainder_test_upward): Likewise.
30632         (drem_test_upward): Likewise.
30633         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
30634         (round_test): Use ALL_RM_TEST.
30635         (signbit_test): Likewise.
30636         (trunc_test): Likewise.
30637         (significand_test): Likewise.
30638         (main): Don't call removed functions.
30640 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
30642         [BZ #16674]
30643         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
30644         || __USE_XOPEN2K8].
30645         (ILL_ILLOPN): Likewise.
30646         (ILL_ILLADR): Likewise.
30647         (ILL_ILLTRP): Likewise.
30648         (ILL_PRVOPC): Likewise.
30649         (ILL_PRVREG): Likewise.
30650         (ILL_COPROC): Likewise.
30651         (ILL_BADSTK): Likewise.
30652         (FPE_INTDIV): Likewise.
30653         (FPE_INTOVF): Likewise.
30654         (FPE_FLTDIV): Likewise.
30655         (FPE_FLTOVF): Likewise.
30656         (FPE_FLTUND): Likewise.
30657         (FPE_FLTRES): Likewise.
30658         (FPE_FLTINV): Likewise.
30659         (FPE_FLTSUB): Likewise.
30660         (SEGV_MAPERR): Likewise.
30661         (SEGV_ACCERR): Likewise.
30662         (BUS_ADRALN): Likewise.
30663         (BUS_ADRERR): Likewise.
30664         (BUS_OBJERR): Likewise.
30665         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
30666         (TRAP_TRACE): Likewise.
30667         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
30668         __USE_XOPEN2K8].
30669         (CLD_KILLED): Likewise.
30670         (CLD_DUMPED): Likewise.
30671         (CLD_TRAPPED): Likewise.
30672         (CLD_STOPPED): Likewise.
30673         (CLD_CONTINUED): Likewise.
30674         (POLL_IN): Likewise.
30675         (POLL_OUT): Likewise.
30676         (POLL_MSG): Likewise.
30677         (POLL_ERR): Likewise.
30678         (POLL_PRI): Likewise.
30679         (POLL_HUP): Likewise.
30680         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
30681         Likewise.
30682         (ILL_ILLOPN): Likewise.
30683         (ILL_ILLADR): Likewise.
30684         (ILL_ILLTRP): Likewise.
30685         (ILL_PRVOPC): Likewise.
30686         (ILL_PRVREG): Likewise.
30687         (ILL_COPROC): Likewise.
30688         (ILL_BADSTK): Likewise.
30689         (FPE_INTDIV): Likewise.
30690         (FPE_INTOVF): Likewise.
30691         (FPE_FLTDIV): Likewise.
30692         (FPE_FLTOVF): Likewise.
30693         (FPE_FLTUND): Likewise.
30694         (FPE_FLTRES): Likewise.
30695         (FPE_FLTINV): Likewise.
30696         (FPE_FLTSUB): Likewise.
30697         (SEGV_MAPERR): Likewise.
30698         (SEGV_ACCERR): Likewise.
30699         (BUS_ADRALN): Likewise.
30700         (BUS_ADRERR): Likewise.
30701         (BUS_OBJERR): Likewise.
30702         (BUS_MCEERR_AR): Likewise.
30703         (BUS_MCEERR_AO): Likewise.
30704         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
30705         (TRAP_TRACE): Likewise.
30706         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
30707         __USE_XOPEN2K8].
30708         (CLD_KILLED): Likewise.
30709         (CLD_DUMPED): Likewise.
30710         (CLD_TRAPPED): Likewise.
30711         (CLD_STOPPED): Likewise.
30712         (CLD_CONTINUED): Likewise.
30713         (POLL_IN): Likewise.
30714         (POLL_OUT): Likewise.
30715         (POLL_MSG): Likewise.
30716         (POLL_ERR): Likewise.
30717         (POLL_PRI): Likewise.
30718         (POLL_HUP): Likewise.
30719         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
30720         (ILL_ILLOPN): Likewise.
30721         (ILL_ILLADR): Likewise.
30722         (ILL_ILLTRP): Likewise.
30723         (ILL_PRVOPC): Likewise.
30724         (ILL_PRVREG): Likewise.
30725         (ILL_COPROC): Likewise.
30726         (ILL_BADSTK): Likewise.
30727         (FPE_INTDIV): Likewise.
30728         (FPE_INTOVF): Likewise.
30729         (FPE_FLTDIV): Likewise.
30730         (FPE_FLTOVF): Likewise.
30731         (FPE_FLTUND): Likewise.
30732         (FPE_FLTRES): Likewise.
30733         (FPE_FLTINV): Likewise.
30734         (FPE_FLTSUB): Likewise.
30735         (SEGV_MAPERR): Likewise.
30736         (SEGV_ACCERR): Likewise.
30737         (BUS_ADRALN): Likewise.
30738         (BUS_ADRERR): Likewise.
30739         (BUS_OBJERR): Likewise.
30740         (BUS_MCEERR_AR): Likewise.
30741         (BUS_MCEERR_AO): Likewise.
30742         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
30743         (TRAP_TRACE): Likewise.
30744         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
30745         __USE_XOPEN2K8].
30746         (CLD_KILLED): Likewise.
30747         (CLD_DUMPED): Likewise.
30748         (CLD_TRAPPED): Likewise.
30749         (CLD_STOPPED): Likewise.
30750         (CLD_CONTINUED): Likewise.
30751         (POLL_IN): Likewise.
30752         (POLL_OUT): Likewise.
30753         (POLL_MSG): Likewise.
30754         (POLL_ERR): Likewise.
30755         (POLL_PRI): Likewise.
30756         (POLL_HUP): Likewise.
30757         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
30758         Likewise.
30759         (ILL_ILLOPN): Likewise.
30760         (ILL_ILLADR): Likewise.
30761         (ILL_ILLTRP): Likewise.
30762         (ILL_PRVOPC): Likewise.
30763         (ILL_PRVREG): Likewise.
30764         (ILL_COPROC): Likewise.
30765         (ILL_BADSTK): Likewise.
30766         (ILL_BADIADDR): Likewise.
30767         (ILL_BREAK): Likewise.
30768         (FPE_INTDIV): Likewise.
30769         (FPE_INTOVF): Likewise.
30770         (FPE_FLTDIV): Likewise.
30771         (FPE_FLTOVF): Likewise.
30772         (FPE_FLTUND): Likewise.
30773         (FPE_FLTRES): Likewise.
30774         (FPE_FLTINV): Likewise.
30775         (FPE_FLTSUB): Likewise.
30776         (FPE_DECOVF): Likewise.
30777         (FPE_DECDIV): Likewise.
30778         (FPE_DECERR): Likewise.
30779         (FPE_INVASC): Likewise.
30780         (FPE_INVDEC): Likewise.
30781         (SEGV_MAPERR): Likewise.
30782         (SEGV_ACCERR): Likewise.
30783         (SEGV_PSTKOVF): Likewise.
30784         (BUS_ADRALN): Likewise.
30785         (BUS_ADRERR): Likewise.
30786         (BUS_OBJERR): Likewise.
30787         (BUS_MCEERR_AR): Likewise.
30788         (BUS_MCEERR_AO): Likewise.
30789         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
30790         (TRAP_TRACE): Likewise.
30791         (TRAP_BRANCH): Likewise.
30792         (TRAP_HWBKPT): Likewise.
30793         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
30794         __USE_XOPEN2K8].
30795         (CLD_KILLED): Likewise.
30796         (CLD_DUMPED): Likewise.
30797         (CLD_TRAPPED): Likewise.
30798         (CLD_STOPPED): Likewise.
30799         (CLD_CONTINUED): Likewise.
30800         (POLL_IN): Likewise.
30801         (POLL_OUT): Likewise.
30802         (POLL_MSG): Likewise.
30803         (POLL_ERR): Likewise.
30804         (POLL_PRI): Likewise.
30805         (POLL_HUP): Likewise.
30806         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
30807         (ILL_ILLOPN): Likewise.
30808         (ILL_ILLADR): Likewise.
30809         (ILL_ILLTRP): Likewise.
30810         (ILL_PRVOPC): Likewise.
30811         (ILL_PRVREG): Likewise.
30812         (ILL_COPROC): Likewise.
30813         (ILL_BADSTK): Likewise.
30814         (FPE_INTDIV): Likewise.
30815         (FPE_INTOVF): Likewise.
30816         (FPE_FLTDIV): Likewise.
30817         (FPE_FLTOVF): Likewise.
30818         (FPE_FLTUND): Likewise.
30819         (FPE_FLTRES): Likewise.
30820         (FPE_FLTINV): Likewise.
30821         (FPE_FLTSUB): Likewise.
30822         (SEGV_MAPERR): Likewise.
30823         (SEGV_ACCERR): Likewise.
30824         (BUS_ADRALN): Likewise.
30825         (BUS_ADRERR): Likewise.
30826         (BUS_OBJERR): Likewise.
30827         (BUS_MCEERR_AR): Likewise.
30828         (BUS_MCEERR_AO): Likewise.
30829         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
30830         (TRAP_TRACE): Likewise.
30831         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
30832         __USE_XOPEN2K8].
30833         (CLD_KILLED): Likewise.
30834         (CLD_DUMPED): Likewise.
30835         (CLD_TRAPPED): Likewise.
30836         (CLD_STOPPED): Likewise.
30837         (CLD_CONTINUED): Likewise.
30838         (POLL_IN): Likewise.
30839         (POLL_OUT): Likewise.
30840         (POLL_MSG): Likewise.
30841         (POLL_ERR): Likewise.
30842         (POLL_PRI): Likewise.
30843         (POLL_HUP): Likewise.
30844         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
30845         (ILL_ILLOPN): Likewise.
30846         (ILL_ILLADR): Likewise.
30847         (ILL_ILLTRP): Likewise.
30848         (ILL_PRVOPC): Likewise.
30849         (ILL_PRVREG): Likewise.
30850         (ILL_COPROC): Likewise.
30851         (ILL_BADSTK): Likewise.
30852         (FPE_INTDIV): Likewise.
30853         (FPE_INTOVF): Likewise.
30854         (FPE_FLTDIV): Likewise.
30855         (FPE_FLTOVF): Likewise.
30856         (FPE_FLTUND): Likewise.
30857         (FPE_FLTRES): Likewise.
30858         (FPE_FLTINV): Likewise.
30859         (FPE_FLTSUB): Likewise.
30860         (SEGV_MAPERR): Likewise.
30861         (SEGV_ACCERR): Likewise.
30862         (BUS_ADRALN): Likewise.
30863         (BUS_ADRERR): Likewise.
30864         (BUS_OBJERR): Likewise.
30865         (BUS_MCEERR_AR): Likewise.
30866         (BUS_MCEERR_AO): Likewise.
30867         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
30868         (TRAP_TRACE): Likewise.
30869         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
30870         __USE_XOPEN2K8].
30871         (CLD_KILLED): Likewise.
30872         (CLD_DUMPED): Likewise.
30873         (CLD_TRAPPED): Likewise.
30874         (CLD_STOPPED): Likewise.
30875         (CLD_CONTINUED): Likewise.
30876         (POLL_IN): Likewise.
30877         (POLL_OUT): Likewise.
30878         (POLL_MSG): Likewise.
30879         (POLL_ERR): Likewise.
30880         (POLL_PRI): Likewise.
30881         (POLL_HUP): Likewise.
30882         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
30883         (ILL_ILLOPN): Likewise.
30884         (ILL_ILLADR): Likewise.
30885         (ILL_ILLTRP): Likewise.
30886         (ILL_PRVOPC): Likewise.
30887         (ILL_PRVREG): Likewise.
30888         (ILL_COPROC): Likewise.
30889         (ILL_BADSTK): Likewise.
30890         (FPE_INTDIV): Likewise.
30891         (FPE_INTOVF): Likewise.
30892         (FPE_FLTDIV): Likewise.
30893         (FPE_FLTOVF): Likewise.
30894         (FPE_FLTUND): Likewise.
30895         (FPE_FLTRES): Likewise.
30896         (FPE_FLTINV): Likewise.
30897         (FPE_FLTSUB): Likewise.
30898         (SEGV_MAPERR): Likewise.
30899         (SEGV_ACCERR): Likewise.
30900         (BUS_ADRALN): Likewise.
30901         (BUS_ADRERR): Likewise.
30902         (BUS_OBJERR): Likewise.
30903         (BUS_MCEERR_AR): Likewise.
30904         (BUS_MCEERR_AO): Likewise.
30905         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
30906         (TRAP_TRACE): Likewise.
30907         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
30908         __USE_XOPEN2K8].
30909         (CLD_KILLED): Likewise.
30910         (CLD_DUMPED): Likewise.
30911         (CLD_TRAPPED): Likewise.
30912         (CLD_STOPPED): Likewise.
30913         (CLD_CONTINUED): Likewise.
30914         (POLL_IN): Likewise.
30915         (POLL_OUT): Likewise.
30916         (POLL_MSG): Likewise.
30917         (POLL_ERR): Likewise.
30918         (POLL_PRI): Likewise.
30919         (POLL_HUP): Likewise.
30920         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
30921         (ILL_ILLOPN): Likewise.
30922         (ILL_ILLADR): Likewise.
30923         (ILL_ILLTRP): Likewise.
30924         (ILL_PRVOPC): Likewise.
30925         (ILL_PRVREG): Likewise.
30926         (ILL_COPROC): Likewise.
30927         (ILL_BADSTK): Likewise.
30928         (ILL_DBLFLT): Likewise.
30929         (ILL_HARDWALL): Likewise.
30930         (FPE_INTDIV): Likewise.
30931         (FPE_INTOVF): Likewise.
30932         (FPE_FLTDIV): Likewise.
30933         (FPE_FLTOVF): Likewise.
30934         (FPE_FLTUND): Likewise.
30935         (FPE_FLTRES): Likewise.
30936         (FPE_FLTINV): Likewise.
30937         (FPE_FLTSUB): Likewise.
30938         (SEGV_MAPERR): Likewise.
30939         (SEGV_ACCERR): Likewise.
30940         (BUS_ADRALN): Likewise.
30941         (BUS_ADRERR): Likewise.
30942         (BUS_OBJERR): Likewise.
30943         (BUS_MCEERR_AR): Likewise.
30944         (BUS_MCEERR_AO): Likewise.
30945         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
30946         (TRAP_TRACE): Likewise.
30947         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
30948         __USE_XOPEN2K8].
30949         (CLD_KILLED): Likewise.
30950         (CLD_DUMPED): Likewise.
30951         (CLD_TRAPPED): Likewise.
30952         (CLD_STOPPED): Likewise.
30953         (CLD_CONTINUED): Likewise.
30954         (POLL_IN): Likewise.
30955         (POLL_OUT): Likewise.
30956         (POLL_MSG): Likewise.
30957         (POLL_ERR): Likewise.
30958         (POLL_PRI): Likewise.
30959         (POLL_HUP): Likewise.
30960         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
30961         (ILL_ILLOPN): Likewise.
30962         (ILL_ILLADR): Likewise.
30963         (ILL_ILLTRP): Likewise.
30964         (ILL_PRVOPC): Likewise.
30965         (ILL_PRVREG): Likewise.
30966         (ILL_COPROC): Likewise.
30967         (ILL_BADSTK): Likewise.
30968         (FPE_INTDIV): Likewise.
30969         (FPE_INTOVF): Likewise.
30970         (FPE_FLTDIV): Likewise.
30971         (FPE_FLTOVF): Likewise.
30972         (FPE_FLTUND): Likewise.
30973         (FPE_FLTRES): Likewise.
30974         (FPE_FLTINV): Likewise.
30975         (FPE_FLTSUB): Likewise.
30976         (SEGV_MAPERR): Likewise.
30977         (SEGV_ACCERR): Likewise.
30978         (BUS_ADRALN): Likewise.
30979         (BUS_ADRERR): Likewise.
30980         (BUS_OBJERR): Likewise.
30981         (BUS_MCEERR_AR): Likewise.
30982         (BUS_MCEERR_AO): Likewise.
30983         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
30984         (TRAP_TRACE): Likewise.
30985         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
30986         __USE_XOPEN2K8].
30987         (CLD_KILLED): Likewise.
30988         (CLD_DUMPED): Likewise.
30989         (CLD_TRAPPED): Likewise.
30990         (CLD_STOPPED): Likewise.
30991         (CLD_CONTINUED): Likewise.
30992         (POLL_IN): Likewise.
30993         (POLL_OUT): Likewise.
30994         (POLL_MSG): Likewise.
30995         (POLL_ERR): Likewise.
30996         (POLL_PRI): Likewise.
30997         (POLL_HUP): Likewise.
30998         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
30999         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
31001         [BZ #16670]
31002         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
31003         before #include of <time.h>.
31004         [!__USE_XOPEN2K] (__need_timespec): Likewise.
31005         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
31006         (test-xfail-UNIX98/sched.h/conform): Likewise.
31008 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
31010         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
31011         error absence of trapping exception support.
31012         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
31014 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
31016         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
31017         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
31018         * timezone/Makefile (testdata): Move definition above include of
31019         Rules.
31020         (test-zones): New variable.
31021         (tests-special): Add zone files.
31022         (build-testdata): Use $(evaluate-test).
31024         * elf/Makefile (tests-special): Rename tests to end with .out.
31025         ($(objpfx)noload-mem): Likewise.
31026         ($(objpfx)tst-leaks1-mem): Likewise.
31027         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
31028         * iconv/Makefile (xtests-special): Change test-iconvconfig to
31029         $(objpfx)test-iconvconfig.out.
31030         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
31031         set -e inside subshell and redirect output to file.
31032         * iconvdata/Makefile (generated): Rename tests to end with .out.
31033         Correct type.
31034         (tests-special): Rename tests to end with .out.
31035         ($(objpfx)mtrace-tst-loading): Likewise.
31036         * intl/Makefile (generated): Likewise.
31037         (tests-special): Likewise.
31038         ($(objpfx)mtrace-tst-gettext): Likewise.
31039         * misc/Makefile (generated): Likewise.
31040         (tests-special): Likewise.
31041         ($(objpfx)tst-error1-mem): Likewise.
31042         * nptl/Makefile (tests-special): Likewise.
31043         ($(objpfx)tst-stack3-mem): Likewise.
31044         (generated): Likewise.
31045         * posix/Makefile (generated): Likewise.
31046         (tests-special): Likewise.
31047         (xtests-special): Likewise.
31048         ($(objpfx)tst-fnmatch-mem): Likewise.
31049         ($(objpfx)bug-regex2-mem): Likewise.
31050         ($(objpfx)bug-regex14-mem): Likewise.
31051         ($(objpfx)bug-regex21-mem): Likewise.
31052         ($(objpfx)bug-regex31-mem): Likewise.
31053         ($(objpfx)tst-vfork3-mem): Likewise.
31054         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
31055         ($(objpfx)tst-pcre-mem): Likewise.
31056         ($(objpfx)tst-boost-mem): Likewise.
31057         ($(objpfx)bug-ga2-mem): Likewise.
31058         ($(objpfx)bug-glob2-mem): Likewise.
31059         * resolv/Makefile (generate): Likewise.
31060         (tests-special): Likewise.
31061         (xtests-special): Likewise.
31062         (generated): Likewise.
31063         ($(objpfx)mtrace-tst-leaks): Likewise.
31064         ($(objpfx)mtrace-tst-leaks2): Likewise.
31066         * scripts/merge-test-results.sh: New file.
31067         * Makefile (tests-special-notdir): New variable.
31068         (tests): Run merge-test-results.sh.
31069         (xtests): Likewise.
31070         * Rules (tests-special-notdir): New variable.
31071         (xtests-special-notdir): Likewise.
31072         (tests): Run merge-test-results.sh
31073         (xtests): Likewise.
31075         * Makeconfig (test-xfail-name): New variable.
31076         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
31077         compute variable name for expected failures.
31078         * conform/Makefile (conformtest-headers-data): New variable.
31079         (conformtest-standards): Likewise.
31080         (conformtest-headers-ISO): Likewise.
31081         (conformtest-headers-ISO99): Likewise.
31082         (conformtest-headers-ISO11): Likewise.
31083         (conformtest-headers-POSIX): Likewise.
31084         (conformtest-headers-XPG3): Likewise.
31085         (conformtest-headers-XPG4): Likewise.
31086         (conformtest-headers-UNIX98): Likewise.
31087         (conformtest-headers-XOPEN2K): Likewise.
31088         (conformtest-headers-POSIX2008): Likewise.
31089         (conformtest-headers-XOPEN2K8): Likewise.
31090         (conformtest-header-list-base): Likewise.
31091         (conformtest-header-list-tests): Likewise.
31092         (conformtest-header-base): Likewise.
31093         (conformtest-header-tests): Likewise.
31094         (tests-special): Add $(conformtest-header-list-tests).  If
31095         [$(fast-check) && !$(cross-compiling)], add
31096         $(conformtest-header-tests) instead of
31097         $(objpfx)run-conformtest.out.
31098         (generated): Add $(conformtest-header-list-base).  If
31099         [$(fast-check) && !$(cross-compiling)], add
31100         $(conformtest-header-base).  Remove previous setting.
31101         ($(conformtest-header-list-tests)): New target.
31102         (test-xfail-run-conformtest): Remove variable.
31103         ($(objpfx)run-conformtest.out): Remove target.
31104         (test-xfail-ISO11/complex.h/conform): New variable.
31105         (test-xfail-ISO11/stdalign.h/conform): Likewise.
31106         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
31107         (test-xfail-XPG3/varargs.h/conform): Likewise.
31108         (test-xfail-XPG4/varargs.h/conform): Likewise.
31109         (test-xfail-UNIX98/varargs.h/conform): Likewise.
31110         (test-xfail-XPG4/ndbm.h/conform): Likewise.
31111         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
31112         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
31113         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
31114         (test-xfail-XPG3/fcntl.h/conform): Likewise.
31115         (test-xfail-XPG3/ftw.h/conform): Likewise.
31116         (test-xfail-XPG3/grp.h/conform): Likewise.
31117         (test-xfail-XPG3/langinfo.h/conform): Likewise.
31118         (test-xfail-XPG3/limits.h/conform): Likewise.
31119         (test-xfail-XPG3/pwd.h/conform): Likewise.
31120         (test-xfail-XPG3/search.h/conform): Likewise.
31121         (test-xfail-XPG3/signal.h/conform): Likewise.
31122         (test-xfail-XPG3/stdio.h/conform): Likewise.
31123         (test-xfail-XPG3/stdlib.h/conform): Likewise.
31124         (test-xfail-XPG3/string.h/conform): Likewise.
31125         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
31126         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
31127         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
31128         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
31129         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
31130         (test-xfail-XPG3/sys/types.h/conform): Likewise.
31131         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
31132         (test-xfail-XPG3/termios.h/conform): Likewise.
31133         (test-xfail-XPG3/time.h/conform): Likewise.
31134         (test-xfail-XPG3/unistd.h/conform): Likewise.
31135         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
31136         (test-xfail-XPG4/fcntl.h/conform): Likewise.
31137         (test-xfail-XPG4/langinfo.h/conform): Likewise.
31138         (test-xfail-XPG4/netdb.h/conform): Likewise.
31139         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
31140         (test-xfail-XPG4/signal.h/conform): Likewise.
31141         (test-xfail-XPG4/stdio.h/conform): Likewise.
31142         (test-xfail-XPG4/stdlib.h/conform): Likewise.
31143         (test-xfail-XPG4/stropts.h/conform): Likewise.
31144         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
31145         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
31146         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
31147         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
31148         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
31149         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
31150         (test-xfail-XPG4/sys/time.h/conform): Likewise.
31151         (test-xfail-XPG4/sys/types.h/conform): Likewise.
31152         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
31153         (test-xfail-XPG4/termios.h/conform): Likewise.
31154         (test-xfail-XPG4/ucontext.h/conform): Likewise.
31155         (test-xfail-XPG4/unistd.h/conform): Likewise.
31156         (test-xfail-XPG4/utmpx.h/conform): Likewise.
31157         (test-xfail-POSIX/sched.h/conform): Likewise.
31158         (test-xfail-POSIX/signal.h/conform): Likewise.
31159         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
31160         (test-xfail-POSIX/tar.h/conform): Likewise.
31161         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
31162         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
31163         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
31164         (test-xfail-UNIX98/netdb.h/conform): Likewise.
31165         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
31166         (test-xfail-UNIX98/sched.h/conform): Likewise.
31167         (test-xfail-UNIX98/signal.h/conform): Likewise.
31168         (test-xfail-UNIX98/stdio.h/conform): Likewise.
31169         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
31170         (test-xfail-UNIX98/stropts.h/conform): Likewise.
31171         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
31172         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
31173         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
31174         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
31175         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
31176         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
31177         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
31178         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
31179         (test-xfail-UNIX98/unistd.h/conform): Likewise.
31180         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
31181         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
31182         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
31183         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
31184         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
31185         (test-xfail-XOPEN2K/math.h/conform): Likewise.
31186         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
31187         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
31188         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
31189         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
31190         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
31191         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
31192         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
31193         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
31194         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
31195         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
31196         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
31197         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
31198         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
31199         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
31200         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
31201         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
31202         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
31203         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
31204         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
31205         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
31206         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
31207         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
31208         (test-xfail-POSIX2008/signal.h/conform): Likewise.
31209         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
31210         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
31211         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
31212         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
31213         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
31214         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
31215         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
31216         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
31217         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
31218         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
31219         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
31220         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
31221         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
31222         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
31223         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
31224         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
31225         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
31226         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
31227         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
31228         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
31229         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
31230         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
31231         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
31232         (conformtest-cc-flags): Likewise.
31233         ($(conformtest-header-tests): New target.
31234         * conform/check-header-lists.sh: New file.
31235         * conform/run-conformtest.sh: Remove.
31237         * conform/conformtest.pl: Allow ' and \ in values given for
31238         constants.
31239         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
31240         inclusion.
31241         [POSIX] (sys/types.h): Likewise.
31242         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
31243         inclusion.
31244         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
31245         inclusion.
31246         * conform/data/signal.h-data (SIGIO): Remove expectation.
31247         [XPG3] (SIGBUS): Do not expect.
31248         [POSIX || XPG3] (SIGPOLL): Likewise.
31249         [POSIX || XPG3] (SIGPROF): Likewise.
31250         [POSIX || XPG3] (SIGSYS): Likewise.
31251         [XPG3] (SIGTRAP): Likewise.
31252         [POSIX || XPG3] (SIGURG): Likewise.
31253         [POSIX || XPG3] (SIGVTALRM): Likewise.
31254         [POSIX || XPG3] (SIGXCPU): Likewise.
31255         [POSIX || XPG3] (SIGXFSZ): Likewise.
31256         [POSIX] (SA_SIGINFO): Expect.
31257         [XPG3] (siginfo_t): Do not expect type or contents.
31258         [POSIX] (si_pid): Do not expect element.
31259         [POSIX] (si_uid): Likewise.
31260         [POSIX] (si_addr): Likewise.
31261         [POSIX] (si_status): Likewise.
31262         [POSIX] (si_band): Likewise.
31263         [XPG4] (si_value): Likewise.
31264         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
31265         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
31266         [POSIX || XPG3] (ILL_ILLADR): Likewise.
31267         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
31268         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
31269         [POSIX || XPG3] (ILL_PRVREG): Likewise.
31270         [POSIX || XPG3] (ILL_COPROC): Likewise.
31271         [POSIX || XPG3] (ILL_BADSTK): Likewise.
31272         [POSIX || XPG3] (FPE_INTDIV): Likewise.
31273         [POSIX || XPG3] (FPE_INTOVF): Likewise.
31274         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
31275         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
31276         [POSIX || XPG3] (FPE_FLTUND): Likewise.
31277         [POSIX || XPG3] (FPE_FLTRES): Likewise.
31278         [POSIX || XPG3] (FPE_FLTINV): Likewise.
31279         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
31280         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
31281         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
31282         [POSIX || XPG3] (BUS_ADRALN): Likewise.
31283         [POSIX || XPG3] (BUS_ADRERR): Likewise.
31284         [POSIX || XPG3] (BUS_OBJERR): Likewise.
31285         [POSIX || XPG3] (CLD_EXITED): Likewise.
31286         [POSIX || XPG3] (CLD_KILLED): Likewise.
31287         [POSIX || XPG3] (CLD_DUMPED): Likewise.
31288         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
31289         [POSIX || XPG3] (CLD_STOPPED): Likewise.
31290         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
31291         [POSIX || XPG3] (POLL_IN): Likewise.
31292         [POSIX || XPG3] (POLL_OUT): Likewise.
31293         [POSIX || XPG3] (POLL_MSG): Likewise.
31294         [POSIX || XPG3] (POLL_ERR): Likewise.
31295         [POSIX || XPG3] (POLL_PRI): Likewise.
31296         [POSIX || XPG3] (POLL_HUP): Likewise.
31297         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
31298         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
31299         (SIG*): Do not allow.
31300         [XPG3] (si_*): Likewise.
31301         [XPG3] (SI_*): Likewise.
31302         [XPG3 || XPG4] (sigev_*): Likewise.
31303         [XPG3 || XPG4] (SIGEV_*): Likewise.
31304         [XPG3 || XPG4] (sival_*): Likewise.
31305         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
31306         [POSIX || XPG3] (BUS_*): Likewise.
31307         [POSIX || XPG3] (CLD_*): Likewise.
31308         [POSIX || XPG3] (FPE_*): Likewise.
31309         [POSIX || XPG3] (ILL_*): Likewise.
31310         [POSIX || XPG3] (POLL_*): Likewise.
31311         [POSIX || XPG3] (SEGV_*): Likewise.
31312         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
31313         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
31314         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
31315         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
31316         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
31317         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
31318         Specify type and value.
31319         (TVERSLEN): Likewise.
31320         (REGTYPE): Likewise.
31321         (AREGTYPE): Likewise.
31322         (LNKTYPE): Likewise.
31323         (SYMTYPE): Likewise.
31324         (CHRTYPE): Likewise.
31325         (BLKTYPE): Likewise.
31326         (DIRTYPE): Likewise.
31327         (FIFOTYPE): Likewise.
31328         (CONTTYPE): Likewise.
31329         (TSUID): Likewise.
31330         (TSGID): Likewise.
31331         (TSVTX): Likewise.
31332         (TUREAD): Likewise.
31333         (TUWRITE): Likewise.
31334         (TUEXEC): Likewise.
31335         (TGREAD): Likewise.
31336         (TGWRITE): Likewise.
31337         (TGEXEC): Likewise.
31338         (TOREAD): Likewise.
31339         (TOWRITE): Likewise.
31340         (TOEXEC): Likewise.
31341         [POSIX] (TSVTX): Expect constant.
31343 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
31345         * Makefile (tests): Change dependencies to ....
31346         (tests-special): ... additions to this variable.
31347         (tests): Depend on $(tests-special).
31348         * Makerules (check-abi-list): New variable.
31349         (check-abi): Depend on $(check-abi-list).
31350         [$(subdir) = elf] (tests-special): Add
31351         $(objpfx)check-abi-libc.out.
31352         [$(build-shared) = yes && subdir] (tests-special): Add
31353         $(check-abi-list).
31354         [$(build-shared) = yes && subdir] (tests): Do not depend on
31355         check-abi.
31356         * Rules (tests): Depend on $(tests-special).
31357         (xtests): Depend on $(xtests-special).
31358         * catgets/Makefile (tests): Change dependencies to ....
31359         (tests-special): ... additions to this variable.
31360         * conform/Makefile (tests): Change dependencies to ....
31361         (tests-special): ... additions to this variable.
31362         * elf/Makefile (tests): Change dependencies to ....
31363         (tests-special): ... additions to this variable.
31364         * grp/Makefile (tests): Change dependencies to ....
31365         (tests-special): ... additions to this variable.
31366         * iconv/Makefile (xtests): Change dependencies to ....
31367         (xtests-special): ... additions to this variable.
31368         * iconvdata/Makefile (tests): Change dependencies to ....
31369         (tests-special): ... additions to this variable.
31370         * intl/Makefile (tests): Change dependencies to ....
31371         (tests-special): ... additions to this variable.  Also add
31372         $(objpfx)tst-gettext.out.
31373         * io/Makefile (tests): Change dependencies to ....
31374         (tests-special): ... additions to this variable.
31375         * libio/Makefile (tests): Change dependencies to ....
31376         (tests-special): ... additions to this variable.
31377         * malloc/Makefile (tests): Change dependencies to ....
31378         (tests-special): ... additions to this variable.
31379         * misc/Makefile (tests): Change dependencies to ....
31380         (tests-special): ... additions to this variable.
31381         * nptl/Makefile (tests): Change dependencies to ....
31382         (tests-special): ... additions to this variable.
31383         * nptl_db/Makefile (tests): Change dependencies to ....
31384         (tests-special): ... additions to this variable.
31385         * posix/Makefile (tests): Change dependencies to ....
31386         (tests-special): ... additions to this variable.
31387         (xtests): Change dependencies to ....
31388         (xtests-special): ... additions to this variable.
31389         * resolv/Makefile (tests): Change dependencies to ....
31390         (tests-special): ... additions to this variable.
31391         (xtests): Change dependencies to ....
31392         (xtests-special): ... additions to this variable.
31393         * stdio-common/Makefile (tests): Change dependencies to ....
31394         (tests-special): ... additions to this variable.
31395         (do-tst-unbputc): Remove target.
31396         (do-tst-printf): Likewise.
31397         * stdlib/Makefile (tests): Change dependencies to ....
31398         (tests-special): ... additions to this variable.
31399         * string/Makefile (tests): Change dependencies to ....
31400         (tests-special): ... additions to this variable.
31401         * sysdeps/x86/Makefile (tests): Change dependencies to ....
31402         (tests-special): ... additions to this variable.
31404         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
31405         whole file.
31406         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
31407         whole file.
31408         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
31409         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
31411         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
31412         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
31413         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
31414         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
31415         * conform/data/libgen.h-data [XPG3]: Likewise.
31416         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
31417         * conform/data/ndbm.h-data [XPG3]: Likewise.
31418         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
31419         * conform/data/netdb.h-data [XPG3]: Likewise.
31420         * conform/data/netinet/in.h-data [XPG3]: Likewise.
31421         * conform/data/poll.h-data [XPG3]: Likewise.
31422         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
31423         * conform/data/strings.h-data [XPG3]: Likewise.
31424         * conform/data/stropts.h-data [XPG3]: Likewise.
31425         * conform/data/sys/mman.h-data [XPG3]: Likewise.
31426         * conform/data/sys/resource.h-data [XPG3]: Likewise.
31427         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
31428         Likewise.
31429         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
31430         * conform/data/sys/time.h-data [XPG3]: Likewise.
31431         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
31432         * conform/data/sys/uio.h-data [XPG3]: Likewise.
31433         * conform/data/sys/un.h-data [XPG3]: Likewise.
31434         * conform/data/syslog.h-data [XPG3]: Likewise.
31435         * conform/data/ucontext.h-data [XPG3]: Likewise.
31436         * conform/data/utmpx.h-data [XPG3]: Likewise.
31437         * conform/data/varargs.h-data [UNIX98]: Enable file.
31439         * manual/Makefile (INSTALL_INFO): Remove variable setting.
31441         * math/libm-test.inc (struct test_f_f_data): Move expected results
31442         into structure for each rounding mode.
31443         (struct test_ff_f_data): Likewise.
31444         (struct test_ff_f_data_nexttoward): Likewise.
31445         (struct test_fi_f_data): Likewise.
31446         (struct test_fl_f_data): Likewise.
31447         (struct test_if_f_data): Likewise.
31448         (struct test_fff_f_data): Likewise.
31449         (struct test_c_f_data): Likewise.
31450         (struct test_f_f1_data): Likewise.
31451         (struct test_fF_f1_data): Likewise.
31452         (struct test_ffI_f1_data): Likewise.
31453         (struct test_c_c_data): Likewise.
31454         (struct test_cc_c_data): Likewise.
31455         (struct test_f_i_data): Likewise.
31456         (struct test_ff_i_data): Likewise.
31457         (struct test_f_l_data): Likewise.
31458         (struct test_f_L_data): Likewise.
31459         (struct test_fFF_11_data): Likewise.
31460         (RM_): New macro.
31461         (RM_FE_DOWNWARD): Likewise.
31462         (RM_FE_TONEAREST): Likewise.
31463         (RM_FE_TOWARDZERO): Likewise.
31464         (RM_FE_UPWARD): Likewise.
31465         (RUN_TEST_LOOP_f_f): Update references to expected results.
31466         (RUN_TEST_LOOP_2_f): Likewise.
31467         (RUN_TEST_LOOP_fff_f): Likewise.
31468         (RUN_TEST_LOOP_c_f): Likewise.
31469         (RUN_TEST_LOOP_f_f1): Likewise.
31470         (RUN_TEST_LOOP_fF_f1): Likewise.
31471         (RUN_TEST_LOOP_fI_f1): Likewise.
31472         (RUN_TEST_LOOP_ffI_f1): Likewise.
31473         (RUN_TEST_LOOP_c_c): Likewise.
31474         (RUN_TEST_LOOP_cc_c): Likewise.
31475         (RUN_TEST_LOOP_f_i): Likewise.
31476         (RUN_TEST_LOOP_f_i_tg): Likewise.
31477         (RUN_TEST_LOOP_ff_i_tg): Likewise.
31478         (RUN_TEST_LOOP_f_b): Likewise.
31479         (RUN_TEST_LOOP_f_b_tg): Likewise.
31480         (RUN_TEST_LOOP_f_l): Likewise.
31481         (RUN_TEST_LOOP_f_L): Likewise.
31482         (RUN_TEST_LOOP_fFF_11): Likewise.
31483         * math/gen-libm-test.pl (parse_args): Output four copies of
31484         expected results for each test.
31486         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
31487         (__ASSUME_UTIMES): Remove.
31488         * sysdeps/unix/sysv/linux/tile/kernel-features.h
31489         (__ASSUME_UTIMES): Likewise.
31491         * math/gen-auto-libm-tests.c: Update comment on output format.
31492         (output_for_one_input_case): Generate before-rounding and
31493         after-rounding information as conditions on output flags not
31494         floating-point format.
31495         * math/auto-libm-test-out: Regenerated.
31496         * math/gen-libm-test.pl (cond_value): New function.
31497         (or_cond_value): Use cond_value.
31498         (generate_testfile): Handle conditional exceptions.
31500 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
31502         * math/libm-test.inc (max_valid_error): New variable.
31503         (init_max_error): Take new argument specifying whether function
31504         results are exactly determined.  Set max_valid_error and bound
31505         other variables for errors based on this argument.
31506         (set_max_error): Do not record results above max_valid_error.
31507         (check_float_internal): Only accept errors of up to 0.5ulps if
31508         also at most max_valid_error.
31509         (START): Take new argument EXACT and pass it to init_max_error.
31510         (acos_test): Update call to START.
31511         (acos_test_tonearest): Likewise.
31512         (acos_test_towardzero): Likewise.
31513         (acos_test_downward): Likewise.
31514         (acos_test_upward): Likewise.
31515         (acosh_test): Likewise.
31516         (asin_test): Likewise.
31517         (asin_test_tonearest): Likewise.
31518         (asin_test_towardzero): Likewise.
31519         (asin_test_downward): Likewise.
31520         (asin_test_upward): Likewise.
31521         (asinh_test): Likewise.
31522         (atan_test): Likewise.
31523         (atanh_test): Likewise.
31524         (atan2_test): Likewise.
31525         (cabs_test): Likewise.
31526         (cacos_test): Likewise.
31527         (cacosh_test): Likewise.
31528         (carg_test): Likewise.
31529         (casin_test): Likewise.
31530         (casinh_test): Likewise.
31531         (catan_test): Likewise.
31532         (catanh_test): Likewise.
31533         (cbrt_test): Likewise.
31534         (ccos_test): Likewise.
31535         (ccosh_test): Likewise.
31536         (ceil_test): Likewise.
31537         (cexp_test): Likewise.
31538         (cimag_test): Likewise.
31539         (clog_test): Likewise.
31540         (clog10_test): Likewise.
31541         (conj_test): Likewise.
31542         (copysign_test): Likewise.
31543         (cos_test): Likewise.
31544         (cos_test_tonearest): Likewise.
31545         (cos_test_towardzero): Likewise.
31546         (cos_test_downward): Likewise.
31547         (cos_test_upward): Likewise.
31548         (cosh_test): Likewise.
31549         (cosh_test_tonearest): Likewise.
31550         (cosh_test_towardzero): Likewise.
31551         (cosh_test_downward): Likewise.
31552         (cosh_test_upward): Likewise.
31553         (cpow_test): Likewise.
31554         (cproj_test): Likewise.
31555         (creal_test): Likewise.
31556         (csin_test): Likewise.
31557         (csinh_test): Likewise.
31558         (csqrt_test): Likewise.
31559         (ctan_test): Likewise.
31560         (ctan_test_tonearest): Likewise.
31561         (ctan_test_towardzero): Likewise.
31562         (ctan_test_downward): Likewise.
31563         (ctan_test_upward): Likewise.
31564         (ctanh_test): Likewise.
31565         (ctanh_test_tonearest): Likewise.
31566         (ctanh_test_towardzero): Likewise.
31567         (ctanh_test_downward): Likewise.
31568         (ctanh_test_upward): Likewise.
31569         (erf_test): Likewise.
31570         (erfc_test): Likewise.
31571         (exp_test): Likewise.
31572         (exp_test_tonearest): Likewise.
31573         (exp_test_towardzero): Likewise.
31574         (exp_test_downward): Likewise.
31575         (exp_test_upward): Likewise.
31576         (exp10_test): Likewise.
31577         (exp10_test_tonearest): Likewise.
31578         (exp10_test_towardzero): Likewise.
31579         (exp10_test_downward): Likewise.
31580         (exp10_test_upward): Likewise.
31581         (pow10_test): Likewise.
31582         (exp2_test): Likewise.
31583         (expm1_test): Likewise.
31584         (expm1_test_tonearest): Likewise.
31585         (expm1_test_towardzero): Likewise.
31586         (expm1_test_downward): Likewise.
31587         (expm1_test_upward): Likewise.
31588         (fabs_test): Likewise.
31589         (fdim_test): Likewise.
31590         (floor_test): Likewise.
31591         (fma_test): Likewise.
31592         (fma_test_towardzero): Likewise.
31593         (fma_test_downward): Likewise.
31594         (fma_test_upward): Likewise.
31595         (fmax_test): Likewise.
31596         (fmin_test): Likewise.
31597         (fmod_test): Likewise.
31598         (fpclassify_test): Likewise.
31599         (frexp_test): Likewise.
31600         (hypot_test): Likewise.
31601         (ilogb_test): Likewise.
31602         (isfinite_test): Likewise.
31603         (finite_test): Likewise.
31604         (isgreater_test): Likewise.
31605         (isgreaterequal_test): Likewise.
31606         (isinf_test): Likewise.
31607         (isless_test): Likewise.
31608         (islessequal_test): Likewise.
31609         (islessgreater_test): Likewise.
31610         (isnan_test): Likewise.
31611         (isnormal_test): Likewise.
31612         (issignaling_test): Likewise.
31613         (isunordered_test): Likewise.
31614         (j0_test): Likewise.
31615         (j1_test): Likewise.
31616         (jn_test): Likewise.
31617         (ldexp_test): Likewise.
31618         (lgamma_test): Likewise.
31619         (gamma_test): Likewise.
31620         (lrint_test): Likewise.
31621         (lrint_test_tonearest): Likewise.
31622         (lrint_test_towardzero): Likewise.
31623         (lrint_test_downward): Likewise.
31624         (lrint_test_upward): Likewise.
31625         (llrint_test): Likewise.
31626         (llrint_test_tonearest): Likewise.
31627         (llrint_test_towardzero): Likewise.
31628         (llrint_test_downward): Likewise.
31629         (llrint_test_upward): Likewise.
31630         (log_test): Likewise.
31631         (log10_test): Likewise.
31632         (log1p_test): Likewise.
31633         (log2_test): Likewise.
31634         (logb_test): Likewise.
31635         (logb_test_downward): Likewise.
31636         (lround_test): Likewise.
31637         (llround_test): Likewise.
31638         (modf_test): Likewise.
31639         (nearbyint_test): Likewise.
31640         (nextafter_test): Likewise.
31641         (nexttoward_test): Likewise.
31642         (pow_test): Likewise.
31643         (pow_test_tonearest): Likewise.
31644         (pow_test_towardzero): Likewise.
31645         (pow_test_downward): Likewise.
31646         (pow_test_upward): Likewise.
31647         (remainder_test): Likewise.
31648         (drem_test): Likewise.
31649         (remainder_test_tonearest): Likewise.
31650         (drem_test_tonearest): Likewise.
31651         (remainder_test_towardzero): Likewise.
31652         (drem_test_towardzero): Likewise.
31653         (remainder_test_downward): Likewise.
31654         (drem_test_downward): Likewise.
31655         (remainder_test_upward): Likewise.
31656         (drem_test_upward): Likewise.
31657         (remquo_test): Likewise.
31658         (rint_test): Likewise.
31659         (rint_test_tonearest): Likewise.
31660         (rint_test_towardzero): Likewise.
31661         (rint_test_downward): Likewise.
31662         (rint_test_upward): Likewise.
31663         (round_test): Likewise.
31664         (scalb_test): Likewise.
31665         (scalbn_test): Likewise.
31666         (scalbln_test): Likewise.
31667         (signbit_test): Likewise.
31668         (sin_test): Likewise.
31669         (sin_test_tonearest): Likewise.
31670         (sin_test_towardzero): Likewise.
31671         (sin_test_downward): Likewise.
31672         (sin_test_upward): Likewise.
31673         (sincos_test): Likewise.
31674         (sinh_test): Likewise.
31675         (sinh_test_tonearest): Likewise.
31676         (sinh_test_towardzero): Likewise.
31677         (sinh_test_downward): Likewise.
31678         (sinh_test_upward): Likewise.
31679         (sqrt_test): Likewise.
31680         (sqrt_test_tonearest): Likewise.
31681         (sqrt_test_towardzero): Likewise.
31682         (sqrt_test_downward): Likewise.
31683         (sqrt_test_upward): Likewise.
31684         (tan_test): Likewise.
31685         (tan_test_tonearest): Likewise.
31686         (tan_test_towardzero): Likewise.
31687         (tan_test_downward): Likewise.
31688         (tan_test_upward): Likewise.
31689         (tanh_test): Likewise.
31690         (tgamma_test): Likewise.
31691         (trunc_test): Likewise.
31692         (y0_test): Likewise.
31693         (y1_test): Likewise.
31694         (yn_test): Likewise.
31695         (significand_test): Likewise.
31697         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
31698         individual tests in comment.
31699         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
31700         (prev_max_error): New variable.
31701         (prev_real_max_error): Likewise.
31702         (prev_imag_max_error): Likewise.
31703         (compare_ulp_data): Don't refer to test names in comment.
31704         (find_test_ulps): Remove function.
31705         (find_function_ulps): Likewise.
31706         (find_complex_function_ulps): Likewise.
31707         (init_max_error): Take function name as argument.  Look up ulps
31708         for that function.
31709         (print_ulps): Remove function.
31710         (print_max_error): Use prev_max_error instead of calling
31711         find_function_ulps.
31712         (print_complex_max_error): Use prev_real_max_error and
31713         prev_imag_max_error instead of calling find_complex_function_ulps.
31714         (check_float_internal): Take max_ulp parameter instead of calling
31715         find_test_ulps.  Don't call print_ulps.
31716         (check_float): Update call to check_float_internal.
31717         (check_complex): Update calls to check_float_internal.
31718         (START): Pass argument to init_max_error.
31719         * math/gen-libm-test.pl (%results): Don't include "kind"
31720         information.
31721         (parse_ulps): Don't handle ulps of individual tests.
31722         (print_ulps_file): Likewise.
31723         (output_ulps): Likewise.
31724         * math/README.libm-test: Update.
31725         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
31726         individual tests.
31727         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
31728         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
31729         * sysdeps/arm/libm-test-ulps: Likewise.
31730         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
31731         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
31732         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
31733         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
31734         * sysdeps/microblaze/libm-test-ulps: Likewise.
31735         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
31736         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
31737         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31738         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
31739         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
31740         * sysdeps/sh/libm-test-ulps: Likewise.
31741         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
31742         * sysdeps/tile/libm-test-ulps: Likewise.
31743         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31745 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
31747         * math/libm-test.inc (print_complex_max_error): Check separately
31748         whether real and imaginary errors are within allowed range and
31749         pass 0 to print_complex_function_ulps instead of value within
31750         allowed range.
31752 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
31754         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
31755         formatting.
31756         (get_handles_fopen): Likewise.
31757         (do_write_test): Likewise.
31759         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
31761         * libio/fileops.c (do_ftell): Use cached offset when
31762         available.
31763         * libio/iofwide.c (do_ftell_wide): Likewise.
31764         * libio/iofdopen.c (_IO_new_fdopen): Don't use
31765         _IO_file_attach.
31766         * libio/wfileops.c (_IO_fwide): Don't cache offset.
31768         [BZ #16532]
31769         * libio/libioP.h (get_file_offset): New function.
31770         * libio/fileops.c (get_file_offset): Likewise.
31771         (do_ftell): Likewise.
31772         (_IO_new_file_seekoff): Split out ftell logic.
31773         * libio/wfileops.c (do_ftell_wide): Likewise.
31774         (_IO_wfile_seekoff): Split out ftell logic.
31775         * libio/tst-ftell-active-handler.c: New test case.
31776         * libio/Makefile (tests): Add it.
31778 2014-03-03  Roland McGrath  <roland@hack.frob.com>
31780         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
31781         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
31783 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
31785         [BZ #16639]
31786         * nscd/connections.c (nscd_init): Call do_exit.
31787         (start_threads): Call do_exit and notify_parent.
31788         (begin_drop_privileges): Call do_exit.
31789         (finish_drop_privileges): Likewise.
31790         * nscd/selinux.c (preserve_capabilities): Likewise.
31791         (install_real_capabilities): Likewise.
31792         (nscd_selinux_enabled): Likewise.
31793         (avc_create_thread): Likewise.
31794         (avc_alloc_lock): Likewise.
31795         (nscd_avc_init): Likewise.
31796         * nscd/nscd.c (parent_fd): New static variable.
31797         (main): Create a pipe between parent and child processes.
31798         Skip closing parent_fd.
31799         (monitor_child): New function.
31800         (do_exit): Likewise.
31801         (notify_parent): Likewise.
31802         * nscd/nscd.h (notify_parent): Likewise.
31803         (do_exit): Likewise.
31805 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
31807         * malloc/malloc.c (__libc_calloc): Revert last change.
31809 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31811         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31813 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
31815         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
31816         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
31817         implementation.
31818         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
31819         (__libc_ifunc_impl_list): Likewise.
31820         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
31821         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
31822         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
31823         * string/strrchr.c: Define STRRCHR.
31825 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
31827         * benchtest/bench-strtok.c (simple_strtok): Delete.
31828         (strtok_string): Use as benchmark.
31829         * string/strtok (STRTOK): New macro.
31831 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
31833         * manual/threads.texi: Add header and standard comments to all
31834         functions.
31836         * elf/dl-lookup.c (check_match): New function.
31837         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
31838         (do_lookup_x): Remove nested function check_match. Use non-nested
31839         function check_match.
31841 2014-02-28  Roland McGrath  <roland@hack.frob.com>
31843         * csu/Makefile (generated, before-compile): Use += rather than =.
31844         * catgets/Makefile (generated, generated-dirs): Likewise.
31845         * debug/Makefile (generated): Likewise.
31846         * dlfcn/Makefile (generated): Likewise.
31847         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
31848         * iconvdata/Makefile (before-compile, generated): Likewise.
31849         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
31850         * libio/Makefile (generated): Likewise.
31851         * malloc/Makefile (generated): Likewise.
31852         * manual/Makefile (generated, generated-dirs): Likewise.
31853         * misc/Makefile (generated): Likewise.
31854         * posix/Makefile (generated): Likewise.
31855         * resolv/Makefile (generated): Likewise.
31856         * sunrpc/Makefile (generated, generated-dirs): Likewise.
31857         * timezone/Makefile (generated, generated-dirs): Likewise.
31859         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
31861 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31863         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
31864         power8 implementation.
31865         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
31866         file: POWER8 llround ifunc implementation.
31867         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
31868         (__lllround): Add POWER8 implementation.
31869         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
31870         POWER8 llround implementation.
31872         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
31873         power8 implementation.
31874         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
31875         file: POWER8 llrint ifunc implementation.
31876         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
31877         Add POWER8 implementation.
31878         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
31879         POWER8 llrint implementation.
31881         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
31882         power8 implementation.
31883         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
31884         file: POWER8 finite ifunc implementation.
31885         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
31886         Add POWER8 implementation.
31887         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
31888         Likewise.
31889         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
31890         POWER8 finite implementation.
31891         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
31893         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
31894         power8 implementation.
31895         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
31896         file: POWER8 isinf ifunc implementation.
31897         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
31898         POWER8 implementation.
31899         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
31900         Likewise.
31901         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
31902         isinf implementation.
31903         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
31905         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
31906         (INIT_ARCH): Add hwcap2 initialization.
31907         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
31908         power8 implementation.
31909         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
31910         file: POWER8 isnan ifunc implementation.
31911         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
31912         POWER8 implementation.
31913         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
31914         Likewise.
31915         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
31916         isnan implementation.
31917         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
31919 2014-02-27  Joey Ye  <joey.ye@arm.com>
31921         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
31922         (_FP_NANFRAC_Q): Set to zero.
31924 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
31926         [BZ #16623]
31927         * math/auto-libm-test-in: New test inputs.
31928         * math/auto-libm-test-out: Regenerate.
31929         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
31930         and DA.
31931         (__cos): Likewise.
31932         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
31934 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
31936         * scripts/evaluate-test.sh: Take new argument indicating whether
31937         failure is expected.
31938         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
31939         indicating whether failure is expected.
31940         * conform/Makefile (test-xfail-run-conformtest): New variable.
31941         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
31942         level.
31943         * posix/Makefile (test-xfail-annexc): New variable.
31944         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
31946 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
31948         * argp/Makefile: Include Makeconfig immediately after defining
31949         subdir.
31950         * assert/Makefile: Likewise.
31951         * benchtests/Makefile: Likewise.
31952         * catgets/Makefile: Likewise.
31953         * conform/Makefile: Likewise.
31954         * crypt/Makefile: Likewise.
31955         * csu/Makefile: Likewise.
31956         (all): Remove target.
31957         * ctype/Makefile: Include Makeconfig immediately after defining
31958         subdir.
31959         * debug/Makefile: Likewise.
31960         * dirent/Makefile: Likewise.
31961         * dlfcn/Makefile: Likewise.
31962         * gmon/Makefile: Likewise.
31963         * gnulib/Makefile: Likewise.
31964         * grp/Makefile: Likewise.
31965         * gshadow/Makefile: Likewise.
31966         * hesiod/Makefile: Likewise.
31967         * hurd/Makefile: Likewise.
31968         (all): Remove target.
31969         * iconvdata/Makefile: Include Makeconfig immediately after
31970         defining subdir.
31971         * inet/Makefile: Likewise.
31972         * intl/Makefile: Likewise.
31973         * io/Makefile: Likewise.
31974         * libio/Makefile: Likewise.
31975         (all): Remove target.
31976         * locale/Makefile: Include Makeconfig immediately after defining
31977         subdir.
31978         * login/Makefile: Likewise.
31979         * mach/Makefile: Likewise.
31980         (all): Remove target.
31981         * malloc/Makefile: Include Makeconfig immediately after defining
31982         subdir.
31983         (all): Remove target.
31984         * manual/Makefile: Include Makeconfig immediately after defining
31985         subdir.
31986         * math/Makefile: Likewise.
31987         * misc/Makefile: Likewise.
31988         * nis/Makefile: Likewise.
31989         * nss/Makefile: Likewise.
31990         * po/Makefile: Likewise.
31991         (all): Remove target.
31992         * posix/Makefile: Include Makeconfig immediately after defining
31993         subdir.
31994         * pwd/Makefile: Likewise.
31995         * resolv/Makefile: Likewise.
31996         * resource/Makefile: Likewise.
31997         * rt/Makefile: Likewise.
31998         * setjmp/Makefile: Likewise.
31999         * shadow/Makefile: Likewise.
32000         * signal/Makefile: Likewise.
32001         * socket/Makefile: Likewise.
32002         * soft-fp/Makefile: Likewise.
32003         * stdio-common/Makefile: Likewise.
32004         * stdlib/Makefile: Likewise.
32005         * streams/Makefile: Likewise.
32006         * string/Makefile: Likewise.
32007         * sunrpc/Makefile: Likewise.
32008         (all): Remove target.
32009         * sysvipc/Makefile: Include Makeconfig immediately after defining
32010         subdir.
32011         * termios/Makefile: Likewise.
32012         * time/Makefile: Likewise.
32013         * timezone/Makefile: Likewise.
32014         (all): Remove target.
32015         * wcsmbs/Makefile: Include Makeconfig immediately after defining
32016         subdir.
32017         * wctype/Makefile: Likewise.
32019 2014-02-26  Steve Ellcey  <sellcey@mips.com>
32021         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
32022         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
32023         (libc_feholdexcept_setround_mips): Ditto.
32024         (libc_feholdsetround): New.
32025         (libc_feholdsetroundf): New.
32026         (libc_feholdsetroundl): New.
32027         (libc_feupdateenv_test_mips): New.
32028         (libc_feupdateenv_test): New.
32029         (libc_feupdateenv_testf): New.
32030         (libc_feupdateenv_testl): New.
32031         (libc_feresetround): New.
32032         (libc_feresetroundf): New.
32033         (libc_feresetroundl): New.
32034         (libc_fetestexcept_mips): New.
32035         (libc_fetestexcept): New.
32036         (libc_fetestexceptf): New.
32037         (libc_fetestexceptl): New.
32038         (HAVE_RM_CTX): New.
32039         (libc_feholdexcept_setround_mips_ctx): New.
32040         (libc_feholdexcept_setround_ctx): New.
32041         (libc_feholdexcept_setroundf_ctx): New.
32042         (libc_feholdexcept_setroundl_ctx): New.
32043         (libc_fesetenv_mips_ctx): New.
32044         (libc_fesetenv_ctx): New.
32045         (libc_fesetenv_ctxf): New.
32046         (libc_fesetenv_ctxl): New.
32047         (libc_feupdateenv_mips_ctx): New.
32048         (libc_feupdateenv_ctx): New.
32049         (libc_feupdateenvf_ctx): New.
32050         (libc_feupdateenvl_ctx): New.
32051         (libc_feholdsetround_mips_ctx): New.
32052         (libc_feholdsetround_ctx): New.
32053         (libc_feholdsetroundf_ctx): New.
32054         (libc_feholdsetroundl_ctx): New.
32055         (libc_feresetround_mips_ctx): New.
32056         (libc_feresetround_ctx): New.
32057         (libc_feresetroundf_ctx): New.
32058         (libc_feresetroundl_ctx): New.
32060 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
32062         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
32064         * manual/ipc.texi: New file.
32065         * manual/Makefile (chapters): Add ipc.
32066         * manual/job.texi: Add "Inter-Process Communication" to next.
32067         * manual/process.texi: Add "Inter-Process Communication" to prev.
32069 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32071         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32073 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
32075         * malloc/malloc.c (__libc_calloc): Simplify implementation.
32077         * manual/arith.texi: Fix spaces after sentences.
32078         * manual/charset.texi: Likewise.
32079         * manual/errno.texi: Likewise.
32080         * manual/install.texi: Likewise.
32081         * manual/llio.texi: Likewise.
32082         * manual/locale.texi: Likewise.
32083         * manual/maint.texi: Likewise.
32084         * manual/math.texi: Likewise.
32085         * manual/memory.texi: Likewise.
32086         * manual/message.texi: Likewise.
32087         * manual/probes.texi: Likewise.
32088         * manual/resource.texi: Likewise.
32089         * manual/signal.texi: Likewise.
32090         * manual/socket.texi: Likewise.
32091         * manual/stdio.texi: Likewise.
32092         * manual/string.texi: Likewise.
32093         * manual/time.texi: Likewise.
32094         * manual/users.texi: Likewise.
32096 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
32098         [BZ #16632]
32099         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
32100         _DEFAULT_SOURCE is defined.
32102 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
32103             Carlos O'Donell  <carlos@redhat.com>
32105         [BZ #16613]
32106         * elf/dl-tls.c (_dl_count_modids): New function.
32107         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
32108         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
32109         audit library and increment generation counter.
32110         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
32111         * elf/tst-audit9.c: New file.
32112         * elf/tst-auditmod9a.c: New file.
32113         * elf/tst-auditmod9b.c: New file.
32114         * elf/Makefile: Add rules to build and run tst-audit9.
32116 2014-02-25  Florian Weimer  <fweimer@redhat.com>
32118         [BZ #15347]
32119         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
32121 2014-02-25  Will Newton  <will.newton@linaro.org>
32123         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
32124         (__longjmp): Restore sp and lr before restoring callee
32125         saved registers.  Add longjmp and longjmp_target
32126         SystemTap probe point.
32127         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
32128         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
32129         Define to zero to match jmpbuf layout.
32130         * sysdeps/arm/setjmp.S: Include stap-probe.h.
32131         (__sigsetjmp): Save sp and lr before saving callee
32132         saved registers.  Add setjmp SystemTap probe point.
32134 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
32136         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
32138 2014-02-24  Andreas Schwab  <schwab@suse.de>
32140         [BZ #15804]
32141         * elf/pldd.c (wait_for_ptrace_stop): New function.
32142         (main): Call it after attaching.
32144 2014-02-22  Roland McGrath  <roland@hack.frob.com>
32146         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
32147         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
32148         Versions files is now verboten.
32149         * hurd/Versions (libc: GLIBC_2.0):
32150         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
32151         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
32152         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
32153         * mach/Versions: Likewise.
32155         * csu/Versions: Remove unused %include.
32156         * resolv/Versions: Likewise.
32158 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
32160         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
32161         ($(objpfx)check-local-headers.out): Likewise.
32162         ($(objpfx)begin-end-check.out): Likewise.
32163         * Makerules (check-abi-%.out): Likewise.
32164         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
32165         ($(objpfx)test2.cat): Likewise.
32166         ($(objpfx)de/libc.cat): Likewise.
32167         ($(objpfx)test-gencat.out): Likewise.
32168         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
32169         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
32170         ($(objpfx)noload-mem): Likewise.
32171         ($(objpfx)tst-pathopt.out): Likewise.
32172         ($(objpfx)tst-rtld-load-self.out): Likewise.
32173         ($(objpfx)tst-array1-cmp.out): Likewise.
32174         ($(objpfx)tst-array1-static-cmp.out): Likewise.
32175         ($(objpfx)tst-array2-cmp.out): Likewise.
32176         ($(objpfx)tst-array3-cmp.out): Likewise.
32177         ($(objpfx)tst-array4-cmp.out): Likewise.
32178         ($(objpfx)tst-array5-cmp.out): Likewise.
32179         ($(objpfx)tst-array5-static-cmp.out): Likewise.
32180         ($(objpfx)check-textrel.out): Likewise.
32181         ($(objpfx)check-execstack.out): Likewise.
32182         ($(objpfx)check-localplt.out): Likewise.
32183         ($(objpfx)order2-cmp.out): Likewise.
32184         ($(objpfx)tst-leaks1-mem): Likewise.
32185         ($(objpfx)tst-leaks1-static-mem): Likewise.
32186         ($(objpfx)tst-initorder-cmp.out): Likewise.
32187         ($(objpfx)tst-initorder2-cmp.out): Likewise.
32188         ($(objpfx)tst-unused-dep.out): Likewise.
32189         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
32190         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
32191         * iconv/Makefile (test-iconvconfig): Likewise.
32192         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
32193         ($(objpfx)iconv-test.out): Likewise.
32194         ($(objpfx)tst-tables.out): Likewise.
32195         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
32196         ($(objpfx)tst-gettext.out): Likewise.
32197         ($(objpfx)tst-translit.out): Likewise.
32198         ($(objpfx)tst-gettext2.out): Likewise.
32199         ($(objpfx)tst-gettext4.out): Likewise.
32200         ($(objpfx)tst-gettext6.out): Likewise.
32201         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
32202         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
32203         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
32204         ($(objpfx)tst-fopenloc-mem.out): Likewise.
32205         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
32206         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
32207         * posix/Makefile ($(objpfx)globtest.out): Likewise.
32208         ($(objpfx)wordexp-tst.out): Likewise.
32209         ($(objpfx)annexc.out): Likewise.
32210         ($(objpfx)tst-fnmatch-mem): Likewise.
32211         ($(objpfx)bug-regex2-mem): Likewise.
32212         ($(objpfx)bug-regex14-mem): Likewise.
32213         ($(objpfx)bug-regex21-mem): Likewise.
32214         ($(objpfx)bug-regex31-mem): Likewise.
32215         ($(objpfx)tst-vfork3-mem): Likewise.
32216         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
32217         ($(objpfx)tst-pcre-mem): Likewise.
32218         ($(objpfx)tst-boost-mem): Likewise.
32219         ($(objpfx)tst-getconf.out): Likewise.
32220         ($(objpfx)bug-ga2-mem): Likewise.
32221         ($(objpfx)bug-glob2-mem): Likewise.
32222         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
32223         ($(objpfx)mtrace-tst-leaks2): Likewise.
32224         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
32225         ($(objpfx)tst-printf.out): Likewise.
32226         ($(objpfx)tst-setvbuf1.out): Likewise.
32227         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
32228         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
32229         ($(objpfx)tst-fmtmsg.out): Likewise.
32230         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
32231         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
32233         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
32234         * bits/sigaction.h [__USE_MISC]: Likewise.
32235         * bits/waitstatus.h: Update #endif comments.
32236         * ctype/ctype.h: Likewise.
32237         * dirent/dirent.h: Likewise.
32238         [__USE_MISC]: Remove redundant conditionals.
32239         * grp/grp.h: Update #endif comments.
32240         [__USE_GNU]: Remove redundant conditionals.
32241         [__USE_MISC]: Likewise.
32242         * inet/netinet/in.h [__USE_GNU]: Likewise.
32243         * io/sys/stat.h [__USE_MISC]: Likewise.
32244         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
32245         * libio/bits/stdio.h: Update #endif comments.
32246         [__USE_MISC]: Remove redundant conditionals.
32247         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
32248         * libio/stdio.h: Update #endif comments.
32249         [__USE_MISC]: Remove redundant conditionals.
32250         * math/bits/math-finite.h [__USE_MISC]: Likewise.
32251         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
32252         * math/math.h: Update #else and #endif comments.
32253         [__USE_MISC]: Remove redundant conditionals.
32254         * misc/sys/uio.h: Update #endif comments.
32255         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
32256         * posix/glob.h [__USE_MISC]: Likewise.
32257         * posix/sys/types.h: Update #endif comments.
32258         [__USE_MISC]: Remove redundant conditionals.
32259         * posix/sys/wait.h: Update #endif comments.
32260         [__USE_MISC]: Remove redundant conditionals.
32261         * posix/unistd.h: Update #endif comments.
32262         [__USE_MISC]: Remove redundant conditionals.
32263         * pwd/pwd.h [__USE_GNU]: Likewise.
32264         [__USE_MISC]: Likewise.
32265         * resolv/netdb.h [__USE_GNU]: Likewise.
32266         * signal/signal.h: Update #endif comments.
32267         [__USE_MISC]: Remove redundant conditionals.
32268         * stdlib/stdlib.h: Update #else and #endif comments.
32269         [__USE_MISC]: Remove redundant conditionals.
32270         [__USE_GNU]: Likewise.
32271         * string/bits/string2.h [__USE_MISC]: Likewise.
32272         * string/string.h: Update #endif comments.
32273         [__USE_MISC]: Remove redundant conditionals.
32274         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
32275         Likewise.
32276         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
32277         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
32278         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
32279         Likewise.
32280         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
32281         Likewise.
32282         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
32283         comments.
32284         [__USE_MISC]: Remove redundant conditionals.
32285         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
32286         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
32287         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
32288         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
32289         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
32290         Likewise.
32291         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
32292         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
32293         Likewise.
32294         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
32295         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
32296         Likewise.
32297         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
32298         Likewise.
32299         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
32300         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
32301         Likewise.
32302         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
32303         Likewise.
32304         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
32305         * sysdeps/x86/bits/string.h: Update #endif comments.
32306         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
32307         conditionals.
32308         * time/sys/time.h: Update #endif comments.
32309         * time/time.h: Likewise.
32310         [__USE_MISC]: Remove redundant conditionals.
32312 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
32314         [BZ #16600]
32315         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
32317 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
32319         * Versions.def (librt): Add GLIBC_2.17.
32321 2014-02-21  Adam Conrad  <adconrad@0c3.net>
32323         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
32324         synonym for _SYS_AUXV_H to allow direct inclusion.
32325         * sysdeps/sparc/bits/hwcap.h: Likewise.
32326         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
32327         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
32328         * sysdeps/sparc/sysdep.h: Likewise.
32330 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
32332         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
32334 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
32336         * benchtests/bench-strrchr.c: Print length instead of position.
32338 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
32340         [BZ #16611]
32341         * sysdeps/unix/sysv/linux/kernel-features.h
32342         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
32343         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
32344         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
32345         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
32346         Likewise.
32347         [__i386__ || __powerpc__ || __sh__ || __sparc__]
32348         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
32349         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
32350         (__ASSUME_SENDMMSG): Define instead of using previous
32351         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
32352         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
32353         (__ASSUME_SENDMMSG_SYSCALL): Define.
32354         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
32355         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
32356         Likewise.
32357         * sysdeps/unix/sysv/linux/arm/kernel-features.h
32358         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
32359         Likewise.
32360         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
32361         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
32362         Likewise.
32363         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
32364         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
32365         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
32366         [__ASSUME_SENDMMSG]: Change conditionals to
32367         [__ASSUME_SENDMMSG_SOCKETCALL].
32368         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
32369         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
32370         Define.
32371         * sysdeps/unix/sysv/linux/mips/kernel-features.h
32372         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
32373         Likewise.
32374         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
32375         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
32376         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
32377         [!__ASSUME_SENDMMSG]: Change conditional to
32378         [!__ASSUME_SENDMMSG_SOCKETCALL].
32379         * sysdeps/unix/sysv/linux/tile/kernel-features.h
32380         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
32381         Define.
32383         [BZ #16610]
32384         * sysdeps/unix/sysv/linux/kernel-features.h
32385         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
32386         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
32387         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
32388         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
32389         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
32390         [__i386__ || __sparc__]
32391         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
32392         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
32393         (__ASSUME_RECVMMSG): Define instead of using previous
32394         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
32395         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
32396         (__ASSUME_RECVMMSG_SYSCALL): Define.
32397         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
32398         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
32399         Likewise.
32400         * sysdeps/unix/sysv/linux/arm/kernel-features.h
32401         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
32402         Likewise.
32403         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
32404         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
32405         Likewise.
32406         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
32407         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
32408         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
32409         [__ASSUME_RECVMMSG]: Change condition to
32410         [__ASSUME_RECVMMSG_SOCKETCALL].
32411         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
32412         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
32413         Define.
32414         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
32415         * sysdeps/unix/sysv/linux/mips/kernel-features.h
32416         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
32417         Likewise.
32418         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
32419         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
32420         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
32421         [!__ASSUME_RECVMMSG]: Change condition to
32422         [!__ASSUME_RECVMMSG_SOCKETCALL].
32423         * sysdeps/unix/sysv/linux/tile/kernel-features.h
32424         (__ASSUME_RECVMMSG_SYSCALL): Define.
32426         [BZ #16609]
32427         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
32428         __powerpc__ || __s390__ || __sh__ || __sparc__]
32429         (__ASSUME_SOCKETCALL): Define.
32430         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
32431         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
32432         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
32433         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
32434         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
32435         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
32436         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
32437         (__ASSUME_ACCEPT4): Define instead of using previous
32438         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
32439         __powerpc__ || __sparc__ || __s390__)] condition.
32440         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
32441         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
32442         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
32443         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
32444         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
32445         [!__ASSUME_ACCEPT4]: Change condition to
32446         [!__ASSUME_ACCEPT4_SOCKETCALL].
32447         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
32448         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
32449         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
32450         * sysdeps/unix/sysv/linux/arm/kernel-features.h
32451         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
32452         __ASSUME_ACCEPT4_SYSCALL.
32453         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
32454         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
32455         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
32456         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
32457         __ASSUME_ACCEPT4_SYSCALL.
32458         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
32459         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
32460         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
32461         [__ASSUME_ACCEPT4]: Change condition to
32462         [__ASSUME_ACCEPT4_SOCKETCALL].
32463         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
32464         (__ASSUME_SOCKETCALL): Define.
32465         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
32466         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
32467         (__ASSUME_SOCKETCALL): Define.
32468         (__ASSUME_ACCEPT4): Remove.
32469         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
32470         Define.
32471         * sysdeps/unix/sysv/linux/mips/kernel-features.h
32472         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
32473         Likewise.
32474         * sysdeps/unix/sysv/linux/tile/kernel-features.h
32475         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
32477         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
32478         macro.
32479         (HWCAP_ARM_LPAE): Likewise.
32480         (HWCAP_ARM_EVTSTRM): Likewise.
32481         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
32482         Add vpfd32, lpae and evtstrm.
32483         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
32484         Increase to 22.
32486 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
32488         * math/auto-libm-test-in: Add tests of clog10.
32489         * math/auto-libm-test-out: Regenerated.
32490         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
32491         * sysdeps/i386/fpu/libm-test-ulps: Update.
32492         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32494 2014-02-18  Andreas Schwab  <schwab@suse.de>
32496         [BZ #16574]
32497         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
32498         Store non-zero if the second buffer was newly allocated.
32499         (send_dg): Likewise.
32500         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
32501         to send_vc and send_dg.
32502         (res_nsend): Pass NULL for ansp2_malloced.
32503         * resolv/res_query.c (__libc_res_nquery): Add parameter
32504         answerp2_malloced and pass it down to __libc_res_nsend.
32505         (res_nquery): Pass additional NULL to __libc_res_nquery.
32506         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
32507         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
32508         second answer buffer if answerp2_malloced was set.
32509         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
32510         (__libc_res_nquerydomain): Add parameter
32511         answerp2_malloced and pass it down to __libc_res_nquery.
32512         (res_nquerydomain): Pass additional NULL to
32513         __libc_res_nquerydomain.
32514         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
32515         additional NULL to __libc_res_nsend and __libc_res_nquery.
32516         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
32517         additional NULL to __libc_res_nsearch.
32518         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
32519         parameter of __libc_res_nsearch to check for separately allocated
32520         second buffer.
32521         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
32522         __libc_res_nquery.
32523         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
32524         additional NULL to __libc_res_nquery.
32525         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
32526         __libc_res_nsearch.
32527         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
32528         * include/resolv.h: Update prototypes of __libc_res_nquery,
32529         __libc_res_nsearch, __libc_res_nsend.
32531 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
32533         * math/auto-libm-test-in: Add tests of fma.
32534         * math/auto-libm-test-out: Regenerated.
32535         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
32536         (fma_towardzero_test_data): Likewise.
32537         (fma_downward_test_data): Likewise.
32538         (fma_upward_test_data): Likewise.
32539         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
32540         mpc_mode.
32541         (rounding_modes): Add values for new field.
32542         (func_calc_method): Add value mpfr_fff_f.
32543         (func_calc_desc): Add mpfr_fff_f union field.
32544         (test_function): Add field exact_args.
32545         (FUNC): Add macro argument EXACT_ARGS.
32546         (FUNC_mpfr_f_f): Update call to FUNC.
32547         (FUNC_mpfr_f_f): Likewise.
32548         (FUNC_mpfr_ff_f): Likewise.
32549         (FUNC_mpfr_if_f): Likewise.
32550         (FUNC_mpc_c_f): Likewise.
32551         (FUNC_mpc_c_c): Likewise.
32552         (test_functions): Add fma.  Update calls to FUNC.
32553         (handle_input_arg): Add argument exact_args.
32554         (add_test): Update call to handle_input_arg.
32555         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
32556         (output_for_one_input_case): Update call to calc_generic_results.
32557         Recalculate exact zero results in each rounding mode.
32559         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
32560         non-negative before setting low bit.
32561         * math/auto-libm-test-in: Mark one asin test possibly having
32562         spurious underflow.
32563         * math/auto-libm-test-out: Regenerated.
32564         * sysdeps/i386/fpu/libm-test-ulps: Update.
32565         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32567 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
32569         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
32570         * sysdeps/unix/sysv/linux/microblaze: Move directory from
32571         ports/sysdeps/unix/sysv/linux/microblaze.
32572         * README: Add missing listing for microblaze*-*-linux-gnu.
32574 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
32576         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
32577         duplicate code
32579 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
32581         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
32582         * sysdeps/unix/sysv/linux/ia64: Move directory from
32583         ports/sysdeps/unix/sysv/linux/ia64.
32584         * README: Update listing for ia64-*-linux-gnu.
32586 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
32587             Joseph Myers  <joseph@codesourcery.com>
32589         * Makeconfig (test-name): New variable.
32590         (evaluate-test): Likewise.
32591         * Makerules (do-test-clean): Remove .test-result files.
32592         (common-mostlyclean): Likewise.
32593         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
32594         * scripts/evaluate-test.sh: New file.
32596 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
32598         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
32599         separate $(objpfx)tst-fopenloc-cmp.out and
32600         $(objpfx)tst-fopenloc-mem.out targets.
32601         (tests): Update dependencies.
32602         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
32603         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
32604         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
32605         (tst-rxspencer-no-utf8-ARGS): New variable.
32606         (tst-rxspencer-no-utf8-ENV): Likewise.
32607         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
32608         instead of $(objpfx)tst-rxspencer-mem.
32609         ($(objpfx)tst-rxspencer-mem): Change target to
32610         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
32611         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
32612         * posix/tst-rxspencer-no-utf8.c: New file.
32614         * elf/Makefile ($(objpfx)order.out): Remove rule.
32615         [$(run-built-tests) = yes] (tests): Depend on
32616         $(objpfx)order-cmp.out.
32617         ($(objpfx)order-cmp.out): New rule.
32618         [$(run-built-tests) = yes] (tests): Depend on
32619         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
32620         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
32621         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
32622         $(objpfx)tst-array5-static-cmp.out.
32623         ($(objpfx)tst-array1.out): Remove rule.
32624         ($(objpfx)tst-array1-cmp.out): New rule.
32625         ($(objpfx)tst-array1-static.out): Remove rule.
32626         ($(objpfx)tst-array1-static-cmp.out): New rule.
32627         ($(objpfx)tst-array2.out): Remove rule.
32628         ($(objpfx)tst-array2-cmp.out): New rule.
32629         ($(objpfx)tst-array3.out): Remove rule.
32630         ($(objpfx)tst-array3-cmp.out): New rule.
32631         ($(objpfx)tst-array4.out): Remove rule.
32632         ($(objpfx)tst-array4-cmp.out): New rule.
32633         ($(objpfx)tst-array5.out): Remove rule.
32634         ($(objpfx)tst-array5-cmp.out): New rule.
32635         ($(objpfx)tst-array5-static.out): Remove rule.
32636         ($(objpfx)tst-array5-static-cmp.out): New rule.
32637         [$(run-built-tests) = yes] (tests): Depend on
32638         $(objpfx)order2-cmp.out.
32639         ($(objpfx)order2.out): Remove rule.
32640         ($(objpfx)order2-cmp.out): New rule.
32641         ($(objpfx)tst-initorder.out): Remove rule.
32642         [$(run-built-tests) = yes] (tests): Depend on
32643         $(objpfx)tst-initorder-cmp.out.
32644         ($(objpfx)tst-initorder-cmp.out): New rule.
32645         ($(objpfx)tst-initorder2.out): Remove rule.
32646         [$(run-built-tests) = yes] (tests): Depend on
32647         $(objpfx)tst-initorder2-cmp.out.
32648         ($(objpfx)tst-initorder2-cmp.out): New rule.
32649         [$(run-built-tests) = yes] (tests): Depend on
32650         $(objpfx)tst-unused-dep-cmp.out.
32651         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
32652         ($(objpfx)tst-unused-dep-cmp.out): New rule.
32653         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
32654         on $(objpfx)tst-setvbuf1-cmp.out.
32655         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
32656         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
32657         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
32658         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
32659         ($(objpfx)tst-svc.out): Remove rule.
32660         ($(objpfx)tst-svc-cmp.out): New rule.
32662 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
32664         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
32665         * ctype/ctype.h [__USE_MISC]: Likewise.
32666         * dirent/dirent.h [__USE_MISC]: Likewise.
32667         * grp/grp.h [__USE_MISC]: Likewise.
32668         * io/fcntl.h [__USE_MISC]: Likewise.
32669         * io/sys/stat.h [__USE_MISC]: Likewise.
32670         * libio/stdio.h [__USE_MISC]: Likewise.
32671         * posix/unistd.h [__USE_MISC]: Likewise.
32672         * pwd/pwd.h [__USE_MISC]: Likewise.
32673         * stdlib.h [__USE_MISC]: Likewise.
32674         * string/bits/string2.h [__USE_MISC]: Likewise.
32675         * string/string.h [__USE_MISC]: Likewise.
32676         * time/time.h [__USE_MISC]: Likewise.
32678 2014-02-13  Andreas Schwab  <schwab@suse.de>
32680         [BZ #16574]
32681         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
32682         second answer buffer if it was separately allocated.
32684 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
32686         * sysdeps/mips/math-tests.h: Include <features.h>.
32687         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
32688         (ROUNDING_TESTS_long_double): Do not define.
32689         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
32690         (EXCEPTION_TESTS_long_double): Likewise.
32691         * sysdeps/mips/mips64/libm-test-ulps: Update.
32693         * include/features.h (__USE_BSD): Remove macro definitions.
32694         (__USE_SVID): Likewise.
32695         (_BSD_SOURCE): Likewise.
32696         (_SVID_SOURCE): Likewise.
32697         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
32698         from definition of _DEFAULT_SOURCE.
32699         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
32700         [_DEFAULT_SOURCE].
32701         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
32702         * bits/mman.h [__USE_BSD]: Likewise.
32703         * bits/termios.h [__USE_BSD]: Likewise.
32704         * bits/waitstatus.h [__USE_BSD]: Likewise.
32705         * ctype/ctype.h [__USE_SVID]: Likewise.
32706         * dirent/dirent.h [__USE_BSD]: Likewise.
32707         * grp/grp.h [__USE_SVID]: Likewise.
32708         [__USE_BSD]: Likewise.
32709         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
32710         * io/fcntl.h [__USE_BSD]: Likewise.
32711         * io/ftw.h [__USE_BSD]: Likewise.
32712         * io/sys/stat.h [__USE_BSD]: Likewise.
32713         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
32714         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
32715         * libio/stdio.h [__USE_SVID]: Likewise.
32716         [__USE_BSD]: Likewise.
32717         * math/math.h [__USE_SVID]: Likewise.
32718         [__USE_BSD]: Likewise.
32719         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
32720         * misc/bits/syslog.h [__USE_BSD]: Likewise.
32721         * misc/search.h [__USE_SVID]: Likewise.
32722         * misc/sys/mman.h [__USE_BSD]: Likewise.
32723         * misc/sys/syslog.h [__USE_BSD]: Likewise.
32724         * misc/sys/uio.h [__USE_BSD]: Likewise.
32725         * posix/bits/unistd.h [__USE_BSD]: Likewise.
32726         * posix/glob.h [__USE_BSD]: Likewise.
32727         * posix/regex.h [__USE_BSD]: Likewise.
32728         * posix/sys/types.h [__USE_BSD]: Likewise.
32729         [__USE_SVID]: Likewise.
32730         * posix/sys/utsname.h [__USE_SVID]: Likewise.
32731         * posix/sys/wait.h [__USE_BSD]: Likewise.
32732         [__USE_SVID]: Likewise.
32733         * posix/unistd.h [__USE_BSD]: Likewise.
32734         [__USE_SVID]: Likewise.
32735         * pwd/pwd.h [__USE_SVID]: Likewise.
32736         * resolv/netdb.h [__USE_BSD]: Likewise.
32737         * setjmp/setjmp.h [__USE_BSD]: Likewise.
32738         * signal/signal.h [__USE_BSD]: Likewise.
32739         [__USE_SVID]: Likewise.
32740         * socket/sys/socket.h [__USE_BSD]: Likewise.
32741         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
32742         * stdlib/stdlib.h [__USE_BSD]: Likewise.
32743         [__USE_SVID]: Likewise.
32744         * string/bits/string2.h [__USE_BSD]: Likewise.
32745         [__USE_SVID]: Likewise.
32746         * string/bits/string3.h [__USE_BSD]: Likewise.
32747         * string/endian.h [__USE_BSD]: Likewise.
32748         * string/string.h [__USE_SVID]: Likewise.
32749         [__USE_BSD]: Likewise.
32750         * string/strings.h [__USE_BSD]: Likewise.
32751         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
32752         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
32753         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
32754         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
32755         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
32756         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
32757         Likewise.
32758         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
32759         Likewise.
32760         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
32761         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
32762         Likewise.
32763         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
32764         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
32765         Likewise.
32766         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
32767         Likewise.
32768         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
32769         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
32770         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
32771         Likewise.
32772         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
32773         Likewise.
32774         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
32775         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
32776         * termios/termios.h [__USE_BSD]: Likewise.
32777         * time/sys/time.h [__USE_BSD]: Likewise.
32778         * time/time.h [__USE_BSD]: Likewise.
32779         [__USE_SVID]: Likewise.
32781         * Makefile (subdir_targets): Remove subdir_lint.out.
32783         * stdio-common/Makefile (do-tst-unbputc): Remove target.
32784         (do-tst-printf): Likewise.
32785         (tests): Depend directly on $(objpfx)tst-unbputc.out and
32786         $(objpfx)tst-printf.out.
32788         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
32790         * Makerules (check-abi-%): Change target to
32791         $(objpfx)check-abi-%.out.
32792         (check-abi target): Update dependencies.
32793         (check-abi-pattern variable): Redirect output of diff to $@.
32794         (check-abi variable): Likewise.
32795         * elf/Makefile (check-abi): Update dependencies.
32797         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
32798         unused.
32799         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
32800         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
32801         subnormal range.
32802         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
32803         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
32804         value has largest subnormal exponent.
32805         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
32806         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
32807         * sysdeps/aarch64/soft-fp/sfp-machine.h
32808         (_FP_TININESS_AFTER_ROUNDING): New macro.
32809         * sysdeps/alpha/soft-fp/sfp-machine.h
32810         (_FP_TININESS_AFTER_ROUNDING): Likewise.
32811         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
32812         Likewise.
32813         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
32814         (_FP_TININESS_AFTER_ROUNDING): Likewise.
32815         * sysdeps/mips/soft-fp/sfp-machine.h
32816         (_FP_TININESS_AFTER_ROUNDING): Likewise.
32817         * sysdeps/powerpc/soft-fp/sfp-machine.h
32818         (_FP_TININESS_AFTER_ROUNDING): Likewise.
32819         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
32820         Likewise.
32821         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
32822         (_FP_TININESS_AFTER_ROUNDING): Likewise.
32823         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
32824         (_FP_TININESS_AFTER_ROUNDING): Likewise.
32825         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
32826         Likewise.
32828 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
32830         [BZ #16545]
32831         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
32832         model 1.
32834 2014-02-12  Richard Henderson  <rth@redhat.com>
32836         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
32837         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
32838         * sysdeps/unix/sysv/linux/alpha: Move directory from
32839         ports/sysdeps/unix/sysv/linux/alpha.
32840         * README: Update listing for alpha-*-linux-gnu.
32842 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
32844         * include/features.h: Update comment documenting feature test
32845         macros.
32846         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
32847         _DEFAULT_SOURCE.
32848         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
32849         (_SVID_SOURCE): Likewise.
32850         (_DEFAULT_SOURCE): Update description of default features.
32851         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
32852         with _GNU_SOURCE.
32853         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
32854         (S_ISVTX): Likewise.
32855         * manual/math.texi (Mathematical Constants): Likewise.
32856         * manual/signal.texi (Interrupted Primitives): Likewise.
32857         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
32858         * math/test-matherr.c (_SVID_SOURCE): Do not define.
32859         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
32860         Don't refer to _SVID_SOURCE in warning text.
32862         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32864         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
32865         already defined.
32866         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
32867         * sysdeps/mips/dl-lookup.c: Remove.
32868         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
32870 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
32872         [BZ #16447]
32873         * math/auto-libm-test-in: Add testcase for expl.
32874         * math/auto-libm-test-out: Regenerate.
32875         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
32876         calculation of unsafe.
32877         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
32879 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
32881         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
32882         * sysdeps/unix/sysv/linux/aarch64: Move directory from
32883         ports/sysdeps/unix/sysv/linux/aarch64.
32884         * README: Update listing for aarch64*-*-linux-gnu.
32886 2014-02-11  Will Newton  <will.newton@linaro.org>
32888         * manual/probes.texi (Mathematical Function Probes): Use
32889         "triggered" instead of "hit".
32891         * manual/probes.texi (Internal Probes): Add documentation
32892         of setjmp, longjmp and longjmp_target probes.
32894         * include/stap-probe.h: Add comment about probe argument
32895         format.
32897         * malloc/mtrace.c (attribute_hidden): Remove unused macro
32898         definition.  (tr_where, tr_freehook, tr_mallochook,
32899         tr_reallochook, tr_memalignhook): Use ANSI protoype.
32901 2014-02-11  David S. Miller  <davem@davemloft.net>
32903         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
32904         processing int_tests.
32906 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
32908         * sysdeps/mips: Move directory from ports/sysdeps/mips.
32909         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
32910         * sysdeps/unix/sysv/linux/mips: Move directory from
32911         ports/sysdeps/unix/sysv/linux/mips.
32912         * README: Update listing for mips-*-linux-gnu and
32913         mips64-*-linux-gnu.
32915 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
32917         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
32918         * sysdeps/unix/sysv/linux/m68k: Move directory from
32919         ports/sysdeps/unix/sysv/linux/m68k.
32920         * README: Update listing for m68k-*-linux-gnu.
32922 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
32924         * sysdeps/tile: Move directory from ports/sysdeps/tile.
32925         * sysdeps/unix/sysv/linux/generic: Move directory from
32926         ports/sysdeps/unix/sysv/linux/generic.
32927         * sysdeps/unix/sysv/linux/tile: Move directory from
32928         ports/sysdeps/unix/sysv/linux/tile.
32929         * README: Update listing for tile*-*-linux-gnu.
32931 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
32933         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
32934         __builtin_expect.
32935         * benchtests/bench-memmem.c (simple_memmem): Likewise.
32936         * catgets/open_catalog.c (__open_catalog): Likewise.
32937         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
32938         * debug/confstr_chk.c: Likewise.
32939         * debug/fread_chk.c (__fread_chk): Likewise.
32940         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
32941         * debug/getgroups_chk.c: Likewise.
32942         * debug/mbsnrtowcs_chk.c: Likewise.
32943         * debug/mbsrtowcs_chk.c: Likewise.
32944         * debug/mbstowcs_chk.c: Likewise.
32945         * debug/memcpy_chk.c: Likewise.
32946         * debug/memmove_chk.c: Likewise.
32947         * debug/mempcpy_chk.c: Likewise.
32948         * debug/memset_chk.c: Likewise.
32949         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
32950         * debug/strcat_chk.c (__strcat_chk): Likewise.
32951         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
32952         * debug/strncat_chk.c (__strncat_chk): Likewise.
32953         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
32954         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
32955         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
32956         * debug/wcpncpy_chk.c: Likewise.
32957         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
32958         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
32959         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
32960         * debug/wcsncpy_chk.c: Likewise.
32961         * debug/wcsnrtombs_chk.c: Likewise.
32962         * debug/wcsrtombs_chk.c: Likewise.
32963         * debug/wcstombs_chk.c: Likewise.
32964         * debug/wmemcpy_chk.c: Likewise.
32965         * debug/wmemmove_chk.c: Likewise.
32966         * debug/wmempcpy_chk.c: Likewise.
32967         * debug/wmemset_chk.c: Likewise.
32968         * dirent/scandirat.c (SCANDIRAT): Likewise.
32969         * dlfcn/dladdr1.c (dladdr1): Likewise.
32970         * dlfcn/dladdr.c (dladdr): Likewise.
32971         * dlfcn/dlclose.c (dlclose_doit): Likewise.
32972         * dlfcn/dlerror.c (__dlerror): Likewise.
32973         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
32974         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
32975         * dlfcn/dlopen.c (dlopen_doit): Likewise.
32976         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
32977         * dlfcn/dlsym.c (dlsym_doit): Likewise.
32978         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
32979         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
32980         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
32981         Likewise.
32982         * elf/dl-conflict.c: Likewise.
32983         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
32984         * elf/dl-dst.h: Likewise.
32985         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
32986         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
32987         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
32988         * elf/dl-init.c (call_init, _dl_init): Likewise.
32989         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
32990         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
32991         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
32992         Likewise.
32993         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
32994         Likewise.
32995         * elf/dl-minimal.c (__libc_memalign): Likewise.
32996         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
32997         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
32998         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
32999         * elf/dl-sym.c (do_sym): Likewise.
33000         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
33001         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
33002         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
33003         * elf/dl-writev.h (_dl_writev): Likewise.
33004         * elf/ldconfig.c (search_dir): Likewise.
33005         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
33006         (dl_main): Likewise.
33007         * elf/setup-vdso.h (setup_vdso): Likewise.
33008         * grp/compat-initgroups.c (compat_call): Likewise.
33009         * grp/fgetgrent.c (fgetgrent): Likewise.
33010         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
33011         * grp/putgrent.c (putgrent): Likewise.
33012         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
33013         Likewise.
33014         * hurd/hurdinit.c: Likewise.
33015         * iconvdata/8bit-gap.c (struct): Likewise.
33016         * iconvdata/ansi_x3.110.c : Likewise.
33017         * iconvdata/big5.c : Likewise.
33018         * iconvdata/big5hkscs.c : Likewise.
33019         * iconvdata/cp1255.c: Likewise.
33020         * iconvdata/cp1258.c : Likewise.
33021         * iconvdata/cp932.c : Likewise.
33022         * iconvdata/euc-cn.c: Likewise.
33023         * iconvdata/euc-jisx0213.c : Likewise.
33024         * iconvdata/euc-jp.c: Likewise.
33025         * iconvdata/euc-jp-ms.c : Likewise.
33026         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
33027         * iconvdata/gb18030.c : Likewise.
33028         * iconvdata/gbbig5.c (const): Likewise.
33029         * iconvdata/gbgbk.c: Likewise.
33030         * iconvdata/gbk.c : Likewise.
33031         * iconvdata/ibm1364.c : Likewise.
33032         * iconvdata/ibm930.c : Likewise.
33033         * iconvdata/ibm932.c: Likewise.
33034         * iconvdata/ibm933.c : Likewise.
33035         * iconvdata/ibm935.c : Likewise.
33036         * iconvdata/ibm937.c : Likewise.
33037         * iconvdata/ibm939.c : Likewise.
33038         * iconvdata/ibm943.c: Likewise.
33039         * iconvdata/iso_11548-1.c: Likewise.
33040         * iconvdata/iso-2022-cn.c : Likewise.
33041         * iconvdata/iso-2022-cn-ext.c : Likewise.
33042         * iconvdata/iso-2022-jp-3.c: Likewise.
33043         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
33044         * iconvdata/iso-2022-kr.c : Likewise.
33045         * iconvdata/iso646.c (gconv_end): Likewise.
33046         * iconvdata/iso_6937-2.c : Likewise.
33047         * iconvdata/iso_6937.c : Likewise.
33048         * iconvdata/iso8859-1.c: Likewise.
33049         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
33050         * iconvdata/shift_jisx0213.c : Likewise.
33051         * iconvdata/sjis.c : Likewise.
33052         * iconvdata/t.61.c : Likewise.
33053         * iconvdata/tcvn5712-1.c : Likewise.
33054         * iconvdata/tscii.c: Likewise.
33055         * iconvdata/uhc.c : Likewise.
33056         * iconvdata/unicode.c (gconv_end): Likewise.
33057         * iconvdata/utf-16.c (gconv_end): Likewise.
33058         * iconvdata/utf-32.c (gconv_end): Likewise.
33059         * iconvdata/utf-7.c (base64): Likewise.
33060         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
33061         * iconv/gconv_close.c (__gconv_close): Likewise.
33062         * iconv/gconv_open.c (__gconv_open): Likewise.
33063         * iconv/gconv_simple.c (internal_ucs4_loop_single)
33064         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
33065         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
33066         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
33067         (ucs4le_internal_loop_single): Likewise.
33068         * iconv/iconv.c (iconv): Likewise.
33069         * iconv/iconv_close.c: Likewise.
33070         * iconv/loop.c (SINGLE): Likewise.
33071         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
33072         * include/atomic.h: Likewise.
33073         * inet/inet6_option.c (option_alloc): Likewise.
33074         * intl/bindtextdom.c (set_binding_values): Likewise.
33075         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
33076         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
33077         * intl/localealias.c (read_alias_file): Likewise.
33078         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
33079         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
33080         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
33081         * libio/fmemopen.c (fmemopen): Likewise.
33082         * libio/iofgets.c (_IO_fgets): Likewise.
33083         * libio/iofgets_u.c (fgets_unlocked): Likewise.
33084         * libio/iofgetws.c (fgetws): Likewise.
33085         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
33086         * libio/iogetdelim.c (_IO_getdelim): Likewise.
33087         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
33088         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
33089         * locale/findlocale.c (_nl_find_locale): Likewise.
33090         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
33091         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
33092         Likewise.
33093         * locale/setlocale.c (setlocale): Likewise.
33094         * login/programs/pt_chown.c (main): Likewise.
33095         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
33096         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
33097         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
33098         (mmap, mmap64, mremap, munmap): Likewise.
33099         * math/e_exp2l.c: Likewise.
33100         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
33101         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
33102         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
33103         * math/s_catan.c (__catan): Likewise.
33104         * math/s_catanf.c (__catanf): Likewise.
33105         * math/s_catanh.c (__catanh): Likewise.
33106         * math/s_catanhf.c (__catanhf): Likewise.
33107         * math/s_catanhl.c (__catanhl): Likewise.
33108         * math/s_catanl.c (__catanl): Likewise.
33109         * math/s_ccosh.c (__ccosh): Likewise.
33110         * math/s_ccoshf.c (__ccoshf): Likewise.
33111         * math/s_ccoshl.c (__ccoshl): Likewise.
33112         * math/s_cexp.c (__cexp): Likewise.
33113         * math/s_cexpf.c (__cexpf): Likewise.
33114         * math/s_cexpl.c (__cexpl): Likewise.
33115         * math/s_clog10.c (__clog10): Likewise.
33116         * math/s_clog10f.c (__clog10f): Likewise.
33117         * math/s_clog10l.c (__clog10l): Likewise.
33118         * math/s_clog.c (__clog): Likewise.
33119         * math/s_clogf.c (__clogf): Likewise.
33120         * math/s_clogl.c (__clogl): Likewise.
33121         * math/s_csin.c (__csin): Likewise.
33122         * math/s_csinf.c (__csinf): Likewise.
33123         * math/s_csinh.c (__csinh): Likewise.
33124         * math/s_csinhf.c (__csinhf): Likewise.
33125         * math/s_csinhl.c (__csinhl): Likewise.
33126         * math/s_csinl.c (__csinl): Likewise.
33127         * math/s_csqrt.c (__csqrt): Likewise.
33128         * math/s_csqrtf.c (__csqrtf): Likewise.
33129         * math/s_csqrtl.c (__csqrtl): Likewise.
33130         * math/s_ctan.c (__ctan): Likewise.
33131         * math/s_ctanf.c (__ctanf): Likewise.
33132         * math/s_ctanh.c (__ctanh): Likewise.
33133         * math/s_ctanhf.c (__ctanhf): Likewise.
33134         * math/s_ctanhl.c (__ctanhl): Likewise.
33135         * math/s_ctanl.c (__ctanl): Likewise.
33136         * math/w_pow.c: Likewise.
33137         * math/w_powf.c: Likewise.
33138         * math/w_powl.c: Likewise.
33139         * math/w_scalb.c (sysv_scalb): Likewise.
33140         * math/w_scalbf.c (sysv_scalbf): Likewise.
33141         * math/w_scalbl.c (sysv_scalbl): Likewise.
33142         * misc/error.c (error_tail): Likewise.
33143         * misc/pselect.c (__pselect): Likewise.
33144         * nis/nis_callback.c (__nis_create_callback): Likewise.
33145         * nis/nis_call.c (__nisfind_server): Likewise.
33146         * nis/nis_creategroup.c (nis_creategroup): Likewise.
33147         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
33148         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
33149         * nis/nis_getservlist.c (nis_getservlist): Likewise.
33150         * nis/nis_lookup.c (nis_lookup): Likewise.
33151         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
33152         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
33153         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
33154         * nis/nis_xdr.c (xdr_endpoint): Likewise.
33155         * nis/nss_compat/compat-grp.c (getgrent_next_file)
33156         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
33157         * nis/nss_compat/compat-initgroups.c (add_group)
33158         (internal_getgrent_r): Likewise.
33159         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
33160         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
33161         * nis/nss_compat/compat-spwd.c (getspent_next_file)
33162         (internal_getspnam_r): Likewise.
33163         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
33164         (_nss_nis_getaliasbyname_r): Likewise.
33165         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
33166         (_nss_nis_getntohost_r): Likewise.
33167         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
33168         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
33169         (_nss_nis_getgrgid_r): Likewise.
33170         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
33171         (internal_nis_gethostent_r, internal_gethostbyname2_r)
33172         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
33173         (_nss_nis_gethostbyname4_r): Likewise.
33174         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
33175         (initgroups_netid): Likewise.
33176         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
33177         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
33178         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
33179         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
33180         (_nss_nis_getprotobynumber_r): Likewise.
33181         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
33182         (_nss_nis_getsecretkey): Likewise.
33183         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
33184         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
33185         (_nss_nis_getpwuid_r): Likewise.
33186         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
33187         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
33188         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
33189         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
33190         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
33191         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
33192         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
33193         Likewise.
33194         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
33195         (_nss_nisplus_getntohost_r): Likewise.
33196         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
33197         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
33198         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
33199         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
33200         Likewise.
33201         * nis/nss_nisplus/nisplus-initgroups.c
33202         (_nss_nisplus_initgroups_dyn): Likewise.
33203         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
33204         (_nss_nisplus_getnetbyaddr_r): Likewise.
33205         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
33206         (_nss_nisplus_getprotobynumber_r): Likewise.
33207         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
33208         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
33209         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
33210         Likewise.
33211         * nis/nss_nisplus/nisplus-service.c
33212         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
33213         (_nss_nisplus_getservbyport_r): Likewise.
33214         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
33215         (_nss_nisplus_getspnam_r): Likewise.
33216         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
33217         Likewise.
33218         * nscd/aicache.c (addhstaiX): Likewise.
33219         * nscd/cache.c (cache_search, prune_cache): Likewise.
33220         * nscd/connections.c (register_traced_file, send_ro_fd)
33221         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
33222         (main_loop_epoll): Likewise.
33223         * nscd/grpcache.c (addgrbyX): Likewise.
33224         * nscd/hstcache.c (addhstbyX): Likewise.
33225         * nscd/initgrcache.c (addinitgroupsX): Likewise.
33226         * nscd/mem.c (gc, mempool_alloc): Likewise.
33227         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
33228         (addinnetgrX): Likewise.
33229         * nscd/nscd-client.h (__nscd_acquire_maplock)
33230         (__nscd_drop_map_ref): Likewise.
33231         * nscd/nscd_getai.c (__nscd_getai): Likewise.
33232         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
33233         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
33234         Likewise.
33235         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
33236         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
33237         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
33238         (__nscd_get_map_ref): Likewise.
33239         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
33240         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
33241         Likewise.
33242         * nscd/pwdcache.c (addpwbyX): Likewise.
33243         * nscd/selinux.c (preserve_capabilities): Likewise.
33244         * nscd/servicescache.c (addservbyX): Likewise.
33245         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
33246         * posix/fnmatch.c (fnmatch): Likewise.
33247         * posix/getopt.c (_getopt_internal_r): Likewise.
33248         * posix/glob.c (glob, glob_in_dir): Likewise.
33249         * posix/wordexp.c (exec_comm_child): Likewise.
33250         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
33251         (getanswer_r, gaih_getanswer_slice): Likewise.
33252         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
33253         * resolv/res_init.c: Likewise.
33254         * resolv/res_mkquery.c (res_nmkquery): Likewise.
33255         * resolv/res_query.c (__libc_res_nquery): Likewise.
33256         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
33257         Likewise.
33258         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
33259         * stdio-common/perror.c (perror): Likewise.
33260         * stdio-common/printf_fp.c (___printf_fp): Likewise.
33261         * stdio-common/tmpnam.c (tmpnam): Likewise.
33262         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
33263         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
33264         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
33265         Likewise.
33266         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
33267         * stdlib/putenv.c (putenv): Likewise.
33268         * stdlib/setenv.c (__add_to_environ): Likewise.
33269         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
33270         * stdlib/strtol_l.c (INTERNAL): Likewise.
33271         * string/memmem.c (memmem): Likewise.
33272         * string/strerror.c (strerror): Likewise.
33273         * string/strnlen.c (__strnlen): Likewise.
33274         * string/test-memmem.c (simple_memmem): Likewise.
33275         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
33276         * sunrpc/pm_getport.c (__get_socket): Likewise.
33277         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
33278         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
33279         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
33280         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
33281         Likewise.
33282         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
33283         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
33284         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
33285         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
33286         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
33287         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
33288         Likewise.
33289         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
33290         Likewise.
33291         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
33292         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
33293         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
33294         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
33295         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
33296         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
33297         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
33298         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
33299         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
33300         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
33301         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
33302         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
33303         Likewise.
33304         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
33305         Likewise.
33306         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
33307         Likewise.
33308         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
33309         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
33310         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
33311         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
33312         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
33313         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
33314         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
33315         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
33316         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
33317         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
33318         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
33319         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33320         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
33321         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
33322         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33323         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
33324         Likewise.
33325         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
33326         Likewise.
33327         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
33328         Likewise.
33329         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
33330         Likewise.
33331         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
33332         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33333         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
33334         Likewise.
33335         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
33336         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
33337         * sysdeps/posix/opendir.c (__opendirat): Likewise.
33338         * sysdeps/posix/sleep.c: Likewise.
33339         * sysdeps/posix/tempname.c: Likewise.
33340         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
33341         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
33342         Likewise.
33343         * sysdeps/powerpc/powerpc32/dl-machine.h
33344         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
33345         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
33346         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
33347         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
33348         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
33349         Likewise.
33350         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
33351         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
33352         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
33353         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
33354         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
33355         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
33356         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
33357         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
33358         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
33359         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
33360         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
33361         (elf_machine_lazy_rel): Likewise.
33362         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
33363         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
33364         (elf_machine_lazy_rel): Likewise.
33365         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
33366         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
33367         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
33368         * sysdeps/unix/grantpt.c (grantpt): Likewise.
33369         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
33370         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
33371         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
33372         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33373         Likewise.
33374         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
33375         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
33376         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
33377         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
33378         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
33379         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
33380         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
33381         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
33382         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
33383         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
33384         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
33385         Likewise.
33386         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
33387         (__posix_fallocate64_l64): Likewise.
33388         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
33389         (posix_fallocate): Likewise.
33390         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
33391         Likewise.
33392         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
33393         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
33394         (getifaddrs_internal): Likewise.
33395         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
33396         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
33397         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
33398         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
33399         * sysdeps/unix/sysv/linux/posix_fallocate64.c
33400         (__posix_fallocate64_l64): Likewise.
33401         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
33402         Likewise.
33403         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
33404         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
33405         (__get_clockfreq): Likewise.
33406         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
33407         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
33408         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
33409         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
33410         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
33411         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
33412         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
33413         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
33414         Likewise.
33415         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
33416         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
33417         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
33418         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
33419         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
33420         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
33421         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
33422         Likewise.
33423         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
33424         (posix_fallocate): Likewise.
33425         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
33426         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
33427         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
33428         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
33429         (elf_machine_rela, elf_machine_rela_relative)
33430         (elf_machine_lazy_rel): Likewise.
33431         * time/asctime.c (asctime_internal): Likewise.
33432         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
33433         * time/tzset.c (__tzset_parse_tz): Likewise.
33434         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
33435         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
33436         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
33437         * wcsmbs/wcsmbsload.h: Likewise.
33439         [BZ #15894]
33440         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
33442         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
33443         (arena_get2): Remove THREAD_STATS conditionals.
33444         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
33445         (__malloc_stats, int): Likewise.
33447 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
33449         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
33450         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
33452         * manual/setjmp.texi: Fix typos/grammar errors.
33454         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
33455         Only return early when n is <= 0.  Delete unused return statement.
33457         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
33458         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
33459         * debug/tst-longjmp_chk3.c: New file.
33461         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
33462         (test_main): Replace code with set_fortify_handler call.
33463         * debug/test-strcpy_chk.c: Likewise.
33464         * debug/tst-chk1.c: Likewise.
33465         * debug/tst-longjmp_chk.c: Likewise.
33466         * test-skeleton.c: Include fcntl.h & paths.h
33467         (set_fortify_handler): Define.
33469         * debug/tst-longjmp_chk.c: Add header comment and include
33470         ../test-skeleton.c.
33471         (do_test): Mark static.
33472         (TEST_FUNCTION): Define.
33474         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
33475         (IP_PMTUDISC_INTERFACE): Likewise.
33476         (IP_MULTICAST_IF): Likewise.
33477         (IP_MULTICAST_TTL): Likewise.
33478         (IP_MULTICAST_LOOP): Likewise.
33479         (IP_ADD_MEMBERSHIP): Likewise.
33480         (IP_DROP_MEMBERSHIP): Likewise.
33481         (IP_UNBLOCK_SOURCE): Likewise.
33482         (IP_BLOCK_SOURCE): Likewise.
33483         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
33484         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
33485         (IP_MSFILTER): Likewise.
33486         (MCAST_JOIN_GROUP): Likewise.
33487         (MCAST_BLOCK_SOURCE): Likewise.
33488         (MCAST_UNBLOCK_SOURCE): Likewise.
33489         (MCAST_LEAVE_GROUP): Likewise.
33490         (MCAST_JOIN_SOURCE_GROUP): Likewise.
33491         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
33492         (MCAST_MSFILTER): Likewise.
33493         (IP_MULTICAST_ALL): Likewise.
33494         (IP_UNICAST_IF): Likewise.
33496         * timezone/Makefile: Delete $(have-ksh) check.
33497         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
33498         * timezone/tzselect.ksh: Add +x mode bits.
33500         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
33501         (ANON_INODE_FS_MAGIC): Likewise.
33502         (BDEVFS_MAGIC): Likewise.
33503         (BINFMTFS_MAGIC): Likewise.
33504         (BTRFS_TEST_MAGIC): Likewise.
33505         (CRAMFS_MAGIC_WEND): Likewise.
33506         (DEBUGFS_MAGIC): Likewise.
33507         (ECRYPTFS_SUPER_MAGIC): Likewise.
33508         (EXT3_SUPER_MAGIC): Likewise.
33509         (EXT4_SUPER_MAGIC): Likewise.
33510         (FUTEXFS_SUPER_MAGIC): Likewise.
33511         (HOSTFS_SUPER_MAGIC): Likewise.
33512         (HUGETLBFS_MAGIC): Likewise.
33513         (MINIX3_SUPER_MAGIC): Likewise.
33514         (MTD_INODE_FS_MAGIC): Likewise.
33515         (NILFS_SUPER_MAGIC): Likewise.
33516         (OPENPROM_SUPER_MAGIC): Likewise.
33517         (PIPEFS_MAGIC): Likewise.
33518         (PSTOREFS_MAGIC): Likewise.
33519         (QNX6_SUPER_MAGIC): Likewise.
33520         (RAMFS_MAGIC): Likewise.
33521         (REISERFS_SUPER_MAGIC_STRING): Likewise.
33522         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
33523         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
33524         (SECURITYFS_MAGIC): Likewise.
33525         (SELINUX_MAGIC): Likewise.
33526         (SMACK_MAGIC): Likewise.
33527         (SOCKFS_MAGIC): Likewise.
33528         (SQUASHFS_MAGIC): Likewise.
33529         (STACK_END_MAGIC): Likewise.
33530         (TMPFS_MAGIC): Likewise.
33531         (USBDEVICE_SUPER_MAGIC): Likewise.
33532         (V9FS_MAGIC): Likewise.
33533         (XENFS_SUPER_MAGIC): Likewise.
33534         (CRAMFS_MAGIC): Fix typo in comment.
33535         (EXT2_SUPER_MAGIC): Update comment.
33536         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
33538 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
33540         * sysdeps/arm: Move directory from ports/sysdeps/arm.
33541         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
33542         * sysdeps/unix/sysv/linux/arm: Move directory from
33543         ports/sysdeps/unix/sysv/linux/arm.
33544         * README: Update listing for arm-*-linux-gnueabi.
33546         * README: Remove mention of am33.
33548 2014-02-07  Roland McGrath  <roland@hack.frob.com>
33550         * bits/sigset.h (__sigemptyset): Use a statement expression rather
33551         than the comma operator, to avoid "rhs of comma has no effect"
33552         compiler warnings.
33553         (__sigfillset, __sigandset, __sigorset): Likewise.
33554         * include/signal.h (__sigemptyset): Likewise.
33555         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
33557 2014-02-07  Allan McRae  <allan@archlinux.org>
33559         * version.h (RELEASE): Set to "development".
33560         (VERSION): Set to "2.19.90"
33561         * NEWS: Add 2.20 section.
33563 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
33565         [BZ #16529]
33566         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
33568 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
33570         * manual/contrib.texi: Update entry for Carlos O'Donell,
33571         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
33573 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
33575         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
33577         * sysdeps/unix/sysv/linux/kernel-features.h
33578         [__LINUX_KERNEL_VERSION >= 0x020621]
33579         (__ASSUME_PROC_PID_TASK_COMM): Define.
33581 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
33583         [BZ #16398]
33584         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
33585         conversion when destination buffer does not have enough space.
33586         * libio/tst-ftell-partial-wide.c: New test case.
33587         * libio/Makefile (tests): Add tst-ftell-partial-wide.
33589         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
33590         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
33591         Leonard and Allan McRae.
33593 2014-02-04  David S. Miller  <davem@davemloft.net>
33595         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
33596         32-bit.
33598 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
33601         New file
33602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
33603         New file
33604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
33605         New file.
33606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
33607         New file.
33608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
33609         New file.
33610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
33611         New file.
33612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
33613         New file.
33614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
33615         New file.
33616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
33617         New file.
33618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
33619         New file.
33620         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
33621         New file.
33622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
33623         New file.
33624         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
33625         New file.
33627 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33629         * nptl/shlib-versions: Change powerpc*le start to 2.17.
33630         * shlib-versions: Likewise.
33632 2014-02-04  Roland McGrath  <roland@hack.frob.com>
33633             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33635         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
33636         (abilist-pattern): New variable, set to %-le.abilist.
33638         * Makerules (abilist-pattern): New variable.
33639         (vpath): Use $(abilist-pattern) in place of %.abilist.
33640         (check-abi-% pattern rule): Likewise.
33641         (check-abi, update-abi): Likewise.
33643 2014-02-04  Eric Wong  <normalperson@yhbt.net>
33645         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33647 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
33649         * manual/startup.texi: Add next, previous, and top entries for
33650         the `Program Arguments' and `Environment Variables' nodes.
33652 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
33654         * manual/macros.texi: Add comments before MTASC-safety macros.
33656         * manual/users.texi: Document MTASC-safety properties.
33658         * manual/threads.texi (pthread_key_create, pthread_key_delete)
33659         (pthread_getspecific, pthread_setspecific): Format with
33660         @deftypefun, and add @safety note.
33661         * manual/signal.texi: Move comments that analyze the above
33662         functions to their home place.
33664 2014-02-03  Allan McRae  <allan@archlinux.org>
33666         * po/sl.po: Update Slovenian translation from translation project.
33668 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
33670         * manual/time.texi (timegm): Add missing blank after @c.
33671         Reported by Joseph Myers <joseph@codesourcery.com>.
33673 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
33675         * manual/check-safety.sh: New.
33676         * manual/Makefile ($(objpfx)stamp-summary): Run it.
33678         * manual/terminal.texi: Document MTASC-safety properties.
33680         * manual/filesys.texi: Document MTASC-safety properties.
33682         * manual/errno.texi: Document MTASC-safety properties.
33684         * manual/intro.texi: Document safety identifiers and
33685         conditionals.
33687         * manual/string.texi (wcstok): Fix prototype.
33688         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
33690         * manual/time.texi: Document MTASC-safety properties.
33692         * manual/string.texi: Document MTASC-safety properties.
33694         * manual/threads.texi: Document MTASC-safety properties.
33696         * manual/stdio.texi: Document MTASC-safety properties.
33698         * manual/syslog.texi: Document MTASC-safety properties.
33700         * manual/sysinfo.texi: Document MTASC-safety properties.
33702         * manual/startup.texi: Document MTASC-safety properties.
33704         * manual/socket.texi: Document MTASC-safety properties.
33706         * manual/signal.texi: Document MTASC-safety properties.
33708 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
33710         * manual/setjmp.texi: Document MTASC-safety properties.
33712         * manual/search.texi: Document MTASC-safety properties.
33714         * manual/resource.texi: Document MTASC-safety properties.
33716         * manual/process.texi: Document MTASC-safety properties.
33718         * manual/platform.texi: Document MTASC-safety properties.
33720         * manual/pipe.texi: Document MTASC-safety properties.
33722         * manual/pattern.texi: Document MTASC-safety properties.
33724         * manual/message.texi: Document MTASC-safety properties.
33726         [BZ #12751]
33727         * manual/memory.texi: Document MTASC-safety properties.
33729         * manual/math.texi: Document MTASC-safety properties.
33731         * manual/locale.texi: Document MTASC-safety properties.
33733         * manual/llio.texi: Document MTASC-safety properties.
33735         * manual/libdl.texi: New.
33737         * manual/lang.texi: Document MTASC-safety properties.
33739         * manual/job.texi: Document MTASC-safety properties.
33741         * manual/getopt.texi: Document MTASC-safety properties.
33743         * manual/ctype.texi: Document MTASC-safety properties.
33745 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
33747         [BZ #16046]
33748         * csu/libc-tls.c (static_map): Remove variable.
33749         (__libc_setup_tls): Use main executable's link map for TLS data.
33750         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
33751         casing for LM_ID_BASE and GL(dl_nns).
33752         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
33753         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
33754         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
33755         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
33756         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
33757         member.
33758         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
33759         l_phnum members.
33761 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
33763         * manual/debug.texi: Document MTASC-safety properties.
33765 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
33767         [BZ #16510]
33768         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
33769         of __x86_64__ when disabling x87 inline functions.
33771 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
33773         * manual/charset.texi: Document MTASC-safety properties.
33775         * manual/crypt.texi: Document MTASC-safety properties.
33777         * manual/conf.texi: Document MTASC-safety properties.
33779         * manual/arith.texi: Document MTASC-safety properties.
33781         * manual/argp.texi: Document MTASC-safety properties.
33783         * manual/macros.texi: Introduce macros to document multi
33784         thread, asynchronous signal and asynchronous cancellation
33785         safety properties.
33786         * manual/intro.texi: Introduce the properties themselves.
33788 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33790         * sysdeps/sh/sh4/Makefile: New file.
33792 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
33794         * math/gen-libm-test.pl ($srcdir): New variable.
33795         ($auto_input): Use it.
33797 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
33799         [BZ #16506]
33800         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
33801         access beyond array bounds when parsing netgroups file.
33803         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
33804         the old buffer before realloc.
33806 2014-01-27  Allan McRae  <allan@archlinux.org>
33808         * po/fr.po: Update French translation from translation project.
33810 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33812         * sysdeps/sh/libm-test-ulps: Regenerate.
33814 2014-01-24  David S. Miller  <davem@davemloft.net>
33816         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
33818 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33820         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
33821         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
33823 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
33825         [BZ #16474]
33826         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
33827         string pointers after reallocation.
33829 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33831         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
33832         __SH4A__ instead of __SH_FPU_ANY__.
33834 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33836         * sysdeps/sh/fpu_control.h: New file.
33837         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
33838         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
33839         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
33840         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
33841         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
33842         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
33843         * sysdeps/sh/sys/ucontext.h: Remove.
33844         * sysdeps/sh/sys: Remove directory.
33846 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33848         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
33849         s390/sys/ucontext.h.
33850         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
33851         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
33853 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
33855         [BZ #15605]
33856         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
33858 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33860         [BZ#16431]
33861         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
33862         Adjust the vDSO correctly for internal calls.
33863         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
33865 2014-01-20  Allan McRae  <allan@archlinux.org>
33867         * po/ca.po: Update Catalan translation from translation project.
33869 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
33871         * sysdeps/s390/sotruss-lib.c: New file.
33873 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33875         [BZ#16430]
33876         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
33877         (__GI___gettimeofday): Alias for a different internal symbol to avoid
33878         local calls issues by not having a PLT stub required for IFUNC calls.
33879         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
33881 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
33883         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
33884         * math/test-fpucw-static.c: Likewise.
33886 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
33888         [BZ #16453]
33889         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
33891 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33893         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
33894         implementation for powerpc.
33896 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
33898         [BZ #14782]
33899         * sysdeps/posix/system.c (__libc_system): Do not enable
33900         asynchronous cancellation.
33902 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33904         [BZ #16427]
33905         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
33906         handling only for numbers special also in the IEEE case.
33908 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33910         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
33912 2014-01-11  Allan McRae  <allan@archlinux.org>
33914         * po/bg.po: Update Bulgarian translation from translation project.
33916         * po/de.po: Update German translation from translation project.
33918 2014-01-10  Roland McGrath  <roland@hack.frob.com>
33920         * sysdeps/generic/gcc-compat.h: New file.
33922 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
33924         * benchtests/asin-inputs: Correct slow inputs.
33925         * benchtests/acos-inputs: Likewise.
33927 2014-01-10  Allan McRae  <allan@archlinux.org>
33929         * po:sv.po: Update Swedish translation from translation project.
33931         * po/vi.po: Update Vietnamese translation from translation project.
33933         * po/eo.po: Update Esperanto translation from translation project.
33935         * po/cs.po: Update Czech translation from translation project.
33937         * po/nl.po: Update Dutch translation from translation project.
33939         * po/pl.po: Update Polish translation from translation project.
33941         * po/ru.po: Update Russian translation from translation project.
33943         * po/uk.po: Update Ukrainian translation from translation project.
33945 2014-01-08  Brooks Moses  <bmoses@google.com>
33947         * elf/dl-load.c: Fix comment typo.
33949 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
33951         * po/header.pot: Rename to...
33952         * po/pot.header: ... this.
33953         * po/Makefile: Use pot.header.
33955 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
33956             Maxim Kuvyrkov  <maxim@kugelworks.com>
33958         [BZ #16394]
33959         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
33960         SRC and DEST against LEN.
33962 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33964         [BZ #16414]
33965         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
33966         implementation.
33967         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
33969 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33971         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33973 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
33975         [BZ #16408]
33976         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
33977         for large positive arguments.
33979 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
33981         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
33983         * math/auto-libm-test-in: Mark various tests with
33984         xfail-rounding:ldbl-128ibm.
33985         * math/auto-libm-test-out: Regenerated.
33987         [BZ #16407]
33988         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
33989         Increase overflow threshold.
33991 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
33993         [BZ #14286]
33994         * stdio-common/vfprintf.c: Check for integer overflow.
33996 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33998         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
33999         the first argument and return value of __tls_get_addr_internal.
34001 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34003         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
34004         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
34006 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34008         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
34009         * sysdeps/s390/rtld-global-offsets.sym: New file.
34010         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
34011         GLIBC_2.19 symbol.
34012         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
34013         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
34014         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
34015         ... this.
34016         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
34017         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
34018         ... this.
34019         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
34020         Regenerate.
34021         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
34022         Regenerate.
34023         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
34024         halfs of GPRs for high_gprs contexts.
34025         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
34026         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
34027         field.
34028         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
34029         uc_flags field.
34030         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
34031         64 bit versions:
34032         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
34033         for high GPRs (uc_high_gprs) and for future extensions
34034         (__reserved).
34035         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
34036         for future extensions (__reserved).
34037         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
34038         64 bit versions:
34039         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
34040         SC_HIGHGPRS offset definition.
34041         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
34042         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
34044         * Versions.def: Add GLIBC_2.19 for libpthread.
34045         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
34046         siglongjmp for libpthread with GLIBC_2.19 symver.
34047         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
34048         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
34049         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
34050         * sysdeps/s390/__longjmp.c: New file.
34051         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
34052         * sysdeps/s390/longjmp.c: New file.
34053         * sysdeps/s390/setjmp.S: New file.
34054         * sysdeps/s390/sigjmp.S: New file.
34055         * sysdeps/s390/v1-longjmp.c: New file.
34056         * sysdeps/s390/v1-setjmp.h: New file.
34057         * sysdeps/s390/v1-sigjmp.c: New file.
34058         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
34059         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
34060         GLIBC_2.19 version.
34061         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
34062         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
34063         versioned symbols for ____longjmp_chk.
34064         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
34065         Likewise.
34066         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
34067         Regenerate.
34068         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
34069         Regenerate.
34070         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
34071         Regenerate.
34072         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
34073         Regenerate.
34074         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
34075         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
34076         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
34077         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
34078         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
34079         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
34080         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
34081         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
34082         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
34083         * sysdeps/s390/rtld-__longjmp.c: New file.
34084         * sysdeps/s390/rtld-setjmp.S: New file.
34086 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
34088         [BZ #16400]
34089         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
34090         Return -__logl (x) for small positive arguments without evaluating
34091         a polynomial.
34093 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
34095         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
34096         Rename to ...
34097         (__ptrace_peeksiginfo_args): ... this.
34098         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34099         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34100         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34102 2014-01-06  Allan McRae  <allan@archlinux.org>
34104         * inet/netinet/in.h: Fix typo in comment.
34106 2014-01-05  Andreas Jaeger  <aj@suse.de>
34108         * sysdeps/i386/fpu/libm-test-ulps: Update.
34110 2014-01-05  Allan McRae  <allan@archlinux.org>
34112         * po/libc.pot: Regenerated.
34114         * malloc/memusagestat.c: Fix gettext call formatting.
34116 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
34118         * nscd/nscd.c: Improve usage() output.
34120 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
34122         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
34123         * sysdeps/unix/sysv/linux/configure: Regenerated.
34124         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
34125         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
34127 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
34129         [BZ #16390]
34130         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
34131         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
34133 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34135         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
34136         extra tokens at end of #undef directive.
34137         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
34138         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
34139         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
34141 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
34143         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
34145         * math/auto-libm-test-in: Mark various tests with
34146         xfail-rounding:ldbl-128ibm.
34147         * math/auto-libm-test-out: Regenerated.
34149 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
34151         [BZ #16386]
34152         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
34153         numbers with subnormal high part when calculating exponent.
34155         [BZ #16385]
34156         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
34157         fabs.
34159         [BZ #16384]
34160         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
34161         M_LN2l.
34162         (__ieee754_acoshl): Use __log1pl not __log1p.
34164 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
34166         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
34167         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
34168         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
34169         (grow_heap, heap_trim, _int_new_arena, get_free_list)
34170         (reused_arena, arena_get2): Convert to GNU style.
34171         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
34172         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
34173         (memalign_check, __malloc_set_state): Likewise.
34174         * malloc/mallocbug.c (main): Likewise.
34175         * malloc/malloc.c (__malloc_assert, malloc_init_state)
34176         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
34177         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
34178         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
34179         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
34180         (__posix_memalign, malloc_info): Likewise.
34181         * malloc/malloc.h: Likewise.
34182         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
34183         (mallochook, memalignhook, reallochook, mabort): Likewise.
34184         * malloc/mcheck.h: Likewise.
34185         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
34186         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
34187         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
34188         * malloc/morecore.c (__default_morecore): Likewise.
34189         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
34190         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
34191         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
34192         (print_and_abort): Likewise.
34193         * malloc/obstack.h: Likewise.
34194         * malloc/set-freeres.c (__libc_freeres): Likewise.
34195         * malloc/tst-mallocstate.c (main): Likewise.
34196         * malloc/tst-mtrace.c (main): Likewise.
34197         * malloc/tst-realloc.c (do_test): Likewise.
34199 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
34201         [BZ #16366]
34202         * nscd/netgroupcache.c (do_notfound): New function.
34203         (addgetnetgrentX): Use it.
34205         [BZ # 16365]
34206         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
34207         NSS_STATUS_NOTFOUND.
34209 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
34211         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
34212         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34214 2014-01-01  Allan McRae  <allan@archlinux.org>
34216         * scripts/update-copyrights: Update configure input file suffix.
34218         * NEWS: Update copyright year.
34219         * catgets/gencat.c: Likewise.
34220         * csu/version.c: Likewise.
34221         * debug/catchsegv.sh: Likewise.
34222         * debug/pcprofiledump.c: Likewise.
34223         * debug/xtrace.sh: Likewise.
34224         * elf/ldconfig.c: Likewise.
34225         * elf/ldd.bash.in: Likewise.
34226         * elf/pldd.c: Likewise.
34227         * elf/sotruss.ksh: Likewise.
34228         * elf/sprof.c: Likewise.
34229         * iconv/iconv_prog.c: Likewise.
34230         * iconv/iconvconfig.c: Likewise.
34231         * locale/programs/locale.c: Likewise.
34232         * locale/programs/localedef.c: Likewise.
34233         * login/programs/pt_chown.c: Likewise.
34234         * malloc/memusage.sh: Likewise.
34235         * malloc/memusagestat.c: Likewise.
34236         * malloc/mtrace.pl: Likewise.
34237         * manual/libc.texinfo: Likewise.
34238         * nscd/nscd.c: Likewise.
34239         * nss/getent.c: Likewise.
34240         * nss/makedb.c: Likewise.
34241         * posix/getconf.c: Likewise.
34242         * scripts/test-installation.pl: Likewise.
34244         * All files with FSF copyright notices: Update copyright dates
34245         using scripts/update-copyrights.
34246         * intl/plural.c: Regenerated.
34247         * locale/programs/charmap-kw.h: Likewise.
34248         * locale/programs/locfile-kw.h: Likewise.
34250 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
34252         * sysdeps/unix/sysv/linux/configure: Regenerated.
34253         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
34254         the linux/fanotify.h header.
34255         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
34256         HAVE_LINUX_FANOTIFY_H is defined.
34258 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
34260         * benchtests/cos-inputs: New inputs.
34261         * benchtests/sin-inputs: Likewise.
34263         * benchtests/atan-inputs: New inputs. Fix name of multiple
34264         precision fallback inputs.
34266         * benchtests/atanh-inputs: New inputs.
34267         * benchtests/tanh-inputs: Likewise.
34269         * benchtests/acosh-inputs: New inputs.
34270         * benchtests/asinh-inputs: Likewise.
34272         * benchtests/cosh-inputs: New inputs.
34273         * benchtests/sinh-inputs: Likewise.
34275         * benchtests/acos-inputs: Add more inputs.
34276         * benchtests/asin-inputs: Likewise.
34278 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
34280         [BZ #16375]
34281         * manual/arith.texi: Fix spelling.
34282         * manual/charset.texi: Likewise.
34283         * manual/errno.texi: Likewise.
34284         * manual/filesys.texi: Likewise.
34285         * manual/lang.texi: Likewise.
34286         * manual/llio.texi: Likewise.
34287         * manual/locale.texi: Likewise.
34288         * manual/message.texi: Likewise.
34289         * manual/resource.texi: Likewise.
34290         * manual/search.texi: Likewise.
34291         * manual/setjmp.texi: Likewise.
34292         * manual/stdio.texi: Likewise.
34293         * manual/string.texi: Likewise.
34294         * manual/sysinfo.texi: Likewise.
34295         * manual/time.texi: Likewise.
34297 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
34299         * po/sl.po: New file.
34301 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
34303         * .gitignore: Add core/.gdbinit/.gdb_history.
34305 2013-12-27  Allan McRae  <allan@archlinux.org>
34307         [BZ #16369]
34308         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
34309         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
34311 2013-12-24  Brooks Moses  <bmoses@google.com>
34313         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
34314         all compilers that claim C++98 compliance, not just GCC.
34315         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
34316         Likewise.
34318 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
34320         * NEWS: Restore accidentally deleted bug-fix entries.
34322 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
34323             Ondřej Bílka  <neleai@seznam.cz>
34325         [BZ #15073]
34326         * malloc/malloc.c (_int_free): Perform sanity check only if we
34327         have_lock.
34329 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
34331         [BZ #12986]
34332         * manual/stdio.texi (String Input Conversions): Clarify that character
34333         classes are not supported.
34335 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34337         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34339 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
34341         [BZ #16337]
34342         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
34343         Calculate results for small negative arguments directly rather
34344         than using reflection formula with special underflow handling.
34346         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
34347         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
34348         sysdeps/unix/bsd/bsd4.4/syscalls.list.
34349         (fchflags): Likewise.
34350         (revoke): Likewise.
34351         (setlogin): Likewise.
34352         (sigaltstack): Likewise.
34353         (wait4): Likewise.
34354         (sigblock): Remove.
34355         (sigsetmask): Likewise.
34356         (wait3): Likewise.
34357         (waitpid): Likewise.
34358         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
34359         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
34360         file.
34361         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
34362         * sysdeps/unix/bsd/Makefile: ... here.
34363         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
34364         * sysdeps/unix/bsd/Versions: ... here.
34365         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
34366         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
34367         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
34368         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
34369         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
34370         * sysdeps/unix/bsd/sigblock.c: ... here.
34371         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
34372         * sysdeps/unix/bsd/sigsetmask.c: ... here.
34373         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
34374         * sysdeps/unix/bsd/sigvec.c: ... here.
34375         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
34376         * sysdeps/unix/bsd/tcdrain.c: ... here.
34377         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
34378         * sysdeps/unix/bsd/tcgetattr.c: ... here.
34379         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
34380         * sysdeps/unix/bsd/tcsetattr.c: ... here.
34381         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
34382         * sysdeps/unix/bsd/wait.c: ... here.
34383         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
34384         * sysdeps/unix/bsd/wait3.c: ... here.
34385         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
34386         * sysdeps/unix/bsd/waitpid.c: ... here.
34388 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
34390         [BZ #16356]
34391         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
34392         round-to-nearest for [!USE_AS_EXPM1L].
34393         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
34394         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
34395         more tests of exp and exp10.  Expect some exp10 tests to miss
34396         exceptions or fail in directed rounding modes.
34397         * math/auto-libm-test-out: Regenerated.
34398         * math/libm-test.inc (exp10_tonearest_test_data): New array.
34399         (exp10_test_tonearest): New function.
34400         (exp10_towardzero_test_data): New array.
34401         (exp10_test_towardzero): New function.
34402         (exp10_downward_test_data): New array.
34403         (exp10_test_downward): New function.
34404         (exp10_upward_test_data): New array.
34405         (exp10_test_upward): New function.
34406         (main): Call the new functions.
34407         * sysdeps/i386/fpu/libm-test-ulps: Update.
34408         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34410 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
34412         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
34413         asinh, atan, atan2, atanh, cbrt, cos and cosh.
34414         * math/auto-libm-test-out: Regenerated.
34415         * math/libm-test.inc (acosh_test_data): Add more tests.
34416         (atanh_test_data): Likewise.
34417         (ceil_test_data): Likewise.
34418         (copysign_test_data): Likewise.
34419         * sysdeps/i386/fpu/libm-test-ulps: Update.
34420         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34422         * timezone/checktab.awk: Update from tzcode 2013i.
34423         * timezone/private.h: Likewise.
34424         * timezone/scheck.c: Likewise.
34425         * timezone/tzfile.h: Likewise.
34426         * timezone/tzselect.ksh: Likewise.
34427         * timezone/zdump.c: Likewise.
34428         * timezone/zic.c: Likewise.
34430         * math/auto-libm-test-in: Add tests of cpow.
34431         * math/auto-libm-test-out: Regenerated.
34432         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
34433         * math/gen-auto-libm-tests.c (func_calc_method): Add value
34434         mpc_cc_c.
34435         (func_calc_desc): Add mpc_cc_c union field.
34436         (test_functions): Add cpow.
34437         (special_fill_2pi): New function.
34438         (special_real_inputs): Add 2pi.
34439         (calc_generic_results): Handle mpc_cc_c.
34440         * sysdeps/i386/fpu/libm-test-ulps: Update.
34441         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34443         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
34444         csqrt, ctan and ctanh.
34445         * math/auto-libm-test-out: Regenerated.
34446         * math/libm-test.inc (TEST_COND_x86_64): New macro.
34447         (TEST_COND_x86): Likewise.
34448         (ccos_test_data): Use AUTO_TESTS_c_c.
34449         (ccosh_test_data): Likewise.
34450         (cexp_test_data): Likewise.
34451         (clog_test_data): Likewise.
34452         (csqrt_test_data): Likewise.
34453         (ctan_test_data): Likewise.
34454         (ctan_tonearest_test_data): Likewise.
34455         (ctan_towardzero_test_data): Likewise.
34456         (ctan_downward_test_data): Likewise.
34457         (ctan_upward_test_data): Likewise.
34458         (ctanh_test_data): Likewise.
34459         (ctanh_tonearest_test_data): Likewise.
34460         (ctanh_towardzero_test_data): Likewise.
34461         (ctanh_downward_test_data): Likewise.
34462         (ctanh_upward_test_data): Likewise.
34463         * math/gen-auto-libm-tests.c (func_calc_method): Add value
34464         mpc_c_c.
34465         (func_calc_desc): Add mpc_c_c union field.
34466         (FUNC_mpc_c_c): New macro.
34467         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
34468         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
34469         ctanh.
34470         (special_fill_min_subnorm_p120): New function.
34471         (special_real_inputs): Add min_subnorm_p120.
34472         (calc_generic_results): Handle mpc_c_c.
34473         * sysdeps/i386/fpu/libm-test-ulps: Update.
34474         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34476 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
34478         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
34479         (do_sin_slow): New functions.
34480         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
34481         (cslow2, csloww1, csloww2): Use the new functions.
34483         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
34484         Use M to change sign of result instead of X.  Assume X is
34485         positive.
34486         (csloww1): Likewise.
34487         (__sin): Adjust.
34488         (__cos): Adjust.
34490         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
34491         arguments A and DA.
34492         (__sin): Adjust.
34493         (__cos): Likewise.
34495         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
34496         (__cos): Likewise.
34497         (sloww1): Don't adjust sign of DX.
34498         (csloww1): Likewise.
34499         (sloww2): Use X directly and don't adjust sign of DX.
34500         (csloww2): Likewise.
34502 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
34504         * math/auto-libm-test-in: Add tests of cabs and carg.
34505         * math/auto-libm-test-out: Regenerated.
34506         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
34507         (carg_test_data): Likewise.
34508         * math/gen-auto-libm-tests.c (func_calc_method): Add value
34509         mpc_c_f.
34510         (func_calc_desc): Add mpc_c_f union field.
34511         (test_functions): Add cabs and carg.
34512         (calc_generic_results): Handle mpc_c_f.
34514         * sysdeps/powerpc/powerpc32/libgcc-compat.S
34515         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
34516         as a macro and a compat symbol.
34517         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
34518         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
34519         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
34520         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
34521         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
34522         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
34523         not use .hidden.
34524         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
34525         Likewise.
34526         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
34527         Likewise.
34528         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
34529         Likewise.
34530         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
34531         Likewise.
34532         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
34533         Likewise.
34534         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
34535         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
34536         from GLIBC_2.3.2.
34538 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34540         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34542 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
34544         * manual/texinfo.tex: Update to version 2013-11-26.10 with
34545         trailing whitespace removed.
34546         * scripts/config.guess: Update to version 2013-11-29.
34547         * scripts/config.sub: Update to version 2013-10-01.
34549         * math/auto-libm-test-in: Add tests of sincos.
34550         * math/auto-libm-test-out: Regenerated.
34551         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
34552         * math/gen-auto-libm-tests.c (func_calc_method): Add value
34553         mpfr_f_11.
34554         (func_calc_desc): Add mpfr_f_11 union field.
34555         (test_functions): Add sincos.
34556         (calc_generic_results): Handle mpfr_f_11.
34557         * sysdeps/i386/fpu/libm-test-ulps: Update.
34558         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34560 2013-12-19  Andreas Schwab  <schwab@suse.de>
34562         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
34563         CALL_MCOUNT.
34564         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
34565         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
34566         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
34568 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
34570         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
34571         * sysdeps/i386/fpu/libm-test-ulps: Update.
34572         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34574         [BZ #16293]
34575         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
34576         round-to-nearest mode when using frndint.
34577         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
34578         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
34579         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
34580         Likewise.
34581         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
34582         sinh test to fail.
34583         * math/auto-libm-test-out: Regenerated.
34584         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
34585         (TEST_COND_x86): Likewise.
34586         (expm1_tonearest_test_data): New array.
34587         (expm1_test_tonearest): New function.
34588         (expm1_towardzero_test_data): New array.
34589         (expm1_test_towardzero): New function.
34590         (expm1_downward_test_data): New array.
34591         (expm1_test_downward): New function.
34592         (expm1_upward_test_data): New array.
34593         (expm1_test_upward): New function.
34594         (main): Run the new test functions.
34595         * sysdeps/i386/fpu/libm-test-ulps: Update.
34596         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34598         * include/features.h: Update comment documenting feature test
34599         macros.  Mention _DEFAULT_SOURCE in comment.
34600         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
34601         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
34602         _BSD_SOURCE and _SVID_SOURCE.
34603         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
34604         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
34605         !_SVID_SOURCE]: Likewise.
34606         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
34607         (__USE_POSIX_IMPLICITLY): Define.
34608         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
34609         (_POSIX_SOURCE): Undefine and redefine.
34610         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
34611         (_POSIX_C_SOURCE): Likewise.
34612         * manual/creature.texi (_DEFAULT_SOURCE): Document.
34613         (Feature Test Macros): Update documentation of default features.
34615 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
34617         * benchtests/Makefile: Add bench-strtok.
34618         * benchtests/bench-strtok.c: New file: strtok benchtest.
34620 2013-12-19  Allan McRae  <allan@archlinux.org>
34622         * manual/install.texi: Suppress menu for plain text output.
34623         * INSTALL: Regenerated.
34625 2013-12-18  Brooks Moses  <bmoses@google.com>
34627         [BZ #15846]
34628         * misc/getauxval.c: Include errno.h.
34629         (__getauxval): Set errno to ENOENT if the requested type is not
34630         found.
34631         * misc/sys/auxv.h (getauxval): Document that it may set errno;
34632         don't declare with __attribute_const__.
34633         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
34634         * manual/startup.texi: Document that getauxval sets errno.
34636 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
34638         * math/auto-libm-test-in: Add tests of jn and yn.
34639         * math/auto-libm-test-out: Regenerated.
34640         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
34641         (yn_test_data): Likewise.
34642         * math/gen-auto-libm-tests.c (func_calc_method): Add value
34643         mpfr_if_f.
34644         (func_calc_desc): Add mpfr_if_f union field.
34645         (FUNC_mpfr_if_f): New macro.
34646         (test_functions): Add jn and yn.
34647         (calc_generic_results): Assert type of second input for
34648         mpfr_ff_f.  Handle mpfr_if_f.
34649         (output_for_one_input_case): Disable all checking for arguments
34650         fitting floating-point types in case of an integer argument.
34651         * sysdeps/i386/fpu/libm-test-ulps: Update.
34652         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34654         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
34655         Don't expect fegetround reference in libm.so.
34657 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
34659         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
34660         $(config-cflags-nofma).
34662 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
34664         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
34665         * math/auto-libm-test-out: Regenerated.
34667         [BZ #16338]
34668         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
34669         to determine exponent and adjust argument to have exponent of -1.
34670         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
34671         log2.
34672         * math/auto-libm-test-out: Regenerated.
34673         * sysdeps/i386/fpu/libm-test-ulps: Update.
34674         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34676 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
34678         * manual/probes.texi: Remove cases when per-thread arenas are
34679         disabled.
34681 2013-12-18  Andreas Schwab  <schwab@suse.de>
34683         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
34684         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
34685         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
34686         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
34687         * sysdeps/i386/i686/multiarch/Makefile: Update.
34688         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
34690 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
34692         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
34693         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
34695 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
34697         [BZ #15968]
34698         Support TZ transition times < 00:00:00.
34699         This is needed for version-3 tz-format files; it supports time
34700         stamps past 2037 for America/Godthab (the only entry in the tz
34701         database for which this change is relevant).
34702         * manual/time.texi (TZ Variable): Document transition times
34703         from -167:59:59 through -00:00:01.
34704         * time/tzset.c (tz_rule): Time of day is now signed.
34705         (__tzset_parse_tz): Parse negative time of day.
34707         Document TZ transition times >= 25:00:00.
34708         * manual/time.texi (TZ Variable): Document transition times from
34709         25:00:00 through 167:59:59.  These are already supported, and this
34710         support will help with version-3 tz-format files.
34712         * manual/time.texi (TZ Variable): Modernize North America example
34713         to reflect current (i.e., 2007-and-later) daylight saving rules.
34715         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
34717 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
34719         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
34720         * sysdeps/unix/bsd/bits/stat.h: Likewise.
34721         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
34722         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
34723         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
34724         * sysdeps/unix/bsd/bsdstat.h: Likewise.
34725         * sysdeps/unix/bsd/clock.c: Likewise.
34726         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
34727         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
34728         * sysdeps/unix/bsd/init-posix.c: Likewise.
34729         * sysdeps/unix/bsd/poll.c: Likewise.
34730         * sysdeps/unix/bsd/ptsname.c: Likewise.
34731         * sysdeps/unix/bsd/seekdir.c: Likewise.
34732         * sysdeps/unix/bsd/setegid.c: Likewise.
34733         * sysdeps/unix/bsd/seteuid.c: Likewise.
34734         * sysdeps/unix/bsd/setgid.c: Likewise.
34735         * sysdeps/unix/bsd/setrgid.c: Likewise.
34736         * sysdeps/unix/bsd/setruid.c: Likewise.
34737         * sysdeps/unix/bsd/setsid.c: Likewise.
34738         * sysdeps/unix/bsd/setuid.c: Likewise.
34739         * sysdeps/unix/bsd/sigaction.c: Likewise.
34740         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
34741         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
34742         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
34743         * sysdeps/unix/bsd/telldir.c: Likewise.
34744         * sysdeps/unix/bsd/times.c: Likewise.
34745         * sysdeps/unix/bsd/usleep.c: Likewise.
34747         * misc/Makefile (install-lib): Remove libbsd-compat.a.
34748         ($(objpfx)libbsd-compat.a): Remove rule.
34750         * include/features.h (__FAVOR_BSD): Do not define.
34751         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
34752         features conflicting with POSIX.
34753         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
34754         (_BSD_SOURCE): Remove description of not being a subset of other
34755         feature test macros.
34756         * manual/job.texi (getpgrp): Do not document BSD version.
34757         (getpgid): Do not document by reference to BSD getpgrp.
34758         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
34759         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
34760         * signal/signal.h [__FAVOR_BSD]: Likewise.
34761         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
34762         instead of making contents conditional on [__FAVOR_BSD].
34763         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
34765 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34767         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34769 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
34771         [BZ #16314]
34772         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
34773         values below 2**-450, not 2**-500.
34774         * math/auto-libm-test-in: Don't allow spurious underflow from
34775         hypot.
34776         * math/auto-libm-test-out: Regenerated.
34778         [BZ #16316]
34779         [BZ #16330]
34780         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
34781         values of ha and hb and sort them after adjusting subnormal
34782         arguments.
34783         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
34784         Likewise.
34785         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
34786         values of ea and eb and sort them after adjusting subnormal
34787         arguments.
34788         * math/auto-libm-test-in: Do not expect some hypot tests of
34789         subnormals to fail.  Add more hypot tests.
34790         * math/auto-libm-test-out: Regenerated.
34792 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34794         [BZ #13304]
34795         * sysdeps/sh/s_fma.c: New file.
34796         * sysdeps/sh/s_fmaf.c: New file.
34797         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
34798         version.
34799         * sysdeps/sh/Implies: Add sh/soft-fp.
34801 2013-12-16  Roland McGrath  <roland@hack.frob.com>
34803         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
34804         level of indirection to members `objname', `errstring', `malloced'.
34805         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
34806         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
34807         it as the __longjmp argument (just pass 1 instead).
34808         (_dl_catch_error): Initialize C with argument pointers and address of
34809         volatile local ERRCODE rather than copying values out of C at return.
34811 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
34813         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
34814         * math/auto-libm-test-out: Regenerated.
34815         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
34816         (hypot_test_data): Likewise.
34817         (pow_test_data): Likewise.
34818         (pow_tonearest_test_data): Likewise.
34819         * math/gen-auto-libm-tests.c (func_calc_method): Add value
34820         mpfr_ff_f.
34821         (func_calc_desc): Add mpfr_ff_f union field.
34822         (FUNC_mpfr_ff_f): New macro.
34823         (test_functions): Add atan2, hypot and pow.
34824         (special_fill_min): New function.
34825         (special_fill_minus_min): Likewise.
34826         (special_fill_min_subnorm): Likewise.
34827         (special_fill_minus_min_subnorm): Likewise.
34828         (special_real_inputs): Add min, -min, min_subnorm and
34829         -min_subnorm.
34830         (calc_generic_results): Handle mpfr_ff_f.
34831         * sysdeps/i386/fpu/libm-test-ulps: Update.
34832         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34834 2013-12-16  Will Newton  <will.newton@linaro.org>
34836         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
34837         (Aligned Memory Blocks): Add documentation for aligned_alloc
34838         and suggest it as an alternative to posix_memalign.
34839         (Hooks for Malloc): Document __memalign_hook is also called
34840         for aligned_alloc.  (Summary of Malloc): Add summary for
34841         aligned alloc.  Document __memalign_hook is also called
34842         for aligned_alloc.
34844 2013-12-16  Will Newton  <will.newton@linaro.org>
34846         * manual/memory.texi (Malloc Examples): Clarify default
34847         alignment documentation.  Suggest posix_memalign rather
34848         than memalign or valloc.
34849         (Aligned Memory Blocks): Remove suggestion to use memalign
34850         or valloc.  Remove obsolete comment about BSD.
34851         Document memalign errno values and mark the function obsolete.
34852         Document posix_memalign returned error codes.  Mark valloc
34853         as obsolete.  (Hooks for Malloc): __memalign_hook is also
34854         called for posix_memalign and valloc.
34855         (Summary of Malloc): Add posix_memalign to function summary.
34856         __memalign_hook is also called for posix_memalign and valloc.
34858 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
34860         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
34861         TAYLOR_SIN.
34862         (__sin): Adjust.
34863         (__cos): Likewise.
34864         (sloww): Use mynumber union.  Expand ternary operator into
34865         if-else statements.
34866         (cslow): use mynumber union.
34868 2013-12-16  Allan McRae  <allan@archlinux.org>
34870         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
34871         * configure: Regenerated.
34873         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
34875         [BZ #14120]
34876         * configure.ac: Added --enable-maintainer-mode. Check for
34877         autoconf when enabled.
34878         * configure: Regenerated.
34880         * nscd/nscd.service: New file.
34881         * nscd/nscd.tmpfiles: New file.
34883 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
34885         [BZ #12100]
34886         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
34887         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
34888         * sysdeps/x86_64/multiarch/strstr.c: ... here.
34889         (strstr): Add __strstr_sse2_unaligned ifunc.
34890         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
34891         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
34892         (strcasestr): Remove __strcasestr_sse42 ifunc.
34893         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
34894         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
34895         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
34897 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34899         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
34900         * sysdeps/sh/bits/fenv.h: ... here.
34901         * sysdeps/sh/sh4/fpu/bits: Remove directory.
34903 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34905         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
34907         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
34908         hypotf multiarch implementations.
34909         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
34910         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
34911         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
34912         multiarch hypot for PPC64.
34913         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
34914         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
34915         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
34916         multiarch hypotf for PPC64.
34918         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
34919         modff multiarch implementations.
34920         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
34921         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
34922         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
34923         multiarch modf for PPC64.
34924         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
34925         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
34926         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
34927         multiarch modff for PPC64.
34929         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
34930         and logl multiarch implementations.
34931         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
34932         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
34933         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
34934         multiarch logb for PPC64.
34935         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
34936         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
34937         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
34938         multiarch logb for PPC64.
34939         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
34940         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
34941         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
34942         multiarch logb for PPC64.
34944         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
34945         isinff multiarch implementation.
34946         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
34947         file.
34948         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
34949         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
34950         multiarch isinf for PPC64.
34951         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
34952         file.
34953         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
34954         multiarch isinff for PPC64.
34956         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
34957         finitef multiarch implementation.
34958         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
34959         file.
34960         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
34961         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
34962         multiarch finite for PPC64.
34963         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
34964         file.
34965         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
34966         multiarch finitef for PPC64.
34968         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
34969         lrint multiarch implementation.
34970         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
34971         file.
34972         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
34973         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
34974         multiarch llrint for PPC64.
34975         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
34976         multiarch lrint for PPC64.
34978         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
34979         copysignf multiarch implementation.
34980         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
34981         file.
34982         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
34983         file.
34984         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
34985         multiarch copysign for PPC64.
34986         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
34987         multiarch copysignf for PPC64.
34989         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
34990         multiarch implementation.
34991         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
34992         file.
34993         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
34994         file.
34995         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
34996         file.
34997         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
34998         file.
34999         multiarch llround for PPC64.
35000         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
35001         multiarch trunc for PPC64.
35002         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
35003         multiarch truncf for PPC64.
35005         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
35006         multiarch implementation.
35007         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
35008         file.
35009         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
35010         file.
35011         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
35012         file.
35013         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
35014         file.
35015         multiarch llround for PPC64.
35016         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
35017         multiarch round for PPC64.
35018         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
35019         multiarch roundf for PPC64.
35021         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
35022         multiarch implementation.
35023         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
35024         file.
35025         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
35026         file.
35027         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
35028         file.
35029         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
35030         file.
35031         multiarch llround for PPC64.
35032         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
35033         multiarch floor for PPC64.
35034         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
35035         multiarch floorf for PPC64.
35037         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
35038         multiarch implementation.
35039         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
35040         file.
35041         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
35042         file.
35043         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
35044         file.
35045         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
35046         file.
35047         multiarch llround for PPC64.
35048         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
35049         multiarch ceil for PPC64.
35050         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
35051         multiarch ceilf for PPC64.
35053         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
35054         multiarch implementation.
35055         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
35056         file.
35057         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
35058         file.
35059         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
35060         file.
35061         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
35062         multiarch llround for PPC64.
35063         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
35064         multiarch lround for PPC64.
35066         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
35067         multiarch implementation.
35068         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
35069         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
35070         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
35071         file.
35072         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
35073         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
35074         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
35075         multiarch isnan for PPC64.
35076         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
35077         multiarch isnanf for PPC64.
35079         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
35080         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
35081         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
35082         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
35083         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
35084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
35086         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
35087         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
35088         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
35089         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
35091         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
35092         multiarch implementations.
35093         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35094         (__libc_ifunc_impl_list): Likewise.
35095         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
35096         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
35097         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
35098         multiarch stpcpy for PPC64.
35100         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
35101         multiarch implementations.
35102         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35103         (__libc_ifunc_impl_list): Likewise.
35104         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
35105         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
35106         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
35107         multiarch strcpy for PPC64.
35109         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
35110         redefine function name.
35111         (_wordcopy_fwd_dest_aligned): Likewise.
35112         (_wordcopy_bwd_aligned): Likewise.
35113         (_wordcopy_bwd_dest_aligned): Likewise.
35114         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
35115         multiarch implementations.
35116         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35117         (__libc_ifunc_impl_list): Likewise.
35118         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
35119         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
35120         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
35121         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
35122         multiarch wcscpy for PPC64.
35124         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
35125         multiarch implementations.
35126         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35127         (__libc_ifunc_impl_list): Likewise.
35128         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
35129         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
35130         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
35131         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
35132         multiarch wcscpy for PPC64.
35134         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
35135         multiarch implementations.
35136         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35137         (__libc_ifunc_impl_list): Likewise.
35138         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
35139         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
35140         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
35141         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
35142         multiarch wcsrchr for PPC64.
35144         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
35145         multiarch implementations.
35146         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35147         (__libc_ifunc_impl_list): Likewise.
35148         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
35149         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
35150         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
35151         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
35152         multiarch wcschr for PPC64.
35154         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
35155         multiarch implementations.
35156         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35157         (__libc_ifunc_impl_list): Likewise.
35158         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
35159         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
35160         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
35161         multiarch strchrnul for PPC64.
35163         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
35164         implementations.
35165         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35166         (__libc_ifunc_impl_list): Likewise.
35167         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
35168         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
35169         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
35170         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
35171         strchr for PPC64.
35173         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
35174         implementations.
35175         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35176         (__libc_ifunc_impl_list): Likewise.
35177         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
35178         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
35179         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
35180         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
35181         strncmp for PPC64.
35183         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
35184         multiarch implementations.
35185         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35186         (__libc_ifunc_impl_list): Likewise.
35187         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
35188         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
35189         strncasecmp for PPC64.
35190         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
35191         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
35192         multiarch strncasecmp_l for PPC64.
35194         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
35195         multiarch implementations.
35196         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
35197         (__libc_ifunc_impl_list): Likewise.
35198         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
35199         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
35200         multiarch strcasecmp for PPC64.
35201         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
35202         file.
35203         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
35204         multiarch strcasecmp_l for PPC64.
35206         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
35207         implementations.
35208         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35209         (__libc_ifunc_impl_list): Likewise.
35210         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
35211         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
35212         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
35213         strnlen for PPC64.
35215         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
35216         implementations.
35217         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35218         (__libc_ifunc_impl_list): Likewise.
35219         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
35220         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
35221         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
35222         strlen for PPC64.
35224         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
35225         implementations.
35226         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35227         (__libc_ifunc_impl_list): Likewise.
35228         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
35229         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
35230         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
35231         rawmemrchr for PPC64.
35233         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
35234         implementation.
35235         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35236         (__libc_ifunc_impl_list): Likewise.
35237         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
35238         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
35239         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
35240         memrchr for PPC64.
35242         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
35243         implementation.
35244         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35245         (__libc_ifunc_impl_list): Likewise.
35246         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
35247         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
35248         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
35249         memchr for PPC64.
35251         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
35252         implementation.
35253         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35254         (__libc_ifunc_impl_list): Likewise.
35255         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
35256         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
35257         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
35258         mempcpy for PPC64.
35260         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
35261         avoid cretion of __bzero symbol.
35262         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
35263         Likewise.
35264         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
35265         Likewise.
35266         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
35267         Likewise.
35268         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
35269         multiarch implementations.
35270         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35271         (__libc_ifunc_impl_list): Likewise.
35272         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
35273         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
35274         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
35275         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
35276         bzero for PPC32.
35277         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
35278         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
35279         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
35280         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
35281         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
35282         memset for PPC64.
35283         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
35285         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
35286         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
35287         implementations.
35288         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35289         (__libc_ifunc_impl_list): Likewise.
35290         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
35291         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
35292         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
35293         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
35294         memcmp for PPC64.
35296         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
35297         multiarch for POWER/PPC64.
35298         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
35299         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
35300         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
35301         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
35302         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
35303         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
35304         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
35305         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
35306         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
35307         memcpy for PPC64.
35309         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
35310         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
35311         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
35312         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
35313         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
35314         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
35315         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
35316         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
35317         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
35318         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
35319         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
35320         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
35321         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
35322         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
35323         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
35324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
35325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
35326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
35327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
35328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
35329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
35330         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
35332 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35334         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
35336 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
35338         * benchtests/Makefile (bench): Add exp2 and log2.
35339         (LDLIBS-bench-exp2): Add -lm.
35340         (LDLIBS-bench-log2): Likewise.
35341         * benchtests/exp2-inputs: New inputs file.
35342         * benchtests/log2-inputs: New inputs file.
35343         * benchtests/log-inputs: Add new inputs.
35344         * benchtests/tan-inputs: Likewise.
35346 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
35348         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
35349         definition...
35350         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
35351         (csloww2): ... from here.
35353         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
35354         instead of structures.
35355         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
35356         (POLYNOMIAL): Likewise.
35357         (TAYLOR_SLOW): Likewise.
35358         (__sin): Likewise.
35359         (__cos): Likewise.
35360         (slow1): Likewise.
35361         (slow2): Likewise.
35362         (sloww): Likewise.
35363         (sloww1); Likewise.
35364         (sloww2): Likewise.
35365         (bsloww1): Likewise.
35366         (bsloww2): Likewise.
35367         (cslow2): Likewise.
35368         (csloww): Likewise.
35369         (csloww1): Likewise.
35370         (csloww2): Likewise.
35372 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
35374         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
35375         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
35376         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
35377         * malloc/hooks.c (realloc_check): Likewise.
35379         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
35380         * malloc/arena.c: Remove PER_THREAD conditional.
35381         [!PER_THREAD]: Remove code.
35382         (ptmalloc_unlock_all2): Likewise.
35383         (ptmalloc_init): Likewise.
35384         (_int_new_arena): Likewise.
35385         (arena_get2): Likewise.
35386         * malloc/hooks.c (__malloc_get_state): Likewise.
35387         (__malloc_set_state): Likewise.
35388         * malloc/malloc.c: Likewise.
35389         (struct malloc_state): Likewise.
35390         (struct malloc_par): Likewise.
35391         (__libc_realloc): Likewise.
35392         (__libc_mallopt): Likewise.
35394 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35396         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
35398 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
35400         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
35401         macro to a function.  Check for zero perturb_byte.
35402         (_int_malloc, _int_free): Remove zero perturb_byte checks.
35404         * malloc/malloc.c: (force_reg): Remove.
35405         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
35406         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
35407         force_reg by atomic_forced_read.
35408         * malloc/arena.c (ptmalloc_init): Likewise.
35409         * malloc/hooks.c (top_check): Likewise.
35411 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35413         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35415 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
35417         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35419 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
35421         * math/auto-libm-test-in: Add tests of lgamma.
35422         * math/auto-libm-test-out: Regenerated.
35423         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
35424         (M_LOG_2_SQRT_PIl): Likewise.
35425         (lgamma_test_data): Use AUTO_TESTS_f_f1.
35426         * math/gen-auto-libm-tests.c (func_calc_method): Add value
35427         mpfr_f_f1.
35428         (func_calc_desc): Add mpfr_f_f1 union field.
35429         (ARGS1): New macro.
35430         (ARGS2): Likewise.
35431         (ARGS3): Likewise.
35432         (ARGS4): Likewise.
35433         (RET1): Likewise.
35434         (RET2): Likewise.
35435         (CALC): Likewise.
35436         (FUNC): Likewise.
35437         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
35438         (test_functions): Add lgamma.
35439         (calc_generic_results): Handle mpfr_f_f1.
35440         * sysdeps/i386/fpu/libm-test-ulps: Update.
35441         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35443 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35445         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
35446         __mpn_add_n for PowerPC64/POWER7.
35447         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
35448         __mpn_sub_n for PowerPC64/POWER7.
35450         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
35451         __mpn_addmul_1 for PowerPC64.
35452         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
35453         __mpn_submul_1 for PowerPC64.
35454         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
35455         for PowerPC64.
35456         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
35457         for PowerPC64.
35459 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
35461         [BZ #15089]
35462         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
35464 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35466         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
35468         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
35469         add multiarch folders.
35470         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
35471         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
35472         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
35473         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
35474         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
35475         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
35476         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
35477         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
35478         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
35479         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
35480         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
35481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
35482         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
35483         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
35484         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
35485         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
35486         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
35488         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
35489         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
35490         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
35491         New file.
35492         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
35493         New file.
35494         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
35495         multiarch __ieee754_hypot for PowerPC32.
35496         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
35497         New file.
35498         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
35499         New file.
35500         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
35501         multiarch __ieee754_hypotf for PowerPC32.
35503         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
35504         long_double_symbol only if __logbl is defined.
35505         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
35506         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
35507         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
35508         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
35509         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
35510         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
35511         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
35512         path for implementation.
35513         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
35514         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
35515         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
35516         logb, and logbl multiarch implementations for PowerPC32.
35517         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
35518         file.
35519         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
35520         file.
35521         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
35522         multiarch logb for PowerPC32.
35523         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
35524         file.
35525         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
35526         file.
35527         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
35528         multiarch logbf for PowerPC32.
35529         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
35530         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
35531         file.
35532         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
35533         multiarch logbl implementation for PowerPC32.
35535         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
35536         and modff multiarch implementations.
35537         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
35538         New file.
35539         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
35540         New file.
35541         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
35542         multiarch modf for PowerPC32.
35543         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
35544         New file.
35545         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
35546         New file.
35547         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
35548         multiarch modff for PowerPC32.
35550         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
35551         and lrintf multiarch implementations.
35552         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
35553         New file.
35554         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
35555         New file.
35556         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
35557         multiarch lrint for PowerPC32.
35558         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
35559         file: multiarch lrintf for PowerPC32.
35561         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
35562         and lroundf multiarch implementations.
35563         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
35564         New file.
35565         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
35566         New file.
35567         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
35568         New file.
35569         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
35570         multiarch lround for PowerPC32.
35571         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
35572         file: multiarch lroundf for PowerPC32.
35574         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
35575         copysign and copysignf multiarch implementations.
35576         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
35577         New file.
35578         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
35579         New file.
35580         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
35581         file: multiarch copysign for PowerPC32.
35582         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
35583         file: multiarch copysignf for PowerPC32.
35585         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
35586         and truncf multiarch implementations.
35587         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
35588         New file.
35589         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
35590         file.
35591         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
35592         multiarch trunc for PowerPC32.
35593         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
35594         New file.
35595         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
35596         New file.
35597         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
35598         multiarch truncf for PowerPC32.
35600         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
35601         and roundf multiarch implementations.
35602         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
35603         New file.
35604         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
35605         file.
35606         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
35607         multiarch round for PowerPC32.
35608         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
35609         New file.
35610         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
35611         New file.
35612         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
35613         multiarch roundf for PowerPC32.
35615         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
35616         and floorf multiarch implementations.
35617         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
35618         New file.
35619         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
35620         file.
35621         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
35622         multiarch floor for PowerPC32.
35623         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
35624         New file.
35625         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
35626         New file.
35627         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
35628         multiarch floorf for PowerPC32.
35630         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
35631         and ceilf multiarch implementations.
35632         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
35633         New file.
35634         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
35635         file.
35636         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
35637         multiarch ceil for PowerPC32.
35638         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
35639         New file.
35640         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
35641         file.
35642         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
35643         multiarch ceilf for PowerPC32.
35645         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
35646         is defined.
35647         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
35648         FINITEF is defined.
35649         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
35650         and finitef multiarch implementations.
35651         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
35652         New file.
35653         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
35654         file.
35655         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
35656         multiarch finite for PowerPC32.
35657         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
35658         New file.
35659         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
35660         file: multiarch finitef for PowerPC32.
35662         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
35663         and isinff multiarch implementations.
35664         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
35665         file.
35666         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
35667         file.
35668         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
35669         multiarch isinf for PowerPC32.
35670         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
35671         New file.
35672         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
35673         multiarch isinff for PowerPC32.
35675         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
35676         alias when __isnan is defined.
35677         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
35678         and isnanf multiarch implementations.
35679         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
35680         file.
35681         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
35682         file.
35683         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
35684         file.
35685         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
35686         file.
35687         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
35688         multiarch isnan for PowerPC32.
35689         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
35690         New file.
35691         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
35692         New file.
35693         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
35694         multiarch isnanf for PowerPC32.
35696         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
35697         and sqrtf multiarch implementations.
35698         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
35699         file.
35700         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
35701         file.
35702         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
35703         multiarch sqrt for PowerPC32.
35704         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
35705         file.
35706         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
35707         file.
35708         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
35709         multiarch sqrtf for PowerPC32.
35711         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
35712         and llroundf multiarch implementations.
35713         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
35714         New file.
35715         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
35716         New file.
35717         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
35718         New file.
35719         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
35720         file: multiarch llround for PowerPC32.
35721         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
35722         file: multiarch llroundf for PowerPC32.
35724         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
35725         multiarch PowerPC32 fpu implementations.
35726         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
35727         New file.
35728         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
35729         New file.
35730         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
35731         multiarch llrint for PowerPC32.
35732         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
35733         New file.
35734         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
35735         New file.
35736         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
35737         file.
35739         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
35741         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
35742         file.
35743         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
35744         file.
35745         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
35746         file.
35747         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
35748         multiarch wordcopy for PPC32.
35749         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
35750         wordcopy objects.
35751         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35752         (__libc_ifunc_impl_list): Likewise.
35753         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
35754         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
35755         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
35756         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
35757         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
35758         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
35760         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
35761         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
35762         file.
35763         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
35764         file.
35765         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
35766         file.
35767         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
35768         multiarch wcscpy for PPC32.
35769         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
35770         multiarch objects.
35771         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35772         (__libc_ifunc_impl_list): Likewise.
35773         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
35774         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
35775         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
35776         sysdeps/powerpc/power6/wcscpy.c.
35778         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
35779         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
35780         file.
35781         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
35782         file.
35783         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
35784         file.
35785         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
35786         multiarch wcsrchr for PPC32.
35787         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
35788         multiarch objects.
35789         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35790         (__libc_ifunc_impl_list): Likewise.
35791         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
35792         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
35793         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
35794         sysdeps/powerpc/power6/wcsrchr.c.
35796         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
35797         file.
35798         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
35799         file.
35800         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
35801         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
35802         multiarch wcschr for PPc32.
35803         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
35804         multiarch objects.
35805         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35806         (__libc_ifunc_impl_list): Likewise.
35807         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
35808         * sysdeps/powerpc/power6/wcschr.c: ... to here.
35809         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
35810         sysdeps/powerpc/power6/wcschr.c.
35812         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
35813         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
35814         file.
35815         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
35816         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
35817         file: multiarch strchr for PPC32.
35818         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
35819         multiarch objects.
35820         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35821         (__libc_ifunc_impl_list): Likewise.
35823         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
35824         name.
35825         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
35826         file.
35827         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
35828         file.
35829         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
35830         multiarch strchrnul for PPC32.
35831         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
35832         multiarch objects.
35833         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35834         (__libc_ifunc_impl_list): Likewise.
35836         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
35837         file.
35838         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
35839         multiarch strncasecmp for PPC32.
35840         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
35841         file.
35842         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
35843         multiarch strncasecmp_l for PPC32.
35844         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
35845         strncasecmp multiarch objects.
35846         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35847         (__libc_ifunc_impl_list): Likewise.
35849         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
35850         file.
35851         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
35852         multiarch strncasecmp for PPC32.
35853         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
35854         New file.
35855         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
35856         multiarch strcasecmp_l for PPC32.
35857         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
35858         multiarch objects.
35859         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35860         (__libc_ifunc_impl_list): Likewise.
35862         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
35863         file.
35864         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
35865         file.
35866         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
35867         multiarch strncmp for PPC32.
35868         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
35869         multiarch objects.
35870         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35871         (__libc_ifunc_impl_list): Likewise.
35873         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
35874         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
35875         file.
35876         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
35877         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
35878         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
35879         multiarch objects.
35880         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35881         (__libc_ifunc_impl_list): Likewise.
35883         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
35884         file.
35885         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
35886         file.
35887         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
35888         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
35889         multiarch objects.
35890         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35891         (__libc_ifunc_impl_list): Likewise.
35893         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
35894         file.
35895         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
35896         file.
35897         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
35898         multiarch rawmemchr for PPC32.
35899         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
35900         multiarch objects.
35901         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35902         (__libc_ifunc_impl_list): Likewise.
35904         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
35905         file.
35906         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
35907         file.
35908         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
35909         file: memrchr multiarch for PPC32.
35910         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
35911         multiarch objects.
35912         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35913         (__libc_ifunc_impl_list): Likewise.
35915         * string/memchr.c (__memchr): Using macro to redefine symbol name.
35916         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
35917         file.
35918         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
35919         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
35920         multiarch memchr for PPC32.
35921         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
35922         multiarch objects.
35923         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
35924         (__libc_ifunc_impl_list): Likewise.
35926         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
35927         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
35928         file.
35929         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
35930         file.
35931         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
35932         file: multiarch mempcpy for PPC32.
35933         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
35934         multiarch objects.
35935         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
35936         (__libc_ifunc_impl_list): Likewise.
35938         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
35939         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
35940         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
35941         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
35942         multiarch bzero for PPC32.
35943         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
35944         file.
35945         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
35946         file.
35947         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
35948         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
35949         file: multiarch memset for PPC32.
35950         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
35951         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
35952         memset multiarch objects.
35953         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
35954         (__libc_ifunc_impl_list): Likewise.
35956         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
35957         file.
35958         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
35959         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
35960         memcmp for PPC32.
35961         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
35962         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
35963         multiarch objects.
35964         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
35965         (__libc_ifunc_impl_list): Likewise.
35967         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
35968         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
35969         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
35970         file.
35971         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
35972         file.
35973         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
35974         file.
35975         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
35976         multiarch memcpy for PPC32.
35977         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
35978         multiarch objects.
35979         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
35980         (__libc_ifunc_impl_list): Likewise.
35982         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
35983         support multiarch for POWER/PPC32.
35984         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
35985         Likewise.
35986         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
35987         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
35988         Implies file to make multiarch folder appers before the fpu and
35989         default folder for power4 configuration.
35991 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
35993         * scripts/bench.pl: Append volatile keyword to type.
35995 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35997         * sysdeps/sh/sotruss-lib.c: New file.
35998         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
36000 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36002         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36004 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
36006         [BZ #6810]
36007         * math/w_tgamma.c: Include <errno.h>.
36008         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
36009         * math/w_tgammaf.c: Include <errno.h>.
36010         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
36011         * math/w_tgammal.c: Include <errno.h>.
36012         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
36013         * math/auto-libm-test-in: Do not allow missing errno on tgamma
36014         underflow.  Add more tgamma tests.
36015         * math/auto-libm-test-out: Regenerated.
36016         * sysdeps/i386/fpu/libm-test-ulps: Update.
36017         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36019         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
36020         sin, sinh, tan, tanh, tgamma, y0 and y1.
36021         * math/auto-libm-test-out: Regenerated.
36022         * math/libm-test.inc (TEST_COND_x86_64): New macro.
36023         (TEST_COND_x86): Likewise.
36024         (M_E2l): Remove macro.
36025         (M_E3l): Likewise.
36026         (M_2_SQRT_PIl): Likewise.
36027         (M_SQRT_PIl): Likewise.
36028         (M_1_DIV_El): Likewise.
36029         (log_test_data): Use AUTO_TESTS_f_f.
36030         (log10_test_data): Likewise.
36031         (log1p_test_data): Likewise.
36032         (log2_test_data): Likewise.
36033         (sin_test_data): Likewise.
36034         (sin_tonearest_test_data): Likewise.
36035         (sin_towardzero_test_data): Likewise.
36036         (sin_downward_test_data): Likewise.
36037         (sin_upward_test_data): Likewise.
36038         (sinh_test_data): Likewise.
36039         (sinh_tonearest_test_data): Likewise.
36040         (sinh_towardzero_test_data): Likewise.
36041         (sinh_downward_test_data): Likewise.
36042         (sinh_upward_test_data): Likewise.
36043         (tan_test_data): Likewise.
36044         (tan_tonearest_test_data): Likewise.
36045         (tan_towardzero_test_data): Likewise.
36046         (tan_downward_test_data): Likewise.
36047         (tan_upward_test_data): Likewise.
36048         (tanh_test_data): Likewise.
36049         (tgamma_test_data): Likewise.
36050         (y0_test_data): Likewise.
36051         (y1_test_data): Likewise.
36052         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
36053         (special_real_inputs): Add pi/4.
36054         * sysdeps/i386/fpu/libm-test-ulps: Update.
36055         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36057 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36059         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
36060         "longjmp_target" static probes.
36061         (__longjmp): Rename to __longjmp_symbol.
36062         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
36063         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
36064         on which longjmp to generate.
36065         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
36066         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
36067         probe.
36068         (__sigsetjmp): Rename to __sigsetjmp_symbol.
36069         (__sigjmp_save): Rename to __sigjmp_save_symbol.
36070         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
36071         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
36072         and __sigjmp_save_symbol based on which sigsetjmp to generated.
36073         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
36074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
36075         __longjmp_symbol based on which __longjmp to generate.
36076         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
36077         probe.
36078         (setjmp): Rename to setjmp_symbol.
36079         (__sigsetjmp): Rename to __sigsetjmp_symbol.
36080         (_setjmp): Rename to _setjmp_symbol.
36081         (__sigsetjmp): Rename to __sigsetjmp_symbol.
36082         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
36083         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
36084         which setjmp to generate.
36085         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
36086         "longjmp_target" static probes.
36088 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
36090         * benchtests/README: Add note about output arguments.
36091         * benchtests/bench-sincos.c: Remove file.
36092         * benchtests/sincos-inputs: New file.
36093         * scripts/bench.pl: Identify output arguments and define
36094         static variables for them.
36096         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
36098         [BZ #15941]
36099         * Makefile (INSTALL): Add install-plain.texi as the primary
36100         dependency.
36101         * manual/install-plain.texi: New file.
36102         * manual/install.texi: Include node directive only for
36103         non-plaintext output.
36105 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
36107         * stdlib/longlong.h: Update from GCC.
36109         [BZ #6807]
36110         [BZ #15901]
36111         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
36112         * math/w_j0f.c (y0f): Likewise.
36113         * math/w_j0l.c (__y0l): Likewise.
36114         * math/w_j1.c (y1): Likewise.
36115         * math/w_j1f.c (y1f): Likewise.
36116         * math/w_j1l.c (__y1l): Likewise
36117         * math/w_jn.c (yn): Likewise.
36118         * math/w_jnf.c (ynf): Likewise.
36119         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
36120         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
36121         value for Bessel function domain errors outside _SVID_ mode.
36122         Adjust sign of return value for yn (negative integer, 0).
36123         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
36124         by zero in return for negative x and set sign appropriately for
36125         negative n.
36126         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
36127         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
36128         * math/libm-test.inc (y0_test_data): Add more tests and adjust
36129         expectations in error cases.
36130         (y1_test_data): Likewise.
36131         (yn_test_data): Likewise.
36132         * sysdeps/i386/fpu/libm-test-ulps: Update.
36133         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36135 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
36137         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
36138         "64" to "64-v1".  Add "64-v2".
36139         (abi-64-options): Rename to ...
36140         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
36141         (abi-64-condition): Rename to ...
36142         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
36143         (abi-64-ld-soname): Rename to ...
36144         (abi-64-v1-ld-soname): ... this.
36145         (abi-64-v2-options): Define.
36146         (abi-64-v2-condition): Likewise.
36147         (abi-64-v2-ld-soname): Likewise.
36148         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
36149         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
36150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
36151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
36152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
36154 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
36155             Alan Modra  <amodra@gmail.com>
36157         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
36158         New versions for use with the ELFv2 ABI.
36159         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
36160         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
36161         declaration.
36162         (struct La_ppc64v2_retval): Likewise.
36163         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
36164         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
36165         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
36166         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
36167         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
36168         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
36169         Do not save or restore CR.
36170         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
36171         (_dl_profile_resolve): Do no save or restore CR.  Support extended
36172         return values for ELFv2 ABI.  Fix location of FPR return registers.
36173         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
36174         updated values for _CALL_ELF == 2.
36175         (La_regs, La_retval, int_retval): Likewise.
36177 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
36179         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
36180         (FRAME_MIN_SIZE_PARM): Likewise.
36181         (FRAME_BACKCHAIN): Likewise.
36182         (FRAME_CR_SAVE): Likewise.
36183         (FRAME_LR_SAVE): Likewise.
36184         (FRAME_TOC_SAVE): Likewise.
36185         (FRAME_PARM_SAVE): Likewise.
36186         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
36187         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
36188         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
36189         (call_mcount_parm_offset): New macro.
36190         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
36191         (PROF): Use symbolic stack frame offsets.
36192         (TAIL_CALL_SYSCALL_ERROR): Likewise.
36193         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
36194         Redefine in terms of FRAME_MIN_SIZE.
36195         (_dl_runtime_resolve): Use symbolic stack frame offsets.
36196         (_dl_profile_resolve): Likewise.  Update comment.
36197         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
36198         symbols stack frame offsets.
36199         (__sigsetjmp): Likewise.
36200         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
36201         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
36202         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
36203         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
36205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
36206         (FRAME_BACKCHAIN): Remove.
36207         (FRAME_CR_SAVE): Likewise.
36208         (FRAME_LR_SAVE): Likewise.
36209         (FRAME_COMPILER_DW): Likewise.
36210         (FRAME_LINKER_DW): Likewise.
36211         (FRAME_TOC_SAVE): Likewise.
36212         (FRAME_PARM_SAVE): Likewise.
36213         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
36214         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
36215         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
36216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
36217         (CHECK_SP): Use symbolic stack frame offsets.
36218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
36219         zone" instead of caller's parameter save area for temp storage.
36220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
36221         Likewise.  Also, use symbolic stack frame offsets.
36222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
36223         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
36224         our own stack frame instead of the caller's.
36225         (__socket): Use symbolic stack frame offsets.
36227 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
36228             Alan Modra  <amodra@gmail.com>
36230         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
36231         Define.
36232         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
36233         (PPC64_LOCAL_ENTRY_OFFSET): Define.
36234         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
36235         New function.
36236         (elf_machine_fixup_plt): Call it.
36237         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
36238         reloc arguments.
36239         (elf_machine_rela): Update call to elf_machine_plt_conflict.
36240         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
36241         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
36242         r2 before calling target.
36244 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
36245             Alan Modra  <amodra@gmail.com>
36247         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
36248         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
36249         versions of macros to support ELFv2 ABI.
36250         (LOCALENTRY): New macro.
36251         (ENTRY, EALIGN): Use it.
36252         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
36253         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
36254         fall through into ENTRY entry point.
36255         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
36256         Only define if _CALL_ELF != 2.
36258         (elf_machine_matches_host): Verify ABI version matches.
36259         (RTLD_START): Use LOCALENTRY.
36260         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
36261         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
36262         (PLT_ENTRY_WORDS): New macro.
36263         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
36264         (elf_machine_runtime_setup): Support ELFv2 ABI.
36265         (elf_machine_fixup_plt): Likewise.
36266         (elf_machine_plt_conflict): Likewise.
36267         (resolve_ifunc): Likewise.
36268         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
36269         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
36270         Likewise.
36271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
36272         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
36273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
36274         (makecontext): Support ELFv2 ABI.
36275         * elf/elf.h (EF_PPC64_ABI): Define.
36277 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
36279         * sysdeps/powerpc/powerpc64/sysdep.h
36280         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
36281         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
36282         (ENTRY) [ASSEMBLER]: ... but instead here ...
36283         (EALIGN) [ASSEMBLER]: ... and here.
36284         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
36285         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
36286         (ENTRY_2) [!ASSEMBLER]: Use it.
36287         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
36288         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
36289         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
36290         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
36291         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
36292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
36293         Use PPC64_LOAD_FUNCPTR.
36295         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
36297 2013-12-04  Alan Modra  <amodra@gmail.com>
36299         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
36300         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
36301         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
36302         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
36304         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
36305         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
36306         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
36307         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
36308         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
36309         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
36311 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
36313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
36314         (__makecontext): Fix incorrect CFI when backtracing out of
36315         context created via makecontext.
36316         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
36317         (__setcontext): Fix incorrect CFI during switch to new context.
36318         (__novec_setcontext): Likewise.
36320 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
36322         [BZ #4772]
36323         * time/strptime_l.c (__strptime_internal): Allow modifiers
36324         in strptime.
36325         * time/tst-strptime.c (day_tests): Add testcase.
36327 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
36329         * scripts/bench.pl: Skip over blank lines.
36331 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
36333         [BZ #926]
36334         * manual/time.texi (Calendar Time): Clarify what timezone functions
36335         use.
36337 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36339         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36341 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
36343         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
36344         implementation.
36345         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
36346         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
36347         * debug/memset_chk.c (__memset_chk): Likewise.
36348         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
36349         * debug/strncpy_chk.c: Likewise.
36351 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
36353         [BZ #15268]
36354         [BZ #15425]
36355         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
36356         (__ieee754_exp): For possibly underflowing results, check size of
36357         result and force underflow exception if required.
36358         * math/auto-libm-test-in: Add more tests of exp.
36359         * math/auto-libm-test-out: Regenerated.
36360         * sysdeps/i386/fpu/libm-test-ulps: Update.
36361         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36363         [BZ #16283]
36364         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
36365         * math/w_exp2f.c (__exp2f): Likewise.
36366         * math/w_exp2l.c (__exp2l): Likewise.
36367         * math/auto-libm-test-in: Do not allow missing errno on exp2
36368         underflow.
36369         * math/auto-libm-test-out: Regenerated.
36371 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
36373         [BZ #16274]
36374         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
36375         handle filename validation.
36376         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
36377         (do_open): Delete.
36379 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
36381         [BZ #6786]
36382         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
36383         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
36384         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
36385         <float.h>.
36386         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
36387         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
36388         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
36389         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
36390         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
36391         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
36392         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
36393         * math/auto-libm-test-in: Don't allow missing errno from erfc.
36394         Add more erfc tests.
36395         * math/auto-libm-test-out: Regenerated.
36396         * sysdeps/i386/fpu/libm-test-ulps: Update.
36397         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36399         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
36400         exp2, expm1, j0 and j1.
36401         * math/auto-libm-test-out: Regenerated.
36402         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
36403         (erfc_test_data): Likewise.
36404         (exp_test_data): Likewise.
36405         (exp_tonearest_test_data): Likewise.
36406         (exp_towardzero_test_data): Likewise.
36407         (exp_downward_test_data): Likewise.
36408         (exp_upward_test_data): Likewise.
36409         (exp10_test_data): Likewise.
36410         (exp2_test_data): Likewise.
36411         (expm1_test_data): Likewise.
36412         (j0_test_data): Likewise.
36413         (j1_test_data): Likewise.
36414         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
36415         (input_flag_type): Add flag_xfail_rounding.
36416         (input_flags): Add xfail-rounding.
36417         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
36418         (output_for_one_input_case): Handle flag_xfail_rounding.
36419         * sysdeps/i386/fpu/libm-test-ulps: Update.
36420         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36422 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
36424         [BZ #16289]
36425         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
36426         division by 0.
36428 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
36430         [BZ #16195]
36431         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
36432         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
36433         (STAP_PROBE0): New macro.
36434         (STAP_PROBE1): Likewise.
36435         (STAP_PROBE2): Likewise.
36436         (STAP_PROBE3): Likewise.
36437         (STAP_PROBE4): Likewise.
36439 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
36441         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
36443 2013-12-02  Steve Ellcey  <sellcey@mips.com>
36445         * benchtests/Makefile (bench): Add sqrt.
36446         (LDLIBS-bench-sqrt): New.
36447         * benchtests/sqrt-input: New.
36449 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
36451         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
36452         (GAIH_EAI): Likewise.
36453         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
36454         (gaih_inet): Likewise.
36455         (getaddrinfo): Don't use GAIH_EAI.
36457         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
36458         (struct gaih): Remove definition.
36460 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
36462         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
36463         Use HERRNOP directly.
36465 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36467         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36469 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
36471         * math/gen-auto-libm-tests.c (test_functions): Add more
36472         single-argument functions.
36473         (special_fill_pi_2): New function.
36474         (special_fill_minus_pi_2): Likewise.
36475         (special_fill_pi_6): Likewise.
36476         (special_fill_minus_pi_6): Likewise.
36477         (special_fill_pi_3): Likewise.
36478         (special_fill_2pi_3): Likewise.
36479         (special_fill_e): Likewise.
36480         (special_fill_1_e): Likewise.
36481         (special_fill_e_minus_1): Likewise.
36482         (special_real_inputs): Add more special inputs.
36483         (output_for_one_input_case): Do not require ERANGE on underflow to
36484         zero if round-to-nearest result does not underflow to zero, unless
36485         exact results required.
36486         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
36487         atan, atanh, cbrt, cos and cosh.
36488         * math/auto-libm-test-out: Regenerated.
36489         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
36490         (acos_tonearest_test_data): Likewise.
36491         (acos_towardzero_test_data): Likewise.
36492         (acos_downward_test_data): Likewise.
36493         (acos_upward_test_data): Likewise.
36494         (acosh_test_data): Likewise.
36495         (asin_test_data): Likewise.
36496         (asin_tonearest_test_data): Likewise.
36497         (asin_towardzero_test_data): Likewise.
36498         (asin_upward_test_data): Likewise.
36499         (asinh_test_data): Likewise.
36500         (atan_test_data): Likewise.
36501         (atanh_test_data): Likewise.
36502         (cbrt_test_data): Likewise.
36503         (cos_test_data): Likewise.
36504         (cos_tonearest_test_data): Likewise.
36505         (cos_towardzero_test_data): Likewise.
36506         (cos_downward_test_data): Likewise.
36507         (cos_upward_test_data): Likewise.
36508         (cosh_test_data): Likewise.
36509         (cosh_tonearest_test_data): Likewise.
36510         (cosh_towardzero_test_data): Likewise.
36511         (cosh_downward_test_data): Likewise.
36512         (cosh_upward_test_data): Likewise.
36513         * sysdeps/i386/fpu/libm-test-ulps: Update.
36514         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36516 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
36518         [BZ #6787]
36519         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
36520         * math/w_exp10f.c (__exp10f): Likewise.
36521         * math/w_exp10l.c (__exp10l): Likewise.
36522         * math/libm-test.inc (exp10_test_data): Add more tests and expect
36523         errno settings in existing tests.
36525         [BZ #14032]
36526         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
36527         precision control set to double precision.
36528         * sysdeps/i386/fpu/w_sqrt.c: New file.
36529         * math/auto-libm-test-in: Add more tests.
36530         * math/auto-libm-test-out: Update.
36532         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
36533         (sqrt_test_tonearest): New function.
36534         (sqrt_towardzero_test_data): New variable.
36535         (sqrt_test_towardzero): New function.
36536         (sqrt_downward_test_data): New variable.
36537         (sqrt_test_downward): New function.
36538         (sqrt_upward_test_data): New variable.
36539         (sqrt_test_upward): New function.
36540         (main): Call the new functions.
36542         * math/gen-auto-libm-tests.c: New file.
36543         * math/auto-libm-test-in: Likewise.
36544         * math/auto-libm-test-out: New generated file.
36545         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
36546         variables.
36547         (%beautify): Add generated representations of zero.
36548         (top level): Set $auto_input and call parse_auto_input.
36549         (beautify): Remove trailing "f" from hex float constants.
36550         (parse_args): Handle XFAIL_TEST.
36551         (convert_condition): New function.
36552         (or_value): Likewise.
36553         (or_cond_value): Likewise.
36554         (generate_testfile): Handle AUTO_TESTS_* lines.
36555         (parse_auto_input): New function.
36556         * math/libm-test.inc (XFAIL_TEST): New macro.
36557         (ERRNO_UNCHANGED): Update value.
36558         (ERRNO_EDOM): Likewise.
36559         (ERRNO_ERANGE): Likewise.
36560         (IGNORE_RESULT): Likewise.
36561         (TEST_COND_flt_32): New macro.
36562         (TEST_COND_dbl_64): Likewise.
36563         (TEST_COND_ldbl_96_intel): Likewise.
36564         (TEST_COND_ldbl_96_m68k): Likewise.
36565         (TEST_COND_ldbl_128): Likewise.
36566         (TEST_COND_ldbl_128ibm): Likewise.
36567         (TEST_COND_long32): Likewise.
36568         (TEST_COND_long64): Likewise.
36569         (TEST_COND_before_rounding): Likewise.
36570         (TEST_COND_after_rounding): Likewise.
36571         (enable_test): Handle XFAIL_TEST flag.
36572         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
36573         with finite results.
36574         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
36575         auto-libm-test-out.
36577 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
36578             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36580         [BZ #16214]
36581         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
36582         __tls_get_addr_internal instead of __tls_get_offset in order to
36583         avoid GOT pointer dependency.  Make rtld export
36584         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
36585         __tls_get_addr since we are a __tls_get_offset platform.
36586         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
36587         GOT pointer being set up before.
36588         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
36590 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
36592         * manual/math.texi (Errors in Math Functions): Document accuracy
36593         goals.
36595         [BZ #15004]
36596         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
36597         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
36598         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
36599         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
36600         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
36601         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
36602         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
36603         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
36604         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
36605         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
36606         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
36607         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
36608         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
36609         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
36610         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
36611         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
36613         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
36614         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
36615         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
36616         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
36617         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
36618         Likewise.
36619         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
36620         Likewise.
36621         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
36622         Likewise.
36623         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
36624         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
36625         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
36626         atomic-feupdateenv and flt-rounds.
36627         * sysdeps/powerpc/nofpu/Versions (libc): Add
36628         __atomic_feholdexcept, __atomic_feclearexcept,
36629         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
36630         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
36631         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
36632         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
36633         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
36634         here.
36635         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
36636         Update.
36638         * manual/arith.texi (FP Exceptions): Document that exceptions may
36639         not be raised when matherr is used.
36640         (Math Error Reporting): Document overflow in directed rounding
36641         modes.  Document that errno may not be set when finite values are
36642         returned on overflow.  Document intent to set errno on underflow
36643         only for underflow to zero.
36645         [BZ #16271]
36646         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
36647         round-to-nearest then adjust result for other rounding modes.
36648         * include/fenv.h (fegetround): Use libm_hidden_proto.
36649         * math/fegetround.c (fegetround): Use libm_hidden_def.
36650         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
36651         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
36652         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
36653         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
36654         Likewise.
36655         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
36656         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
36657         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
36658         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
36660 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36662         [BZ #16077]
36663         * nss/Versions (libnss_files): Add
36664         _nss_files_gethostbyname3_r.
36665         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
36666         New function.
36667         (HOST_DB_LOOKUP): Remove macro.
36668         (_nss_files_gethostbyname_r): Implement function without the
36669         HOST_DB_LOOKUP macro.
36670         (_nss_files_gethostbyname2_r): Likewise.
36672 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
36674         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
36676 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
36678         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
36679         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
36680         warning.
36682 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36684         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
36685         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
36686         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
36687         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
36688         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
36689         __fe_nomask_env_priv and attribute_hidden.
36690         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
36691         (libc_feupdateenv_test_ppc): Likewise.
36692         (libc_feresetround_ppc): Likewise.
36693         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
36694         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
36695         compat_symbol macro.
36696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
36697         (__fe_nomask_env): Likewise.
36698         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
36700 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
36702         * string/Makefile: Remove ifunc tests.
36703         * string/test-string.h: Define TEST_IFUNC.
36704         * string/test-bcopy-ifunc.c: Remove.
36705         * string/test-bzero-ifunc.c: Likewise.
36706         * string/test-memccpy-ifunc.c: Likewise.
36707         * string/test-memchr-ifunc.c: Likewise.
36708         * string/test-memcmp-ifunc.c: Likewise.
36709         * string/test-memcpy-ifunc.c: Likewise.
36710         * string/test-memmem-ifunc.c: Likewise.
36711         * string/test-memmove-ifunc.c: Likewise.
36712         * string/test-mempcpy-ifunc.c: Likewise.
36713         * string/test-memrchr-ifunc.c: Likewise.
36714         * string/test-memset-ifunc.c: Likewise.
36715         * string/test-rawmemchr-ifunc.c: Likewise.
36716         * string/test-stpcpy-ifunc.c: Likewise.
36717         * string/test-stpncpy-ifunc.c: Likewise.
36718         * string/test-strcasecmp-ifunc.c: Likewise.
36719         * string/test-strcasestr-ifunc.c: Likewise.
36720         * string/test-strcat-ifunc.c: Likewise.
36721         * string/test-strchr-ifunc.c: Likewise.
36722         * string/test-strchrnul-ifunc.c: Likewise.
36723         * string/test-strcmp-ifunc.c: Likewise.
36724         * string/test-strcpy-ifunc.c: Likewise.
36725         * string/test-strcspn-ifunc.c: Likewise.
36726         * string/test-strlen-ifunc.c: Likewise.
36727         * string/test-strncasecmp-ifunc.c: Likewise.
36728         * string/test-strncat-ifunc.c: Likewise.
36729         * string/test-strncmp-ifunc.c: Likewise.
36730         * string/test-strncpy-ifunc.c: Likewise.
36731         * string/test-strnlen-ifunc.c: Likewise.
36732         * string/test-strpbrk-ifunc.c: Likewise.
36733         * string/test-strrchr-ifunc.c: Likewise.
36734         * string/test-strspn-ifunc.c: Likewise.
36735         * string/test-strstr-ifunc.c: Likewise.
36737 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
36739         * benchtests/Makefile: Remove ifunc tests.
36740         * benchtests/bench-string.h: Define TEST_IFUNC.
36741         * benchtests/bench-bcopy-ifunc.c: Remove.
36742         * benchtests/bench-bzero-ifunc.c: Likewise.
36743         * benchtests/bench-memccpy-ifunc.c: Likewise.
36744         * benchtests/bench-memchr-ifunc.c: Likewise.
36745         * benchtests/bench-memcmp-ifunc.c: Likewise.
36746         * benchtests/bench-memcpy-ifunc.c: Likewise.
36747         * benchtests/bench-memmem-ifunc.c: Likewise.
36748         * benchtests/bench-memmove-ifunc.c: Likewise.
36749         * benchtests/bench-mempcpy-ifunc.c: Likewise.
36750         * benchtests/bench-memrchr-ifunc.c: Likewise.
36751         * benchtests/bench-memset-ifunc.c: Likewise.
36752         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
36753         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
36754         * benchtests/bench-stpcpy-ifunc.c: Likewise.
36755         * benchtests/bench-stpncpy-ifunc.c: Likewise.
36756         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
36757         * benchtests/bench-strcasestr-ifunc.c: Likewise.
36758         * benchtests/bench-strcat-ifunc.c: Likewise.
36759         * benchtests/bench-strchr-ifunc.c: Likewise.
36760         * benchtests/bench-strchrnul-ifunc.c: Likewise.
36761         * benchtests/bench-strcmp-ifunc.c: Likewise.
36762         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
36763         * benchtests/bench-strcpy-ifunc.c: Likewise.
36764         * benchtests/bench-strcspn-ifunc.c: Likewise.
36765         * benchtests/bench-strlen-ifunc.c: Likewise.
36766         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
36767         * benchtests/bench-strncat-ifunc.c: Likewise.
36768         * benchtests/bench-strncmp-ifunc.c: Likewise.
36769         * benchtests/bench-strncpy-ifunc.c: Likewise.
36770         * benchtests/bench-strnlen-ifunc.c: Likewise.
36771         * benchtests/bench-strpbrk-ifunc.c: Likewise.
36772         * benchtests/bench-strrchr-ifunc.c: Likewise.
36773         * benchtests/bench-strsep-ifunc.c: Likewise.
36774         * benchtests/bench-strspn-ifunc.c: Likewise.
36775         * benchtests/bench-strstr-ifunc.c: Likewise.
36777 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
36779         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
36781 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
36783         * resolv/netdb.h: Use __glibc_reserved instead __unused.
36784         * rt/aio.h: Likewise.
36785         * sysdeps/gnu/bits/utmp.h: Likewise.
36786         * sysdeps/gnu/bits/utmpx.h: Likewise.
36787         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
36788         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
36789         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
36790         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
36791         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
36792         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
36793         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
36794         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
36795         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
36796         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
36797         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
36798         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
36799         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
36800         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
36801         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
36802         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
36803         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
36804         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
36805         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
36806         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
36807         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
36808         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
36809         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
36810         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
36811         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
36812         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36813         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
36814         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
36815         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
36816         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
36817         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
36818         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
36819         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
36820         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
36821         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
36822         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
36823         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
36824         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
36825         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
36826         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
36827         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
36828         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
36830 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
36832         [BZ #16245]
36833         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
36834         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
36836 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
36838         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
36839         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
36840         Likewise.
36842 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36844         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
36845         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
36846         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
36847         (__fesetround): Remove define.
36848         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
36849         rounding and exceptions handling.
36850         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
36851         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
36852         (__fe_nomask_env): Likewise.
36853         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
36854         __fegetround instead of fegetround.
36855         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
36856         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
36858 2013-11-21  Roland McGrath  <roland@hack.frob.com>
36860         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
36861         it's there.
36863         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
36865 2013-11-21  Meador Inge  <meadori@codesourcery.com>
36867         [BZ #11157]
36868         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
36869         (encrypt_r): Likewise.
36870         * malloc/obstack.h (obstack_free): Likewise.
36871         * posix/unistd.h (encrypt): Likewise.
36873 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
36875         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
36876         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
36877         DL_CALL_DT_FINI() that call the functions directly.
36878         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
36879         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
36880         * elf/dl-fini.c: Likewise.
36882 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
36884         * malloc/hooks.c (memalign_check): Add alignment rounding.
36885         * malloc/malloc.c (_mid_memalign): New function.
36886         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
36887         Implement by calling _mid_memalign.
36888         * manual/probes.texi (Memory Allocation Probes): Remove
36889         memory_valloc_retry and memory_pvalloc_retry.
36891 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
36893         * locale/programs/locarchive.c (open_archive): Add const
36894         qualifier to ARCHIVEFNAME and copy default fname to
36895         DEFAULT_FNAME.
36897         [BZ #15601]
36898         * libio/tst-widetext.input: Rename Oriya to Odia.
36899         * locale/iso-639.def: Likewise.
36901         * manual/probes.texi (Mathematical Function Probes): Add
36902         documentation for sin, cos, asin and acos probes.
36903         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
36904         (__sin32): Add slowasin probe.
36905         (__cos32): Add slowacos probe.
36906         (__mpsin): Add slowsin probe.
36907         (__mpcos): Add slowcos probe.
36909 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
36911         [BZ #15483]
36912         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
36913         thread-local __sim_exceptions_thread and global
36914         __sim_exceptions_global.
36915         (__sim_disabled_exceptions): Change to thread-local
36916         __sim_disabled_exceptions_thread and global
36917         __sim_disabled_exceptions_global.
36918         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
36919         and global __sim_round_mode_global.
36920         (__simulate_exceptions): Use thread-local floating-point state and
36921         set global state from it as needed.
36922         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
36923         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
36924         __sim_round_mode_thread.
36925         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
36926         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
36927         and global __sim_exceptions_global.
36928         (__sim_disabled_exceptions): Change to thread-local
36929         __sim_disabled_exceptions_thread and global
36930         __sim_disabled_exceptions_global.
36931         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
36932         and global __sim_round_mode_global.
36933         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
36934         (SIM_SET_GLOBAL): Likewise.
36935         * sysdeps/powerpc/soft-fp/sfp-machine.h
36936         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
36937         __sim_round_mode_thread.
36938         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
36939         __sim_disabled_exceptions_thread.
36940         (__sim_exceptions): Change to __sim_exceptions_thread.
36941         (__sim_disabled_exceptions): Change to
36942         __sim_disabled_exceptions_thread.
36943         (__sim_round_mode): Change to __sim_round_mode_thread.
36944         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
36945         thread-local floating-point state and set global state from it as
36946         needed.
36947         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
36948         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
36949         (__sim_disabled_exceptions): Remove extern declaration.
36950         (feenableexcept): Use thread-local floating-point state and set
36951         global state from it as needed.
36952         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
36953         extern declaration.
36954         (__sim_disabled_exceptions): Likewise.
36955         (__sim_round_mode): Likewise.
36956         (__fegetenv): Use thread-local floating-point state.
36957         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
36958         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
36959         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
36960         floating-point state and set global state from it as needed.
36961         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
36962         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
36963         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
36964         Likewise.
36965         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
36966         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
36967         Likewise.
36968         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
36969         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
36970         Use __sim_round_mode_thread.
36971         * math/test-fenv-tls.c: New file.
36972         * math/Makefile (tests): Add test-fenv-tls.
36973         ($(objpfx)test-fenv-tls): Depend on
36974         $(common-objpfx)nptl/libpthread.so.
36976 2013-11-19  Andreas Schwab  <schwab@suse.de>
36978         * locale/programs/locale.c (show_info): Decode wordarray elements.
36979         * locale/categories.def (LC_MONETARY): Add element for
36980         _NL_MONETARY_CRNCYSTR.
36981         * locale/C-monetary.c (conversion_rate): New variable.
36982         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
36983         element.
36985 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
36987         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
36988         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
36990 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
36992         * elf/Makefile (tst-auxv): New test.
36993         * elf/tst-auxv.c: New
36994         * elf/rtld.c (dl_main): Adjust AT_EXECFN
36996 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
36998         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
36999         (hidden_proto): Caller changed.
37000         (hidden_tls_proto): New macro.
37001         (libc_hidden_tls_proto): Likewise.
37002         (rtld_hidden_tls_proto): Likewise.
37003         (libm_hidden_tls_proto): Likewise.
37004         (libresolv_hidden_tls_proto): Likewise.
37005         (librt_hidden_tls_proto): Likewise.
37006         (libdl_hidden_tls_proto): Likewise.
37007         (libnss_files_hidden_tls_proto): Likewise.
37008         (libnsl_hidden_tls_proto): Likewise.
37009         (libnss_nisplus_hidden_tls_proto): Likewise.
37010         (libutil_hidden_tls_proto): Likewise.
37012 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
37014         [BZ #10253]
37015         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
37016         (decompose_rpath): Defer expansion to fillin_rpath.
37017         (_dl_init_paths): Pass linkmap to fillin_rpath.
37019 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
37021         * benchtests/Makefile: Add strsep.
37022         * benchtests/bench-strsep.c: New file: strsep benchtest.
37023         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
37025 2013-11-18  Andreas Schwab  <schwab@suse.de>
37027         * locale/programs/locale.c (show_info) [case byte]: Check for
37028         '\377' instead of '\177'.
37029         * locale/C-monetary.c (not_available): Always use "\377".
37030         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
37031         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
37032         detect unavailable sign_posn locale elements.
37033         * locale/localeconv.c (__localeconv): For grouping and
37034         mon_grouping handle "\177" and "\377" like no grouping.
37035         (INT_ELEM): New macro.  Use it to set all numeric members.
37036         * locale/programs/ld-monetary.c (monetary_read)
37037         <tok_mon_grouping>: Normalize single -1 to the empty string.
37038         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
37039         Likewise.
37041 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
37043         [BZ #16055]
37044         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
37045         when we match (nil).
37046         * stdio-common/tst-sscanf.c (struct test): Add testcase.
37048 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
37050         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
37051         (NO_TEST_INLINE): Update value.
37052         (ERRNO_UNCHANGED): Likewise.
37053         (ERRNO_EDOM): Likewise.
37054         (ERRNO_ERANGE): Likewise.
37055         (IGNORE_RESULT): Likewise.
37056         (check_float_internal): Check signs of NaN results if
37057         TEST_NAN_SIGN used.
37058         (check_complex): Pass TEST_NAN_SIGN flag through to second
37059         check_float_internal call.
37060         (copysign_test_data): Add tests with quiet NaNs as second
37061         argument.  Use TEST_NAN_SIGN.
37062         (fabs_test_data): Add test of negative quiet NaN argument.  Use
37063         TEST_NAN_SIGN.
37064         (signbit_test_data): Add tests of quiet NaN argument.
37065         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
37067         * math/gen-libm-test.pl (show_exceptions): Take extra argument
37068         $ignore_result.
37069         (parse_args): Handle function results specified as IGNORE.
37070         * math/libm-test.inc (IGNORE_RESULT): New macro.
37071         (check_float_internal): Do not check numerical result if flag
37072         IGNORE_RESULT set.
37073         (check_complex): Pass through IGNORE_RESULT to second
37074         check_float_internal call.
37075         (check_int): Do not check numerical result if flag IGNORE_RESULT
37076         set.
37077         (check_long): Likewise.
37078         (check_bool): Likewise.
37079         (check_longlong): Likewise.
37080         (lrint_test_data): Add tests of infinite and NaN arguments.
37081         (lrint_tonearest_test_data): Likewise.
37082         (lrint_towardzero_test_data): Likewise.
37083         (lrint_downward_test_data): Likewise.
37084         (lrint_upward_test_data): Likewise.
37085         (llrint_test_data): Likewise.
37086         (llrint_tonearest_test_data): Likewise.
37087         (llrint_towardzero_test_data): Likewise.
37088         (llrint_downward_test_data): Likewise.
37089         (llrint_upward_test_data): Likewise.
37090         (lround_test_data): Likewise.
37091         (llround_test_data): Likewise.
37093         * math/libm-test.inc (NO_TEST_INLINE): New macro.
37094         (ERRNO_UNCHANGED): Update value.
37095         (ERRNO_EDOM): Likewise.
37096         (ERRNO_ERANGE): Likewise.
37097         (NO_TEST_INLINE_FLOAT): New macro.
37098         (NO_TEST_INLINE_DOUBLE): Likewise.
37099         (enable_test): New function.
37100         (RUN_TEST_f_f): Check enable_test before running test.
37101         (RUN_TEST_2_f): Likewise.
37102         (RUN_TEST_fff_f): Likewise.
37103         (RUN_TEST_c_f): Likewise.
37104         (RUN_TEST_f_f1): Likewise.
37105         (RUN_TEST_fF_f1): Likewise.
37106         (RUN_TEST_fI_f1): Likewise.
37107         (RUN_TEST_ffI_f1): Likewise.
37108         (RUN_TEST_c_c): Likewise.
37109         (RUN_TEST_cc_c): Likewise.
37110         (RUN_TEST_f_i): Likewise.
37111         (RUN_TEST_f_i_tg): Likewise.
37112         (RUN_TEST_ff_i_tg): Likewise.
37113         (RUN_TEST_f_b): Likewise.
37114         (RUN_TEST_f_b_tg): Likewise.
37115         (RUN_TEST_f_l): Likewise.
37116         (RUN_TEST_f_L): Likewise.
37117         (RUN_TEST_fFF_11): Likewise.
37118         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
37119         conditionals.
37120         (cosh_test_data): Likewise.
37121         (exp_test_data): Likewise.
37122         (expm1_test_data): Likewise.
37123         (hypot_test_data): Likewise.
37124         (pow_test_data): Likewise.
37125         (sinh_test_data): Likewise.
37126         (tanh_test_data): Likewise.
37127         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
37128         flags argument.
37130         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
37131         tests with quiet NaN input and output.
37132         (acosh_test_data): Likewise.
37133         (asin_test_data): Likewise.
37134         (asinh_test_data): Likewise.
37135         (atan_test_data): Likewise.
37136         (atanh_test_data): Likewise.
37137         (atan2_test_data): Likewise.
37138         (cbrt_test_data): Likewise.
37139         (cos_test_data): Likewise.
37140         (cosh_test_data): Likewise.
37141         (erf_test_data): Likewise.
37142         (erfc_test_data): Likewise.
37143         (exp_test_data): Likewise.
37144         (exp10_test_data): Likewise.
37145         (exp2_test_data): Likewise.
37146         (expm1_test_data): Likewise.
37147         (hypot_test_data): Likewise.
37148         (j0_test_data): Likewise.
37149         (j1_test_data): Likewise.
37150         (jn_test_data): Likewise.
37151         (lgamma_test_data): Likewise.
37152         (log_test_data): Likewise.
37153         (log10_test_data): Likewise.
37154         (log1p_test_data): Likewise.
37155         (log2_test_data): Likewise.
37156         (pow_test_data): Likewise.
37157         (scalb_test_data): Likewise.
37158         (sin_test_data): Likewise.
37159         (sincos_test_data): Likewise.
37160         (sinh_test_data): Likewise.
37161         (tan_test_data): Likewise.
37162         (tanh_test_data): Likewise.
37163         (tgamma_test_data): Likewise.
37164         (y0_test_data): Likewise.
37165         (y1_test_data): Likewise.
37166         (yn_test_data): Likewise.
37168         [BZ #16167]
37169         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
37170         argument being NaN and avoid computations with second argument in
37171         that case.
37172         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
37173         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
37174         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
37176 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
37178         * locale/iso-639.def: Add Chitwani Tharu (the).
37180 2013-11-14  Andreas Schwab  <schwab@suse.de>
37182         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
37183         word instead of empty string.
37185 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37187         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
37188         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
37189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
37190         (__fe_nomask_env): Likewise.
37192 2013-11-13  Steve Ellcey  <sellcey@mips.com>
37194         * benchtests/bench-timing.h: Include time.h.
37196 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
37198         [BZ #15997]
37199         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
37200         to 3.4.0 for x32.
37201         * sysdeps/unix/sysv/linux/configure: Regenerated.
37203 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
37205         [BZ #16151]
37206         * stdlib/strtod_l.c (round_and_return): Do not consider
37207         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
37208         exponent one less than half the least subnormal exponent.
37209         * stdlib/test-strtod-round-data: Add more tests.
37210         * stdlib/tst-strtod-round.c (tests): Regenerated.
37212 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37214         [BZ #14143]
37215         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
37216         (__fe_mask_env): Likewise.
37217         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
37218         libm_hidden_proto and add function prototype.
37219         (__fe_mask_env): Add function prototype.
37220         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
37221         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
37222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
37223         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
37224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
37225         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
37227 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
37229         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
37230         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
37232 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
37234         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
37235         of htab_find_slot().
37237 2013-11-11  David S. Miller  <davem@davemloft.net>
37239         [BZ #16150]
37240         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
37241         symbol in the non-vis3 case in static builds.
37242         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
37243         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
37244         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
37245         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
37247 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
37249         [BZ #387]
37250         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
37251         it is empty.
37253 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37255         * benchtests/Makefile: Add bench-strtod.
37256         * benchtests/bench-strtod.c: New file: strtod benchtest
37258 2013-11-11  Andreas Schwab  <schwab@suse.de>
37260         [BZ #16153]
37261         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
37262         terminating NUL in key length.
37264 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37266         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
37267         Add artificial ODP entry for vDSO symbol for PPC64.
37268         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
37269         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
37271 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
37273         [BZ #15374]
37274         * nss/getent.c (services_keys): Recognize services starting with digit.
37276 2013-11-06  David S. Miller  <davem@davemloft.net>
37278         [BZ #15985]
37279         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
37280         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
37282 2013-11-06  Will Newton  <will.newton@linaro.org>
37284         * manual/memory.texi (Malloc Examples): Remove register
37285         keyword from examples.
37287 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
37289         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
37291 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
37293         [BZ #6981]
37294         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
37295         depending on [__GCC_IEC_559 > 0].
37296         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
37297         depending on [__GCC_IEC_559_COMPLEX > 0].
37299 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
37301         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
37302         to iso-639.def.
37304 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
37306         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
37308 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
37310         [BZ #16112]
37311         * malloc/malloc (malloc_info): Do not handle first bin as
37312         special case.
37314 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
37316         * locale/iso-639.def: Add Central Nahuatl (nhn).
37318 2013-11-01  Bruno Haible  <bruno@clisp.org>
37320         [BZ #7003]
37321         * manual/math.texi (BSD Random): Specify range upper bound as
37322         in POSIX.
37324 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
37326         * locale/iso-639.def: Add Meadow Mari (mhr).
37328 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
37330         [BZ #14752], [BZ #15763]
37331         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
37332         Validate name.
37333         * rt/tst_shm.c: Add test for escaping directory.
37335 2013-10-31  Andreas Schwab  <schwab@suse.de>
37337         [BZ #15917]
37338         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
37339         followed by 'x' as part of digit sequence.
37340         * stdio-common/tst-sscanf.c (double_tests2): New tests.
37342 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
37344         [BZ #16037]
37345         * configure.ac: allow GNU Make 4.0 and greater.
37346         * configure: Regenerated.
37348 2013-10-30  Will Newton  <will.newton@linaro.org>
37350         [BZ #16038]
37351         * malloc/hooks.c (memalign_check): Limit alignment to the
37352         maximum representable power of two.
37353         * malloc/malloc.c (__libc_memalign): Likewise.
37354         * malloc/tst-memalign.c (do_test): Add test for very
37355         large alignment values.
37356         * malloc/tst-posix_memalign.c (do_test): Likewise.
37358 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
37360         [BZ #11087]
37361         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
37362         (munmap_chunk): Likewise.
37363         (mremap_chunk): Likewise.
37365 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
37367         [BZ #15799]
37368         * stdlib/div.c (div): Remove obsolete code.
37369         * stdlib/ldiv.c (ldiv): Likewise.
37370         * stdlib/lldiv.c (lldiv): Likewise.
37372 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
37374         [BZ #16071]
37375         * nss/nss_files/files-XXX.c (get_contents_ret): New
37376         enumerator.
37377         (get_contents): New function.
37378         (internal_getent): Use it.  Expand size of LINEBUFLEN.
37380 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
37382         * configure.in: Moved to ...
37383         * configure.ac: ... here. Change reference to configure.in
37384         to configure.ac.
37385         * sysdeps/arm/preconfigure.ac: ... here.
37386         configure.in to configure.ac.
37387         * sysdeps/gnu/configure.in: Moved to ...
37388         * sysdeps/gnu/configure.ac: ... here.
37389         * sysdeps/i386/configure.in: Moved to ...
37390         * sysdeps/i386/configure.ac: ... here.
37391         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
37392         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
37393         * sysdeps/mach/configure.in: Moved to ...
37394         * sysdeps/mach/configure.ac: ... here.
37395         * sysdeps/mach/hurd/configure.in: Moved to ...
37396         * sysdeps/mach/hurd/configure.ac: ... here.
37397         * sysdeps/powerpc/configure.in: Moved to ...
37398         * sysdeps/powerpc/configure.ac: ... here.
37399         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
37400         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
37401         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
37402         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
37403         * sysdeps/s390/s390-32/configure.in: Moved to ...
37404         * sysdeps/s390/s390-32/configure.ac: ... here.
37405         * sysdeps/s390/s390-64/configure.in: Moved to ...
37406         * sysdeps/s390/s390-64/configure.ac: ... here.
37407         * sysdeps/sh/configure.in: Moved to ...
37408         * sysdeps/sh/configure.ac: ... here.
37409         * sysdeps/sparc/configure.in: Moved to ...
37410         * sysdeps/sparc/configure.ac: ... here.
37411         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
37412         * sysdeps/unix/sysv/linux/configure.ac: ... here.
37413         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
37414         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
37415         * sysdeps/x86_64/configure.in: Moved to ...
37416         * sysdeps/x86_64/configure.ac: ... here.
37417         * sysdeps/x86_64/preconfigure.in: Moved to ...
37418         * sysdeps/x86_64/preconfigure.ac: ... here.
37419         * aclocal.m4: Change reference to configure.in to configure.ac.
37420         * config.h.in: Likewise.
37421         * manual/install.texi: Likewise.
37422         * manual/maint.texi: Likewise.
37423         * Makefile: Likewise.
37424         * malloc/Makefile: Likewise.
37425         * nscd/Makefile: Likewise.
37426         * Makeconfig: Change reference to configure.in and
37427         preconfigure.in to configure.ac and preconfigure.ac
37428         respectively.
37429         * INSTALL: Regenerated.
37430         * configure: Likewise.
37431         * sysdeps/gnu/configure: Likewise.
37432         * sysdeps/i386/configure: Likewise.
37433         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
37434         * sysdeps/mach/configure: Likewise.
37435         * sysdeps/mach/hurd/configure: Likewise.
37436         * sysdeps/powerpc/configure: Likewise.
37437         * sysdeps/powerpc/powerpc32/configure: Likewise.
37438         * sysdeps/powerpc/powerpc64/configure: Likewise.
37439         * sysdeps/s390/s390-32/configure: Likewise.
37440         * sysdeps/s390/s390-64/configure: Likewise.
37441         * sysdeps/sh/configure: Likewise.
37442         * sysdeps/sparc/configure: Likewise.
37443         * sysdeps/unix/sysv/linux/configure: Likewise.
37444         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
37445         * sysdeps/x86_64/configure: Likewise.
37446         * sysdeps/x86_64/preconfigure: Likewise.
37448 2013-10-29  Andreas Schwab  <schwab@suse.de>
37450         * stdio-common/Makefile (tst-swscanf-ENV): Define.
37452 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
37454         * benchtests/pow-inputs: Add new inputs.
37456         * benchtests/exp-inputs: Add new inputs.
37458         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
37459         conditional check for return value.
37460         (__cos32): Likewise.
37462 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37464         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
37465         to provide a boost for large inputs with word alignment.
37466         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
37467         implementation based on optimized PPC64 strcpy.
37468         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
37469         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
37470         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
37471         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
37473 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
37475         [BZ #2801]
37476         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
37478 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
37480         [BZ #14876]
37481         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
37482         * time/tst-strptime.c (day_tests): Add testcase.
37484 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
37486         [BZ #14029]
37487         * manual/pattern.texi: Acknowledge that fnmatch can fail.
37489 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
37491         [BZ #16074]
37492         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
37493         MAP_FAILED on error.
37495 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
37497         [BZ #16072]
37498         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
37499         heap for large requests.
37501 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
37503         [BZ #9954]
37504         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
37505         result if the result has no associated interface.
37506         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
37507         interface for all 127.X.Y.Z addresses.
37509 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
37511         * locale/iso-639.def: Add Ligurian (lij)
37513 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
37515         [BZ #15825]
37516         * sunrpc/rpc_main.c: Document rpcgen -5.
37518 2013-10-19  Michael Stahl  <mstahl@redhat.com>
37520         * elf/rtld.c (do_preload): Print the reason why preloading failed.
37522 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
37524         [BZ #10278]
37525         * posix/glob.c: Match only directories when trailing slash is present.
37526         * posix/tst-gnuglob.c (my_opendir): Do not open files.
37527         (main): Add testcase.
37529 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
37531         [BZ #15670]
37532         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
37534 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
37536         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
37537         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
37538         AUTH_DES and cindex for FIPS 140-2.
37539         (DES Encryption): Add cindex FIPS 46-3.
37541         * locale/locarchive.h (struct locarhandle): Add fname.
37542         * locale/programs/localedef.c (main): Pass ARGV[remaining]
37543         if an optional argument was specified to --list-archive,
37544         otherwise NULL.
37545         * locale/programs/locarchive.c (show_archive_content): Take new
37546         argument fname and pass it via ah.fname to open_archive.
37547         * locale/programs/localedef.h: Update decl.
37548         (open_archive): If AH->fname is non-null, open that file
37549         rather than the default file name, and don't ignore ENOENT.
37550         (create_archive): Set AH.fname to NULL.
37551         (delete_locales_from_archive): Likewise.
37552         (add_locales_to_archive): Likewise.
37553         * locale/programs/locfile.c (write_all_categories): Likewise.
37555 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
37556             Aldy Hernandez  <aldyh@redhat.com>
37558         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
37559         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
37560         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
37561         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
37562         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
37563         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
37564         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
37565         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
37566         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
37567         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
37568         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
37569         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
37570         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
37571         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
37572         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
37573         Likewise.
37574         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
37575         Likewise.
37576         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
37577         Likewise.
37578         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
37579         Likewise.
37580         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
37581         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
37582         Likewise.
37583         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
37584         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
37585         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
37586         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
37587         Likewise.
37588         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
37589         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
37590         * sysdeps/powerpc/preconfigure: Likewise.
37591         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
37592         Likewise.
37593         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
37594         Replace contents of file by #include of <fenv_libc.h>.
37595         * sysdeps/powerpc/soft-fp/sfp-machine.h
37596         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
37597         and <sys/prctl.h>.
37598         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
37599         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
37600         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
37601         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
37602         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
37603         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
37604         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
37605         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
37606         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
37607         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
37608         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
37609         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
37610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
37611         Allow copysignl PLT reference to be missing.
37613 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
37614             Joseph Myers  <joseph@codesourcery.com
37616         [BZ #15948]
37617         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
37618         single character.
37619         (add_to_tablewc): Assert sequence of wide characters is nonempty.
37621 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
37623         * elf/tst-tls-dlinfo.c: Don't include tls.h.
37624         * elf/tst-tls1.c: Likewise.
37625         * elf/tst-tls10.h: Likewise.
37626         * elf/tst-tls14.c: Likewise.
37627         * elf/tst-tls2.c: Likewise.
37628         * elf/tst-tls3.c: Likewise.
37629         * elf/tst-tls4.c: Likewise.
37630         * elf/tst-tls5.c: Likewise.
37631         * elf/tst-tls6.c: Likewise.
37632         * elf/tst-tls7.c: Likewise.
37633         * elf/tst-tls8.c: Likewise.
37634         * elf/tst-tls9.c: Likewise.
37635         * elf/tst-tlsmod1.c: Likewise.
37636         * elf/tst-tlsmod13.c: Likewise.
37637         * elf/tst-tlsmod13a.c: Likewise.
37638         * elf/tst-tlsmod14a.c: Likewise.
37639         * elf/tst-tlsmod16a.c: Likewise.
37640         * elf/tst-tlsmod16b.c: Likewise.
37641         * elf/tst-tlsmod2.c: Likewise.
37642         * elf/tst-tlsmod3.c: Likewise.
37643         * elf/tst-tlsmod4.c: Likewise.
37644         * elf/tst-tlsmod5.c: Likewise.
37645         * elf/tst-tlsmod6.c: Likewise.
37647 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
37649         [BZ #12486]
37650         * malloc/malloc.c: remove checks for statistics.
37652 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
37654         [BZ #15277]
37655         * inet/inet_net.c (inet_network): Detect additional invalid strings.
37656         * inet/tst-network.c: Add testcase.
37658 2013-10-17  Andreas Schwab  <schwab@suse.de>
37660         [BZ #15218]
37661         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
37662         to determine canonical name.
37664 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
37666         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
37667         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
37668         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37669         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
37670         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37671         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
37672         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
37673         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
37674         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
37675         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
37676         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
37677         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37678         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
37679         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
37680         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
37681         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
37682         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37683         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
37684         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
37685         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
37686         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37687         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37688         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
37689         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
37690         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
37691         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
37692         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
37693         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
37694         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
37695         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
37696         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
37697         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37698         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
37699         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
37700         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
37701         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
37702         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
37703         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
37704         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
37705         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37706         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
37707         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
37708         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
37709         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
37710         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
37711         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
37712         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
37713         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
37714         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
37715         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
37716         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
37717         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
37718         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
37719         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
37720         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37721         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
37722         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37723         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
37725 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
37727         [BZ #16041]
37728         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
37729         make result into a quiet NaN.
37731 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
37733         * soft-fp/adddf3.c: Fix horizontal whitespace.
37734         * soft-fp/addsf3.c: Likewise.
37735         * soft-fp/addtf3.c: Likewise.
37736         * soft-fp/divdf3.c: Likewise.
37737         * soft-fp/divsf3.c: Likewise.
37738         * soft-fp/divtf3.c: Likewise.
37739         * soft-fp/double.h: Likewise.
37740         * soft-fp/eqdf2.c: Likewise.
37741         * soft-fp/eqsf2.c: Likewise.
37742         * soft-fp/eqtf2.c: Likewise.
37743         * soft-fp/extenddftf2.c: Likewise.
37744         * soft-fp/extended.h: Likewise.
37745         * soft-fp/extendsfdf2.c: Likewise.
37746         * soft-fp/extendsftf2.c: Likewise.
37747         * soft-fp/extendxftf2.c: Likewise.
37748         * soft-fp/fixdfdi.c: Likewise.
37749         * soft-fp/fixdfsi.c: Likewise.
37750         * soft-fp/fixdfti.c: Likewise.
37751         * soft-fp/fixsfdi.c: Likewise.
37752         * soft-fp/fixsfsi.c: Likewise.
37753         * soft-fp/fixsfti.c: Likewise.
37754         * soft-fp/fixtfdi.c: Likewise.
37755         * soft-fp/fixtfsi.c: Likewise.
37756         * soft-fp/fixtfti.c: Likewise.
37757         * soft-fp/fixunsdfdi.c: Likewise.
37758         * soft-fp/fixunsdfsi.c: Likewise.
37759         * soft-fp/fixunsdfti.c: Likewise.
37760         * soft-fp/fixunssfdi.c: Likewise.
37761         * soft-fp/fixunssfsi.c: Likewise.
37762         * soft-fp/fixunssfti.c: Likewise.
37763         * soft-fp/fixunstfdi.c: Likewise.
37764         * soft-fp/fixunstfsi.c: Likewise.
37765         * soft-fp/fixunstfti.c: Likewise.
37766         * soft-fp/floatdidf.c: Likewise.
37767         * soft-fp/floatdisf.c: Likewise.
37768         * soft-fp/floatditf.c: Likewise.
37769         * soft-fp/floatsidf.c: Likewise.
37770         * soft-fp/floatsisf.c: Likewise.
37771         * soft-fp/floatsitf.c: Likewise.
37772         * soft-fp/floattidf.c: Likewise.
37773         * soft-fp/floattisf.c: Likewise.
37774         * soft-fp/floattitf.c: Likewise.
37775         * soft-fp/floatundidf.c: Likewise.
37776         * soft-fp/floatundisf.c: Likewise.
37777         * soft-fp/floatunditf.c: Likewise.
37778         * soft-fp/floatunsidf.c: Likewise.
37779         * soft-fp/floatunsisf.c: Likewise.
37780         * soft-fp/floatunsitf.c: Likewise.
37781         * soft-fp/floatuntidf.c: Likewise.
37782         * soft-fp/floatuntisf.c: Likewise.
37783         * soft-fp/floatuntitf.c: Likewise.
37784         * soft-fp/fmadf4.c: Likewise.
37785         * soft-fp/fmasf4.c: Likewise.
37786         * soft-fp/fmatf4.c: Likewise.
37787         * soft-fp/gedf2.c: Likewise.
37788         * soft-fp/gesf2.c: Likewise.
37789         * soft-fp/getf2.c: Likewise.
37790         * soft-fp/ledf2.c: Likewise.
37791         * soft-fp/lesf2.c: Likewise.
37792         * soft-fp/letf2.c: Likewise.
37793         * soft-fp/muldf3.c: Likewise.
37794         * soft-fp/mulsf3.c: Likewise.
37795         * soft-fp/multf3.c: Likewise.
37796         * soft-fp/negdf2.c: Likewise.
37797         * soft-fp/negsf2.c: Likewise.
37798         * soft-fp/negtf2.c: Likewise.
37799         * soft-fp/op-1.h: Likewise.
37800         * soft-fp/op-2.h: Likewise.
37801         * soft-fp/op-4.h: Likewise.
37802         * soft-fp/op-8.h: Likewise.
37803         * soft-fp/op-common.h: Likewise.
37804         * soft-fp/quad.h: Likewise.
37805         * soft-fp/single.h: Likewise.
37806         * soft-fp/soft-fp.h: Likewise.
37807         * soft-fp/sqrtdf2.c: Likewise.
37808         * soft-fp/sqrtsf2.c: Likewise.
37809         * soft-fp/sqrttf2.c: Likewise.
37810         * soft-fp/subdf3.c: Likewise.
37811         * soft-fp/subsf3.c: Likewise.
37812         * soft-fp/subtf3.c: Likewise.
37813         * soft-fp/truncdfsf2.c: Likewise.
37814         * soft-fp/trunctfdf2.c: Likewise.
37815         * soft-fp/trunctfsf2.c: Likewise.
37816         * soft-fp/trunctfxf2.c: Likewise.
37817         * soft-fp/unorddf2.c: Likewise.
37818         * soft-fp/unordsf2.c: Likewise.
37819         * soft-fp/unordtf2.c: Likewise.
37821 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
37823         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
37824         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
37826 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
37828         * elf/dl-libc.c: Clear initfini list after freeing.
37830 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
37832         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
37833         * soft-fp/addsf3.c: Likewise.
37834         * soft-fp/addtf3.c: Likewise.
37835         * soft-fp/divdf3.c: Likewise.
37836         * soft-fp/divsf3.c: Likewise.
37837         * soft-fp/divtf3.c: Likewise.
37838         * soft-fp/double.h: Likewise.
37839         * soft-fp/eqdf2.c: Likewise.
37840         * soft-fp/eqsf2.c: Likewise.
37841         * soft-fp/eqtf2.c: Likewise.
37842         * soft-fp/extenddftf2.c: Likewise.
37843         * soft-fp/extended.h: Likewise.
37844         * soft-fp/extendsfdf2.c: Likewise.
37845         * soft-fp/extendsftf2.c: Likewise.
37846         * soft-fp/extendxftf2.c: Likewise.
37847         * soft-fp/fixdfdi.c: Likewise.
37848         * soft-fp/fixdfsi.c: Likewise.
37849         * soft-fp/fixdfti.c: Likewise.
37850         * soft-fp/fixsfdi.c: Likewise.
37851         * soft-fp/fixsfsi.c: Likewise.
37852         * soft-fp/fixsfti.c: Likewise.
37853         * soft-fp/fixtfdi.c: Likewise.
37854         * soft-fp/fixtfsi.c: Likewise.
37855         * soft-fp/fixtfti.c: Likewise.
37856         * soft-fp/fixunsdfdi.c: Likewise.
37857         * soft-fp/fixunsdfsi.c: Likewise.
37858         * soft-fp/fixunsdfti.c: Likewise.
37859         * soft-fp/fixunssfdi.c: Likewise.
37860         * soft-fp/fixunssfsi.c: Likewise.
37861         * soft-fp/fixunssfti.c: Likewise.
37862         * soft-fp/fixunstfdi.c: Likewise.
37863         * soft-fp/fixunstfsi.c: Likewise.
37864         * soft-fp/fixunstfti.c: Likewise.
37865         * soft-fp/floatdidf.c: Likewise.
37866         * soft-fp/floatdisf.c: Likewise.
37867         * soft-fp/floatditf.c: Likewise.
37868         * soft-fp/floatsidf.c: Likewise.
37869         * soft-fp/floatsisf.c: Likewise.
37870         * soft-fp/floatsitf.c: Likewise.
37871         * soft-fp/floattidf.c: Likewise.
37872         * soft-fp/floattisf.c: Likewise.
37873         * soft-fp/floattitf.c: Likewise.
37874         * soft-fp/floatundidf.c: Likewise.
37875         * soft-fp/floatundisf.c: Likewise.
37876         * soft-fp/floatunsidf.c: Likewise.
37877         * soft-fp/floatunsisf.c: Likewise.
37878         * soft-fp/floatuntidf.c: Likewise.
37879         * soft-fp/floatuntisf.c: Likewise.
37880         * soft-fp/floatuntitf.c: Likewise.
37881         * soft-fp/fmadf4.c: Likewise.
37882         * soft-fp/fmasf4.c: Likewise.
37883         * soft-fp/fmatf4.c: Likewise.
37884         * soft-fp/gedf2.c: Likewise.
37885         * soft-fp/gesf2.c: Likewise.
37886         * soft-fp/getf2.c: Likewise.
37887         * soft-fp/ledf2.c: Likewise.
37888         * soft-fp/lesf2.c: Likewise.
37889         * soft-fp/letf2.c: Likewise.
37890         * soft-fp/muldf3.c: Likewise.
37891         * soft-fp/mulsf3.c: Likewise.
37892         * soft-fp/multf3.c: Likewise.
37893         * soft-fp/negdf2.c: Likewise.
37894         * soft-fp/negsf2.c: Likewise.
37895         * soft-fp/negtf2.c: Likewise.
37896         * soft-fp/op-1.h: Likewise.
37897         * soft-fp/op-2.h: Likewise.
37898         * soft-fp/op-4.h: Likewise.
37899         * soft-fp/op-8.h: Likewise.
37900         * soft-fp/op-common.h: Likewise.
37901         * soft-fp/quad.h: Likewise.
37902         * soft-fp/single.h: Likewise.
37903         * soft-fp/soft-fp.h: Likewise.
37904         * soft-fp/sqrtdf2.c: Likewise.
37905         * soft-fp/sqrtsf2.c: Likewise.
37906         * soft-fp/sqrttf2.c: Likewise.
37907         * soft-fp/subdf3.c: Likewise.
37908         * soft-fp/subsf3.c: Likewise.
37909         * soft-fp/subtf3.c: Likewise.
37910         * soft-fp/truncdfsf2.c: Likewise.
37911         * soft-fp/trunctfdf2.c: Likewise.
37912         * soft-fp/trunctfsf2.c: Likewise.
37913         * soft-fp/trunctfxf2.c: Likewise.
37914         * soft-fp/unorddf2.c: Likewise.
37915         * soft-fp/unordsf2.c: Likewise.
37916         * soft-fp/unordtf2.c: Likewise.
37918 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
37920         [BZ #15672]
37921         * misc/error.c (error_tail): Fix possible buffer overflow.
37923 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
37925         [BZ #13028]
37926         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
37927         address.
37929 2013-10-14  P. J. McDermott  <pj@pehjota.net>
37931         [BZ #832]
37932         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
37933         testing pipefail option.
37935 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
37937         * soft-fp/double.h: Indent preprocessor directives inside #if.
37938         * soft-fp/extended.h: Likewise.
37939         * soft-fp/op-2.h: Likewise.
37940         * soft-fp/op-4.h: Likewise.
37941         * soft-fp/op-common.h: Likewise.
37942         * soft-fp/quad.h: Likewise.
37943         * soft-fp/single.h: Likewise.
37944         * soft-fp/soft-fp.h: Likewise.
37946 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
37948         * iconv/iconv_prog.c: Fix typos.
37949         * stdio-common/psiginfo-data.h: Likewise.
37951 2013-10-12   Reuben Thomas <rrt@sc3d.org>
37953         [BZ #15764]
37954         * locale/setlocale.c: Fix typo.
37956 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
37958         [BZ #16036]
37959         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
37960         signaling NaN arguments.
37961         * soft-fp/unordsf2.c (__unordsf2): Likewise.
37962         * soft-fp/unordtf2.c (__unordtf2): Likewise.
37964         [BZ #14910]
37965         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
37966         unordered operands.
37967         * soft-fp/gesf2.c (__gesf2): Likewise.
37968         * soft-fp/getf2.c (__getf2): Likewise.
37969         * soft-fp/ledf2.c (__ledf2): Likewise.
37970         * soft-fp/lesf2.c (__lesf2): Likewise.
37971         * soft-fp/letf2.c (__letf2): Likewise.
37973         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
37974         * soft-fp/eqsf2.c (__eqsf2): Likewise.
37975         * soft-fp/eqtf2.c (__eqtf2): Likewise.
37976         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
37977         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
37978         * soft-fp/fixdfti.c (__fixdfti): Likewise.
37979         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
37980         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
37981         * soft-fp/fixsfti.c (__fixsfti): Likewise.
37982         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
37983         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
37984         * soft-fp/fixtfti.c (__fixtfti): Likewise.
37985         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
37986         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
37987         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
37988         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
37989         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
37990         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
37991         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
37992         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
37993         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
37994         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
37995         * soft-fp/floatdisf.c (__floatdisf): Likewise.
37996         * soft-fp/floatsisf.c (__floatsisf): Likewise.
37997         * soft-fp/floattidf.c (__floattidf): Likewise.
37998         * soft-fp/floattisf.c (__floattisf): Likewise.
37999         * soft-fp/floattitf.c (__floattitf): Likewise.
38000         * soft-fp/floatundidf.c (__floatundidf): Likewise.
38001         * soft-fp/floatundisf.c (__floatundisf): Likewise.
38002         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
38003         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
38004         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
38005         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
38006         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
38007         * soft-fp/gesf2.c (__gesf2): Likewise.
38008         * soft-fp/getf2.c (__getf2): Likewise.
38009         * soft-fp/ledf2.c (__ledf2): Likewise.
38010         * soft-fp/lesf2.c (__lesf2): Likewise.
38011         * soft-fp/letf2.c (__letf2): Likewise.
38013         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
38014         Undefine and redefine.
38015         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
38016         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
38017         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
38018         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
38019         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
38020         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
38021         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
38022         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
38023         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
38024         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
38025         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
38026         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
38027         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
38028         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
38029         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
38031         [BZ #16032]
38032         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
38033         without decrementing exponent if mantissa >= that for the
38034         denominator, not >.
38035         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
38036         denominator, not >.  Decrement exponent in < case instead of
38037         incrementing in >= case.
38038         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
38039         without decrementing exponent if mantissa >= that for the
38040         denominator, not >.
38042         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
38043         computing saturated result for unsigned overflow.
38045 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
38046             Jeff Law  <law@redhat.com>
38048         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
38049         (atan2Mp): Add systemtap probe marker.
38050         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
38051         (__ieee754_log): Add systemtap probe marker.
38052         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
38053         (atanMp): Add systemtap probe marker.
38054         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
38055         (tanMp): Add systemtap probe marker.
38056         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
38057         (__slowexp): Add systemtap probe marker.
38058         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
38059         (__slowpow): Add systemtap probe marker.
38060         * manual/probes.texi: Document probes.
38062 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
38064         [BZ #15362]
38065         * libio/fileops.c (_IO_new_file_write): Return count of bytes
38066         written.
38067         (_IO_new_file_xsputn): Don't return EOF if nothing has been
38068         written.
38069         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
38070         written to buffer but not flushed.
38071         * libio/iofwrite_u.c:  Likewise.
38072         * libio/iopadn.c:  Return bytes returned even if EOF was
38073         encountered.
38074         * libio/iowpadn.c:  Likewise.
38075         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
38076         if _IO_padn does not write the whole buffer.
38077         [!COMPILE_WPRINTF] (PAD): Likewise.
38079 2013-10-10  David S. Miller  <davem@davemloft.net>
38081         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
38082         directory block.
38084 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
38086         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
38087         instead of FSF address.
38088         * soft-fp/fixdfti.c: Likewise.
38089         * soft-fp/fixsfti.c: Likewise.
38090         * soft-fp/fixtfti.c: Likewise.
38091         * soft-fp/fixunsdfti.c: Likewise.
38092         * soft-fp/fixunssfti.c: Likewise.
38093         * soft-fp/fixunstfti.c: Likewise.
38094         * soft-fp/floattidf.c: Likewise.
38095         * soft-fp/floattisf.c: Likewise.
38096         * soft-fp/floattitf.c: Likewise.
38097         * soft-fp/floatuntidf.c: Likewise.
38098         * soft-fp/floatuntisf.c: Likewise.
38099         * soft-fp/floatuntitf.c: Likewise.
38100         * soft-fp/trunctfxf2.c: Likewise.
38102         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
38103         * soft-fp/fixdfti.c: Likewise.
38104         * soft-fp/fixsfti.c: Likewise.
38105         * soft-fp/fixtfti.c: Likewise.
38106         * soft-fp/fixunsdfti.c: Likewise.
38107         * soft-fp/fixunssfti.c: Likewise.
38108         * soft-fp/fixunstfti.c: Likewise.
38109         * soft-fp/floattidf.c: Likewise.
38110         * soft-fp/floattisf.c: Likewise.
38111         * soft-fp/floattitf.c: Likewise.
38112         * soft-fp/floatuntidf.c: Likewise.
38113         * soft-fp/floatuntisf.c: Likewise.
38114         * soft-fp/floatuntitf.c: Likewise.
38115         * soft-fp/trunctfxf2.c: Likewise.
38117 2013-10-10  David S. Miller  <davem@davemloft.net>
38119         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38121 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
38123         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
38124         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
38125         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
38126         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
38127         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
38128         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
38129         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
38131         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
38132         for NaNs before doing comparisons on argument.
38133         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
38134         Likewise.
38136 2013-10-10  Will Newton  <will.newton@linaro.org>
38138         * malloc/hooks.c (memalign_check): Ensure the value of bytes
38139         passed to _int_memalign does not overflow.
38141 2013-10-10  Torvald Riegel  <triegel@redhat.com>
38143         * scripts/bench.pl: Add include-sources directive.
38144         * benchtests/README: Update documentation.
38146 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
38148         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
38149         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
38150         instead of FP_INIT_ROUNDMODE.
38151         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
38152         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
38154         [BZ #16034]
38155         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
38156         copy class of input value.
38157         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
38158         not handle exceptions.
38159         * soft-fp/negsf2.c (__negsf2): Likewise.
38160         * soft-fp/negtf2.c (__negtf2): Likewise.
38161         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
38163 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
38165         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
38166         semicolon.  From Linux kernel.
38168 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
38170         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
38172 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
38174         [BZ #156]
38175         * manual/socket.texi: Added statement about buffer
38176         for gethostbyname2_r.
38178 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
38180         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
38181         Use .p2align directive instead, throughout.
38182         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
38183         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
38184         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
38185         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
38186         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
38187         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
38188         * sysdeps/x86_64/strchr.S: Likewise.
38189         * sysdeps/x86_64/strrchr.S: Likewise.
38191 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
38193         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
38195         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
38197         * sysdeps/generic/math_private.h (__mpsin1): Remove
38198         declaration.
38199         (__mpcos1): Likewise.
38200         (__mpsin): New argument __range_reduce.
38201         (__mpcos): Likewise.
38202         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38203         (slow): Use __mpsin and __mpcos.
38204         (slow1): Likewise.
38205         (slow2): Likewise.
38206         (sloww): Likewise.
38207         (sloww1): Likewise.
38208         (sloww2): Likewise.
38209         (bsloww): Likewise.
38210         (bsloww1): Likewise.
38211         (bsloww2): Likewise.
38212         (cslow2): Likewise.
38213         (csloww): Likewise.
38214         (csloww1): Likewise.
38215         (csloww2): Likewise.
38216         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
38217         range_reduce.  Merge in __mpsin1.
38218         (__mpcos): Likewise.
38219         (__mpsin1): Remove.
38220         (__mpcos1): Likewise.
38222 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
38224         * locale/loadlocale.c (_nl_intern_locale_data): Use
38225         LOCFILE_ALIGNED_P.
38226         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
38227         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
38228         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
38229         obstack data is appropriately aligned.
38230         (obstack_int32_grow_fast): Likewise.
38231         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
38232         * locale/programs/locfile.c (add_locale_uint32): Likewise.
38233         (add_locale_uint32_array): Likewise.
38235 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
38237         * benchtests/Makefile: Remove ARGLIST and RET variables.
38238         ($(objpfx)bench-%.c): Pass only function name to the script.
38239         * benchtests/README: Update documentation.
38240         * benchtests/acos-inputs: Add new directives.
38241         * benchtests/acosh-inputs: Likewise.
38242         * benchtests/asin-inputs: Likewise.
38243         * benchtests/asinh-inputs: Likewise.
38244         * benchtests/atan-inputs: Likewise.
38245         * benchtests/atanh-inputs: Likewise.
38246         * benchtests/cos-inputs: Likewise.
38247         * benchtests/cosh-inputs: Likewise.
38248         * benchtests/exp-inputs: Likewise.
38249         * benchtests/log-inputs: Likewise.
38250         * benchtests/pow-inputs: Likewise.
38251         * benchtests/rint-inputs: Likewise.
38252         * benchtests/sin-inputs: Likewise.
38253         * benchtests/sinh-inputs: Likewise.
38254         * benchtests/tan-inputs: Likewise.
38255         * benchtests/tanh-inputs: Likewise.
38256         * scripts/bench.pl: Add support for new directives.
38258 2013-10-07  Alan Modra  <amodra@gmail.com>
38260         * README: Fix careless merge.
38262 2013-10-05  Alan Modra  <amodra@gmail.com>
38264         * NEWS: Mention powerpc64le support and bugs fixed.
38265         * README: Both big-endian and little-endian powerpc64 supported.
38267 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38269         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
38270         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
38271         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
38272         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
38274 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
38276         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
38277         match prototype.
38279 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
38281         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
38282         Move -mhard-float appending from
38283         ports/sysdeps/powerpc/powerpc32/Makefile.
38284         [$(with-fp) = yes] (ASFLAGS): Likewise.
38285         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
38286         * sysdeps/powerpc/nofpu: Move directory from
38287         ports/sysdeps/powerpc/nofpu.
38288         * sysdeps/powerpc/soft-fp: Move directory from
38289         ports/sysdeps/powerpc/soft-fp.
38290         * sysdeps/powerpc/powerpc32/405: Move directory from
38291         ports/sysdeps/powerpc/powerpc32/405.
38292         * sysdeps/powerpc/powerpc32/440: Move directory from
38293         ports/sysdeps/powerpc/powerpc32/440.
38294         * sysdeps/powerpc/powerpc32/464: Move directory from
38295         ports/sysdeps/powerpc/powerpc32/464.
38296         * sysdeps/powerpc/powerpc32/476: Move directory from
38297         ports/sysdeps/powerpc/powerpc32/476.
38298         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
38299         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
38300         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
38301         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
38302         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
38303         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
38304         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
38305         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
38306         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
38307         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
38308         * README: Update for powerpc-*-linux-gnu software floating point
38309         support in libc.
38311         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
38312         case to powerpc/powerpc32*.
38313         * sysdeps/unix/sysv/linux/configure: Regenerated.
38315         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
38316         (_FPU_MASK_OM): Define as 0x04.
38317         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
38318         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
38319         0x00c10080.
38320         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
38321         0x0000003c.
38322         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
38324         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
38325         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
38326         getcontext_e500.
38327         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
38328         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
38329         setcontext_e500.
38330         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
38331         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
38332         and setcontext_e500.
38334 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
38336         * locale/iso-3166.def: Update iso-1366.def and related occurrences
38338 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
38340         * manual/threads.texi (Default Thread Attributes): Fix typo.
38342 2013-10-04  Will Newton  <will.newton@linaro.org>
38344         * malloc/Makefile: Add tst-memalign.
38345         * malloc/tst-memalign.c: New file.
38347         * malloc/tst-posix_memalign.c: Add comments.
38348         (do_test): Add comments and call free on all potentially
38349         allocated pointers. Add space after cast.
38351         * malloc/tst-pvalloc.c: Add comments.
38352         (do_test): Add comments and call free on all potentially
38353         allocated pointers. Remove duplicate check for NULL pointer.
38354         Add space after cast.
38356         * malloc/tst-valloc.c: Add comments.
38357         (do_test): Add comments and call free on all potentially
38358         allocated pointers. Remove duplicate check for NULL pointer.
38359         Add space after cast.
38361 2013-10-04  Alan Modra  <amodra@gmail.com>
38363         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
38364         Use stdint types in rather than __attribute__((mode())).
38365         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
38367 2013-10-04  Alan Modra  <amodra@gmail.com>
38369         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
38370         Correct handling of unaligned relocs for little-endian.
38371         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
38373 2013-10-04  Alan Modra  <amodra@gmail.com>
38375         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
38376         * configure: Regenerate.
38377         * nptl/shlib-versions: Powerpc*le starts at 2.18.
38378         * shlib-versions: Likewise.
38380 2013-10-04  Alan Modra  <amodra@gmail.com>
38382         * string/tester.c (test_memrchr): Increment reported test cycle.
38384 2013-10-04  Alan Modra  <amodra@gmail.com>
38386         * string/test-memcpy.c (do_one_test): When reporting errors, print
38387         string address and don't overrun end of string.
38389 2013-10-04  Alan Modra  <amodra@gmail.com>
38391         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
38392         insrdi.  Make better use of reg selection to speed exit slightly.
38393         Schedule entry path a little better.  Remove useless "are we done"
38394         checks on entry to main loop.  Handle wrapping around zero address.
38395         Correct main loop count.  Handle single left-over word from main
38396         loop inline rather than by using loop_small.  Remove extra word
38397         case in loop_small caused by wrong loop count.  Add little-endian
38398         support.
38399         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
38400         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
38401         cache hint.
38402         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
38403         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
38404         support.  Avoid rlwimi.
38405         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
38407 2013-10-04  Alan Modra  <amodra@gmail.com>
38409         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
38410         insrdi.  Formatting.
38411         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
38412         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
38413         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
38414         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
38415         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
38416         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
38418 2013-10-04  Alan Modra  <amodra@gmail.com>
38420         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
38421         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
38422         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
38423         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
38424         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
38425         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
38426         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
38427         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
38428         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
38429         use of regs.  Use power7 mtocrf.  Tidy function tails.
38431 2013-10-04  Alan Modra  <amodra@gmail.com>
38433         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
38434         Formatting.  Consistently use rXXX register defines or rN defines.
38435         Use early exit labels that avoid restoring unused non-volatile regs.
38436         Make cr field use more consistent with rWORDn compares.  Rename
38437         regs used as shift registers for unaligned loop, using rN defines
38438         for short lifetime/multiple use regs.
38439         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
38440         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
38441         addi 1,1,64 to pop stack frame.  Simplify return value code.
38442         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
38444 2013-10-04  Alan Modra  <amodra@gmail.com>
38446         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
38447         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
38448         rather than rlwimi.
38449         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
38450         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
38451         little-endian support.  Correct typos.
38452         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
38453         rather than rlwimi.
38454         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
38455         in loop and entry code to keep "and." results.
38456         (strchr): Add little-endian support.  Comment.  Move cntlzd
38457         earlier in tail.
38458         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
38460 2013-10-04  Alan Modra  <amodra@gmail.com>
38462         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
38463         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
38464         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
38465         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
38467 2013-10-04  Alan Modra  <amodra@gmail.com>
38469         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
38470         (rTMP): Define as r11.
38471         (strcmp): Add little-endian support.  Optimise tail.
38472         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
38473         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
38474         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
38475         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
38476         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
38477         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
38478         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
38480 2013-10-04  Alan Modra  <amodra@gmail.com>
38482         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
38483         little-endian support.  Remove unnecessary "are we done" tests.
38484         Handle "s" wrapping around zero and extremely large "size".
38485         Correct main loop count.  Handle single left-over word from main
38486         loop inline rather than by using small_loop.  Correct comments.
38487         Delete "zero" tail, use "end_max" instead.
38488         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
38490 2013-10-04  Alan Modra  <amodra@gmail.com>
38492         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
38493         support.  Don't branch over align.
38494         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
38495         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
38496         support.  Rearrange tmp reg use to suit.  Comment.
38497         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
38499 2013-10-04  Alan Modra  <amodra@gmail.com>
38501         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
38503 2013-10-04  Alan Modra  <amodra@gmail.com>
38505         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
38506         conditional form of branch and link when obtaining pc.
38507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
38509 2013-10-04  Alan Modra  <amodra@gmail.com>
38511         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
38512         HIWORD/LOWORD.
38513         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
38514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
38516 2013-10-04  Alan Modra  <amodra@gmail.com>
38518         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
38519         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
38520         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
38521         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
38522         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
38523         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
38524         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
38525         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
38526         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
38527         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
38529 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
38530             Alistair Popple <alistair@ozlabs.au.ibm.com>
38531             Alan Modra <amodra@gmail.com>
38533         [BZ #15723]
38534         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
38535         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
38536         _dl_hwcap access for little-endian.
38537         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
38538         destroy vmx regs when saving unaligned.
38539         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
38540         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
38541         destroy vmx regs when saving unaligned.
38543 2013-10-04  Alan Modra  <amodra@gmail.com>
38545         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
38546         Don't use a union to pack hi/low value.
38548 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
38550         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
38551         for little-endian.
38552         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
38553         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
38554         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
38555         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
38556         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
38558 2013-10-04  Alan Modra  <amodra@gmail.com>
38560         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
38561         constants to usual value for .cst8 section, and remove redundant
38562         high address load.
38563         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
38564         constant for 0x1p52.  Load little-endian words of double from
38565         correct stack offsets.
38567 2013-10-04  Alan Modra  <amodra@gmail.com>
38569         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
38570         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
38571         words of double from correct stack offsets.
38572         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
38573         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
38574         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
38575         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
38576         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
38577         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
38578         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
38579         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
38580         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
38581         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
38582         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
38583         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
38584         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
38585         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
38586         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
38587         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
38588         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
38590 2013-10-04  Alan Modra  <amodra@gmail.com>
38592         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
38593         64-bit int/double union.
38594         (_FPU_SETCW): Likewise.
38595         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
38596         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
38598 2013-10-04  Alan Modra  <amodra@gmail.com>
38600         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
38601         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
38603 2013-10-04  Alan Modra  <amodra@gmail.com>
38605         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
38606         use vector int constants.
38607         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
38609 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
38611         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
38612         array with long long.
38613         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
38614         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
38615         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
38616         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
38617         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
38618         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
38619         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
38620         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
38621         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
38622         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
38623         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
38624         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
38625         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
38627 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
38629         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
38630         (__signbit): Likewise.  Correct for little-endian.
38631         (__signbitl): Call __signbit.
38632         (lrint): Correct for little-endian.
38633         (lrintf): Call lrint.
38635 2013-10-04  Alan Modra  <amodra@gmail.com>
38637         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
38638         union 32-bit int array member with 64-bit int array.
38639         (t515, tm256): Double rather than long double.
38640         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
38642 2013-10-04  Alan Modra  <amodra@gmail.com>
38644         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
38645         Delete.
38646         (IEEE854_LONG_DOUBLE_BIAS): Delete.
38647         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
38648         version of math_ldbl.h.
38650 2013-10-04  Alan Modra  <amodra@gmail.com>
38652         [BZ #15734], [BZ #15735]
38653         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
38654         all uses of ieee875 long double macros and unions.  Simplify test
38655         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
38656         ldbl_extract_mantissa value for ix,iy exponents.  Properly
38657         normalize after ldbl_extract_mantissa, and don't add hidden bit
38658         already handled.  Don't treat low word of ieee854 mantissa like
38659         low word of IBM long double and mask off bit when testing for
38660         zero.
38661         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
38662         all uses of ieee875 long double macros and unions.  Simplify tests
38663         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
38664         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
38665         two1022, instead use their values.  Recognise that tests for large
38666         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
38667         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
38668         Rewrite all uses of ieee875 long double macros and unions.  Simplify
38669         test for 0.0L and nan.  Correct negation.
38670         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
38671         ieee875 long double macros and unions.  Correct output for large
38672         magnitude x.  Correct absolute value calculation.
38673         (__erfcl): Likewise.
38674         * math/libm-test.inc: Add tests for errors discovered in IBM long
38675         double versions of fmodl, remainderl, erfl and erfcl.
38677 2013-10-04  Alan Modra  <amodra@gmail.com>
38679         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
38680         all uses of ieee854 long double macros and unions.  Simplify tests
38681         for long doubles that are fully specified by the high double.
38682         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
38683         Likewise.
38684         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
38685         Remove dead code too.
38686         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
38687         (__ieee754_ynl): Likewise.
38688         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
38689         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
38690         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
38691         Remove dead code too.
38692         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
38693         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
38694         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
38695         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
38696         Simplify.
38697         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
38698         Simplify.
38699         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
38700         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
38701         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
38702         Comment on variable precision.
38703         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
38704         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
38705         Likewise.
38706         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
38707         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
38708         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
38709         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
38710         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
38712 2013-10-04  Alan Modra  <amodra@gmail.com>
38714         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
38715         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
38716         all uses of ieee854 long double macros and unions.
38717         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
38718         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
38719         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
38720         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
38721         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
38722         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
38723         Likewise.
38724         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
38725         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
38726         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
38727         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
38728         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
38729         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
38730         Simplify sign and nan test too.
38731         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
38732         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
38733         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
38734         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
38735         Likewise.
38736         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
38737         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
38738         Likewise.
38739         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
38740         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
38741         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
38742         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
38743         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
38744         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
38746 2013-10-04  Alan Modra  <amodra@gmail.com>
38748         * stdio-common/printf_size.c (__printf_size): Don't use
38749         union ieee854_long_double in fpnum union.
38750         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
38751         signbit macro to retrieve sign from long double.
38752         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
38753         retrieve sign from long double.
38754         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
38755         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
38756         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
38757         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
38758         * math/test-misc.c (main): Don't use union ieee854_long_double.
38760 2013-10-04  Alan Modra  <amodra@gmail.com>
38762         [BZ #15680]
38763         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
38764         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
38765         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
38766         calculation.  Remove unnecessary test for denormal exponent.
38767         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
38768         Correct handling of denormals.  Avoid undefined shift behaviour.
38769         Correct normalisation of low mantissa when low double is denormal.
38770         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
38771         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
38772         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
38773         Correct normalisation of low mantissa.  Test for overflow of high
38774         mantissa and normalise.
38775         (ldbl_nearbyint): Use more readable constant for two52.
38776         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
38777         (__mpn_construct_long_double): Fix test for overflow of high
38778         mantissa and correct normalisation.  Avoid undefined shift.
38780 2013-10-04  Alan Modra  <amodra@gmail.com>
38782         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
38783         (union ibm_extended_long_double): Define as an array of ieee754_double.
38784         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
38785         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
38786         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
38787         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
38788         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
38789         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
38790         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
38791         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
38792         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
38793         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
38794         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
38796 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
38798         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
38799         page size instead of calling getpagesize.
38801         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
38802         (LOCFILE_ALIGN_MASK): Likewise.
38803         (LOCFILE_ALIGN_UP): Likewise.
38804         (LOCFILE_ALIGNED_P): Likewise.
38805         * locale/programs/ld-collate.c (collate_output): Use the new
38806         macros instead of __alignof__ (int32_t).
38807         * locale/weight.h (findidx): Likewise.
38809 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
38811         [BZ #431]
38812         * manual/string.texi: Fix strncat and wcsncat.
38814 2013-10-03  Brooks Moses  <bmoses@google.com>
38816         [BZ #15915]
38817         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
38818         * Makerules: ...here, and adjust associated comments.
38820 2013-10-02  Will Newton  <will.newton@linaro.org>
38822         * malloc/Makefile: Add tst-pvalloc.
38823         * malloc/tst-pvalloc.c: New file.
38825 2013-10-02  Will Newton  <will.newton@linaro.org>
38827         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
38828         improve test coverage.
38830 2013-10-02  Will Newton  <will.newton@linaro.org>
38832         * malloc/Makefile: Add tst-posix_memalign.
38833         * malloc/tst-posix_memalign.c: New file.
38835 2013-10-01  Eric Blake  <eblake@redhat.com>
38837         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
38838         Use __THROWNL rather than __THROW on static functions.
38840 2013-09-30  Petr Machata  <pmachata@redhat.com>
38842         * elf/elf.h (R_AARCH64_ABS16): New macro.
38843         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
38844         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
38845         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
38846         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
38847         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
38848         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
38849         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
38850         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
38851         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
38852         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
38853         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
38854         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
38855         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
38856         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
38857         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
38858         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
38859         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
38860         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
38861         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
38862         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
38863         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
38864         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
38865         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
38866         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
38867         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
38868         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
38869         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
38870         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
38871         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
38872         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
38873         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
38874         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
38875         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
38876         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
38877         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
38878         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
38879         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
38880         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
38881         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
38882         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
38883         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
38884         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
38885         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
38886         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
38887         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
38888         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
38889         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
38890         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
38891         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
38892         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
38893         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
38894         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
38895         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
38896         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
38897         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
38898         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
38899         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
38900         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
38901         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
38902         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
38903         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
38904         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
38905         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
38906         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
38907         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
38908         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
38909         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
38910         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
38911         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
38912         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
38913         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
38914         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
38915         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
38916         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
38917         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
38918         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
38919         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
38920         (R_AARCH64_TLSDESC_LDR): Likewise.
38921         (R_AARCH64_TLSDESC_ADD): Likewise.
38922         (R_AARCH64_TLSDESC_CALL): Likewise.
38924 2013-09-30  Andreas Schwab  <schwab@suse.de>
38926         [BZ #15048]
38927         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
38928         the nss database lookup.
38929         * nscd/initgrcache.c (addinitgroupsX): Likewise.
38930         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
38932 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
38934         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
38936 2013-09-28  P. J. McDermott  <pj@pehjota.net>
38938         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
38939         ${Bash-specific parameter/pattern/string} parameter expansion.
38940         * sysdeps/unix/make-syscalls.sh: Likewise.
38942 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38944         * sysdeps/sh/stackguard-macros.h: New file.
38946 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
38948         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
38949         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
38950         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
38951         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
38952         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
38953         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
38955 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38957         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
38958         Fix thread ID register.
38960 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
38962         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
38963         [POSIX || UNIX98]: Require rather than permitting all symbols from
38964         <time.h>.
38965         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
38966         element of struct sched_param.
38967         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
38968         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
38969         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
38970         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
38971         constant.
38973 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
38975         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
38976         argument calculation.
38978 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
38980         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
38981         Expect macro.
38982         [POSIX] (pthread_attr_t): Do not require type.
38983         [POSIX] (pthread_cond_t): Likewise.
38984         [POSIX] (pthread_condattr_t): Likewise.
38985         [POSIX] (pthread_key_t): Likewise.
38986         [POSIX] (pthread_mutex_t): Likewise.
38987         [POSIX] (pthread_mutexattr_t): Likewise.
38988         [POSIX] (pthread_once_t): Likewise.
38989         [POSIX] (pthread_t): Likewise.
38990         [POSIX-based standards] (pthread_atfork): Expect function.
38992 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
38993             Richard Sandiford  <richard@codesourcery.com>
38995         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
38996         (swap_endianness_p): New extern variable.
38997         (set_big_endian): New inline function.
38998         (maybe_swap_uint32): Likewise.
38999         (maybe_swap_uint32_array): Likewise.
39000         (maybe_swap_uint32_obstack): Likewise.
39001         * locale/programs/locfile.c: Include <stdbool.h>.
39002         (swap_endianness_p): New variable.
39003         (add_locale_uint32): Call maybe_swap_uint32.
39004         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
39005         (write_locale_data): Call maybe_swap_uint32_array.
39006         * locale/programs/ld-collate.c (obstack_int32_grow): Call
39007         maybe_swap_uint32.
39008         (obstack_int32_grow_fast): Likewise.
39009         (output_weightwc): Call maybe_swap_uint32_obstack.
39010         (collate_output): Likewise.
39011         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
39012         (OPT_LITTLE_ENDIAN): Likewise.
39013         (options): Add --little-endian and --big-endian options.
39014         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
39015         * locale/programs/locarchive.c: Include "locfile.h".
39016         (GET): New macro.
39017         (SET): Likewise.
39018         (INC): Likewise.
39019         (create_archive): Use the new macros to access fields of
39020         structures directly mapped from or written to locale archives.
39021         (oldlocrecentcmp): Likewise.
39022         (enlarge_archive): Likewise.
39023         (insert_name): Likewise.
39024         (add_alias): Likewise.
39025         (add_locale): Likewise.
39026         (delete_locales_from_archive): Likewise.
39027         (show_archive_content): Likewise.
39028         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
39029         locale data.
39031 2013-09-24  Roland McGrath  <roland@hack.frob.com>
39033         * manual/freemanuals.texi: Updated from (newly) canonical copy at
39034         http://www.gnu.org/doc/freemanuals.texi.
39035         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
39037 2013-09-24  Will Newton  <will.newton@linaro.org>
39039         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
39040         macro.
39042 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
39044         * locale/hashval.h (compute_hashval): Interpret bytes of key as
39045         unsigned char.
39047 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
39049         * manual/threads.texi (POSIX Threads): Fix a typo.
39051 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
39053         [BZ #14547]
39054         * string/tst-strcoll-overflow.c: New test case.
39055         * string/Makefile (xtests): Add tst-strcoll-overflow.
39056         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
39057         cache if string sizes may cause integer overflow.
39059         [BZ #14547]
39060         * string/strcoll_l.c (coll_seq): New members rule, idx,
39061         save_idx and back_us.
39062         (get_next_seq_nocache): New function.
39063         (do_compare_nocache): New function.
39064         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
39065         when malloc fails.
39067 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
39069         [BZ #15754]
39070         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
39071         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
39072         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
39074         [BZ #15754]
39075         * elf/Makefile (tests): Add tst-ptrguard1.
39076         (tests-static): Add tst-ptrguard1-static.
39077         (tst-ptrguard1-ARGS): Define.
39078         (tst-ptrguard1-static-ARGS): Define.
39079         * elf/tst-ptrguard1.c: New file.
39080         * elf/tst-ptrguard1-static.c: New file.
39081         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
39082         * sysdeps/i386/stackguard-macros.h: Likewise.
39083         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
39084         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
39085         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
39086         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
39087         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
39088         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
39090 2013-09-23  Hector Marco  <hecmargi@upv.es>
39091             Ismael Ripoll  <iripoll@disca.upv.es>
39092             Carlos O'Donell  <carlos@redhat.com>
39094         [BZ #15754]
39095         * sysdeps/generic/stackguard-macros.h: Define
39096         __pointer_chk_guard_local and POINTER_CHK_GUARD.
39097         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
39098         Define __pointer_chk_guard_local.
39099         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
39100         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
39102 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
39104         [BZ #15859]
39105         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
39107 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
39109         * include/string.h (__ffs): Declare as hidden.
39110         * string/ffs.c (__ffs): Define as hidden.
39111         * sysdeps/i386/ffs.c (__ffs): Likewise.
39112         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
39113         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
39114         * sysdeps/s390/ffs.c (__ffs): Likewise.
39115         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
39117 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
39119         * NEWS: Mention malloc probes.
39121         * malloc/arena.c (new_heap): New memory_heap_new probe.
39122         (grow_heap): New memory_heap_more probe.
39123         (shrink_heap): New memory_heap_less probe.
39124         (heap_trim): New memory_heap_free probe.
39125         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
39126         (systrim): New memory_sbrk_less probe.
39127         * manual/probes.texi: Document them.
39129         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
39130         * manual/probes.texi: Document it.
39132         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
39133         (__libc_realloc): Add memory_realloc_retry probe.
39134         (__libc_memalign): Add memory_memalign_retry probe.
39135         (__libc_valloc): Add memory_valloc_retry probe.
39136         (__libc_pvalloc): Add memory_pvalloc_retry probe.
39137         (__libc_calloc): Add memory_calloc_retry probe.
39138         * manual/probes.texi: Document them.
39140         * malloc/arena.c (get_free_list): Add probe
39141         memory_arena_reuse_free_list.
39142         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
39143         and memory_arena_reuse.
39144         (arena_get2) [!PER_THREAD]: Likewise.
39145         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
39146         memory_arena_reuse_realloc.
39147         * manual/probes.texi: Document them.
39149         * malloc/malloc.c (__libc_free): Add
39150         memory_mallopt_free_dyn_thresholds probe.
39151         (__libc_mallopt): Add multiple memory_mallopt probes.
39152         * manual/probes.texi: Document them.
39154         * malloc/malloc.c: Include stap-probe.h.
39155         (__libc_mallopt): Add memory_mallopt probe.
39156         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
39157         * manual/probes.texi: New.
39158         * manual/Makefile (chapters): Add probes.
39159         * manual/threads.texi: Set next node.
39161 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
39163         [BZ #15963, #13985]
39164         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
39165         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
39166         Add `Chinese' to `nan' entry name.
39168 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
39170         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
39171         (POLYNOMIAL): Likewise.
39172         (TAYLOR_SINCOS): Likewise.
39173         (TAYLOR_SLOW): Likewise.
39174         (__sin): Use TAYLOR_SINCOS.
39175         (__cos): Likewise.
39176         (slow): Use TAYLOR_SLOW.
39177         (sloww): Likewise.
39178         (bsloww): Likewise.
39179         (csloww): Likewise.
39181 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
39183         * stdlib/strtod_l.c: Fix buffer overrun.
39185 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
39187         * benchtests/Makefile (bench): Add sincos.
39188         * benchtests/bench-sincos.c: New file.
39190         * math/libm-test.inc (cos_test_data): New test inputs.
39191         (sin_test_data): Likewise.
39193         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
39194         macro.
39195         (__sin): Use it.
39196         (__cos): Likewise.
39197         (slow1): Likewise.
39198         (slow2): Likewise.
39199         (sloww1): Likewise.
39200         (sloww2): Likewise.
39201         (bsloww1): Likewise.
39202         (bsloww2): Likewise.
39203         (cslow2): Likewise.
39204         (csloww1): Likewise.
39205         (csloww2): Likewise.
39207         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
39208         function.
39209         (__sin): Use it.
39210         (__cos): Likewise.
39212         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
39213         gotos.
39214         (__cos): Likewise.
39216 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
39218         * config.h.in (HAVE_MIPS_NAN2008): New macro.
39219         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
39220         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
39221         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
39222         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
39223         * elf/cache.c (print_entry): Handle the new cache flags.
39225 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
39226             Aldy Hernandez  <aldyh@redhat.com>
39228         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
39229         Change condition to [_SOFT_FLOAT].
39230         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
39231         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
39232         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
39233         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
39234         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
39235         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
39236         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
39237         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
39238         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
39239         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
39240         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
39241         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
39242         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
39243         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
39244         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
39245         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
39246         declaration.
39248 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
39250         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
39251         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
39252         (__longjmp): Use LOAD_GP to load saved GPRs.
39253         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
39254         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
39255         (__sigsetjmp): Use SAVE_GP to save GPRs.
39257         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
39258         Do not append -msoft-float.
39259         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
39261 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
39263         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
39265 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
39267         [BZ #15966]
39268         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
39269         (_FPU_GETCW): Use initial "__" on variable and field names but not
39270         on macro parameter name.
39271         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
39272         parentheses around reference to macro parameter.
39274 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
39276         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
39277         prototype.
39278         (ctype_startup): Use uint32_t in cast and sizeof for
39279         ctype->charnames.
39281 2013-09-11  Jia Liu  <proljc@gmail.com>
39283         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
39284         __daddr_t_defined.
39285         [__FreeBSD__]: Likewise.
39287 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
39289         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
39290         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
39291         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
39292         (strchr): Remove __strchr_sse42 ifunc selection.
39293         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
39294         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
39296 2013-09-11  Will Newton  <will.newton@linaro.org>
39298         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
39299         parameter to RES. Remove hardcoded 1000 value.
39300         * benchtests/bench-skeleton.c (main): Pass RES parameter
39301         to TIMING_INIT and multiply result by 1000.
39303 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39305         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39307 2013-09-11  Andreas Schwab  <schwab@suse.de>
39309         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
39310         if not defined.
39311         (O_TMPFILE) [__USE_GNU]: Define.
39312         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
39313         Define.
39315 2013-09-11  Will Newton  <will.newton@linaro.org>
39317         [BZ #15857]
39318         * malloc/malloc.c (__libc_memalign): Check the value of bytes
39319         does not overflow.
39321 2013-09-11  Will Newton  <will.newton@linaro.org>
39323         [BZ #15856]
39324         * malloc/malloc.c (__libc_valloc): Check the value of bytes
39325         does not overflow.
39327 2013-09-11  Will Newton  <will.newton@linaro.org>
39329         [BZ #15855]
39330         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
39331         does not overflow.
39333 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
39335         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
39336         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
39337         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
39338         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
39339         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
39341 2013-09-10  Allan McRae  <allan@archlinux.org>
39343         [BZ #15748]
39344         * manual/arith.texi (Parsing of Floats): Clarify
39345         cross-reference.
39347         [BZ #15849]
39348         * manual/install.texi (Running make install): Mention
39349         --enable-pt-chown.
39350         * INSTALL: Regenerated.
39352 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
39354         * csu/init-first.c (_init): Remove the !SHARED condition around
39355         FPU control word initialization.
39356         * elf/dl-support.c (_dl_fpu_control): New variable.
39357         (_dl_aux_init) <AT_FPUCW>: Initialize it.
39358         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
39359         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
39360         * math/test-fpucw-static.c: New file.
39361         * math/test-fpucw-ieee.c: New file.
39362         * math/test-fpucw-ieee-static.c: New file.
39363         * math/Makefile (tests): Add `test-fpucw-ieee' and
39364         `$(tests-static)'.
39365         (tests-static): New variable.
39366         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
39367         dependency to...
39368         [($(build-shared),yes)]
39369         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
39370         ... this.
39371         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
39372         New dependency.
39374 2013-09-09  Allan McRae  <allan@archlinux.org>
39376         [BZ #15939]
39377         * manual/string.texi (Collation Functions): Fix typo in
39378         strcoll example.
39379         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
39381         [BZ #15893]
39382         * stdlib/isomac.c (get_null_defines): Fix memory leak.
39384         [BZ #15892]
39385         * libio/memstream.c (open_memstream): Fix memory leak.
39386         * libio/wmemstream.c (open_wmemstream): Likewise.
39388         [BZ #15895]
39389         * nscd/netgroupcache.c: Fix nesting of ifdefs.
39391 2013-09-09  Will Newton  <will.newton@linaro.org>
39393         * malloc/Makefile: Add tst-realloc to tests.
39394         * malloc/tst-realloc.c: New file.
39396 2013-09-09  Allan McRae  <allan@archlinux.org>
39398         [BZ #15844]
39399         * COPYING: Update from GNU website to fix FSF address.
39400         * COPYING.LIB: Likewise.
39402 2013-09-06  David S. Miller  <davem@davemloft.net>
39404         * po/zh_TW.po: Update Chinese (traditional) translation from
39405         translation project.
39407 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
39408             Joseph Myers  <joseph@codesourcery.com>
39410         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
39411         "localeinfo.h".
39412         (obstack_chunk_alloc): New macro.
39413         (obstack_chunk_free): Likewise.
39414         (record_offset): New function.
39415         (init_locale_data): Likewise.
39416         (align_locale_data): Likewise.
39417         (add_locale_empty): Likewise.
39418         (add_locale_raw_data): Likewise.
39419         (add_locale_raw_obstack): Likewise.
39420         (add_locale_string): Likewise.
39421         (add_locale_wstring): Likewise.
39422         (add_locale_uint32): Likewise.
39423         (add_locale_uint32_array): Likewise.
39424         (add_locale_char): Likewise.
39425         (start_locale_structure): Likewise.
39426         (end_locale_structure): Likewise.
39427         (start_locale_prelude): Likewise.
39428         (end_locale_prelude): Likewise.
39429         (write_locale_data): Take locale_file structure rather than an
39430         iovec.
39431         * locale/programs/locfile.h: Include "obstack.h".
39432         (struct locale_file): Change to store locale file contents instead
39433         of header.
39434         (init_locale_data): New prototype.
39435         (align_locale_data): Likewise.
39436         (add_locale_empty): Likewise.
39437         (add_locale_raw_data): Likewise.
39438         (add_locale_raw_obstack): Likewise.
39439         (add_locale_string): Likewise.
39440         (add_locale_wstring): Likewise.
39441         (add_locale_uint32): Likewise.
39442         (add_locale_uint32_array): Likewise.
39443         (add_locale_char): Likewise.
39444         (start_locale_structure): Likewise.
39445         (end_locale_structure): Likewise.
39446         (start_locale_prelude): Likewise.
39447         (end_locale_prelude): Likewise.
39448         (write_locale_data): Update prototype.
39449         * locale/programs/3level.h (struct TABLE): Remove result field.
39450         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
39451         Use new locale_file interface.
39452         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
39453         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
39454         * locale/programs/ld-address.c (address_output): Use new
39455         locale_file interface.
39456         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
39457         NO_ADD_LOCALE.
39458         (collate_finish): Don't call collseq_table_finalize.
39459         (collate_output): Use new locale_file interface.
39460         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
39461         in file.
39462         (NO_FINALIZE): Change to NO_ADD_LOCALE.
39463         (TABLE): Move defines earlier in file.
39464         (ELEMENT): Likewise.
39465         (DEFAULT): Likewise.
39466         (wctrans_table_add): Move macro and inline function earlier in
39467         file.
39468         (struct wctype_table): Move type earlier in file.
39469         (add_locale_wctype_table): New static prototype.
39470         (struct locale_ctype_t): Use logical types instead of struct iovec
39471         pointers for members.
39472         (ctype_output): Use new locale_file interface.
39473         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
39474         new locale_file interface.
39475         (allocate_arrays): Update for use of new locale_file interface.
39476         * locale/programs/ld-identification.c (identification_output): Use
39477         new locale_file interface.
39478         * locale/programs/ld-measurement.c (measurement_output): Likewise.
39479         * locale/programs/ld-messages.c (messages_output): Likewise.
39480         * locale/programs/ld-monetary.c (monetary_output): Likewise.
39481         * locale/programs/ld-name.c (name_output): Likewise.
39482         * locale/programs/ld-numeric.c (numeric_output): Likewise.
39483         * locale/programs/ld-paper.c (paper_output): Likewise.
39484         * locale/programs/ld-telephone.c (telephone_output): Likewise.
39485         * locale/programs/ld-time.c (time_output): Likewise.
39487 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39489         * benchtests/Makefile: Add memrchr benchmark.
39490         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
39491         benchmark as memrchr.
39492         * benchtests/bench-memrchr-ifunc.c: New file.
39493         * benchtests/bench-memrchr.c: New file.
39495 2013-09-06   Will Newton  <will.newton@linaro.org>
39497         * benchtests/Makefile (string-bench): Add memcpy.
39499 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
39500             Cong Wang  <amwang@redhat.com>
39502         [BZ #15850]
39503         * sysdeps/unix/sysv/linux/bits/in.h
39504         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
39505         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
39506         before __USE_KERNEL_IPV6_DEFS uses.
39507         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
39508         IPPROTO_BEETPH.
39509         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
39510         sockaddr_in6, or ipv6_mreq.
39512 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39514         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
39515         memory access for final bytes in some large inputs.
39516         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
39518 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39520         * string/test-memrchr.c: New file.
39521         * string/test-memrchr-ifunc.c: New file.
39522         * string/Makefile: Add new memrchr testcase.
39524 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
39526         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
39527         fanotify_init returns EPERM.
39529 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
39531         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
39532         errors.
39533         (top level): Treat second token from macro or constant entries for
39534         allowed headers as allowed.
39535         * include/complex.h: Condition internal declarations on
39536         [!_ISOMAC].
39537         * include/fenv.h: Condition include of <stdbool.h> and internal
39538         declarations on [!_ISOMAC].
39540 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
39542         [BZ #15923]
39543         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
39545 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
39547         * configure.in (--enable-versioning): Remove configure option.
39548         (libc_cv_asm_symver_directive): Remove configure test.
39549         (libc_cv_ld_version_script_option): Likewise.
39550         (VERSIONING): Remove variable and AC_SUBST.
39551         (DO_VERSIONING): Remove AC_DEFINE.
39552         * configure: Regenerated.
39553         * config.h.in (DO_VERSIONING): Remove macro.
39554         * Makerules [$(versioning) = yes]: Change conditionals to
39555         [$(build-shared) = yes].
39556         * config.make.in (versioning): Remove variable.
39557         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
39558         [$(build-shared) = yes].
39559         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
39560         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
39561         * elf/Makefile [$(versioning) = yes]: Change conditionals to
39562         [$(build-shared) = yes].
39563         * extra-lib.mk [$(versioning) = yes]: Likewise.
39564         * hurd/Makefile [$(versioning) = yes]: Likewise.
39565         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
39566         [SHARED].
39567         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
39568         [SHARED].
39569         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
39570         [SHARED && !NO_HIDDEN].
39571         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
39572         [SHARED].
39573         [SHARED && DO_VERSIONING]: Likewise..
39574         * libio/Makefile [$(versioning) = yes]: Change conditionals to
39575         [$(build-shared) = yes].
39576         * manual/install.texi (--disable-versioning): Remove
39577         documentation.
39578         * INSTALL: Regenerated.
39579         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
39580         to [SHARED].
39581         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
39582         [$(build-shared) = yes].
39583         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
39584         * sysdeps/i386/i686/multiarch/strstr-c.c
39585         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
39586         [SHARED && !NO_HIDDEN].
39587         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
39588         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
39589         * sysdeps/powerpc/powerpc32/dl-machine.c
39590         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
39591         * sysdeps/powerpc/powerpc32/sysdep.h
39592         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
39593         to [SHARED && PIC && !NO_HIDDEN].
39594         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
39595         conditional to [SHARED].
39597 2013-09-04   Will Newton  <will.newton@linaro.org>
39599         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
39600         * benchtests/bench-string.h: Include bench-timing.h instead
39601         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
39602         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
39603         call to HP_TIMING_DIFF_INIT.
39604         * benchtests/bench-memccpy.c: Use bench-timing.h macros
39605         instead of hp-timing.h macros.
39606         * benchtests/bench-memchr.c: Likewise.
39607         * benchtests/bench-memcmp.c: Likewise.
39608         * benchtests/bench-memcpy.c: Likewise.
39609         * benchtests/bench-memmem.c: Likewise.
39610         * benchtests/bench-memmove.c: Likewise.
39611         * benchtests/bench-memset.c: Likewise.
39612         * benchtests/bench-rawmemchr.c: Likewise.
39613         * benchtests/bench-strcasecmp.c: Likewise.
39614         * benchtests/bench-strcasestr.c: Likewise.
39615         * benchtests/bench-strcat.c: Likewise.
39616         * benchtests/bench-strchr.c: Likewise.
39617         * benchtests/bench-strcmp.c: Likewise.
39618         * benchtests/bench-strcpy.c: Likewise.
39619         * benchtests/bench-strcpy_chk.c: Likewise.
39620         * benchtests/bench-strlen.c: Likewise.
39621         * benchtests/bench-strncasecmp.c: Likewise.
39622         * benchtests/bench-strncat.c: Likewise.
39623         * benchtests/bench-strncmp.c: Likewise.
39624         * benchtests/bench-strncpy.c: Likewise.
39625         * benchtests/bench-strnlen.c: Likewise.
39626         * benchtests/bench-strpbrk.c: Likewise.
39627         * benchtests/bench-strrchr.c: Likewise.
39628         * benchtests/bench-strspn.c: Likewise.
39629         * benchtests/bench-strstr.c: Likewise.
39631 2013-09-04  Will Newton  <will.newton@linaro.org>
39633         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
39635 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
39637         [BZ #15427]
39638         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
39639         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
39640         * math/libm-test.inc (lgamma_test_data): Add more tests.
39641         * sysdeps/i386/fpu/libm-test-ulps: Update.
39642         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39644 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
39646         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
39647         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
39648         Add ifunc.
39649         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
39650         Add strcmp-sse2-unaligned
39651         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
39653 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
39655         * Versions.def (libc): Add GLIBC_2.19.
39657 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
39659         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
39660         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
39662 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
39664         [BZ #14155]
39665         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
39666         intermediate calculations in recurrence.
39667         (__ieee754_ynf): Likewise.
39668         * math/libm-test.inc (jn_test_data): Do not allow spurious
39669         underflow exception.  Add more tests.
39670         (yn_test_data): Add more tests.
39671         * sysdeps/i386/fpu/libm-test-ulps: Update.
39672         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39674 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
39676         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
39678 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
39680         * csu/init-first.c: Fix then/than typos.
39681         * locale/programs/ld-collate.c: Likewise.
39682         * locale/programs/linereader.h: Likewise.
39683         * manual/charset.texi: Likewise.
39684         * manual/filesys.texi: Likewise.
39685         * manual/stdio.texi: Likewise.
39686         * manual/string.texi: Likewise.
39687         * stdlib/fmtmsg.c: Likewise.
39688         * sysdeps/i386/stpncpy.S: Likewise.
39689         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
39690         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
39691         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
39692         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
39694 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
39696         * elf/dl-open.c: Fix typos.
39697         * iconvdata/gbbig5.c: Likewise.
39698         * iconvdata/iso-2022-jp.c: Likewise.
39699         * iconv/gconv_int.h: Likewise.
39700         * iconv/loop.c: Likewise.
39701         * nis/rpcsvc/nis.h: Likewise.
39702         * resolv/ns_name.c: Likewise.
39703         * stdio-common/vfscanf.c: Likewise.
39704         * streams/stropts.h: Likewise.
39705         * sunrpc/rpc_thread.c: Likewise.
39706         * sysdeps/i386/strpbrk.S: Likewise.
39707         * sysdeps/ieee754/k_standard.c: Likewise.
39708         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
39709         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
39710         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
39711         * sysdeps/mach/hurd/profil.c: Likewise.
39712         * sysdeps/s390/dl-procinfo.h: Likewise.
39713         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
39714         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
39715         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
39716         * sysdeps/x86_64/dl-trampoline.S: Likewise.
39717         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
39719 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
39721         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
39722         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
39724 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
39726         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
39727         aix specific files.
39728         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
39729         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
39730         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
39731         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
39732         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
39733         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
39734         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
39735         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
39737 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
39738             Roland McGrath  <roland@hack.frob.com>
39740         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
39741         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
39743 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39745         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
39746         __executable_start symbol instead of _start.
39748 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
39750         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
39751         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
39752         Move macros to...
39753         * sysdeps/gnu/ldsodefs.h: ... this new file.
39755         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
39756         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
39757         instead of ELFOSABI_LINUX.
39759         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
39760         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
39761         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
39762         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
39763         Likewise.
39764         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
39765         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
39766         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
39767         Likewise.
39768         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
39769         (ibm_extended_long_double): Add ieee_nan member.
39770         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
39771         (do_test): New function.
39773         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
39774         TEST_TRUNC.
39775         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
39776         functions, renamed from truncdfsf_test, trunctfsf_test,
39777         trunctfdf_test.
39778         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
39779         functions.
39780         (do_test): Run all these.
39782 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
39784         * argp/argp-help.c: Fix typos.
39785         * argp/argp-parse.c: Likewise.
39786         * debug/backtracesyms.c: Likewise.
39787         * elf/elf.h: Likewise.
39788         * malloc/malloc.c: Likewise.
39789         * nis/nis_print.c: Likewise.
39790         * resolv/res_comp.c: Likewise.
39791         * stdlib/stdlib.h: Likewise.
39792         * sunrpc/clnt_tcp.c: Likewise.
39793         * sunrpc/clnt_udp.c: Likewise.
39794         * sunrpc/clnt_unix.c: Likewise.
39795         * sysdeps/unix/bsd/ptsname.c: Likewise.
39796         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
39797         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
39798         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
39799         Likewise.
39800         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
39801         Likewise.
39802         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
39803         Likewise.
39804         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
39806 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
39808         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
39809         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
39811 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
39813         [BZ #15897]
39814         * dlfcn/Makefile (tests): Add bug-dl-leaf.
39815         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
39816         ($(objpfx)bug-dl-leaf): New rule.
39817         ($(objpfx)bug-dl-leaf.so): Likewise.
39818         ($(objpfx)bug-dl-leaf.out): Likewise.
39819         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
39820         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
39821         * dlfcn/bug-dl-leaf.c: New test.
39822         * dlfcn/bug-dl-leaf-lib.c: Likewise.
39823         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
39824         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
39825         (dlclose): Likewise.
39826         (dlmopen): Likewise.
39828 2013-08-27  Roland McGrath  <roland@hack.frob.com>
39830         * include/netdb.h [!_ISOMAC]:
39831         Don't include <tls.h>.
39832         (h_errno, __libc_h_errno): Move declaration and macros out of
39833         [_LIBC_REENTRANT].
39835         * include/resolv.h [_RESOLV_H_]:
39836         Don't include <tls.h>.
39837         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
39838         * resolv/res_libc.c: Don't include <tls.h>.
39839         (_res): Use __attribute__ ((nocommon)) in place of
39840         __attribute__ ((section (".bss"))).
39842         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
39843         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
39845         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
39847         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
39848         only under [SIOCGIFCONF && SIOCGIFNETMASK].
39850         * resolv/res_mkquery.c: Include <sys/time.h>.
39852         * inet/ifreq.c: Moved to ...
39853         * sysdeps/unix/ifreq.c: ... here.
39854         * inet/ifreq.c: New file, true stub version.
39856         * socket/sa_len.c: New file.
39857         * socket/Makefile (aux): Add it.
39858         * sysdeps/unix/sysv/linux/Makefile
39859         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
39860         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
39861         and #include <socket/sa_len.c>.
39862         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
39863         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
39865         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
39866         * bits/socket.h: ... here.
39868         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
39869         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
39870         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
39872 2013-08-27  Andreas Schwab  <schwab@suse.de>
39874         [BZ #15736]
39875         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
39876         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
39877         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
39878         * string/test-strcasecmp.c (test_main): Run tests in several
39879         locales.
39880         * string/test-strncasecmp.c (test_main): Likewise.
39882         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
39883         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
39884         to __strcasecmp_nonascii and __strncasecmp_nonascii.
39885         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
39886         (__strncasecmp_ssse3) [PIC]: Likewise.
39888 2013-08-26  Roland McGrath  <roland@hack.frob.com>
39890         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
39892         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
39893         instead of explicitly declaring xdecrypt.
39894         * nis/nss_nis/nis-publickey.c: Likewise.
39896 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
39898         [BZ #15890]
39899         * nscd/aicache.c: Include res_hconf.h.
39900         (addhstaiX): Initialize res_hconf.
39902 2013-08-26  Andreas Schwab  <schwab@suse.de>
39904         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
39905         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
39907 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
39909         * nscd/aicache.c (addhstaiX): Fix indentation.
39911 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
39913         * configure.ac: Quote $build_pt_chown test.
39914         * configure: Regenerated.
39916 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
39918         [BZ #15532]
39919         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
39920         * math/s_cexpf.c (__cexpf): Likewise.
39921         * math/s_cexpl.c (__cexpl): Likewise.
39922         * math/libm-test.inc (cexp_test_data): Correct expected return
39923         value for NaN + i0.  Add another test.
39925 2013-08-22  David S. Miller  <davem@davemloft.net>
39927         * po/ca.po: Update Catalan translation from translation project.
39928         * po/uk.po: Add Ukrainian translations from translation project.
39930 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
39932         [BZ #15797]
39933         * math/s_fdim.c (__fdim): Check for infinite arguments if result
39934         is infinite, not alongside NaN test.
39935         * math/s_fdimf.c (__fdimf): Likewise.
39936         * math/s_fdiml.c (__fdiml): Likewise.
39937         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
39938         errno is unchanged.
39940 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
39942         * argp/argp-help.c: Fix typos.
39943         * crypt/speeds.c: Likewise.
39944         * csu/check_fds.c: Likewise.
39945         * elf/dl-load.c: Likewise.
39946         * elf/dl-open.c: Likewise.
39947         * elf/reldep3.c: Likewise.
39948         * elf/reldep.c: Likewise.
39949         * elf/sprof.c: Likewise.
39950         * iconv/iconv_charmap.c: Likewise.
39951         * iconv/skeleton.c: Likewise.
39952         * iconv/strtab.c: Likewise.
39953         * io/lockf64.c: Likewise.
39954         * libio/libioP.h: Likewise.
39955         * resolv/gai_notify.c: Likewise.
39956         * resolv/ns_name.c: Likewise.
39957         * resolv/ns_samedomain.c: Likewise.
39958         * resolv/res_send.c: Likewise.
39959         * stdlib/random.c: Likewise.
39960         * sunrpc/rpc/xdr.h: Likewise.
39961         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
39962         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
39963         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
39964         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
39965         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
39966         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
39967         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
39968         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
39969         * sysdeps/mach/hurd/check_fds.c: Likewise.
39970         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
39971         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
39972         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
39973         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
39974         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
39975         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
39976         * sysdeps/pthread/aio_notify.c: Likewise.
39977         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
39978         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
39979         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
39980         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
39981         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
39983 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
39985         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
39986         version if bit_Slow_SSE4_2 is set.
39987         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
39988         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
39990 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39992         [BZ #15867]
39993         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
39994         trampoline stack frame information.
39995         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
39996         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
39997         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
39998         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
39999         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
40000         * sysdeps/unix/sysv/linux/powerpc/init-first.c
40001         (_libc_vdso_platform_setup): Initialize the signal trampolines.
40002         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
40003         sa_flags value.
40004         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
40005         interrupting a syscall and set with option SA_SIGINFO.
40007 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
40009         [BZ #15531]
40010         * math/s_cproj.c (__cproj): Only return an infinity if one part of
40011         argument is infinite.
40012         * math/s_cprojf.c (__cprojf): Likewise.
40013         * math/s_cprojl.c (__cprojl): Likewise.
40014         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
40015         * math/libm-test.inc (cproj_test_data): Add more tests.
40017         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
40019         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
40020         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
40021         size.  Use __ffs to determine corresponding shift.
40023 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
40024             Roland McGrath  <roland@hack.frob.com>
40026         * Makefile (INSTALL): Remove trailing blank lines from output of
40027         makeinfo.
40029 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40031         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
40032         Align 32 bit compat elf_greg to 8 bytes.
40034 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
40036         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
40038 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
40040         * string/strcoll_l.c (coll_seq): New structure.
40041         (get_next_seq_cached): New function.
40042         (get_next_seq): New function.
40043         (do_compare): New function.
40044         (STRCOLL): Use GNU style definition.  Simplify implementation
40045         by using get_next_seq, get_next_seq_cached and do_compare.
40047 2013-08-16  Florian Weimer  <fweimer@redhat.com>
40049         [BZ #14699]
40050         CVE-2013-4237
40051         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
40052         member.
40053         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
40054         member.
40055         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
40056         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
40057         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
40058         conditional.
40059         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
40060         GETDENTS_64BIT_ALIGNED.
40061         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
40062         * manual/filesys.texi (Reading/Closing Directory): Document
40063         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
40064         strongly.
40065         * manual/conf.texi (Limits for Files): Add portability note to
40066         NAME_MAX, PATH_MAX.
40067         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
40069 2013-08-13  Andreas Schwab  <schwab@suse.de>
40071         [BZ #15749]
40072         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
40073         of fabs.
40074         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
40075         LDBL_MAX_EXP >= 16384]: Add tests for it.
40077 2013-08-12  David S. Miller  <davem@davemloft.net>
40079         * version.h (RELEASE): Set to "development".
40080         (VERSION): Set to "2.18.90".
40081         * NEWS: Add 2.19 section.
40083 2013-08-03  David S. Miller  <davem@davemloft.net>
40085         * po/ko.po: Update Korean translation from translation project.
40087 2013-08-01  David S. Miller  <davem@davemloft.net>
40089         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
40090         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
40091         Bilka.
40093 2013-07-30  David S. Miller  <davem@davemloft.net>
40095         * po/fr.po: Update French translation from translation project.
40097 2013-07-28  David S. Miller  <davem@davemloft.net>
40099         * po/cs.po: Update Czech translation from translation project.
40101         * po/sv.po: Update Swedish translation from translation project.
40103 2013-07-27  David S. Miller  <davem@davemloft.net>
40105         * po/eo.po: Update Esperanto translation from translation project.
40107         * po/vi.po: Update Vietnamese translation from translation project.
40109         * po/de.po: Update German translation from translation project.
40111 2013-07-26  David S. Miller  <davem@davemloft.net>
40113         * po/bg.po: Update Bulgarian translation from translation project.
40115         * po/nl.po: Update Dutch translation from translation project.
40116         * po/pl.po: Update Polish translation from translation project.
40117         * po/ru.po: Update Russian translation from translation project.
40119 2013-07-24  David S. Miller  <davem@davemloft.net>
40121         * po/libc.pot: Update.
40123 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40125         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
40126         variable page size.
40127         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
40128         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
40129         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
40131 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40133         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
40135 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
40136             Andreas Schwab  <schwab@suse.de>
40137             Roland McGrath  <roland@hack.frob.com>
40138             Joseph Myers  <joseph@codesourcery.com>
40139             Carlos O'Donell  <carlos@redhat.com>
40141         [BZ #15755]
40142         * config.h.in: Define HAVE_PT_CHOWN.
40143         * config.make.in (build-pt-chown): New variable.
40144         * configure.in (--enable-pt_chown): New configure option.
40145         * configure: Regenerate.
40146         * login/Makefile: Include Makeconfig.  Build pt_chown only if
40147         build-pt-chown is enabled.
40148         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
40149         pt_chown to fix pty ownership.
40150         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
40151         CLOSE_ALL_FDS.
40152         * manual/install.texi (Configuring and compiling): Mention
40153         --enable-pt_chown. Add @findex for grantpt.
40154         * INSTALL: Regenerate.
40156 2013-07-20  David S. Miller  <davem@davemloft.net>
40158         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
40159         difference between 32-bit and 64-bit.
40161 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
40163         [BZ #15711]
40164         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
40165         Avoid system header dependency with -ffreestanding.
40166         ($(objpfx)bits/syscall%d): Likewise.
40168 2013-07-13  David S. Miller  <davem@davemloft.net>
40170         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
40171         underflows from atanl/atan2l due to bug 15319.
40172         (casinh_test_data): Likewise.
40174 2013-07-07  David S. Miller  <davem@davemloft.net>
40176         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
40178 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
40180         * sysdeps/i386/fpu/libm-test-ulps: Update.
40181         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40183 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
40185         * configure.in (--enable-lock-elision): Fix message text.
40186         * INSTALL: Regenerate.
40187         * configure: Regenerate.
40189 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40191         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40193 2013-07-03  Andreas Jaeger  <aj@suse.de>
40195         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
40196         define.
40197         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
40198         (ptrace_peeksiginfo_args): Add.
40199         (__ptrace_peeksiginfo_flags): Add.
40200         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
40201         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
40202         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
40204 2013-07-03  Allan McRae  <allan@archlinux.org>
40206         * sysdeps/i386/fpu/libm-test-ulps: Update.
40208 2013-07-02  David S. Miller  <davem@davemloft.net>
40210         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40212 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
40214         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40216 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
40218         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
40219         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40221 2013-07-02  Andi Kleen <ak@linux.intel.com>
40223         * config.h.in (ENABLE_LOCK_ELISION): Add.
40224         * configure.in (--enable-lock-elision): Add option.
40225         * manual/install.texi: Document --enable lock elision.
40226         * configure: Regenerate
40227         * INSTALL: Regenerate.
40229 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
40231         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
40232         SSE4.2 strcasecmp for libc.a.
40233         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
40235 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
40237         [BZ #13304]
40238         * soft-fp/op-common.h (_FP_FMA): New macro.
40239         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
40240         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
40241         (_FP_MUL_MEAT_1_imm): ... here.
40242         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
40243         (_FP_MUL_MEAT_1_wide): ... here.
40244         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
40245         (_FP_MUL_MEAT_1_hard): ... here.
40246         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
40247         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
40248         (_FP_MUL_MEAT_2_wide): ... here.
40249         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
40250         (_FP_MUL_MEAT_2_wide_3mul): ... here.
40251         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
40252         (_FP_MUL_MEAT_2_gmp): ... here.
40253         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
40254         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
40255         (_FP_MUL_MEAT_4_wide): ... here.
40256         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
40257         (_FP_MUL_MEAT_4_gmp): ... here.
40258         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
40259         (_FP_WFRACBITS_DW_S): Likewise.
40260         (_FP_WFRACXBITS_DW_S): Likewise.
40261         (_FP_HIGHBIT_DW_S): Likewise.
40262         (FP_FMA_S): Likewise.
40263         (_FP_FRAC_HIGH_DW_S): Likewise.
40264         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
40265         (_FP_WFRACBITS_DW_D): Likewise.
40266         (_FP_WFRACXBITS_DW_D): Likewise.
40267         (_FP_HIGHBIT_DW_D): Likewise.
40268         (FP_FMA_D): Likewise.
40269         (_FP_FRAC_HIGH_DW_D): Likewise.
40270         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
40271         (_FP_WFRACBITS_DW_E): Likewise.
40272         (_FP_WFRACXBITS_DW_E): Likewise.
40273         (_FP_HIGHBIT_DW_E): Likewise.
40274         (FP_FMA_E): Likewise.
40275         (_FP_FRAC_HIGH_DW_E): Likewise.
40276         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
40277         (_FP_WFRACBITS_DW_Q): Likewise.
40278         (_FP_WFRACXBITS_DW_Q): Likewise.
40279         (_FP_HIGHBIT_DW_Q): Likewise.
40280         (FP_FMA_Q): Likewise.
40281         (_FP_FRAC_HIGH_DW_Q): Likewise.
40282         * soft-fp/fmasf4.c: New file.
40283         * soft-fp/fmadf4.c: Likewise.
40284         * soft-fp/fmatf4.c: Likewise.
40286 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
40288         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
40289         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
40290         Silvermont.
40291         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
40292         macro.
40293         (index_Slow_SSE4_2): Likewise.
40294         (index_Prefer_PMINUB_for_stringop): Likewise.
40295         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
40296         bit_Slow_SSE4_2 is set.
40297         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
40298         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
40300 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
40302         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
40303         rtld_global._dl_hwcap2.
40304         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
40305         POWER8.
40306         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
40307         POWER8 feature descriptions defined in _dl_hwcap2.
40308         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
40309         string handling for POWER8 feature bits.
40310         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
40311         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
40312         _dl_powerpc_cap_flags.
40313         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
40314         * sysdeps/powerpc/rtld-global-offsets.sym
40315         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
40316         _dl_hwcap2 in the rtld_global_ro structure.
40318 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
40320         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
40321         hardware capabilities in support of AT_HWCAP2.
40322         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
40323         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
40324         GLRO(dl_hwcap2).
40325         (_dl_show_auxv): Add support for calling _dl_procinfo to display
40326         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
40327         explicitly the unknown a_type display mechanism is used.
40328         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
40329         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
40330         struct member.
40331         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
40332         to macro prototype for AT_HWCAP2 support.
40333         * sysdeps/i386/dl-procinfo.h: Likewise.
40334         * sysdeps/s390/dl-procinfo.h: Likewise.
40335         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
40336         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
40337         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
40338         return -1 for unknown a_type display fallback.
40339         * sysdeps/sparc/dl-procinfo.h: Likewise.
40340         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
40341         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
40343 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
40345         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
40346         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
40348 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
40350         [BZ #12492]
40351         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
40352         mprotect making __stack_prot writable.
40354 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
40355             Joseph Myers  <joseph@codesourcery.com>
40357         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
40358         as being properly aligned.
40360 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
40362         * dlfcn/modstatic5.c: New file.
40363         * dlfcn/tststatic5.c: New file.
40364         * dlfcn/Makefile (tests): Add tststatic5.
40365         (tests-static): Likewise.
40366         (modules-names): Add modstatic5.
40367         (tststatic5-ENV): New variable.
40368         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
40370         [BZ #15022]
40371         * elf/dl-support.c (_dl_main_map): New variable.
40372         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
40373         (_dl_nns, _dl_load_adds): Set to 1.
40374         (_dl_initial_searchlist): Refer to _dl_main_map.
40375         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
40376         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
40377         call to _dl_get_origin.
40378         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
40379         around call_map.
40380         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
40381         * dlfcn/modstatic3.c: New file.
40382         * dlfcn/tststatic3.c: New file.
40383         * dlfcn/tststatic4.c: New file.
40384         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
40385         (tests-static): Likewise.
40386         (modules-names): Add modstatic3.
40387         (tststatic3-ENV, tststatic4-ENV): New variables.
40388         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
40389         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
40391 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
40393         * configure.in (CC): Require GCC version 4.4 or later.
40394         * configure: Regenerated.
40395         * manual/install.texi (Tools for Compilation): Update GCC version
40396         requirement.
40397         * INSTALL: Regenerated.
40399 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
40401         [BZ #15674]
40402         * string/test-memcmp.c (check2): New.
40403         (main): Call check2.
40405         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
40407 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
40409         [BZ #15022]
40410         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
40411         over to...
40412         (dl_open_worker) [!SHARED]: ... here.
40414 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
40416         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
40418 2013-06-25  Richard Henderson  <rth@redhat.com>
40420         * locale/programs/locarchive.c: Include <libc-internal.h>
40422 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
40424         * manual/texinfo.tex: Update to version 2013-06-21.17, with
40425         trailing whitespace removed.
40427 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
40429         [BZ #10283]
40430         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
40431         * locale/programs/locarchive.c: Include libc-mmap.h.
40432         (prepare_address_space): Take two new outputs (the mmap base and len).
40433         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
40434         values.
40435         (create_archive): Declare new mmap base and len values for
40436         prepare_address_space, and store the result in ah.
40437         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
40438         (enlarge_archive): If ah->mmap_base is not NULL, use that and
40439         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
40440         Declare new mmap base and len values for
40441         prepare_address_space, and store the result in new_ah.
40442         (open_archive): Declare new mmap base and len values for
40443         prepare_address_space, and store the result in ah.
40444         (close_archive): If ah->mmap_base is not NULL, use that and
40445         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
40446         * sysdeps/generic/libc-mmap.h: New file.
40448 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
40450         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
40451         (ALIGN_UP): Likewise.
40452         (PTR_ALIGN_DOWN): Likewise.
40453         (PTR_ALIGN_UP): Likewise.
40455 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
40457         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
40458         entry mapped to PPC_PLATFORM_POWER8.
40459         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
40460         POWER8.
40461         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
40462         (_dl_string_platform): Add case for exporting platform position for
40463         POWER8.
40464         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
40465         search path to sysdeps/powerpc/powerpc32/power8 directory.
40466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
40467         search path to sysdeps/powerpc/powerpc64/power8 directory.
40468         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
40469         power7 directories.
40470         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
40471         power7 directories.
40473 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
40475         * INSTALL: Regenerate.
40477         * nscd/connections.c (nscd_init): Fix comment.
40479 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
40481         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
40483         [BZ #15667]
40484         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
40485         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
40487 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
40489         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
40490         DL_DST_REQ_STATIC.
40491         (DL_DST_REQ_STATIC): Remove macro.
40493 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
40495         [BZ #7006]
40496         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
40497         with a shift of 0 bits.
40499 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
40501         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
40502         $(tststatic-ENV).
40504 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40506         [BZ #15655]
40507         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
40509 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40511         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
40512         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
40513         accepts -fno-tree-loop-distribute-patterns.
40514         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
40515         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
40516         recursive call.
40517         * string/memset.c (memset): Likewise.
40518         * string/test-memmove.c (simple_memmove): Disable loop transformation
40519         to library calls.
40520         * string/test-memset.c (simple_memset): Likewise.
40521         * benchtests/bench-memmove.c (simple_memmove): Likewise.
40522         * benchtests/bench-memset.c (simple_memset): Likewise.
40523         * configure: Regenerated.
40525 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
40527         * math/test-misc.c (main): Ignore fesetround failure when failures
40528         of subsequent rounding tests would be ignored.
40530         [BZ #15654]
40531         * math/fedisblxcpt.c (fedisableexcept): Return 0.
40532         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
40533         * math/fegetenv.c (__fegetenv): Return 0.
40534         * math/fegetexcept.c (fegetexcept): Return 0.
40535         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
40536         FE_TONEAREST.
40537         * math/feholdexcpt.c (feholdexcept): Return 0.
40538         * math/fesetenv.c (__fesetenv): Return 0.
40539         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
40540         argument FE_TONEAREST.
40541         * math/feupdateenv.c (__feupdateenv): Return 0.
40542         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
40544 2013-06-18  Roland McGrath  <roland@hack.frob.com>
40546         * elf/rtld-Rules (rtld-compile-command.S): New variable.
40547         (rtld-compile-command.s, rtld-compile-command.c): New variables.
40548         ($(objpfx)rtld-%.os rules): Use them.
40550 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40552         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
40553         fields.
40555 2013-06-17  Roland McGrath  <roland@hack.frob.com>
40557         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
40558         length of target pattern, then descending length of dependency pattern.
40559         * configure.in (AWK): Require gawk 3.1.2 or newer.
40560         * manual/install.texi (Tools for Compilation): Say that we do.
40561         * configure: Regenerated.
40563         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
40564         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
40565         * scripts/sysd-rules.awk: ... this new script.
40566         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
40567         than a glob-style pattern.
40569 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
40571         * math/test-misc.c (main): Do not treat incorrectly rounded
40572         conversions as failure unless ROUNDING_TESTS passes.
40574 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
40576         [BZ #15631]
40577         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
40578         restore exception state around main square root computation, then
40579         check for inexactness explicitly.
40581         * math/libm-test.inc (fma_test_data): Add another test.
40583 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
40585         * manual/threads.texi (Non-POSIX Extensions): New document
40586         node.  Document pthread_getattr_default_np and
40587         pthread_setattr_default_np.
40589         * Versions.def (libpthread): Add GLIBC_2.18.
40590         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
40591         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
40592         Likewise.
40593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
40594         Likewise.
40595         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
40596         Likewise.
40597         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
40598         Likewise.
40599         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
40600         Likewise.
40601         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
40602         Likewise.
40603         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
40604         Likewise.
40605         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
40606         Likewise.
40607         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
40608         Likewise.
40610 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
40612         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40613         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
40615 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
40616             H.J. Lu  <hjl.tools@gmail.com>
40618         [BZ #15627]
40619         * sysdeps/x86_64/rtld-memset.c: Remove file.
40620         * sysdeps/x86_64/rtld-memset.S: New file.
40622 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
40624         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
40625         (test_in_one_mode): Take arguments for whether the rounding mode
40626         is supported for each floating-point type.
40627         (do_test): Pass new arguments to test_in_one_mode using
40628         ROUNDING_TESTS.
40630 2013-06-13  Roland McGrath  <roland@hack.frob.com>
40632         * posix/tst-waitid.c (do_test): Distinguish different instances of
40633         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
40634         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
40635         before entering the kernel for waitpid.
40637 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
40639         * NEWS: Fix note on clock function precision.  Text by Roland
40640         McGrath.
40642 2013-06-13  Roland McGrath  <roland@hack.frob.com>
40644         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
40645         it into place only when and if the sanity check passes.
40647 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
40649         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
40650         output for whether conversion result is exact.  Take argument
40651         indicating whether type is IBM long double.
40652         (round_for_all): Change need_exact field to ibm_ld.
40653         * stdlib/tst-strtod-round.c (struct exactness): New type.
40654         (struct test): Change bool ld_ok field to struct exactness exact.
40655         (TEST): Update all definitions for change to field.
40656         (tests): Regenerate array contents.
40657         (test_in_one_mode): Take pointer to new field instead of old ld_ok
40658         field value.  Check for IBM long double here.
40659         (do_test): Update calls to test_in_one_mode.
40661 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
40663         [BZ #12515]
40664         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
40665         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
40667 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40669         [BZ #15605]
40670         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
40671         generated by the compiler on loop optimizations.
40672         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
40673         general definitions.
40675 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
40677         * math/bug-nextafter.c: Include <math-tests.h>.
40678         (main): Only test for exceptions if EXCEPTION_TESTS is true for
40679         the relevant type.
40680         * math/bug-nexttoward.c: Include <math-tests.h>.
40681         (main): Only test for exceptions if EXCEPTION_TESTS is true for
40682         the relevant type.
40683         * math/test-misc.c: Include <math-tests.h>.
40684         (main): Only test for exceptions if EXCEPTION_TESTS is true for
40685         the relevant type.
40687 2013-06-12  Andreas Jaeger  <aj@suse.de>
40689         * po/ia.po: Update Interlingua translation from translation
40690         project.
40692 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
40694         * include/fenv.h: Include stdbool.h.
40695         (struct rm_ctx): New structure.
40696         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
40697         Define macro.
40698         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
40699         (SET_RESTORE_ROUNDF): Likewise.
40700         (SET_RESTORE_ROUNDL): Likewise.
40701         (SET_RESTORE_ROUND_NOEX): Likewise.
40702         (SET_RESTORE_ROUND_NOEXF): Likewise.
40703         (SET_RESTORE_ROUND_NOEXL): Likewise.
40704         (SET_RESTORE_ROUND_53BIT): Likewise.
40705         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
40706         (libc_feresetround_noexf_ctx): Likewise.
40707         (libc_feresetround_noexl_ctx): Likewise.
40708         (libc_feholdsetround_53bit_ctx): Likewise.
40709         (libc_feresetround_53bit_ctx): Likewise.
40710         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
40711         (libc_feholdexcept_setround_sse_ctx): New function.
40712         (libc_fesetenv_sse_ctx): Likewise.
40713         (libc_feupdateenv_sse_ctx): Likewise.
40714         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
40715         (libc_feholdexcept_setround_387_ctx): Likewise.
40716         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
40717         (libc_feholdsetround_387_prec_ctx): Likewise.
40718         (libc_feholdsetround_387_ctx): Likewise.
40719         (libc_feholdsetround_387_53bit_ctx): Likewise.
40720         (libc_feholdsetround_sse_ctx): Likewise.
40721         (libc_feresetround_sse_ctx): Likewise.
40722         (libc_feresetround_387_ctx): Likewise.
40723         (libc_feupdateenv_387_ctx): Likewise.
40724         (libc_feholdexcept_setroundf_ctx): Define macro.
40725         (libc_fesetenvf_ctx): Likewise.
40726         (libc_feupdateenvf_ctx): Likewise.
40727         (libc_feholdsetroundf_ctx): Likewise.
40728         (libc_feresetroundf_ctx): Likewise.
40729         (libc_feholdexcept_setround_ctx): Likewise.
40730         (libc_fesetenv_ctx): Likewise.
40731         (libc_feupdateenv_ctx): Likewise.
40732         (libc_feholdsetround_ctx): Likewise.
40733         (libc_feresetround_ctx): Likewise.
40734         (libc_feholdexcept_setroundl_ctx): Likewise.
40735         (libc_feupdateenvl_ctx): Likewise.
40736         (libc_feholdsetroundl_ctx): Likewise.
40737         (libc_feresetroundl_ctx): Likewise.
40738         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
40739         (libc_feresetround_53bit_ctx): Likewise.
40741 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
40743         * locale/iso-639.def: Convert to UTF-8.
40745 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
40747         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
40748         (EXCEPTION_TESTS_double): Likewise.
40749         (EXCEPTION_TESTS_long_double): Likewise.
40750         (EXCEPTION_TESTS): Likewise.
40751         * math/libm-test.inc (test_exceptions): Only test exceptions if
40752         EXCEPTION_TESTS (FLOAT).
40754 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
40756         * benchtests/Makefile (string-bench): Add strcpy_chk and
40757         stpcpy_chk.
40758         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
40759         * benchtests/bench-stpcpy_chk.c: New file.
40760         * benchtests/bench-strcpy_chk-ifunc.c: New file.
40761         * benchtests/bench-strcpy_chk.c: New file.
40762         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
40763         code.
40764         (do_test): Likewise.
40766 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
40768         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
40769         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
40770         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
40771         with tabs where appropriate.
40772         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
40773         dl-procinfo.h.
40774         [PPC_PLATFORM_PPC440]: Likewise.
40775         [PPC_PLATFORM_PPC464]: Likewise.
40776         [PPC_PLATFORM_PPC476]: Likewise.
40777         (_dl_string_platform): Add support for detecting ppc405, ppc440,
40778         ppc464, and ppc476 platform strings merging from ports/
40779         dl-procinfo.h.
40781 2013-06-11  Andreas Schwab  <schwab@suse.de>
40783         [BZ #14991]
40784         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
40785         (from_ucs4_idx): Regenerate.
40786         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
40787         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
40788         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
40789         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
40790         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
40791         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
40792         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
40793         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
40794         from FROM_LOOP and TO_LOOP specific macros.
40795         (BODY): Handle combining characters.
40796         * iconvdata/BIG5HKSCS.irreversible: Update.
40797         * iconvdata/BIG5HKSCS.precomposed: New file.
40798         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
40799         characters.
40800         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
40802 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
40804         * include/sys/time.h: Fix indentation and add copyright header.
40806         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
40807         (do_test): Likewise.
40808         * string/test-memchr.c (do_one_test): Likewise.
40809         (do_test): Likewise.
40810         * string/test-memcmp.c (do_one_test): Likewise.
40811         (do_test): Likewise.
40812         * string/test-memcpy.c (do_one_test): Likewise.
40813         (do_test): Likewise.
40814         * string/test-memmem.c (do_one_test): Likewise.
40815         (do_test): Likewise.
40816         (do_random_tests): Likewise.
40817         * string/test-memmove.c (do_one_test): Likewise.
40818         (do_test): Likewise.
40819         * string/test-memset.c (do_one_test): Likewise.
40820         (do_test): Likewise.
40821         * string/test-rawmemchr.c (do_one_test): Likewise.
40822         (do_test): Likewise.
40823         * string/test-strcasecmp.c (do_one_test): Likewise.
40824         (do_test): Likewise.
40825         * string/test-strcasestr.c (do_one_test): Likewise.
40826         (do_test): Likewise.
40827         * string/test-strcat.c (do_one_test): Likewise.
40828         (do_test): Likewise.
40829         * string/test-strchr.c (do_one_test): Likewise.
40830         (do_test): Likewise.
40831         * string/test-strcmp.c (do_one_test): Likewise.
40832         (do_test): Likewise.
40833         * string/test-strcpy.c (do_one_test): Likewise.
40834         (do_test): Likewise.
40835         * string/test-string.h: Likewise.
40836         (test_init): Likewise.
40837         * string/test-strlen.c (do_one_test): Likewise.
40838         (do_test): Likewise.
40839         * string/test-strncasecmp.c (do_one_test): Likewise.
40840         (do_test): Likewise.
40841         * string/test-strncat.c (do_one_test): Likewise.
40842         (do_test): Likewise.
40843         * string/test-strncmp.c (do_one_test): Likewise.
40844         (do_test_limit): Likewise.
40845         (do_test): Likewise.
40846         * string/test-strncpy.c (do_one_test): Likewise.
40847         (do_test): Likewise.
40848         * string/test-strnlen.c (do_one_test): Likewise.
40849         (do_test): Likewise.
40850         * string/test-strpbrk.c (do_one_test): Likewise.
40851         (do_test): Likewise.
40852         * string/test-strrchr.c (do_one_test): Likewise.
40853         (do_test): Likewise.
40854         * string/test-strspn.c (do_one_test): Likewise.
40855         (do_test): Likewise.
40856         * string/test-strstr.c (do_one_test): Likewise.
40857         (do_test): Likewise.
40859         * benchtests/Makefile (string-bench): Add string benchmarks.
40860         * benchtests/bench-bcopy-ifunc.c: New file.
40861         * benchtests/bench-bcopy.c: New file.
40862         * benchtests/bench-bzero-ifunc.c: New file.
40863         * benchtests/bench-bzero.c: New file.
40864         * benchtests/bench-memccpy-ifunc.c: New file.
40865         * benchtests/bench-memccpy.c: New file.
40866         * benchtests/bench-memchr-ifunc.c: New file.
40867         * benchtests/bench-memchr.c: New file.
40868         * benchtests/bench-memcmp-ifunc.c: New file.
40869         * benchtests/bench-memcmp.c: New file.
40870         * benchtests/bench-memmem-ifunc.c: New file.
40871         * benchtests/bench-memmem.c: New file.
40872         * benchtests/bench-memmove-ifunc.c: New file.
40873         * benchtests/bench-memmove.c: New file.
40874         * benchtests/bench-mempcpy-ifunc.c: New file.
40875         * benchtests/bench-mempcpy.c: New file.
40876         * benchtests/bench-memset-ifunc.c: New file.
40877         * benchtests/bench-memset.c: New file.
40878         * benchtests/bench-rawmemchr-ifunc.c: New file.
40879         * benchtests/bench-rawmemchr.c: New file.
40880         * benchtests/bench-stpcpy-ifunc.c: New file.
40881         * benchtests/bench-stpcpy.c: New file.
40882         * benchtests/bench-stpncpy-ifunc.c: New file.
40883         * benchtests/bench-stpncpy.c: New file.
40884         * benchtests/bench-strcasecmp-ifunc.c: New file.
40885         * benchtests/bench-strcasecmp.c: New file.
40886         * benchtests/bench-strcasestr-ifunc.c: New file.
40887         * benchtests/bench-strcasestr.c: New file.
40888         * benchtests/bench-strcat-ifunc.c: New file.
40889         * benchtests/bench-strcat.c: New file.
40890         * benchtests/bench-strchr-ifunc.c: New file.
40891         * benchtests/bench-strchr.c: New file.
40892         * benchtests/bench-strchrnul-ifunc.c: New file.
40893         * benchtests/bench-strchrnul.c: New file.
40894         * benchtests/bench-strcmp-ifunc.c: New file.
40895         * benchtests/bench-strcmp.c: New file.
40896         * benchtests/bench-strcpy-ifunc.c: New file.
40897         * benchtests/bench-strcpy.c: New file.
40898         * benchtests/bench-strcspn-ifunc.c: New file.
40899         * benchtests/bench-strcspn.c: New file.
40900         * benchtests/bench-strlen-ifunc.c: New file.
40901         * benchtests/bench-strlen.c: New file.
40902         * benchtests/bench-strncasecmp-ifunc.c: New file.
40903         * benchtests/bench-strncasecmp.c: New file.
40904         * benchtests/bench-strncat-ifunc.c: New file.
40905         * benchtests/bench-strncat.c: New file.
40906         * benchtests/bench-strncmp-ifunc.c: New file.
40907         * benchtests/bench-strncmp.c: New file.
40908         * benchtests/bench-strncpy-ifunc.c: New file.
40909         * benchtests/bench-strncpy.c: New file.
40910         * benchtests/bench-strnlen-ifunc.c: New file.
40911         * benchtests/bench-strnlen.c: New file.
40912         * benchtests/bench-strpbrk-ifunc.c: New file.
40913         * benchtests/bench-strpbrk.c: New file.
40914         * benchtests/bench-strrchr-ifunc.c: New file.
40915         * benchtests/bench-strrchr.c: New file.
40916         * benchtests/bench-strspn-ifunc.c: New file.
40917         * benchtests/bench-strspn.c: New file.
40918         * benchtests/bench-strstr-ifunc.c: New file.
40919         * benchtests/bench-strstr.c: New file.
40921         * benchtests/Makefile: Disable parallel execution of targets.
40922         (string-bench): Add memcpy.
40923         (benchset): New variable to store a list of benchmark sets.
40924         (bench-func): Renamed from bench.
40925         (bench-set): New target.
40926         (bench): Depend on bench-func and bench-set.
40927         * benchtests/README: Add section on benchmark sets.
40928         * benchtests/bench-memcpy-ifunc.c: New file.
40929         * benchtests/bench-memcpy.c: New file.
40930         * benchtests/bench-string.h: New file.
40932 2013-06-11  Andreas Schwab  <schwab@suse.de>
40934         [BZ #15577]
40935         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
40936         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
40937         values in the triple.
40938         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
40939         terminator in the group key.
40941 2013-06-11  Andreas Jaeger  <aj@suse.de>
40943         * po/zh_TW.po: Update Chinese (traditional) translation from
40944         translation project.
40946 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
40948         * include/time.h (__clock_gettime): Add libc_hidden_proto.
40949         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
40950         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
40951         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
40952         (clock_getcpuclockid): Likewise.
40953         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
40954         Add weak_alias and libc_hidden_def.
40955         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
40956         * rt/clock_gettime.c (clock_gettime): Rename to
40957         __clock_gettime.  Add weak_alias and libc_hidden_def.
40958         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
40959         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
40960         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
40961         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
40962         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
40963         Likewise.
40964         * rt/clock_settime.c (clock_settime): Rename to
40965         __clock_settime.  Add weak_alias and libc_hidden_def.
40966         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
40968 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
40970         * mach/err_boot.sub: Remove trailing whitespace.
40971         * mach/err_ipc.sub: Likewise.
40972         * mach/err_mach.sub: Likewise.
40974         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
40975         (ROUNDING_TESTS_double): Likewise.
40976         (ROUNDING_TESTS_long_double): Likewise.
40977         (ROUNDING_TESTS): Likewise.
40978         * math/libm-test.inc: Include <math-tests.h>.
40979         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
40980         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
40981         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
40982         (IF_ROUND_INIT_FE_UPWARD): Likewise.
40984 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
40986         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
40987         of assigning.
40989 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
40991         * sysdeps/gnu/errlist.awk: Do not generate space at end of
40992         otherwise empty TRANS lines.
40993         * sysdeps/gnu/errlist.c: Regenerated.
40995         * catgets/gencat.c (error_print): Use (void) in function
40996         definition.
40997         * crypt/crypt_util.c (__init_des): Likewise.
40998         * crypt/speeds.c (Stop): Likewise.
40999         (main): Likewise.
41000         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
41001         * inet/ruserpass.c (token): Likewise.
41002         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
41003         * intl/localealias.c (extend_alias_table): Likewise.
41004         * intl/plural-exp.c (init_germanic_plural): Likewise.
41005         * libio/fcloseall.c (__fcloseall): Likewise.
41006         * libio/genops.c (_IO_flush_all): Likewise.
41007         (_IO_flush_all_linebuffered): Likewise.
41008         (_IO_cleanup): Likewise.
41009         (_IO_iter_begin): Likewise.
41010         (_IO_iter_end): Likewise.
41011         (_IO_list_lock): Likewise.
41012         (_IO_list_unlock): Likewise.
41013         (_IO_list_resetlock): Likewise.
41014         * libio/getchar.c (getchar): Likewise.
41015         * libio/getchar_u.c (getchar_unlocked): Likewise.
41016         * libio/getwchar.c (getwchar): Likewise.
41017         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
41018         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
41019         * login/getpt.c (__getpt): Likewise.
41020         * login/tst-utmp.c (main): Likewise.
41021         * malloc/hooks.c (__malloc_check_init): Likewise.
41022         * malloc/malloc.c (__malloc_stats): Likewise.
41023         * malloc/mtrace.c (tr_break): Likewise.
41024         (mtrace): Likewise.
41025         (muntrace): Likewise.
41026         * misc/fstab.c (endfsent): Likewise.
41027         * misc/getclktck.c (__getclktck): Likewise.
41028         * misc/getdtsz.c (__getdtablesize): Likewise.
41029         * misc/gethostid.c (gethostid): Likewise.
41030         * misc/getpagesize.c (__getpagesize): Likewise.
41031         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
41032         (__get_nprocs): Likewise.
41033         (__get_phys_pages): Likewise.
41034         (__get_avphys_pages): Likewise.
41035         * misc/getttyent.c (getttyent): Likewise.
41036         (setttyent): Likewise.
41037         (endttyent): Likewise.
41038         * misc/getusershell.c (getusershell): Likewise.
41039         (endusershell): Likewise.
41040         (setusershell): Likewise.
41041         (initshells): Likewise.
41042         * misc/hsearch.c (__hdestroy): Likewise.
41043         * misc/sync.c (sync): Likewise.
41044         * misc/syslog.c (closelog_internal): Likewise.
41045         (closelog): Likewise.
41046         * misc/ttyslot.c (ttyslot): Likewise.
41047         * misc/vhangup.c (vhangup): Likewise.
41048         * posix/fork.c (__fork): Likewise.
41049         * posix/getegid.c (__getegid): Likewise.
41050         * posix/geteuid.c (__geteuid): Likewise.
41051         * posix/getgid.c (__getgid): Likewise.
41052         * posix/getpid.c (__getpid): Likewise.
41053         * posix/getppid.c (__getppid): Likewise.
41054         * posix/getuid.c (__getuid): Likewise.
41055         * posix/pause.c (pause): Likewise.
41056         * posix/setpgrp.c (setpgrp): Likewise.
41057         * posix/setsid.c (__setsid): Likewise.
41058         * posix/test-vfork.c (noop): Likewise.
41059         * resolv/gethnamaddr.c (_endhtent): Likewise.
41060         (_gethtent): Likewise.
41061         (ht_endhostent): Likewise.
41062         (gethostent): Likewise.
41063         (dns_service): Likewise.
41064         * stdlib/drand48.c (drand48): Likewise.
41065         * stdlib/lrand48.c (lrand48): Likewise.
41066         * stdlib/mrand48.c (mrand48): Likewise.
41067         * stdlib/rand.c (rand): Likewise.
41068         * stdlib/random.c (__random): Likewise.
41069         * stdlib/setenv.c (clearenv): Likewise.
41070         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
41071         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
41072         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
41073         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
41074         (__get_nprocs): Likewise.
41075         (__get_phys_pages): Likewise.
41076         (__get_avphys_pages): Likewise.
41077         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
41078         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
41079         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
41080         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
41081         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
41082         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
41083         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
41084         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
41085         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
41086         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
41087         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
41088         * sysdeps/mach/hurd/sync.c (sync): Likewise.
41089         * sysdeps/posix/clock.c (clock): Likewise.
41090         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
41091         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
41092         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
41093         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
41094         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
41095         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
41096         (__get_nprocs_conf): Likewise.
41097         (__get_phys_pages): Likewise.
41098         (__get_avphys_pages): Likewise.
41099         * time/clock.c (clock): Likewise.
41100         * time/tzset.c (__tzname_max): Likewise.
41102 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
41104         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
41105         (__bswap_32): Do not use "register".
41106         * crypt/crypt.c (_ufc_doit_r): Likewise.
41107         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
41108         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
41109         * gmon/gmon.c (__monstartup): Likewise.
41110         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
41111         * hurd/hurdmalloc.c (more_memory): Likewise.
41112         (malloc): Likewise.
41113         (free): Likewise.
41114         (realloc): Likewise.
41115         (malloc_fork_prepare): Likewise.
41116         (malloc_fork_parent): Likewise.
41117         (malloc_fork_child): Likewise.
41118         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
41119         (_svcauth_des): Likewise.
41120         * inet/inet_lnaof.c (inet_lnaof): Likewise.
41121         * inet/inet_net.c (inet_network): Likewise.
41122         * inet/inet_netof.c (inet_netof): Likewise.
41123         * inet/rcmd.c (__validuser2_sa): Likewise.
41124         * io/fts.c (fts_open): Likewise.
41125         (fts_load): Likewise.
41126         (fts_close): Likewise.
41127         (fts_read): Likewise.
41128         (fts_children): Likewise.
41129         (fts_build): Likewise.
41130         (fts_stat): Likewise.
41131         (fts_sort): Likewise.
41132         (fts_alloc): Likewise.
41133         (fts_lfree): Likewise.
41134         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
41135         (_IO_file_xsgetn): Likewise.
41136         (_IO_file_xsgetn_mmap): Likewise.
41137         * libio/iofopncook.c (_IO_cookie_read): Likewise.
41138         (_IO_cookie_write): Likewise.
41139         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
41140         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
41141         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
41142         * malloc/obstack.c (_obstack_begin): Likewise.
41143         (_obstack_begin_1): Likewise.
41144         (_obstack_newchunk): Likewise.
41145         (_obstack_allocated_p): Likewise.
41146         (obstack_free): Likewise.
41147         (_obstack_memory_used): Likewise.
41148         * misc/getttyent.c (getttynam): Likewise.
41149         (getttyent): Likewise.
41150         (skip): Likewise.
41151         (value): Likewise.
41152         * misc/getusershell.c (initshells): Likewise.
41153         * misc/syslog.c (__vsyslog_chk): Likewise.
41154         * misc/ttyslot.c (ttyslot): Likewise.
41155         * nis/nis_hash.c (__nis_hash): Likewise.
41156         * posix/fnmatch_loop.c (FCT): Likewise.
41157         * posix/getconf.c (print_all): Likewise.
41158         (main): Likewise.
41159         * posix/getopt.c (exchange): Likewise.
41160         * posix/glob.c (globfree): Likewise.
41161         (prefix_array): Likewise.
41162         (__glob_pattern_type): Likewise.
41163         * resolv/arpa/nameser.h (NS_GET16): Likewise.
41164         (NS_GET32): Likewise.
41165         (NS_PUT16): Likewise.
41166         (NS_PUT32): Likewise.
41167         * resolv/gethnamaddr.c (getanswer): Likewise.
41168         (gethostbyname2): Likewise.
41169         (gethostbyaddr): Likewise.
41170         (_gethtent): Likewise.
41171         (_gethtbyname2): Likewise.
41172         (_gethtbyaddr): Likewise.
41173         * resolv/ns_print.c (dst_s_get_int16): Likewise.
41174         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
41175         * resolv/res_init.c (__res_vinit): Likewise.
41176         (net_mask): Likewise.
41177         * resolv/res_mkquery.c (outchar): Likewise.
41178         (PRINT): Likewise.
41179         * stdio-common/printf_fp.c (outchar): Likewise.
41180         (PRINT): Likewise.
41181         * stdio-common/printf_fphex.c (outchar): Likewise.
41182         (PRINT): Likewise.
41183         * stdio-common/printf_size.c (outchar): Likewise.
41184         (PRINT): Likewise.
41185         * stdio-common/test_rdwr.c (main): Likewise.
41186         * stdio-common/tfformat.c (matches): Likewise.
41187         * stdio-common/vfprintf.c (outchar): Likewise.
41188         (printf_unknown): Likewise.
41189         (buffered_vfprintf): Likewise.
41190         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
41191         * stdio-common/xbug.c (AppendToBuffer): Likewise.
41192         (ReadFile): Likewise.
41193         * stdlib/qsort.c (SWAP): Likewise.
41194         (_quicksort): Likewise.
41195         * stdlib/setenv.c (__add_to_environ): Likewise.
41196         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
41197         * stdlib/strtol_l.c (__strtol_l): Likewise.
41198         * stdlib/tst-strtod.c (main): Likewise.
41199         * stdlib/tst-strtol.c (main): Likewise.
41200         * stdlib/tst-strtoll.c (main): Likewise.
41201         * string/bits/string2.h (__strcmp_cc): Likewise.
41202         (__strcmp_cg): Likewise.
41203         (__strcspn_c1): Likewise.
41204         (__strcspn_c2): Likewise.
41205         (__strcspn_c3): Likewise.
41206         (__strspn_c1): Likewise.
41207         (__strspn_c2): Likewise.
41208         (__strspn_c3): Likewise.
41209         (__strsep_1c): Likewise.
41210         (__strsep_2c): Likewise.
41211         (__strsep_3c): Likewise.
41212         * string/memccpy.c (__memccpy): Likewise.
41213         * string/stpcpy.c (__stpcpy): Likewise.
41214         * string/strcmp.c (strcmp): Likewise.
41215         * string/strrchr.c (strrchr): Likewise.
41216         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
41217         Likewise.
41218         * sysdeps/mach/hurd/getcwd.c
41219         (_hurd_canonicalize_directory_name_internal): Likewise.
41220         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
41221         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
41222         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
41223         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
41224         Likewise, in both definitions.
41225         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
41226         definitions.
41227         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
41228         64] (__bswap_64): Likewise.
41229         * time/test_time.c (main): Likewise.
41230         * time/tzfile.c (__tzfile_read): Likewise.
41231         (__tzfile_compute): Likewise.
41232         * time/tzset.c (__tzset_parse_tz): Likewise.
41233         (tzset_internal): Likewise.
41234         (compute_change): Likewise.
41235         * wcsmbs/wcscat.c (__wcscat): Likewise.
41236         * wcsmbs/wcschr.c (wcschr): Likewise.
41237         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
41238         * wcsmbs/wcscspn.c (wcscspn): Likewise.
41239         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
41240         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
41241         * wcsmbs/wcsspn.c (wcsspn): Likewise.
41242         * wcsmbs/wcsstr.c (wcsstr): Likewise.
41243         * wcsmbs/wmemchr.c (wmemchr): Likewise.
41244         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
41245         * wcsmbs/wmemset.c (wmemset): Likewise.
41247 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
41249         * scripts/config.guess: Update to version 2013-05-16.
41250         * scripts/config.sub: Update to version 2013-04-24.
41251         * scripts/install-sh: Update to version 2011-11-20.07.
41252         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
41253         * scripts/move-if-change: Update to version 2012-01-06 07:23.
41255 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
41257         * debug/fgetws_u_chk.c: Fix leading whitespaces.
41258         * elf/sln.c: Likewise.
41259         * hurd/hurd/ioctl.h: Likewise.
41260         * hurd/hurdmalloc.c: Likewise.
41261         * hurd/xattr.c: Likewise.
41262         * include/shlib-compat.h: Likewise.
41263         * inet/ruserpass.c: Likewise.
41264         * libio/iofgets_u.c: Likewise.
41265         * libio/iofgetws_u.c: Likewise.
41266         * locale/programs/ld-identification.c: Likewise.
41267         * locale/programs/ld-time.c: Likewise.
41268         * mach/msg-destroy.c: Likewise.
41269         * nss/nss_files/files-netgrp.c: Likewise.
41270         * resolv/res_data.c: Likewise.
41271         * soft-fp/op-1.h: Likewise.
41272         * soft-fp/op-2.h: Likewise.
41273         * soft-fp/op-4.h: Likewise.
41274         * soft-fp/op-common.h: Likewise.
41275         * stdio-common/printf_fphex.c: Likewise.
41276         * stdlib/strtod_l.c: Likewise.
41277         * sunrpc/rpc/clnt.h: Likewise.
41278         * sysdeps/generic/framestate.c: Likewise.
41279         * sysdeps/i386/bsd-_setjmp.S: Likewise.
41280         * sysdeps/i386/bsd-setjmp.S: Likewise.
41281         * sysdeps/i386/__longjmp.S: Likewise.
41282         * sysdeps/i386/setjmp.S: Likewise.
41283         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
41284         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
41285         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
41286         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
41287         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
41288         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
41289         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
41290         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
41291         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
41292         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
41293         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
41294         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
41295         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
41296         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
41297         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
41298         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
41299         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
41300         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
41301         * sysdeps/ieee754/support.c: Likewise.
41302         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
41303         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
41304         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
41305         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
41306         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
41307         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
41308         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
41309         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
41310         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
41311         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
41312         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
41313         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
41314         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
41315         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
41316         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
41317         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
41318         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
41319         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
41321 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
41323         * posix/transbug.c: Remove executable mode.
41325 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
41327         * crypt/speeds.c: Remove trailing whitespace.
41328         * dlfcn/default.c: Likewise.
41329         * elf/ifuncdep2.c: Likewise.
41330         * elf/ifuncmain1.c: Likewise.
41331         * elf/ifuncmain1vis.c: Likewise.
41332         * elf/testobj.h: Likewise.
41333         * elf/tst-stackguard1.c: Likewise.
41334         * gmon/sys/gmon.h: Likewise.
41335         * hurd/hurdmsg.c: Likewise.
41336         * hurd/new-fd.c: Likewise.
41337         * hurd/ports-get.c: Likewise.
41338         * iconvdata/ibm1008_420.c: Likewise.
41339         * inet/tst-getni1.c: Likewise.
41340         * inet/tst-getni2.c: Likewise.
41341         * libio/ioungetc.c: Likewise.
41342         * libio/wfiledoalloc.c: Likewise.
41343         * manual/libm-err-tab.pl: Likewise.
41344         * math/w_dremf.c: Likewise.
41345         * misc/ftruncate.c: Likewise.
41346         * posix/bug-glob2.c: Likewise.
41347         * posix/tst-pcre.c: Likewise.
41348         * posix/wait4.c: Likewise.
41349         * resolv/README: Likewise.
41350         * resolv/res_debug.h: Likewise.
41351         * resolv/tst-inet_ntop.c: Likewise.
41352         * setjmp/bug269-setjmp.c: Likewise.
41353         * soft-fp/extended.h: Likewise.
41354         * soft-fp/op-1.h: Likewise.
41355         * soft-fp/op-2.h: Likewise.
41356         * soft-fp/op-4.h: Likewise.
41357         * soft-fp/op-8.h: Likewise.
41358         * soft-fp/testit.c: Likewise.
41359         * stdio-common/bug16.c: Likewise.
41360         * stdlib/random.c: Likewise.
41361         * sunrpc/rpcsvc/rquota.x: Likewise.
41362         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
41363         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
41364         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
41365         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
41366         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
41367         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
41368         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
41369         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
41370         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
41371         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
41372         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
41373         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
41374         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
41375         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
41376         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
41377         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
41378         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
41379         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
41380         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
41381         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
41382         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
41383         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
41384         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
41385         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
41386         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
41387         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
41388         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
41389         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
41390         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
41391         * sysdeps/ieee754/s_lib_version.c: Likewise.
41392         * sysdeps/mach/hurd/check_fds.c: Likewise.
41393         * sysdeps/mach/hurd/getsockname.c: Likewise.
41394         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
41395         * sysdeps/mach/hurd/recvfrom.c: Likewise.
41396         * sysdeps/powerpc/bits/link.h: Likewise.
41397         * sysdeps/powerpc/dl-procinfo.c: Likewise.
41398         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
41399         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
41400         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
41401         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
41402         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
41403         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
41404         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
41405         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
41406         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
41407         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
41408         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
41409         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
41410         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
41411         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
41412         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
41413         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
41414         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
41415         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
41416         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
41417         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
41418         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
41419         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
41420         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
41421         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
41422         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
41423         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
41424         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
41425         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
41426         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
41427         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
41428         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
41429         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
41430         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
41431         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
41432         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
41433         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
41434         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
41435         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
41436         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
41437         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
41438         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
41439         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
41440         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
41441         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
41442         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
41443         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
41444         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
41445         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
41446         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
41447         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
41448         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
41449         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
41450         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
41451         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
41452         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
41453         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
41454         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
41455         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
41456         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
41457         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
41458         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
41459         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
41460         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
41461         * sysdeps/powerpc/sysdep.h: Likewise.
41462         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
41463         * sysdeps/s390/s390-64/sub_n.S: Likewise.
41464         * sysdeps/sh/dl-trampoline.S: Likewise.
41465         * sysdeps/sh/memset.S: Likewise.
41466         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
41467         * sysdeps/sh/strlen.S: Likewise.
41468         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
41469         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
41470         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
41471         * sysdeps/sparc/sparc32/rem.S: Likewise.
41472         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
41473         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
41474         * sysdeps/sparc/sparc32/strchr.S: Likewise.
41475         * sysdeps/sparc/sparc32/udiv.S: Likewise.
41476         * sysdeps/sparc/sparc32/urem.S: Likewise.
41477         * sysdeps/sparc/sparc64/add_n.S: Likewise.
41478         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
41479         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
41480         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
41481         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
41482         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
41483         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
41484         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
41485         * sysdeps/unix/bsd/times.c: Likewise.
41486         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
41487         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
41488         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
41489         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
41490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
41491         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
41492         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
41493         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
41494         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
41495         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
41496         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
41497         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
41498         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
41499         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
41500         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
41501         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
41502         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
41503         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
41504         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
41505         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
41506         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
41507         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
41508         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
41509         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
41510         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
41511         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
41512         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
41513         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
41514         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
41515         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
41516         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
41517         * sysdeps/x86_64/strcspn.S: Likewise.
41519 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
41521         * locale/C-translit.h: Revert #include <stdint.h> because this is a
41522         generated file.  Regenerate properly from gen-translit.pl.
41523         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
41524         locale/C-translit.h.
41526 2013-06-05  Andreas Schwab  <schwab@suse.de>
41528         [BZ #15100]
41529         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
41530         week as 6 instead of -1.
41531         * time/tst-strptime.c (day_tests): Add test case.
41533 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
41535         * sysdeps/generic/math_private.h
41536         (libc_feholdexcept_setround_53bit): Replace with
41537         libc_feholdsetround_53bit.
41538         (libc_feupdateenv_53bit): Replace with
41539         libc_feresetround_53bit.
41540         (SET_RESTORE_ROUND_53BIT): Adjust.
41542 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
41544         * string/test-strchrnul.c: Add copyright header.
41546         * posix/tst-getaddrinfo4.c: Increase test timeout.
41548 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
41550         [BZ #15536]
41551         * math/libm-test.inc (MAX_EXP): Remove
41552         (MIN_EXP): Define.
41553         (ulp): Use MIN_EXP - MANT_DIG.
41554         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
41556 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
41558         * po/be.po: Revert last change.
41559         * po/zh_CN.po: Likewise.
41560         * po/header.pot: Likewise.
41562 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
41564         * Makefile ($(common-objpfx)linkobj/libc.so): Define
41565         link-libc-deps to empty as target-specific variable.
41566         * Makerules (link-libc-args): New variable.
41567         (libc-for-link): Likewise.
41568         (link-libc-deps): Likewise.
41569         (lib%.so): Depend on $(link-libc-deps).  Link with
41570         $(link-libc-args).
41571         (build-module): Link with $(link-libc-args).
41572         (build-module-asneeded): Likewise.
41573         (build-module-helper-objlist): Filter out $(link-libc-deps) from
41574         list of objects.
41575         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
41576         target-specific variable.
41577         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
41578         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
41579         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
41580         libc.
41581         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
41582         libc and ld.so.
41583         ($(objpfx)libpcprofile.so): Likewise.
41584         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
41585         libc_nonshared.a.
41586         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
41587         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
41588         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
41589         $(link-libc-deps).
41590         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
41591         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
41592         * login/Makefile ($(objpfx)libutil.so): Likewise.
41593         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
41594         * math/Makefile ($(objpfx)libm.so): Likewise.
41595         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
41596         $(objpfx)libnsl.so): Define libc-for-link as target-specific
41597         variable instead of depending directly on libc.
41598         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
41599         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
41600         $(link-libc-deps).
41601         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
41602         libc.
41603         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
41604         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
41605         ($(objpfx)libanl.so): Likewise.
41606         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
41607         ld.so.
41608         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
41609         $(link-libc-deps).
41610         * sysdeps/i386/fpu/Makefile: Remove file.
41611         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
41612         ($(objpfx)libm.so): Remove dependency on ld.so.
41614 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
41616         [BZ # 15553]
41617         * nis/yp_xdr.c (XDRMAXNAME): Define.
41618         (XDRMAXRECORD): Define.
41619         (xdr_domainname): Use XDRMAXNAME.
41620         (xdr_mapname): Likewise.
41621         (xdr_peername): Likewise.
41622         (xdr_keydat): Use XDRMAXRECORD.
41623         (xdr_valdat): Likewise.
41625 2013-05-30  Jeff Law  <law@redhat.com>
41627         [BZ #14256]
41628         * manual/errno.texi (ESTALE): Update to account for more than
41629         just NFS file systems.
41630         * sysdeps/gnu/errlist.c: Regenerated.
41632 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
41634         [BZ #15465]
41635         * elf/Makefile (tests): Add tst-null-argv.
41636         (modules-names):  Add tst-null-argv-lib.
41637         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
41638         (tst-null-argv-ENV): Set environment for tst-null-argv.
41639         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
41640         (RTLD_PROGNAME): New macro.
41641         * elf/tst-null-argv.c: New test case.
41642         * elf/tst-null-argv-lib.c: Library for test case.
41643         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
41644         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
41645         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
41646         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
41647         * elf/dl-init.c (call_init): Likewise.
41648         (_dl_init): Likewise.
41649         * elf/dl-load.c (print_search_path): Likewise.
41650         (_dl_map_object): Likewise.
41651         * elf/dl-lookup.c (do_lookup_x): Likewise.
41652         (add_dependency): Likewise.
41653         (_dl_lookup_symbol_x): Likewise.
41654         (_dl_debug_bindings): Likewise.
41655         * elf/dl-open.c (_dl_show_scope): Likewise.
41656         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
41657         * elf/dl-version.c (match_symbol): Likewise.
41658         (_dl_check_map_versions): Likewise.
41659         * elf/rtld.c (dl_main): Likewise.
41660         (print_unresolved): Use RTLD_PROGNAME.
41661         (print_missing_version): Likewise.
41662         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
41663         (elf_machine_rela): Likewise.
41664         * sysdeps/powerpc/powerpc32/dl-machine.c
41665         (__process_machine_rela): Likewise.
41666         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
41667         Likewise.
41668         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
41669         Likewise.
41670         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
41671         Likewise.
41672         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
41673         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
41674         Likewise.
41675         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
41676         Likewise.
41677         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
41679 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
41681         * po/be.po: Add descriptive title.
41682         * po/zh_CN.po: Likewise.
41683         * po/header.pot: Likewise.
41685 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
41687         * locale/programs/locarchive.c (create_archive): Inlucde fname in
41688         error message.
41689         (enlarge_archive): Likewise.
41691 2013-05-28  Ben North  <ben@redfrontdoor.org>
41693         * manual/arith.texi (frexp): It is the magnitude of the return
41694         value which lies in [0.5, 1), not the return value itself.
41696 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41698         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41700 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
41702         * stdio-common/bug26.c (main): Correct fscanf template.
41704         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
41705         declare _dl_skip_args.
41707         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
41708         Don't declare.
41710         * manual/platform.texi: Add missing @end deftypefun.
41712 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
41714         [BZ #15529]
41715         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
41716         bit of mantissa of 2^16382.
41717         * math/libm-test.inc (hypot_test_data): Add more tests.
41719         * math/libm-test.inc: Add drem and pow10 to list of tested
41720         functions.
41721         (pow10_test): New function.
41722         (drem_test): Likewise.
41723         (drem_test_tonearest): Likewise.
41724         (drem_test_towardzero): Likewise.
41725         (drem_test_downward): Likewise.
41726         (drem_test_upward): Likewise.
41727         (main): Call the new functions.
41729         * math/libm-test.inc (finite_test_data): Remove.
41730         (finite_test): Run tests from isfinite_test_data.
41731         (gamma_test_data): Remove.
41732         (gamma_test): Run tests from lgamma_test_data.
41733         * sysdeps/i386/fpu/libm-test-ulps: Update.
41734         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41736 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41738         * manual/platform.texi: Add PowerPC PPR function set documentation.
41739         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
41740         implementation.
41742 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
41744         * math/libm-test.inc (MAX_EXP): Define.
41745         (ULPDIFF): Define.
41746         (ulp): New function.
41747         (check_float_internal): Use ULPDIFF.
41748         (cpow_test): Disable failing test.
41749         (check_ulp): Test ulp() implemetnation.
41750         (main): Call check_ulp before starting tests.
41752 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
41754         * math/gen-libm-test.pl (generate_testfile): Do not handle
41755         START_DATA and END_DATA.
41756         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
41757         END_DATA.
41758         (acos_tonearest_test_data): Likewise.
41759         (acos_towardzero_test_data): Likewise.
41760         (acos_downward_test_data): Likewise.
41761         (acos_upward_test_data): Likewise.
41762         (acosh_test_data): Likewise.
41763         (asin_test_data): Likewise.
41764         (asin_tonearest_test_data): Likewise.
41765         (asin_towardzero_test_data): Likewise.
41766         (asin_downward_test_data): Likewise.
41767         (asin_upward_test_data): Likewise.
41768         (asinh_test_data): Likewise.
41769         (atan_test_data): Likewise.
41770         (atanh_test_data): Likewise.
41771         (atan2_test_data): Likewise.
41772         (cabs_test_data): Likewise.
41773         (cacos_test_data): Likewise.
41774         (cacosh_test_data): Likewise.
41775         (carg_test_data): Likewise.
41776         (casin_test_data): Likewise.
41777         (casinh_test_data): Likewise.
41778         (catan_test_data): Likewise.
41779         (catanh_test_data): Likewise.
41780         (cbrt_test_data): Likewise.
41781         (ccos_test_data): Likewise.
41782         (ccosh_test_data): Likewise.
41783         (ceil_test_data): Likewise.
41784         (cexp_test_data): Likewise.
41785         (cimag_test_data): Likewise.
41786         (clog_test_data): Likewise.
41787         (clog10_test_data): Likewise.
41788         (conj_test_data): Likewise.
41789         (copysign_test_data): Likewise.
41790         (cos_test_data): Likewise.
41791         (cos_tonearest_test_data): Likewise.
41792         (cos_towardzero_test_data): Likewise.
41793         (cos_downward_test_data): Likewise.
41794         (cos_upward_test_data): Likewise.
41795         (cosh_test_data): Likewise.
41796         (cosh_tonearest_test_data): Likewise.
41797         (cosh_towardzero_test_data): Likewise.
41798         (cosh_downward_test_data): Likewise.
41799         (cosh_upward_test_data): Likewise.
41800         (cpow_test_data): Likewise.
41801         (cproj_test_data): Likewise.
41802         (creal_test_data): Likewise.
41803         (csin_test_data): Likewise.
41804         (csinh_test_data): Likewise.
41805         (csqrt_test_data): Likewise.
41806         (ctan_test_data): Likewise.
41807         (ctan_tonearest_test_data): Likewise.
41808         (ctan_towardzero_test_data): Likewise.
41809         (ctan_downward_test_data): Likewise.
41810         (ctan_upward_test_data): Likewise.
41811         (ctanh_test_data): Likewise.
41812         (ctanh_tonearest_test_data): Likewise.
41813         (ctanh_towardzero_test_data): Likewise.
41814         (ctanh_downward_test_data): Likewise.
41815         (ctanh_upward_test_data): Likewise.
41816         (erf_test_data): Likewise.
41817         (erfc_test_data): Likewise.
41818         (exp_test_data): Likewise.
41819         (exp_tonearest_test_data): Likewise.
41820         (exp_towardzero_test_data): Likewise.
41821         (exp_downward_test_data): Likewise.
41822         (exp_upward_test_data): Likewise.
41823         (exp10_test_data): Likewise.
41824         (exp2_test_data): Likewise.
41825         (expm1_test_data): Likewise.
41826         (fabs_test_data): Likewise.
41827         (fdim_test_data): Likewise.
41828         (finite_test_data): Likewise.
41829         (floor_test_data): Likewise.
41830         (fma_test_data): Likewise.
41831         (fma_towardzero_test_data): Likewise.
41832         (fma_downward_test_data): Likewise.
41833         (fma_upward_test_data): Likewise.
41834         (fmax_test_data): Likewise.
41835         (fmin_test_data): Likewise.
41836         (fmod_test_data): Likewise.
41837         (fpclassify_test_data): Likewise.
41838         (frexp_test_data): Likewise.
41839         (gamma_test_data): Likewise.
41840         (hypot_test_data): Likewise.
41841         (ilogb_test_data): Likewise.
41842         (isfinite_test_data): Likewise.
41843         (isgreater_test_data): Likewise.
41844         (isgreaterequal_test_data): Likewise.
41845         (isinf_test_data): Likewise.
41846         (isless_test_data): Likewise.
41847         (islessequal_test_data): Likewise.
41848         (islessgreater_test_data): Likewise.
41849         (isnan_test_data): Likewise.
41850         (isnormal_test_data): Likewise.
41851         (issignaling_test_data): Likewise.
41852         (isunordered_test_data): Likewise.
41853         (j0_test_data): Likewise.
41854         (j1_test_data): Likewise.
41855         (jn_test_data): Likewise.
41856         (ldexp_test_data): Likewise.
41857         (lgamma_test_data): Likewise.
41858         (lrint_test_data): Likewise.
41859         (lrint_tonearest_test_data): Likewise.
41860         (lrint_towardzero_test_data): Likewise.
41861         (lrint_downward_test_data): Likewise.
41862         (lrint_upward_test_data): Likewise.
41863         (llrint_test_data): Likewise.
41864         (llrint_tonearest_test_data): Likewise.
41865         (llrint_towardzero_test_data): Likewise.
41866         (llrint_downward_test_data): Likewise.
41867         (llrint_upward_test_data): Likewise.
41868         (log_test_data): Likewise.
41869         (log10_test_data): Likewise.
41870         (log1p_test_data): Likewise.
41871         (log2_test_data): Likewise.
41872         (logb_test_data): Likewise.
41873         (logb_downward_test_data): Likewise.
41874         (lround_test_data): Likewise.
41875         (llround_test_data): Likewise.
41876         (modf_test_data): Likewise.
41877         (nearbyint_test_data): Likewise.
41878         (nextafter_test_data): Likewise.
41879         (nexttoward_test_data): Likewise.
41880         (pow_test_data): Likewise.
41881         (pow_tonearest_test_data): Likewise.
41882         (pow_towardzero_test_data): Likewise.
41883         (pow_downward_test_data): Likewise.
41884         (pow_upward_test_data): Likewise.
41885         (remainder_test_data): Likewise.
41886         (remainder_tonearest_test_data): Likewise.
41887         (remainder_towardzero_test_data): Likewise.
41888         (remainder_downward_test_data): Likewise.
41889         (remainder_upward_test_data): Likewise.
41890         (remquo_test_data): Likewise.
41891         (rint_test_data): Likewise.
41892         (rint_tonearest_test_data): Likewise.
41893         (rint_towardzero_test_data): Likewise.
41894         (rint_downward_test_data): Likewise.
41895         (rint_upward_test_data): Likewise.
41896         (round_test_data): Likewise.
41897         (scalb_test_data): Likewise.
41898         (scalbn_test_data): Likewise.
41899         (scalbln_test_data): Likewise.
41900         (signbit_test_data): Likewise.
41901         (sin_test_data): Likewise.
41902         (sin_tonearest_test_data): Likewise.
41903         (sin_towardzero_test_data): Likewise.
41904         (sin_downward_test_data): Likewise.
41905         (sin_upward_test_data): Likewise.
41906         (sincos_test_data): Likewise.
41907         (sinh_test_data): Likewise.
41908         (sinh_tonearest_test_data): Likewise.
41909         (sinh_towardzero_test_data): Likewise.
41910         (sinh_downward_test_data): Likewise.
41911         (sinh_upward_test_data): Likewise.
41912         (sqrt_test_data): Likewise.
41913         (tan_test_data): Likewise.
41914         (tan_tonearest_test_data): Likewise.
41915         (tan_towardzero_test_data): Likewise.
41916         (tan_downward_test_data): Likewise.
41917         (tan_upward_test_data): Likewise.
41918         (tanh_test_data): Likewise.
41919         (tgamma_test_data): Likewise.
41920         (trunc_test_data): Likewise.
41921         (y0_test_data): Likewise.
41922         (y1_test_data): Likewise.
41923         (yn_test_data): Likewise.
41924         (significand_test_data): Likewise.
41926         * math/gen-libm-test.pl (@functions): Remove variable.
41927         (generate_testfile): Don't handle START and END lines.
41928         * math/libm-test.inc (START): New macro.
41929         (END): Likewise.
41930         (END_COMPLEX): Likewise.
41931         (acos_test): Use END macro without arguments.
41932         (acos_test_tonearest): Likewise.
41933         (acos_test_towardzero): Likewise.
41934         (acos_test_downward): Likewise.
41935         (acos_test_upward): Likewise.
41936         (acosh_test): Likewise.
41937         (asin_test): Likewise.
41938         (asin_test_tonearest): Likewise.
41939         (asin_test_towardzero): Likewise.
41940         (asin_test_downward): Likewise.
41941         (asin_test_upward): Likewise.
41942         (asinh_test): Likewise.
41943         (atan_test): Likewise.
41944         (atanh_test): Likewise.
41945         (atan2_test): Likewise.
41946         (cabs_test): Likewise.
41947         (cacos_test): Use END_COMPLEX macro without arguments.
41948         (cacosh_test): Likewise.
41949         (carg_test): Use END macro without arguments.
41950         (casin_test): Use END_COMPLEX macro without arguments.
41951         (casinh_test): Likewise.
41952         (catan_test): Likewise.
41953         (catanh_test): Likewise.
41954         (cbrt_test): Use END macro without arguments.
41955         (ccos_test): Use END_COMPLEX macro without arguments.
41956         (ccosh_test): Likewise.
41957         (ceil_test): Use END macro without arguments.
41958         (cexp_test): Use END_COMPLEX macro without arguments.
41959         (cimag_test): Use END macro without arguments.
41960         (clog_test): Use END_COMPLEX macro without arguments.
41961         (clog10_test): Likewise.
41962         (conj_test): Likewise.
41963         (copysign_test): Use END macro without arguments.
41964         (cos_test): Likewise.
41965         (cos_test_tonearest): Likewise.
41966         (cos_test_towardzero): Likewise.
41967         (cos_test_downward): Likewise.
41968         (cos_test_upward): Likewise.
41969         (cosh_test): Likewise.
41970         (cosh_test_tonearest): Likewise.
41971         (cosh_test_towardzero): Likewise.
41972         (cosh_test_downward): Likewise.
41973         (cosh_test_upward): Likewise.
41974         (cpow_test): Use END_COMPLEX macro without arguments.
41975         (cproj_test): Likewise.
41976         (creal_test): Use END macro without arguments.
41977         (csin_test): Use END_COMPLEX macro without arguments.
41978         (csinh_test): Likewise.
41979         (csqrt_test): Likewise.
41980         (ctan_test): Likewise.
41981         (ctan_test_tonearest): Likewise.
41982         (ctan_test_towardzero): Likewise.
41983         (ctan_test_downward): Likewise.
41984         (ctan_test_upward): Likewise.
41985         (ctanh_test): Likewise.
41986         (ctanh_test_tonearest): Likewise.
41987         (ctanh_test_towardzero): Likewise.
41988         (ctanh_test_downward): Likewise.
41989         (ctanh_test_upward): Likewise.
41990         (erf_test): Use END macro without arguments.
41991         (erfc_test): Likewise.
41992         (exp_test): Likewise.
41993         (exp_test_tonearest): Likewise.
41994         (exp_test_towardzero): Likewise.
41995         (exp_test_downward): Likewise.
41996         (exp_test_upward): Likewise.
41997         (exp10_test): Likewise.
41998         (exp2_test): Likewise.
41999         (expm1_test): Likewise.
42000         (fabs_test): Likewise.
42001         (fdim_test): Likewise.
42002         (finite_test): Likewise.
42003         (floor_test): Likewise.
42004         (fma_test): Likewise.
42005         (fma_test_towardzero): Likewise.
42006         (fma_test_downward): Likewise.
42007         (fma_test_upward): Likewise.
42008         (fmax_test): Likewise.
42009         (fmin_test): Likewise.
42010         (fmod_test): Likewise.
42011         (fpclassify_test): Likewise.
42012         (frexp_test): Likewise.
42013         (gamma_test): Likewise.
42014         (hypot_test): Likewise.
42015         (ilogb_test): Likewise.
42016         (isfinite_test): Likewise.
42017         (isgreater_test): Likewise.
42018         (isgreaterequal_test): Likewise.
42019         (isinf_test): Likewise.
42020         (isless_test): Likewise.
42021         (islessequal_test): Likewise.
42022         (islessgreater_test): Likewise.
42023         (isnan_test): Likewise.
42024         (isnormal_test): Likewise.
42025         (issignaling_test): Likewise.
42026         (isunordered_test): Likewise.
42027         (j0_test): Likewise.
42028         (j1_test): Likewise.
42029         (jn_test): Likewise.
42030         (ldexp_test): Likewise.
42031         (lgamma_test): Likewise.
42032         (lrint_test): Likewise.
42033         (lrint_test_tonearest): Likewise.
42034         (lrint_test_towardzero): Likewise.
42035         (lrint_test_downward): Likewise.
42036         (lrint_test_upward): Likewise.
42037         (llrint_test): Likewise.
42038         (llrint_test_tonearest): Likewise.
42039         (llrint_test_towardzero): Likewise.
42040         (llrint_test_downward): Likewise.
42041         (llrint_test_upward): Likewise.
42042         (log_test): Likewise.
42043         (log10_test): Likewise.
42044         (log1p_test): Likewise.
42045         (log2_test): Likewise.
42046         (logb_test): Likewise.
42047         (logb_test_downward): Likewise.
42048         (lround_test): Likewise.
42049         (llround_test): Likewise.
42050         (modf_test): Likewise.
42051         (nearbyint_test): Likewise.
42052         (nextafter_test): Likewise.
42053         (nexttoward_test): Likewise.
42054         (pow_test): Likewise.
42055         (pow_test_tonearest): Likewise.
42056         (pow_test_towardzero): Likewise.
42057         (pow_test_downward): Likewise.
42058         (pow_test_upward): Likewise.
42059         (remainder_test): Likewise.
42060         (remainder_test_tonearest): Likewise.
42061         (remainder_test_towardzero): Likewise.
42062         (remainder_test_downward): Likewise.
42063         (remainder_test_upward): Likewise.
42064         (remquo_test): Likewise.
42065         (rint_test): Likewise.
42066         (rint_test_tonearest): Likewise.
42067         (rint_test_towardzero): Likewise.
42068         (rint_test_downward): Likewise.
42069         (rint_test_upward): Likewise.
42070         (round_test): Likewise.
42071         (scalb_test): Likewise.
42072         (scalbn_test): Likewise.
42073         (scalbln_test): Likewise.
42074         (signbit_test): Likewise.
42075         (sin_test): Likewise.
42076         (sin_test_tonearest): Likewise.
42077         (sin_test_towardzero): Likewise.
42078         (sin_test_downward): Likewise.
42079         (sin_test_upward): Likewise.
42080         (sincos_test): Likewise.
42081         (sinh_test): Likewise.
42082         (sinh_test_tonearest): Likewise.
42083         (sinh_test_towardzero): Likewise.
42084         (sinh_test_downward): Likewise.
42085         (sinh_test_upward): Likewise.
42086         (sqrt_test): Likewise.
42087         (tan_test): Likewise.
42088         (tan_test_tonearest): Likewise.
42089         (tan_test_towardzero): Likewise.
42090         (tan_test_downward): Likewise.
42091         (tan_test_upward): Likewise.
42092         (tanh_test): Likewise.
42093         (tgamma_test): Likewise.
42094         (trunc_test): Likewise.
42095         (y0_test): Likewise.
42096         (y1_test): Likewise.
42097         (yn_test): Likewise.
42098         (significand_test): Likewise.
42100 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
42102         [BZ #15381]
42103         * libio/genops.c (_IO_no_init): Initialize wide struct info.
42105 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
42107         [BZ #14894]
42108         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
42109         __ppc_mdoio and __ppc_mdoom.
42110         * manual/platform.texi: Document new functions __ppc_yield,
42111         __ppc_mdoio and __ppc_mdoom.
42113 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
42115         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
42116         (main): Mention "tls" pseudo-hwcap is legacy.
42117         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
42119 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
42121         * math/gen-libm-test.pl (parse_args): Output only string of
42122         arguments as text for test name, not full call or descriptions of
42123         tests for extra outputs.
42124         (generate_testfile): Do not pass function name to parse_args.
42125         Generate this_func variable from START.
42126         * math/libm-test.inc (struct test_f_f_data): Rename test_name
42127         field to arg_str.
42128         (struct test_ff_f_data): Likewise.
42129         (test_ff_f_data_nexttoward): Likewise.
42130         (struct test_fi_f_data): Likewise.
42131         (struct test_fl_f_data): Likewise.
42132         (struct test_if_f_data): Likewise.
42133         (struct test_fff_f_data): Likewise.
42134         (struct test_c_f_data): Likewise.
42135         (struct test_f_f1_data): Likewise.  Remove field extra_name.
42136         (struct test_fF_f1_data): Likewise.
42137         (struct test_ffI_f1_data): Likewise.
42138         (struct test_c_c_data): Rename test_name field to arg_str.
42139         (struct test_cc_c_data): Likewise.
42140         (struct test_f_i_data): Likewise.
42141         (struct test_ff_i_data): Likewise.
42142         (struct test_f_l_data): Likewise.
42143         (struct test_f_L_data): Likewise.
42144         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
42145         and extra2_name.
42146         (COMMON_TEST_SETUP): New macro.
42147         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
42148         (COMMON_TEST_CLEANUP): Likewise.
42149         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
42150         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
42151         macros.
42152         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
42153         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
42154         macros.
42155         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
42156         (RUN_TEST_fff_f): Take argument string.  Call new setup and
42157         cleanup macros.
42158         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
42159         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
42160         macros.
42161         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
42162         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
42163         macros.
42164         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
42165         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
42166         cleanup macros.
42167         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
42168         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
42169         cleanup macros.
42170         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
42171         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
42172         cleanup macros.
42173         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
42174         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
42175         macros.
42176         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
42177         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
42178         macros.
42179         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
42180         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
42181         macros.
42182         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
42183         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
42184         cleanup macros.
42185         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
42186         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
42187         cleanup macros.
42188         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
42189         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
42190         macros.
42191         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
42192         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
42193         cleanup macros.
42194         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
42195         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
42196         macros.
42197         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
42198         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
42199         macros.
42200         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
42201         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
42202         cleanup macros.
42203         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
42205 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
42207         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
42208         to _sifields.sigfault.
42209         (si_addr_lsb): Define new macro.
42210         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
42211         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
42212         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
42214 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
42216         [BZ #15441]
42217         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
42218         returns -1.
42219         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
42220         null return -1.
42221         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
42222         loading the domain.
42224 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
42226         * math/gen-libm-test.pl (parse_args): Do not include expected
42227         result in test name.
42228         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
42229         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42230         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
42231         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
42232         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
42233         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42235 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
42237         * benchtests/Makefile: Sort function entries.
42239         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
42240         tanh, asinh, acosh, atanh.
42241         * benchtests/acos-inputs: New file.
42242         * benchtests/acosh-inputs: New file.
42243         * benchtests/asin-inputs: New file.
42244         * benchtests/asinh-inputs: New file.
42245         * benchtests/atanh-inputs: New file.
42246         * benchtests/cosh-inputs: New file.
42247         * benchtests/log-inputs: New file.
42248         * benchtests/sinh-inputs: New file.
42249         * benchtests/tanh-inputs: New file.
42251 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
42253         [BZ #15339]
42254         * posix/tst-getaddrinfo4.c: New test.
42255         * posix/Makefile (tests): Add it.
42257 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
42259         [BZ #15339]
42260         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
42261         when no services were used.
42262         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
42263         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
42265 2013-05-21  Andreas Schwab  <schwab@suse.de>
42267         [BZ #15014]
42268         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
42269         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
42270         successful.
42271         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
42272         redundant variable declarations and reallocation of buffer when
42273         parsing as IPv6 address.  Always set NSS status when called from
42274         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
42275         buffer too small.  Correct computation of needed size.
42276         * nss/Makefile (tests): Add test-digits-dots.
42277         * nss/test-digits-dots.c: New test.
42279 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
42281         * benchtests/Makefile: Remove instructions for adding
42282         benchmark tests.
42283         * benchtests/README: New file to explain how to execute and
42284         enhance the benchmark tests.
42286 2013-05-21  Andreas Schwab  <schwab@suse.de>
42288         [BZ #15493]
42289         * setjmp/Makefile (tests): Add tst-sigsetjmp.
42290         * setjmp/tst-sigsetjmp.c: New test.
42292 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
42294         * sysdeps/x86_64/memset.S (memset): New implementation.
42295         (__bzero): Likewise.
42296         (__memset_tail): New function.
42298 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
42300         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
42301         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
42302         __memcpy_sse2_unaligned ifunc selection.
42303         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
42304         Add memcpy-sse2-unaligned.S.
42305         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
42306         Add: __memcpy_sse2_unaligned.
42308 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
42310         [BZ #15490]
42311         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
42312         math_force_eval before restoring floating-point envrionment.
42313         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
42314         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
42315         Likewise.
42316         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
42317         <math_private.h>.
42318         (__nearbyintl): Use math_force_eval before restoring
42319         floating-point environment.
42320         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
42322         * math/gen-libm-test.pl (special_functions): Remove.
42323         (parse_args): Don't handle TEST_extra.  Handle functions with no
42324         return value.
42325         * math/libm-test.inc (struct test_sincos_data): Replace with
42326         struct test_fFF_11_data.
42327         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
42328         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
42329         (sincos_test_data): Change element type to struct
42330         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
42331         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
42332         RUN_TEST_LOOP_sincos.
42333         * math/README.libm-test: Don't mention special handling of
42334         individual functions.
42335         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
42336         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42337         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
42338         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
42339         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
42340         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42342         * math/gen-libm-test.pl (get_variable): Remove function.
42343         (parse_args): Don't show pointer parameters to call in test
42344         names.  Use "extra output N" in test names for extra outputs
42345         rather than naming variables.
42347 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
42349         [BZ #15488]
42350         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
42351         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
42352         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
42353         double tests.
42354         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
42355         disable.
42356         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
42357         check_long_double.
42359         * math/gen-libm-test.pl (@tests): Remove variable.
42360         ($count): Likewise.
42361         (new_test): Remove function.
42362         (show_exceptions): New function.
42363         (special_functions): Use show_exceptions instead of new_test.
42364         (parse_args): Likewise.
42365         (generate_testfile): Pass only function name in generated call to
42366         print_max_error or print_complex_max_error.
42367         (get_ulps): Do not handle complex tests specially.
42368         (output_test): Rename to ...
42369         (get_all_ulps_for_test): ... this.  Return a string rather than
42370         printing to a file.  Require ulps to be present.
42371         (output_ulps): Generate arrays rather than #defines.
42372         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
42373         (struct ulp_data): New type.
42374         (BUILD_COMPLEX_ULP): Remove macro.
42375         (compare_ulp_data): New function.
42376         (find_ulps): Likewise.
42377         (find_test_ulps): Likewise.
42378         (find_function_ulps): Likewise.
42379         (find_complex_function_ulps): Likewise.
42380         (print_max_error): Determine allowed ulps using
42381         find_function_ulps.
42382         (print_complex_max_error): Determine allowed ulps using
42383         find_complex_function_ulps.
42384         (check_float_internal): Determine max ulps using find_test_ulps.
42385         (check_float): Do not take max_ulp parameter.  Update call to
42386         check_float_internal.
42387         (check_complex): Likewise.
42388         (check_int): Do not take max_ulp parameter.
42389         (check_long): Likewise.
42390         (check_bool): Likewise.
42391         (check_longlong): Likewise.
42392         (struct test_f_f_data): Remove max_ulp field.
42393         (struct test_ff_f_data): Likewise.
42394         (struct test_ff_f_data_nexttoward): Likewise.
42395         (struct test_fi_f_data): Likewise.
42396         (struct test_fl_f_data): Likewise.
42397         (struct test_if_f_data): Likewise.
42398         (struct test_fff_f_data): Likewise.
42399         (struct test_c_f_data): Likewise.
42400         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
42401         (struct test_fF_f1_data): Likewise.
42402         (struct test_ffI_f1_data): Likewise.
42403         (struct test_c_c_data): Remove max_ulp field.
42404         (struct test_cc_c_data): Likewise.
42405         (struct test_f_i_data): Likewise.
42406         (struct test_ff_i_data): Likewise.
42407         (struct test_f_l_data): Likewise.
42408         (struct test_f_L_data): Likewise.
42409         (struct test_sincos_data): Likewise.
42410         (RUN_TEST_f_f): Do not handle ulps.
42411         (RUN_TEST_LOOP_f_f): Likewise.
42412         (RUN_TEST_2_f): Likewise.
42413         (RUN_TEST_LOOP_2_f): Likewise.
42414         (RUN_TEST_fff_f): Likewise.
42415         (RUN_TEST_LOOP_fff_f): Likewise.
42416         (RUN_TEST_c_f): Likewise.
42417         (RUN_TEST_LOOP_c_f): Likewise.
42418         (RUN_TEST_f_f1): Likewise.
42419         (RUN_TEST_LOOP_f_f1): Likewise.
42420         (RUN_TEST_fF_f1): Likewise.
42421         (RUN_TEST_LOOP_fF_f1): Likewise.
42422         (RUN_TEST_fI_f1): Likewise.
42423         (RUN_TEST_LOOP_fI_f1): Likewise.
42424         (RUN_TEST_ffI_f1): Likewise.
42425         (RUN_TEST_LOOP_ffI_f1): Likewise.
42426         (RUN_TEST_c_c): Likewise.
42427         (RUN_TEST_LOOP_c_c): Likewise.
42428         (RUN_TEST_cc_c): Likewise.
42429         (RUN_TEST_LOOP_cc_c): Likewise.
42430         (RUN_TEST_f_i): Likewise.
42431         (RUN_TEST_LOOP_f_i): Likewise.
42432         (RUN_TEST_f_i_tg): Likewise.
42433         (RUN_TEST_LOOP_f_i_tg): Likewise.
42434         (RUN_TEST_ff_i_tg): Likewise.
42435         (RUN_TEST_LOOP_ff_i_tg): Likewise.
42436         (RUN_TEST_f_b): Likewise.
42437         (RUN_TEST_LOOP_f_b): Likewise.
42438         (RUN_TEST_f_b_tg): Likewise.
42439         (RUN_TEST_LOOP_f_b_tg): Likewise.
42440         (RUN_TEST_f_l): Likewise.
42441         (RUN_TEST_LOOP_f_l): Likewise.
42442         (RUN_TEST_f_L): Likewise.
42443         (RUN_TEST_LOOP_f_L): Likewise.
42444         (RUN_TEST_sincos): Likewise.
42445         (RUN_TEST_LOOP_sincos): Likewise.
42447 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
42449         [BZ #15480]
42450         [BZ #15485]
42451         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
42452         main case of finite arguments, set rounding mode to FE_TONEAREST
42453         and discard exceptions.
42454         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
42455         exceptions.
42456         (remainder_tonearest_test_data): New variable.
42457         (remainder_test_tonearest): New function.
42458         (remainder_towardzero_test_data): New variable.
42459         (remainder_test_towardzero): New function.
42460         (remainder_downward_test_data): New variable.
42461         (remainder_test_downward): New function.
42462         (remainder_upward_test_data): New variable.
42463         (remainder_test_upward): New function.
42464         (main): Call the new test functions.
42466         * math/libm-test.inc (struct test_f_f1_data): Remove field
42467         extra_init.
42468         (struct test_fF_f1_data): Likewise.
42469         (struct test_ffI_f1_data): Likewise.
42470         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
42471         based on value of EXTRA_EXPECTED.
42472         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
42473         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
42474         EXTRA_VAR based on value of EXTRA_EXPECTED.
42475         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
42476         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
42477         EXTRA_VAR based on value of EXTRA_EXPECTED.
42478         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
42479         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
42480         EXTRA_VAR based on value of EXTRA_EXPECTED.
42481         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
42482         * math/gen-libm-test.pl (parse_args): Don't output initializers
42483         for extra output values.
42485         * math/libm-test.inc (check_int): Expect result to be exactly
42486         equal to expected value and do not handle ulps.
42487         (check_long): Likewise.
42488         (check_longlong): Likewise.
42490         * math/libm-test.inc (ceil_test_data): Test for "inexact"
42491         exceptions.
42492         (cimag_test_data): Likewise.
42493         (conj_test_data): Likewise.
42494         (copysign_test_data): Likewise.
42495         (cproj_test_data): Likewise.
42496         (creal_test_data): Likewise.
42497         (fabs_test_data): Likewise.
42498         (fdim_test_data): Likewise.
42499         (finite_test_data): Likewise.
42500         (floor_test_data): Likewise.
42501         (fmax_test_data): Likewise.
42502         (fmin_test_data): Likewise.
42503         (fmod_test_data): Likewise.
42504         (fpclassify_test_data): Likewise.
42505         (frexp_test_data): Likewise.
42506         (ilogb_test_data): Likewise.
42507         (isfinite_test_data): Likewise.
42508         (isgreater_test_data): Likewise.
42509         (isgreaterequal_test_data): Likewise.
42510         (isinf_test_data): Likewise.
42511         (isless_test_data): Likewise.
42512         (islessequal_test_data): Likewise.
42513         (islessgreater_test_data): Likewise.
42514         (isnan_test_data): Likewise.
42515         (isnormal_test_data): Likewise.
42516         (issignaling_test_data): Likewise.
42517         (isunordered_test_data): Likewise.
42518         (ldexp_test_data): Likewise.
42519         (lrint_test_data): Likewise.
42520         (lrint_test_data) [TEST_FLOAT]: Disable one test.
42521         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
42522         (lrint_tonearest_test_data): Test for "inexact" exceptions.
42523         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
42524         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
42525         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
42526         test input.
42527         (lrint_towardzero_test_data): Test for "inexact" exceptions.
42528         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
42529         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
42530         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
42531         that test input.
42532         (lrint_downward_test_data): Test for "inexact" exceptions.
42533         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
42534         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
42535         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
42536         test input.
42537         (lrint_upward_test_data): Test for "inexact" exceptions.
42538         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
42539         test input.
42540         (llrint_test_data): Test for "inexact" exceptions.
42541         (llrint_test_data) [TEST_FLOAT]: Disable one test.
42542         (llrint_tonearest_test_data): Test for "inexact" exceptions.
42543         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
42544         (llrint_towardzero_test_data): Test for "inexact" exceptions.
42545         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
42546         (llrint_downward_test_data): Test for "inexact" exceptions.
42547         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
42548         (llrint_upward_test_data): Test for "inexact" exceptions.
42549         (logb_test_data): Likewise.
42550         (logb_downward_test_data): Likewise.
42551         (nextafter_test_data): Likewise.
42552         (nexttoward_test_data): Likewise.
42553         (remainder_test_data): Likewise.
42554         (remquo_test_data): Likewise.
42555         (scalbn_test_data): Likewise.
42556         (scalbln_test_data): Likewise.
42557         (signbit_test_data): Likewise.
42558         (sqrt_test_data): Likewise.
42559         (significand_test_data): Likewise.
42561 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
42563         [BZ #15424]
42564         * benchtests/bench-modf.c (struct args): Mark arg0 as
42565         volatile.
42566         * scripts/bench.pl: Mark members of struct args as volatile.
42568 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42570         [BZ # 15497]
42571         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
42572         negative infinity on POWER6 or lower.
42573         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
42575 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
42577         [BZ #15442]
42578         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
42579         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
42580         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
42581         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
42582         (_FP_SETQNAN): New macro.
42583         (_FP_SETQNAN_SEMIRAW): Likewise.
42584         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
42585         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
42586         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
42587         (FP_EXTEND): Use _FP_FRAC_SNANP.
42588         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
42589         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
42590         into account.
42591         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
42592         New macro.
42593         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
42594         Likewise.
42596 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
42598         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
42599         with DIVIDE_BY_ZERO_EXCEPTION.
42600         (gamma_test_data): Likewise.
42601         (lgamma_test_data): Likewise.
42602         (log_test_data): Likewise.
42603         (log10_test_data): Likewise.
42604         (log2_test_data): Likewise.
42605         (tgamma_test_data): Likewise.
42607         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
42608         (acos_test_tonearest): Likewise.
42609         (acos_test_towardzero): Likewise.
42610         (acos_test_downward): Likewise.
42611         (acos_test_upward): Likewise.
42612         (acosh_test): Likewise.
42613         (asin_test): Likewise.
42614         (asin_test_tonearest): Likewise.
42615         (asin_test_towardzero): Likewise.
42616         (asin_test_downward): Likewise.
42617         (asin_test_upward): Likewise.
42618         (asinh_test): Likewise.
42619         (atan_test): Likewise.
42620         (atanh_test): Likewise.
42621         (atan2_test): Likewise.
42622         (cabs_test): Likewise.
42623         (cacos_test): Likewise.
42624         (cacosh_test): Likewise.
42625         (casin_test): Likewise.
42626         (casinh_test): Likewise.
42627         (catan_test): Likewise.
42628         (catanh_test): Likewise.
42629         (cbrt_test): Likewise.
42630         (ccos_test): Likewise.
42631         (ccosh_test): Likewise.
42632         (cexp_test): Likewise.
42633         (clog_test): Likewise.
42634         (clog10_test): Likewise.
42635         (cos_test): Likewise.
42636         (cos_test_tonearest): Likewise.
42637         (cos_test_towardzero): Likewise.
42638         (cos_test_downward): Likewise.
42639         (cos_test_upward): Likewise.
42640         (cosh_test): Likewise.
42641         (cosh_test_tonearest): Likewise.
42642         (cosh_test_towardzero): Likewise.
42643         (cosh_test_downward): Likewise.
42644         (cosh_test_upward): Likewise.
42645         (cpow_test): Likewise.
42646         (csin_test): Likewise.
42647         (csinh_test): Likewise.
42648         (csqrt_test): Likewise.
42649         (ctan_test): Likewise.
42650         (ctan_test_tonearest): Likewise.
42651         (ctan_test_towardzero): Likewise.
42652         (ctan_test_downward): Likewise.
42653         (ctan_test_upward): Likewise.
42654         (ctanh_test): Likewise.
42655         (ctanh_test_tonearest): Likewise.
42656         (ctanh_test_towardzero): Likewise.
42657         (ctanh_test_downward): Likewise.
42658         (ctanh_test_upward): Likewise.
42659         (erf_test): Likewise.
42660         (erfc_test): Likewise.
42661         (exp_test): Likewise.
42662         (exp_test_tonearest): Likewise.
42663         (exp_test_towardzero): Likewise.
42664         (exp_test_downward): Likewise.
42665         (exp_test_upward): Likewise.
42666         (exp10_test): Likewise.
42667         (exp2_test): Likewise.
42668         (expm1_test): Likewise.
42669         (fmod_test): Likewise.
42670         (gamma_test): Likewise.
42671         (hypot_test): Likewise.
42672         (j0_test): Likewise.
42673         (j1_test): Likewise.
42674         (jn_test): Likewise.
42675         (lgamma_test): Likewise.
42676         (log_test): Likewise.
42677         (log10_test): Likewise.
42678         (log1p_test): Likewise.
42679         (log2_test): Likewise.
42680         (logb_test_downward): Likewise.
42681         (pow_test): Likewise.
42682         (pow_test_tonearest): Likewise.
42683         (pow_test_towardzero): Likewise.
42684         (pow_test_downward): Likewise.
42685         (pow_test_upward): Likewise.
42686         (remainder_test): Likewise.
42687         (remquo_test): Likewise.
42688         (sin_test): Likewise.
42689         (sin_test_tonearest): Likewise.
42690         (sin_test_towardzero): Likewise.
42691         (sin_test_downward): Likewise.
42692         (sin_test_upward): Likewise.
42693         (sincos_test): Likewise.
42694         (sinh_test): Likewise.
42695         (sinh_test_tonearest): Likewise.
42696         (sinh_test_towardzero): Likewise.
42697         (sinh_test_downward): Likewise.
42698         (sinh_test_upward): Likewise.
42699         (sqrt_test): Likewise.
42700         (tan_test): Likewise.
42701         (tan_test_tonearest): Likewise.
42702         (tan_test_towardzero): Likewise.
42703         (tan_test_downward): Likewise.
42704         (tan_test_upward): Likewise.
42705         (tanh_test): Likewise.
42706         (tgamma_test): Likewise.
42707         (y0_test): Likewise.
42708         (y1_test): Likewise.
42709         (yn_test): Likewise.
42711         * math/gen-libm-test.pl (adjust_arg): Remove function.
42712         (special_function): Remove argument $in_func.  Only handle
42713         generating output for tables of tests, not inside functions.
42714         (parse_args): Likewise.
42715         (generate_testfile): Remove variable $in_func.  Update call to
42716         parse_args.
42717         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
42718         (MINUS_ZERO_INIT): Rename macro to minus_zero.
42719         (PLUS_INFTY_INIT): Rename macro to plus_infty.
42720         (MINUS_INFTY_INIT): Rename macro to minus_infty.
42721         (QNAN_VALUE_INIT): Rename macro to qnan_value.
42722         (MAX_VALUE_INIT): Rename macro to max_value.
42723         (MIN_VALUE_INIT): Rename macro to min_value.
42724         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
42725         (plus_zero): Remove variable.
42726         (minus_zero): Likewise.
42727         (plus_infty): Likewise.
42728         (minus_infty): Likewise.
42729         (qnan_value): Likewise.
42730         (max_value): Likewise.
42731         (min_value): Likewise.
42732         (min_subnorm_value): Likewise.
42734 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
42736         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
42737         uint64_t or uint32_t usage.
42738         * crypt/sha256-block.c: Likewise.
42739         * crypt/sha256-crypt.c: Likewise.
42740         * crypt/sha256.c: Likewise.
42741         * crypt/sha512-block.c: Likewise.
42742         * crypt/sha512-crypt.c: Likewise.
42743         * crypt/sha512.c: Likewise.
42744         * debug/backtrace-tst.c: Likewise.
42745         * debug/pcprofiledump.c: Likewise.
42746         * elf/cache.c: Likewise.
42747         * elf/dl-cache.c: Likewise.
42748         * elf/dl-misc.c: Likewise.
42749         * elf/dl-profile.c: Likewise.
42750         * elf/dl-support.c: Likewise.
42751         * elf/ldconfig.c: Likewise.
42752         * elf/sprof.c: Likewise.
42753         * iconv/dummy-repertoire.c: Likewise.
42754         * iconv/iconv_charmap.c: Likewise.
42755         * iconv/skeleton.c: Likewise.
42756         * iconvdata/8bit-generic.c: Likewise.
42757         * iconvdata/cp737.h: Likewise.
42758         * iconvdata/cp775.h: Likewise.
42759         * iconvdata/ibm1008.h: Likewise.
42760         * iconvdata/ibm1025.h: Likewise.
42761         * iconvdata/ibm1046.h: Likewise.
42762         * iconvdata/ibm1097.h: Likewise.
42763         * iconvdata/ibm1112.h: Likewise.
42764         * iconvdata/ibm1122.h: Likewise.
42765         * iconvdata/ibm1123.h: Likewise.
42766         * iconvdata/ibm1124.h: Likewise.
42767         * iconvdata/ibm1129.h: Likewise.
42768         * iconvdata/ibm1130.h: Likewise.
42769         * iconvdata/ibm1132.h: Likewise.
42770         * iconvdata/ibm1133.h: Likewise.
42771         * iconvdata/ibm1137.h: Likewise.
42772         * iconvdata/ibm1140.h: Likewise.
42773         * iconvdata/ibm1141.h: Likewise.
42774         * iconvdata/ibm1142.h: Likewise.
42775         * iconvdata/ibm1143.h: Likewise.
42776         * iconvdata/ibm1144.h: Likewise.
42777         * iconvdata/ibm1145.h: Likewise.
42778         * iconvdata/ibm1146.h: Likewise.
42779         * iconvdata/ibm1147.h: Likewise.
42780         * iconvdata/ibm1148.h: Likewise.
42781         * iconvdata/ibm1149.h: Likewise.
42782         * iconvdata/ibm1153.h: Likewise.
42783         * iconvdata/ibm1154.h: Likewise.
42784         * iconvdata/ibm1155.h: Likewise.
42785         * iconvdata/ibm1156.h: Likewise.
42786         * iconvdata/ibm1157.h: Likewise.
42787         * iconvdata/ibm1158.h: Likewise.
42788         * iconvdata/ibm1160.h: Likewise.
42789         * iconvdata/ibm1161.h: Likewise.
42790         * iconvdata/ibm1162.h: Likewise.
42791         * iconvdata/ibm1163.h: Likewise.
42792         * iconvdata/ibm1164.h: Likewise.
42793         * iconvdata/ibm1166.h: Likewise.
42794         * iconvdata/ibm1167.h: Likewise.
42795         * iconvdata/ibm12712.h: Likewise.
42796         * iconvdata/ibm1390.h: Likewise.
42797         * iconvdata/ibm1399.h: Likewise.
42798         * iconvdata/ibm16804.h: Likewise.
42799         * iconvdata/ibm4517.h: Likewise.
42800         * iconvdata/ibm4899.h: Likewise.
42801         * iconvdata/ibm4909.h: Likewise.
42802         * iconvdata/ibm4971.h: Likewise.
42803         * iconvdata/ibm5347.h: Likewise.
42804         * iconvdata/ibm803.h: Likewise.
42805         * iconvdata/ibm856.h: Likewise.
42806         * iconvdata/ibm901.h: Likewise.
42807         * iconvdata/ibm902.h: Likewise.
42808         * iconvdata/ibm9030.h: Likewise.
42809         * iconvdata/ibm9066.h: Likewise.
42810         * iconvdata/ibm921.h: Likewise.
42811         * iconvdata/ibm922.h: Likewise.
42812         * iconvdata/ibm9448.h: Likewise.
42813         * iconvdata/isiri-3342.h: Likewise.
42814         * iconvdata/jis0201.h: Likewise.
42815         * include/link.h: Likewise.
42816         * include/netdb.h: Likewise.
42817         * inet/check_native.c: Likewise.
42818         * inet/check_pf.c: Likewise.
42819         * inet/getipv4sourcefilter.c: Likewise.
42820         * inet/getnameinfo.c: Likewise.
42821         * inet/getsourcefilter.c: Likewise.
42822         * inet/htonl.c: Likewise.
42823         * inet/setipv4sourcefilter.c: Likewise.
42824         * inet/setsourcefilter.c: Likewise.
42825         * inet/test-inet6_opt.c: Likewise.
42826         * inet/tst-network.c: Likewise.
42827         * locale/C-collate.c: Likewise.
42828         * locale/C-ctype.c: Likewise.
42829         * locale/C-time.c: Likewise.
42830         * locale/C-translit.h: Likewise.
42831         * locale/loadarchive.c: Likewise.
42832         * locale/programs/3level.h: Likewise.
42833         * locale/programs/charmap.c: Likewise.
42834         * locale/programs/charmap.h: Likewise.
42835         * locale/programs/ld-address.c: Likewise.
42836         * locale/programs/ld-collate.c: Likewise.
42837         * locale/programs/ld-ctype.c: Likewise.
42838         * locale/programs/ld-identification.c: Likewise.
42839         * locale/programs/ld-measurement.c: Likewise.
42840         * locale/programs/ld-messages.c: Likewise.
42841         * locale/programs/ld-monetary.c: Likewise.
42842         * locale/programs/ld-name.c: Likewise.
42843         * locale/programs/ld-numeric.c: Likewise.
42844         * locale/programs/ld-paper.c: Likewise.
42845         * locale/programs/ld-telephone.c: Likewise.
42846         * locale/programs/ld-time.c: Likewise.
42847         * locale/programs/linereader.c: Likewise.
42848         * locale/programs/locale.c: Likewise.
42849         * locale/programs/locarchive.c: Likewise.
42850         * locale/programs/locfile.h: Likewise.
42851         * locale/programs/repertoire.c: Likewise.
42852         * locale/programs/simple-hash.c: Likewise.
42853         * locale/programs/simple-hash.h: Likewise.
42854         * malloc/memusage.c: Likewise.
42855         * malloc/memusagestat.c: Likewise.
42856         * nis/nis_defaults.c: Likewise.
42857         * nis/nis_hash.c: Likewise.
42858         * nis/nis_print.c: Likewise.
42859         * nis/nis_xdr.c: Likewise.
42860         * nscd/connections.c: Likewise.
42861         * nscd/hstcache.c: Likewise.
42862         * nscd/nscd_gethst_r.c: Likewise.
42863         * nscd/nscd_getserv_r.c: Likewise.
42864         * nscd/nscd_helper.c: Likewise.
42865         * nscd/servicescache.c: Likewise.
42866         * nss/makedb.c: Likewise.
42867         * nss/nss_db/db-XXX.c: Likewise.
42868         * nss/nss_db/db-initgroups.c: Likewise.
42869         * nss/nss_db/db-netgrp.c: Likewise.
42870         * nss/nss_files/files-network.c: Likewise.
42871         * nss/nss_files/files-parse.c: Likewise.
42872         * posix/bug-regex5.c: Likewise.
42873         * posix/fnmatch_loop.c: Likewise.
42874         * posix/regcomp.c: Likewise.
42875         * posix/regexec.c: Likewise.
42876         * posix/tst-rfc3484-2.c: Likewise.
42877         * posix/tst-rfc3484-3.c: Likewise.
42878         * posix/tst-rfc3484.c: Likewise.
42879         * resolv/nss_dns/dns-canon.c: Likewise.
42880         * resolv/nss_dns/dns-network.c: Likewise.
42881         * resolv/res_init.c: Likewise.
42882         * resolv/res_mkquery.c: Likewise.
42883         * resolv/tst-aton.c: Likewise.
42884         * stdlib/cxa_atexit.c: Likewise.
42885         * stdlib/cxa_finalize.c: Likewise.
42886         * stdlib/gen-fpioconst.c: Likewise.
42887         * stdlib/strtol_l.c: Likewise.
42888         * string/tst-endian.c: Likewise.
42889         * sunrpc/auth_des.c: Likewise.
42890         * sunrpc/clnt_udp.c: Likewise.
42891         * sunrpc/rtime.c: Likewise.
42892         * sunrpc/svcauth_des.c: Likewise.
42893         * sunrpc/xdr.c: Likewise.
42894         * sunrpc/xdr_intXX_t.c: Likewise.
42895         * sunrpc/xdr_rec.c: Likewise.
42896         * sysdeps/generic/ldconfig.h: Likewise.
42897         * sysdeps/generic/ldsodefs.h: Likewise.
42898         * sysdeps/generic/memusage.h: Likewise.
42899         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
42900         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
42901         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
42902         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
42903         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42904         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
42905         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
42906         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
42907         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
42908         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
42909         * sysdeps/posix/getaddrinfo.c: Likewise.
42910         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
42911         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
42912         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
42913         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
42914         * sysdeps/powerpc/test-gettimebase.c: Likewise.
42915         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
42916         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
42917         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
42918         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
42919         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
42920         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
42921         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
42922         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
42923         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
42924         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
42925         * sysdeps/x86_64/dl-tls.h: Likewise.
42926         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
42927         * time/alt_digit.c: Likewise.
42928         * time/era.c: Likewise.
42929         * wcsmbs/tst-c16c32-1.c: Likewise.
42931 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
42933         * math/libm-test.inc (struct test_sincos_data): New type.
42934         (RUN_TEST_LOOP_sincos): New macro.
42935         (sincos_test_data): New variable.
42936         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
42938 2013-05-16  Richard Henderson  <rth@redhat.com>
42940         * math/atest-exp2.c (LIMB64): New macro.
42941         (CONSTSZ): New macro.
42942         (mp_exp1, mp_exp_m1, mp_log2): New variables.
42943         (hexdig): Move ...
42944         (print_mpn_fp): ... to function scope.
42945         (read_mpn_hex): Remove.
42946         (get_log2): Remove.
42947         (exp2_mpn): Use mp_log2.
42948         (main): Use mp_exp1.
42950 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
42952         * math/libm-test.inc: Remove comment about not testing "inexact"
42953         exceptions.
42954         (INEXACT_EXCEPTION): New macro.
42955         (NO_INEXACT_EXCEPTION): Likewise.
42956         (INVALID_EXCEPTION_OK): Update value.
42957         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
42958         (OVERFLOW_EXCEPTION_OK): Likewise.
42959         (UNDERFLOW_EXCEPTION_OK): Likewise.
42960         (IGNORE_ZERO_INF_SIGN): Likewise.
42961         (ERRNO_UNCHANGED): Likewise.
42962         (ERRNO_EDOM): Likewise.
42963         (ERRNO_ERANGE): Likewise.
42964         (test_exceptions): Handle testing "inexact" exceptions.
42965         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
42966         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
42967         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
42968         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
42969         INEXACT_EXCEPTION.
42970         (rint_towardzero_test_data): Likewise.
42971         (rint_downward_test_data): Likewise.
42972         (rint_upward_test_data): Likewise.
42974         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
42975         with OVERFLOW_EXCEPTION.
42976         (exp10_test_data): Likewise.
42977         (exp2_test_data): Likewise.
42978         (expm1_test_data): Likewise.
42979         (lgamma_test_data): Likewise.
42980         (pow_test_data): Likewise.
42981         (tgamma_test_data): Likewise.
42982         (yn_test_data): Remove duplicate test of overflow.
42984         * math/libm-test.inc (struct test_cc_c_data): New type.
42985         (RUN_TEST_LOOP_cc_c): New macro.
42986         (cpow_test_data): New variable.
42987         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
42989         * math/libm-test.inc (struct test_f_L_data): New type.
42990         (RUN_TEST_LOOP_f_L): New macro.
42991         (llrint_test_data): New variable.
42992         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
42993         (llrint_tonearest_test_data): New variable.
42994         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
42995         (llrint_towardzero_test_data): New variable.
42996         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
42997         (llrint_downward_test_data): New variable.
42998         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
42999         (llrint_upward_test_data): New variable.
43000         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
43001         (llround_test_data): New variable.
43002         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
43004 2013-05-13  Peter Collingbourne  <pcc@google.com>
43006         * math/atest-exp2.c (get_log2): Remove const attribute.
43008 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
43010         * math/libm-test.inc (struct test_f_l_data): New type.
43011         (RUN_TEST_LOOP_f_l): New macro.
43012         (lrint_test_data): New variable.
43013         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
43014         (lrint_tonearest_test_data): New variable.
43015         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
43016         (lrint_towardzero_test_data): New variable.
43017         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
43018         (lrint_downward_test_data): New variable.
43019         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
43020         (lrint_upward_test_data): New variable.
43021         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
43022         (lround_test_data): New variable.
43023         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
43025 2013-05-15  Peter Collingbourne  <pcc@google.com>
43027         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
43028         (EXTRACT_WORDS64) Use where appropriate.
43029         (INSERT_WORDS64) Likewise.
43031         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
43032         constraints with x constraints.
43033         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
43035         * malloc/obstack.c (_obstack_compat): Add initializer.
43037 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
43039         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
43040         si_trapno and add si_addr_lsb to _sifields.sigfault.
43041         (si_trapno): Remove macro.
43042         (si_addr_lsb): Define new macro.
43043         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
43045 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
43047         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
43048         instead of TEST_f_l.
43049         (llrint_test_tonearest): Likewise.
43050         (llrint_test_towardzero): Likewise.
43051         (llrint_test_downward): Likewise.
43052         (llrint_test_upward): Likewise.
43053         (llround_test): Likewise.
43055         * math/libm-test.inc (struct test_f_i_data): Add comment.
43056         (RUN_TEST_LOOP_f_b): New macro.
43057         (RUN_TEST_LOOP_f_b_tg): Likewise.
43058         (finite_test_data): New variable.
43059         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
43060         (isfinite_test_data): New variable.
43061         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
43062         (isinf_test_data): New variable.
43063         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
43064         (isnan_test_data): New variable.
43065         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
43066         (isnormal_test_data): New variable.
43067         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
43068         (issignaling_test_data): New variable.
43069         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
43070         (signbit_test_data): New variable.
43071         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
43073         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
43074         with INVALID_EXCEPTION.
43075         (acosh_test_data): Likewise.
43076         (asin_test_data): Likewise.
43077         (atanh_test_data): Likewise.
43078         (fmod_test_data): Likewise.
43079         (log_test_data): Likewise.
43080         (log10_test_data): Likewise.
43081         (log2_test_data): Likewise.
43082         (pow_test_data): Likewise.
43083         (sqrt_test_data): Likewise.
43084         (y0_test_data): Likewise.
43085         (y1_test_data): Likewise.
43086         (yn_test_data): Likewise.
43088         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
43089         function contents.
43091         * math/libm-test.inc (struct test_ff_i_data): New type.
43092         (RUN_TEST_LOOP_ff_i_tg): New macro.
43093         (isgreater_test_data): New variable.
43094         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
43095         (isgreaterequal_test_data): New variable.
43096         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
43097         (isless_test_data): New variable.
43098         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
43099         (islessequal_test_data): New variable.
43100         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
43101         (islessgreater_test_data): New variable.
43102         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
43103         (isunordered_test_data): New variable.
43104         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
43106 2013-05-14  David S. Miller  <davem@davemloft.net>
43108         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43110 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
43112         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
43114         * math/libm-test.inc (struct test_fF_f1_data): Change type of
43115         extra_test to int.
43116         (struct test_f_i_data): Change type of max_ulp to int.
43118         * math/libm-test.inc (test_ffI_f1_data): New type.
43119         (RUN_TEST_LOOP_ffI_f1): New macro.
43120         (remquo_test_data): New variable.
43121         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
43123         * setjmp/tst-setjmp-fp.c: New file.
43124         * setjmp/Makefile (tests): Add tst-setjmp-fp.
43125         (link-libm): New variable.
43126         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
43128         * math/libm-test.inc (struct test_f_i_data): New type.
43129         (RUN_TEST_LOOP_f_i): New macro.
43130         (RUN_TEST_LOOP_f_i_tg): Likewise.
43131         (fpclassify_test_data): New variable.
43132         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
43133         (ilogb_test_data): New variable.
43134         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
43136         * math/libm-test.inc (scalbln_test): Correct function name in END
43137         call.
43139         * math/libm-test.inc (struct test_f_f1_data): Add comment.
43140         (RUN_TEST_LOOP_fI_f1): New macro.
43141         (frexp_test_data): New variable.
43142         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
43144         * math/libm-test.inc (struct test_fF_f1_data): New type.
43145         (RUN_TEST_LOOP_fF_f1): New macro.
43146         (modf_test_data): New variable.
43147         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
43149         * math/libm-test.inc (struct test_f_f1_data): New type.
43150         (RUN_TEST_LOOP_f_f1): New macro.
43151         (gamma_test_data): New variable.
43152         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
43153         (lgamma_test_data): New variable.
43154         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
43156 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
43158         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
43159         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
43160         (main): Comment "tls" pseudo-hwcap.
43162 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
43164         * math/libm-test.inc (struct test_fl_f_data): New type.
43165         (RUN_TEST_LOOP_fl_f): New variable.
43166         (scalbln_test_data): New variable.
43167         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
43169         * math/libm-test.inc (struct test_fi_f_data): New type.
43170         (RUN_TEST_LOOP_fi_f): New macro.
43171         (ldexp_test_data): New variable.
43172         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
43173         (scalbn_test_data): New variable.
43174         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
43176         * math/libm-test.inc (struct test_c_f_data): New type.
43177         (RUN_TEST_LOOP_c_f): New macro.
43178         (cabs_test_data): New variable.
43179         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
43180         (carg_test_data): New variable.
43181         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
43182         (cimag_test_data): New variable.
43183         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
43184         (creal_test_data): New variable.
43185         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
43187         * math/libm-test.inc (struct test_if_f_data): New type.
43188         (RUN_TEST_LOOP_if_f): New macro.
43189         (jn_test_data): New variable.
43190         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
43191         (yn_test_data): New variable.
43192         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
43194         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
43196 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43198         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
43199         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
43201 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
43203         * benchtests/Makefile (CPPFLAGS-nonlib): Add
43204         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
43205         (bench-deps): Add bench-timing.h.
43206         * benchtests-bench-skeleton.c: Include bench-timing.h.
43207         (main): Use TIMING_* macros instead of clock_gettime.
43208         * benchtests/bench-timing.h: New file.
43210         [BZ #14582]
43211         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
43212         Renamed from _LIB_VERSION.
43213         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
43215 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
43217         * math/libm-test.inc (struct test_fff_f_data): New type.
43218         (RUN_TEST_LOOP_fff_f): New macro.
43219         (fma_test_data): New variable.
43220         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
43221         (fma_towardzero_test_data): New variable.
43222         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
43223         (fma_downward_test_data): New variable.
43224         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
43225         (fma_upward_test_data): New variable.
43226         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
43228         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
43229         (struct test_c_c_data): New type.
43230         (RUN_TEST_LOOP_c_c): New macro.
43231         (cacos_test_data): New variable.
43232         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
43233         (cacosh_test_data): New variable.
43234         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
43235         (casin_test_data): New variable.
43236         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
43237         (casinh_test_data): New variable.
43238         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
43239         (catan_test_data): New variable.
43240         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
43241         (catanh_test_data): New variable.
43242         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
43243         (ccos_test_data): New variable.
43244         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
43245         (ccosh_test_data): New variable.
43246         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
43247         (cexp_test_data): New variable.
43248         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
43249         (clog_test_data): New variable.
43250         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
43251         (clog10_test_data): New variable.
43252         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
43253         (conj_test_data): New variable.
43254         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
43255         (cproj_test_data): New variable.
43256         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
43257         (csin_test_data): New variable.
43258         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
43259         (csinh_test_data): New variable.
43260         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
43261         (csqrt_test_data): New variable.
43262         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
43263         (ctan_test_data): New variable.
43264         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
43265         (ctan_tonearest_test_data): New variable.
43266         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
43267         (ctan_towardzero_test_data): New variable.
43268         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
43269         (ctan_downward_test_data): New variable.
43270         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
43271         (ctan_upward_test_data): New variable.
43272         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
43273         (ctanh_test_data): New variable.
43274         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
43275         (ctanh_tonearest_test_data): New variable.
43276         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
43277         (ctanh_towardzero_test_data): New variable.
43278         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
43279         (ctanh_downward_test_data): New variable.
43280         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
43281         (ctanh_upward_test_data): New variable.
43282         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
43283         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
43284         of BUILD_COMPLEX.
43286         * math/libm-test.inc (struct test_ff_f_data): New type.
43287         (struct test_ff_f_data_nexttoward): Likewise.
43288         (RUN_TEST_LOOP_2_f): New macro.
43289         (RUN_TEST_LOOP_ff_f): Likewise.
43290         (atan2_test_data): New variable.
43291         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
43292         (copysign_test_data): New variable.
43293         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
43294         (fdim_test_data): New variable.
43295         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
43296         (fmax_test_data): New variable.
43297         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
43298         (fmin_test_data): New variable.
43299         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
43300         (fmod_test_data): New variable.
43301         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
43302         (hypot_test_data): New variable.
43303         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
43304         (nextafter_test_data): New variable.
43305         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
43306         (nexttoward_test_data): New variable.
43307         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
43308         (pow_test_data): New variable.
43309         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
43310         (pow_tonearest_test_data): New variable.
43311         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
43312         (pow_towardzero_test_data): New variable.
43313         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
43314         (pow_downward_test_data): New variable.
43315         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
43316         (pow_upward_test_data): New variable.
43317         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
43318         (remainder_test_data): New variable.
43319         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
43320         (scalb_test_data): New variable.
43321         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
43322         * sysdeps/i386/fpu/libm-test-ulps: Update.
43324 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
43326         * math/libm-test.inc (fma_test): Use max_value instead of local
43327         variable fltmax.
43328         (nextafter_test): Likewise.
43330         * math/libm-test.inc (acos_towardzero_test_data): New variable.
43331         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
43332         (acos_downward_test_data): New variable.
43333         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43334         (acos_upward_test_data): New variable.
43335         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
43336         (acosh_test_data): New variable.
43337         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
43338         (asin_test_data): New variable.
43339         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
43340         (asin_tonearest_test_data): New variable.
43341         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
43342         (asin_towardzero_test_data): New variable.
43343         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
43344         (asin_downward_test_data): New variable.
43345         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43346         (asin_upward_test_data): New variable.
43347         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
43348         (asinh_test_data): New variable.
43349         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
43350         (atan_test_data): New variable.
43351         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
43352         (atanh_test_data): New variable.
43353         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
43354         (cbrt_test_data): New variable.
43355         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
43356         (ceil_test_data): New variable.
43357         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
43358         (cos_test_data): New variable.
43359         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
43360         (cos_tonearest_test_data): New variable.
43361         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
43362         (cos_towardzero_test_data): New variable.
43363         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
43364         (cos_downward_test_data): New variable.
43365         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43366         (cos_upward_test_data): New variable.
43367         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
43368         (cosh_test_data): New variable.
43369         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
43370         (cosh_tonearest_test_data): New variable.
43371         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
43372         (cosh_towardzero_test_data): New variable.
43373         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
43374         (cosh_downward_test_data): New variable.
43375         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43376         (cosh_upward_test_data): New variable.
43377         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
43378         (erf_test_data): New variable.
43379         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
43380         (erfc_test_data): New variable.
43381         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
43382         (exp_test_data): New variable.
43383         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
43384         (exp_tonearest_test_data): New variable.
43385         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
43386         (exp_towardzero_test_data): New variable.
43387         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
43388         (exp_downward_test_data): New variable.
43389         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43390         (exp_upward_test_data): New variable.
43391         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
43392         (exp10_test_data): New variable.
43393         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
43394         (exp2_test_data): New variable.
43395         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
43396         (expm1_test_data): New variable.
43397         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
43398         (fabs_test_data): New variable.
43399         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
43400         (floor_test_data): New variable.
43401         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
43402         (j0_test_data): New variable.
43403         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
43404         (j1_test_data): New variable.
43405         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
43406         (log_test_data): New variable.
43407         (log_test): Run tests with RUN_TEST_LOOP_f_f.
43408         (log10_test_data): New variable.
43409         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
43410         (log1p_test_data): New variable.
43411         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
43412         (log2_test_data): New variable.
43413         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
43414         (logb_test_data): New variable.
43415         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
43416         (logb_downward_test_data): New variable.
43417         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43418         (nearbyint_test_data): New variable.
43419         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
43420         (rint_test_data): New variable.
43421         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
43422         (rint_tonearest_test_data): New variable.
43423         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
43424         (rint_towardzero_test_data): New variable.
43425         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
43426         (rint_downward_test_data): New variable.
43427         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43428         (rint_upward_test_data): New variable.
43429         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
43430         (round_test_data): New variable.
43431         (round_test): Run tests with RUN_TEST_LOOP_f_f.
43432         (sin_test_data): New variable.
43433         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
43434         (sin_tonearest_test_data): New variable.
43435         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
43436         (sin_towardzero_test_data): New variable.
43437         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
43438         (sin_downward_test_data): New variable.
43439         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43440         (sin_upward_test_data): New variable.
43441         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
43442         (sinh_test_data): New variable.
43443         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
43444         (sinh_tonearest_test_data): New variable.
43445         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
43446         (sinh_towardzero_test_data): New variable.
43447         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
43448         (sinh_downward_test_data): New variable.
43449         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43450         (sinh_upward_test_data): New variable.
43451         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
43452         (sqrt_test_data): New variable.
43453         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
43454         (tan_test_data): New variable.
43455         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
43456         (tan_tonearest_test_data): New variable.
43457         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
43458         (tan_towardzero_test_data): New variable.
43459         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
43460         (tan_downward_test_data): New variable.
43461         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43462         (tan_upward_test_data): New variable.
43463         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
43464         (tanh_test_data): New variable.
43465         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
43466         (tgamma_test_data): New variable.
43467         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
43468         (trunc_test_data): New variable.
43469         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
43470         (y0_test_data): New variable.
43471         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
43472         (y1_test_data): New variable.
43473         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
43474         (significand_test_data): New variable.
43475         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
43477 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
43479         [BZ #12387]
43480         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
43482 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
43484         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
43486 2013-05-10  Andreas Jaeger  <aj@suse.de>
43488         [BZ #15448]
43489         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
43490         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
43492 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
43494         * math/gen-libm-test.pl (adjust_arg): New function.
43495         (special_functions): Handle generating output in both functions
43496         and arrays.
43497         (parse_args): Likewise.
43498         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
43499         $in_func argument to parse_args.
43500         * math/libm-test.inc (struct test_f_f_data): New type.
43501         (IF_ROUND_INIT_): New macro.
43502         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
43503         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
43504         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
43505         (IF_ROUND_INIT_FE_UPWARD): Likewise.
43506         (ROUND_RESTORE_): Likewise.
43507         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
43508         (ROUND_RESTORE_FE_TONEAREST): Likewise.
43509         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
43510         (ROUND_RESTORE_FE_UPWARD): Likewise.
43511         (RUN_TEST_LOOP_f_f): New macro.
43512         (acos_test_data): New variable.
43513         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
43514         (acos_tonearest_test_data): New variable.
43515         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
43517 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
43519         * benchtests/bench-skeleton.c (startup): Fix coding style.
43521 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
43523         [BZ #6809]
43524         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
43525         negative infinity argument.
43526         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
43527         negative infinity argument.
43528         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
43529         negative infinity argument.
43530         * math/libm-test.inc (tgamma_test): Expect errno to be set for
43531         domain errors.
43533 2013-05-10  Florian Weimer  <fweimer@redhat.com>
43535         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
43536         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
43537         * iconv/iconv_prog.c (main): Likewise.
43538         * locale/programs/charmap-dir.c (charmap_readdir)
43539         (fopen_uncompressed): Likewise.
43540         * locale/programs/locfile.c (siblings_uncached)
43541         (write_locale_data): Use lstat64 instead of lstat.
43542         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
43543         stat.
43545 2013-05-10  Andreas Jaeger  <aj@suse.de>
43547         [BZ #15395]
43548         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
43549         localization.
43550         Include <locale.h>.
43552 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
43554         * elf/dl-close.c (_dl_close_worker): Add comments.
43556 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
43558         [BZ #15359]
43559         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
43560         high part of pi/2.
43561         (__ieee754_rem_pio2l): Update comments.
43563         [BZ #15429]
43564         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
43565         high part of pi/2.
43566         (__ieee754_rem_pio2l): Update comments.
43568         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
43569         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
43571         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
43572         M_PI_4l.
43574         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
43575         (M_PI_34_LOG10El): Likewise.
43576         (M_PI2_LOG10El): Likewise.
43577         (M_PI4_LOG10El): Likewise.
43578         (M_PI_LOG10El): Likewise.
43580 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43582         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43584 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
43586         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
43587         (MINUS_ZERO_INIT): Likewise.
43588         (PLUS_INFTY_INIT): Likewise.
43589         (MINUS_INFTY_INIT): Likewise.
43590         (QNAN_VALUE_INIT): Likewise.
43591         (MAX_VALUE_INIT): Likewise.
43592         (MIN_VALUE_INIT): Likewise.
43593         (MIN_SUBNORM_VALUE_INIT): Likewise.
43594         (plus_zero): Initialize with PLUS_ZERO_INIT.
43595         (minus_zero): Initialize with MINUS_ZERO_INIT.
43596         (plus_infty): Initialize with PLUS_INFTY_INIT.
43597         (minus_infty): Initialize with MINUS_INFTY_INIT.
43598         (qnan_value): Initialize with QNAN_VALUE_INIT.
43599         (max_value): Initialize with MAX_VALUE_INIT.
43600         (min_value): Initialize with MIN_VALUE_INIT.
43601         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
43603         * math/libm-test.inc (RUN_TEST_if_f): New macro.
43604         (jn_test): Use TEST_if_f instead of TEST_ff_f.
43605         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
43606         (yn_test): Use TEST_if_f instead of TEST_ff_f.
43608         * math/libm-test.inc (RUN_TEST_f_f): New macro.
43609         (RUN_TEST_2_f): Likewise.
43610         (RUN_TEST_ff_f): Likewise.
43611         (RUN_TEST_fi_f): Likewise.
43612         (RUN_TEST_fl_f): Likewise.
43613         (RUN_TEST_fff_f): Likewise.
43614         (RUN_TEST_c_f): Likewise.
43615         (RUN_TEST_f_f1): Likewise.
43616         (RUN_TEST_fF_f1): Likewise.
43617         (RUN_TEST_fI_f1): Likewise.
43618         (RUN_TEST_ffI_f1): Likewise.
43619         (RUN_TEST_c_c): Likewise.
43620         (RUN_TEST_cc_c): Likewise.
43621         (RUN_TEST_f_i): Likewise.
43622         (RUN_TEST_f_i_tg): Likewise.
43623         (RUN_TEST_ff_i_tg): Likewise.
43624         (RUN_TEST_f_b): Likewise.
43625         (RUN_TEST_f_b_tg): Likewise.
43626         (RUN_TEST_f_l): Likewise.
43627         (RUN_TEST_f_L): Likewise.
43628         (RUN_TEST_sincos): Likewise.
43629         * math/gen-libm-test.pl (new_test): Take new argument to indicate
43630         whether to show exceptions.  Do not include ");\n" in return
43631         value.
43632         (special_functions): Output call to RUN_TEST_sincos instead of
43633         check_float calls.  Update calls to new_test.
43634         (parse_args): Output call to single RUN_TEST_* macro instead of
43635         check_* calls and other assignments.  Update calls to new_test.
43637         [BZ #2546]
43638         [BZ #2560]
43639         [BZ #5159]
43640         [BZ #15426]
43641         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
43642         input to result for tgamma overflow.
43643         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
43644         (gamma_coeff): New variable.
43645         (NCOEFF): New macro.
43646         (gamma_positive): New function.
43647         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
43648         underflow here.  Use gamma_positive instead of exp (lgamma) for
43649         other arguments.
43650         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
43651         (gamma_coeff): New variable.
43652         (NCOEFF): New macro.
43653         (gammaf_positive): New function.
43654         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
43655         underflow here.  Use gamma_positive instead of exp (lgamma) for
43656         other arguments.
43657         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
43658         (gamma_coeff): New variable.
43659         (NCOEFF): New macro.
43660         (gammal_positive): New function.
43661         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
43662         underflow here.  Use gamma_positive instead of exp (lgamma) for
43663         other arguments.
43664         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
43665         (gamma_coeff): New variable.
43666         (NCOEFF): New macro.
43667         (gammal_positive): New function.
43668         (__ieee754_gammal_r): Handle positive infinity, overflow and
43669         underflow here.  Handle NaN the same as positive infinity.  Remove
43670         check x < 0xffffffff for negative integers.  Use gamma_positive
43671         instead of exp (lgamma) for other arguments.
43672         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
43673         (gamma_coeff): New variable.
43674         (NCOEFF): New macro.
43675         (gammal_positive): New function.
43676         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
43677         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
43678         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
43679         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
43680         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
43681         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
43682         * sysdeps/generic/math_private.h (__gamma_productf): New
43683         prototype.
43684         (__gamma_product): Likewise.
43685         (__gamma_productl): Likewise.
43686         * math/Makefile (libm-calls): Add gamma_product.
43687         * math/libm-test.inc (tgamma_test): Add more tests.
43688         * sysdeps/i386/fpu/libm-test-ulps: Update.
43689         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43691 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
43693         * benchtests/bench-skeleton.c (main): Preheat CPU.
43695 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
43697         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
43699 2013-05-07  Roland McGrath  <roland@hack.frob.com>
43701         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
43702         and _dl_skip_args_internal.
43704 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
43706         * manual/message.texi (Message Translation): Talk about users.
43707         Message to key mapping impacts design.
43709 2013-05-06  Roland McGrath  <roland@hack.frob.com>
43711         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
43713         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
43715         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
43716         * sysdeps/wordsize-64/glob64.c: ... here.
43718         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
43719         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
43720         New macros.
43722         * debug/getlogin_r_chk.c: Moved to ...
43723         * login/getlogin_r_chk.c: ... here.
43724         * debug/Makefile (routines): Move getlogin_r_chk to ...
43725         * login/Makefile (routines): ... here.
43726         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
43727         * login/Versions (libc: GLIBC_2.4): ... here.
43729         * io/poll.c (__poll): Renamed from poll.
43730         Add libc_hidden_def.
43731         (poll): Define as weak alias.
43733         * debug/ptsname_r_chk.c: Moved to ...
43734         * login/ptsname_r_chk.c: ... here.
43735         * debug/Makefile (routines): Move ptsname_r_chk to ...
43736         * login/Makefile (routines): ... here.
43737         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
43738         * login/Versions (libc: GLIBC_2.4): ... here.
43740         * posix/getlogin.c: Moved to ...
43741         * login/getlogin.c: ... here.
43742         * posix/getlogin_r.c: Moved to ...
43743         * login/getlogin_r.c: ... here.
43744         * posix/getlogin_r.c: Moved to ...
43745         * login/getlogin_r.c: ... here.
43746         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
43747         * login/Makefile (routines): ... here.
43748         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
43749         * login/Versions (libc: GLIBC_2.0): ... here.
43751         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
43752         (setrlimit): Define as weak alias.
43754         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
43755         Call __ names for open, ftruncate, and close.
43756         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
43757         (truncate): Define as weak alias.
43759 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
43761         * math/gen-libm-test.pl (parse_args): Initialize x before each
43762         test of frexp, modf and remquo.
43764         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
43765         test signgam value.
43767 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43769         [BZ #15418]
43770         [BZ #15419]
43771         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
43772         internal tests.
43773         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
43775 2013-05-06  Roland McGrath  <roland@hack.frob.com>
43777         * elf/dl-writev.h: New file.
43778         * elf/dl-misc.c: Include it.
43779         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
43780         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
43782 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
43784         * math/libm-test.inc (noXFails): Remove variable.
43785         (noXPasses): Likewise.
43786         (BUILD_COMPLEX_INT): Remove macro.
43787         (print_screen): Remove xfail argument.
43788         (print_screen_max_error): Likewise.
43789         (update_stats): Likewise.
43790         (print_max_error): Likewise.  Update calls to other affected
43791         functions.
43792         (print_complex_max_error): Likewise.
43793         (test_single_exception): Update calls to print_screen.
43794         (test_single_errno): Likewise.
43795         (check_float_internal): Remove xfail argument.  Update calls to
43796         other affected functions.
43797         (check_float): Likewise.
43798         (check_complex): Likewise.
43799         (check_int): Likewise.
43800         (check_long): Likewise.
43801         (check_bool): Likewise.
43802         (check_longlong): Likewise.
43803         (main): Don't print noXFails and noXPasses.
43804         * math/gen-libm-test.pl (top level): Don't mention expected
43805         failure handling in comment.
43806         (new_test): Don't handle expected failures.
43807         (parse_args): Don't mention expected failure handling in comment.
43808         (generate_testfile): Don't handle expected failures.
43809         (parse_ulps): Likewise.
43810         (print_ulps_file): Likewise.
43811         (get_failure): Remove function.
43812         (output_test): Don't handle expected failures.
43813         * make/README.libm-test: Don't mention expected failure handling.
43815         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
43816         (minus_zero): Likewise.
43817         (plus_infty): Likewise.
43818         (minus_infty): Likewise.
43819         (qnan_value): Likewise.
43820         (max_value): Likewise.
43821         (min_value): Likewise.
43822         (min_subnorm_value): Likewise.
43823         (initialize): Do not initialize those variables dynamically.
43825 2013-05-03  Roland McGrath  <roland@hack.frob.com>
43827         * io/open.c (__open_2): Moved to ...
43828         * io/open_2.c: ... this new file.
43829         * io/open64.c (__open64_2): Moved to ...
43830         * io/open64_2.c: ... this new file.
43831         * io/openat.c (__openat_2): Moved to ...
43832         * io/openat_2.c: ... this new file.
43833         * io/openat64.c (__openat64_2): Moved to ...
43834         * io/openat64_2.c: ... this new file.
43835         * io/Makefile (routines): Add them.
43836         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
43837         * sysdeps/unix/sysv/linux/open_2.c: File removed.
43838         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
43839         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
43840         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
43841         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
43842         (__openat64): Add hidden_ver.
43843         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
43844         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
43846         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
43847         Separately conditionalize setting of GLRO(dl_sysinfo) so
43848         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
43849         as well, but the actual setting is only under [NEED_DL_SYSINFO].
43851 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43853         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
43854         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
43855         definition.
43856         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
43857         * sysdeps/unix/sysv/linux/powerpc/init-first.c
43858         (_libc_vdso_platform_setup): Add __vdso_time initialization.
43859         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
43860         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
43862 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
43864         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
43865         test signgam value.
43867         * math/libm-test.inc (hypot_test): Do not use
43868         IGNORE_ZERO_INF_SIGN.
43870 2013-05-03  Andreas Jaeger  <aj@suse.de>
43872         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
43873         Linux 3.9.
43874         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
43875         (PF_MAX): Adjust for VSOCK change.
43877 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43879         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43881 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
43883         [BZ #15264]
43884         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
43885         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
43886         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
43888 2013-05-02  David S. Miller  <davem@davemloft.net>
43890         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43892 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
43894         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
43896 2013-05-01  Roland McGrath  <roland@hack.frob.com>
43898         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
43900 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
43902         [BZ #14952]
43903         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
43904         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
43905         Use __attribute__ ((__gnu_inline__)).
43906         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
43907         Don't use __attribute__ ((__gnu_inline__)).
43909 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
43911         [BZ #15423]
43912         * math/s_catan.c (__catan): Handle small real or imaginary part of
43913         input specially to avoid spurious underflow.
43914         * math/s_catanf.c (__catanf): Likewise.
43915         * math/s_catanh.c (__catanh): Likewise.
43916         * math/s_catanhf.c (__catanhf): Likewise.
43917         * math/s_catanhl.c (__catanhl): Likewise.
43918         * math/s_catanl.c (__catanl): Likewise.
43919         * math/libm-test.inc (catan_test): Add more tests.
43920         (catanh_test): Likewise.
43921         * sysdeps/i386/fpu/libm-test-ulps: Update.
43922         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43924 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43926         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43928 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
43930         [BZ #15416]
43931         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
43932         accurately for denominator in atan2.
43933         * math/s_catanf.c (__catanf): Likewise.
43934         * math/s_catanh.c (__catanh): Likewise.
43935         * math/s_catanhf.c (__catanhf): Likewise.
43936         * math/s_catanhl.c (__catanhl): Likewise.
43937         * math/s_catanl.c (__catanl): Likewise.
43938         * math/libm-test.inc (catan_test): Add more tests.
43939         (catanh_test): Likewise.
43940         * sysdeps/i386/fpu/libm-test-ulps: Update.
43941         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43943 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
43945         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
43947         * benchtests/Makefile (bench): Remove slow benchmarks.
43948         * benchtests/atan-inputs: Add slow benchmark inputs.
43949         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
43950         (BENCH_FUNC): Accept variant offset.
43951         (VARIANT): Define.
43952         * benchtests/bench-skeleton.c (main): Run benchmark for each
43953         variant.
43954         * benchtests/cos-inputs: Add slow benchmark inputs.
43955         * benchtests/exp-inputs: Likewise.
43956         * benchtests/pow-inputs: Likewise.
43957         * benchtests/sin-inputs: Likewise.
43958         * benchtests/slowatan-inputs: Remove.
43959         * benchtests/slowatan.c: Remove.
43960         * benchtests/slowcos-inputs: Remove.
43961         * benchtests/slowcos.c: Remove.
43962         * benchtests/slowexp-inputs: Remove.
43963         * benchtests/slowexp.c: Remove.
43964         * benchtests/slowpow-inputs: Remove.
43965         * benchtests/slowpow.c: Remove.
43966         * benchtests/slowsin-inputs: Remove.
43967         * benchtests/slowsin.c: Remove.
43968         * benchtests/slowtan-inputs: Remove.
43969         * benchtests/slowtan.c: Remove.
43970         * benchtests/tan-inputs: Add slow benchmark inputs.
43971         * scripts/bench.pl: Parse comments and directives.
43973         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
43974         in CPPFLAGS.
43975         ($(objpfx)bench-%.c): Remove *-ITER.
43976         * benchtests/bench-modf.c: Remove definition of ITER.
43977         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
43978         (main): Loop for DURATION seconds instead of fixed number of
43979         iterations.
43980         * scripts/bench.pl: Don't expect iterations in parameters.
43982 2013-04-29  Roland McGrath  <roland@hack.frob.com>
43984         * io/fchdir.c (__fchdir): Renamed from fchdir.
43985         (fchdir): Define as weak alias.
43987 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
43989         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
43990         (ERRNO_EDOM): Likewise.
43991         (ERRNO_ERANGE): Likewise.
43992         (noErrnoTests): New variable.
43993         (init_max_error): Set errno to 0.
43994         (test_single_errno): New function.
43995         (test_errno): Likewise.
43996         (check_float_internal): Call test_errno.  Set errno to 0.
43997         (check_complex): Refer to errno tests in comment.
43998         (check_int): Call test_errno.  Set errno to 0.
43999         (check_long): Likewise.
44000         (check_bool): Likewise.
44001         (check_longlong): Likewise.
44002         (cos_test): Use ERRNO_* flags for errno tests instead of
44003         check_int.
44004         (expm1_test): Likewise.
44005         (fmod_test): Likewise.
44006         (ilogb_test): Likewise.
44007         (lgamma_test): Likewise.
44008         (pow_test): Likewise.
44009         (remainder_test): Likewise.
44010         (sin_test): Likewise.
44011         (tan_test): Likewise.
44012         (yn_test): Likewise.
44013         (initialize): Set errno to 0.
44014         (main): Print number of errno tests.
44015         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
44017 2013-04-29  Andreas Jaeger  <aj@suse.de>
44019         [BZ #15084]
44020         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
44021         and RES_USEVC.
44023         [BZ #15085]
44024         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
44025         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
44026         unimplemented.
44028         [BZ #15380]
44029         * stdlib/random.c (__initstate): Return NULL if
44030         __initstate fails.
44032         [BZ #15086]
44033         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
44034         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
44035         RES_SNGLKUPREOP.
44037 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44039         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44041 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
44043         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
44044         of individual tests.
44045         (casin_test): Likewise.
44046         (casinh_test): Likewise.
44048 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
44050         [BZ #15409]
44051         * math/s_catan.c (__catan): Handle arguments with large real or
44052         imaginary part separately without squaring.
44053         * math/s_catanf.c (__catanf): Likewise.
44054         * math/s_catanh.c (__catanh): Likewise.
44055         * math/s_catanhf.c (__catanhf): Likewise.
44056         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
44057         and redefine.
44058         (__catanhl): Handle arguments with large real or imaginary part
44059         separately without squaring.
44060         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
44061         and redefine.
44062         (__catanl): Handle arguments with large real or imaginary part
44063         separately without squaring.
44064         * math/libm-test.inc (catan_test): Add more tests.
44065         (catanh_test): Likewise.
44066         * sysdeps/i386/fpu/libm-test-ulps: Update.
44067         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44069 2013-04-27  Andreas Jaeger  <aj@suse.de>
44071         [BZ #15007]
44072         * stdlib/stdlib.h: Update guards for qecvt.
44073         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
44074         <stdlib.h>.
44076 2013-04-27  Allan McRae  <allan@archlinux.org>
44078         * sysdeps/i386/fpu/libm-test-ulps: Update.
44080 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
44082         [BZ #15406]
44083         * math/s_catan.c: Include <float.h>.
44084         (__catan): Ensure underflow exception occurs for underflowed
44085         result.
44086         * math/s_catanf.c: Include <float.h>.
44087         (__catanf): Ensure underflow exception occurs for underflowed
44088         result.
44089         * math/s_catanh.c: Include <float.h>.
44090         (__catanh): Ensure underflow exception occurs for underflowed
44091         result.
44092         * math/s_catanhf.c: Include <float.h>.
44093         (__catanhf): Ensure underflow exception occurs for underflowed
44094         result.
44095         * math/s_catanhl.c: Include <float.h>.
44096         (__catanhl): Ensure underflow exception occurs for underflowed
44097         result.
44098         * math/s_catanl.c: Include <float.h>.
44099         (__catanl): Ensure underflow exception occurs for underflowed
44100         result.
44101         * math/libm-test.inc (catan_test): Add more tests.
44102         (catanh_test): Likewise.
44104         [BZ #15405]
44105         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
44106         underflowed result.
44107         * math/s_ccoshf.c (__ccoshf): Likewise.
44108         * math/s_ccoshl.c (__ccoshl): Likewise.
44109         * math/s_csin.c (__csin): Likewise.
44110         * math/s_csinf.c (__csinf): Likewise.
44111         * math/s_csinh.c (__csinh): Likewise.
44112         * math/s_csinhf.c (__csinhf): Likewise.
44113         * math/s_csinhl.c (__csinhl): Likewise.
44114         * math/s_csinl.c (__csinl): Likewise.
44115         * math/libm-test.inc (ccos_test): Add more tests.
44116         (ccosh_test): Likewise.
44117         (csin_test): Likewise.
44118         (csinh_test): Likewise.
44120 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44122         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
44123         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
44124         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
44125         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
44126         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
44127         powerpc/power5+/fpu folders.
44128         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
44131 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
44133         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44135 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
44137         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
44138         additions to variable.
44139         [$(config-machine) = x86_64] (modules-names): Likewise.
44140         ($(objpfx)tst-audit3): Remove dependency.
44141         ($(objpfx)tst-audit3.out): Likewise.
44142         ($(objpfx)tst-audit4): Likewise.
44143         ($(objpfx)tst-audit4.out): Likewise.
44144         ($(objpfx)tst-audit5): Likewise.
44145         ($(objpfx)tst-audit5.out): Likewise.
44146         ($(objpfx)tst-audit6): Likewise.
44147         ($(objpfx)tst-audit6.out): Likewise.
44148         ($(objpfx)tst-audit7): Likewise.
44149         ($(objpfx)tst-audit7.out): Likewise.
44150         (tst-audit3-ENV): Remove variable.
44151         (tst-audit4-ENV): Likewise.
44152         (tst-audit5-ENV): Likewise.
44153         (tst-audit6-ENV): Likewise.
44154         (tst-audit7-ENV): Likewise.
44155         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
44156         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
44157         addition to variable.
44158         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
44159         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
44160         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
44161         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
44162         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
44163         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
44164         tst-audit3, tst-audit4 and tst-audit5.
44165         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
44166         tst-audit6 and tst-audit7.
44167         [$(subdir) = elf] (modules-names): Add audit modules for those
44168         tests.
44169         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
44170         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
44171         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
44172         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
44173         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
44174         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
44175         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
44176         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
44177         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
44178         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
44179         [$(subdir) = elf] (tst-audit3-ENV): New variable.
44180         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
44181         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
44182         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
44183         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
44184         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
44185         Likewise.
44186         [$(subdir) = elf && $(config-cflags-avx) = yes]
44187         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
44188         [$(subdir) = elf && $(config-cflags-avx) = yes]
44189         (CFLAGS-tst-auditmod4a.c): Likewise.
44190         [$(subdir) = elf && $(config-cflags-avx) = yes]
44191         (CFLAGS-tst-auditmod4b.c): Likewise.
44192         [$(subdir) = elf && $(config-cflags-avx) = yes]
44193         (CFLAGS-tst-auditmod6b.c): Likewise.
44194         [$(subdir) = elf && $(config-cflags-avx) = yes]
44195         (CFLAGS-tst-auditmod6c.c): Likewise.
44196         [$(subdir) = elf && $(config-cflags-avx) = yes]
44197         (CFLAGS-tst-auditmod7b.c): Likewise.
44198         * elf/tst-audit3.c: Move to ...
44199         * sysdeps/x86_64/tst-audit3.c: ... here.
44200         * elf/tst-audit4.c: Move to ...
44201         * sysdeps/x86_64/tst-audit4.c: ... here.
44202         * elf/tst-audit5.c: Move to ...
44203         * sysdeps/x86_64/tst-audit5.c: ... here.
44204         * elf/tst-audit6.c: Move to ...
44205         * sysdeps/x86_64/tst-audit6.c: ... here.
44206         * elf/tst-audit7.c: Move to ...
44207         * sysdeps/x86_64/tst-audit7.c: ... here.
44208         * elf/tst-auditmod3a.c: Move to ...
44209         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
44210         * elf/tst-auditmod3b.c: Move to ...
44211         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
44212         * elf/tst-auditmod4a.c: Move to ...
44213         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
44214         * elf/tst-auditmod4b.c: Move to ...
44215         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
44216         * elf/tst-auditmod5a.c: Move to ...
44217         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
44218         * elf/tst-auditmod5b.c: Move to ...
44219         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
44220         * elf/tst-auditmod6a.c: Move to ...
44221         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
44222         * elf/tst-auditmod6b.c: Move to ...
44223         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
44224         * elf/tst-auditmod6c.c: Move to ...
44225         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
44226         * elf/tst-auditmod7a.c: Move to ...
44227         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
44228         * elf/tst-auditmod7b.c: Move to ...
44229         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
44231 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
44233         [BZ #15366]
44234         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
44235         define unconditionally.
44236         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
44237         define unconditionally.
44238         (INT8_C, INT16_C, etc.): Likewise.
44240 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
44242         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
44243         __ehdr_start with hidden visibility.
44245         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
44247 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
44249         * math/libm-test.inc (cos_test): Use accurate hex constants.
44250         (sincost_test): Likewise.
44252 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
44254         * math/libm-test.inc (catan_test): Add more tests.
44255         (catanh_test): Likewise.
44257         * math/s_catanf.c (__catanf): Use suffixed floating-point
44258         constants.
44259         * math/s_catanhf.c (__catanhf): Likewise.
44260         * math/s_catanhl.c (__catanhl): Likewise.
44261         * math/s_catanl.c (__catanl): Likewise.
44263         [BZ #15394]
44264         * math/s_catan.c (__catan): Calculate imaginary part of result
44265         with log1p not log unless computing log of number close to 0.
44266         * math/s_catanf.c (__catanf): Likewise.
44267         * math/s_catanl.c (__catanl): Likewise.
44268         * math/s_catanh.c (__catanh): Calculate real part of result with
44269         log1p not log unless computing log of number close to 0.
44270         * math/s_catanhf.c (__catanhf): Likewise.
44271         * math/s_catanhl.c (__catanhl): Likewise.
44272         * math/libm-test.inc (catan_test): Add more tests.
44273         (catanh_test): Likewise.
44274         * sysdeps/i386/fpu/libm-test-ulps: Update.
44275         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44277 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
44279         * benchtests/Makefile: Mention files in which fast and slow
44280         paths of math functions are implemented.
44282 2013-04-23  Roland McGrath  <roland@hack.frob.com>
44284         * sysdeps/posix/timespec_get.c: New file.
44286 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44288         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
44289         POWER.
44290         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
44291         for POWER.
44292         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
44293         powerpc/power5/fpu folders.
44294         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
44295         * benchtests/Makefile: Add modf testcase.
44296         * benchtests/bench-modf.c: New file: Benchmark test for mo
44298 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
44300         [BZ #14888]
44301         * time/Makefile (tests): Add tst-strptime-whitespace.
44302         * time/strptime_l.c (get_number): Use ISSPACE.
44303         (__strptime_internal): Likewise.
44304         * time/tst-strptime-whitespace.c: New test case.
44306 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
44308         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
44309         member.
44310         (_nss_files_init): Set it here.
44312 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
44314         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
44315         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
44316         unsigned.
44318 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
44320         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
44322 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
44324         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
44325         size just once.
44327 2013-04-21  David S. Miller  <davem@davemloft.net>
44329         * po/ru.po: Update Russion translation from translation project.
44331 2013-04-17  Adam Conrad  <adconrad@0c3.net>
44333         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
44334         and setfsgid.
44336 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
44338         * configure.in: Remove i386 configure warning. Remove i386 case.
44339         * configure: Regenerate.
44340         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
44341         Add example to error message.
44342         * sysdeps/i386/configure: Regenerate.
44344 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
44346         * benchtests/Makefile (bench): Add cos, tan, slowcos and
44347         slowtan.
44348         * benchtests/cos-inputs: New file.
44349         * benchtests/slowcos-inputs: New file.
44350         * benchtests/slowcos.c: New file.
44351         * benchtests/slowtan-inputs: New file.
44352         * benchtests/slowtan.c: New file.
44353         * benchtests/tan-inputs: New file.
44355 2013-04-16  Roland McGrath  <roland@hack.frob.com>
44357         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
44358         considered kosher.
44360 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
44362         * benchtests/Makefile: Include cppflags-iterator.mk to add
44363         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
44365         * Makefile.in (bench-clean): New target.
44366         * benchtests/Makefile (bench-clean): Likewise.
44368 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
44370         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
44372 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
44374         * stdio-common/tstdiomisc.c: Fix coding-style violation.
44376 2013-04-15  Andreas Schwab  <schwab@suse.de>
44378         * nscd/grpcache.c (cache_addgr): Properly check for short write.
44379         * nscd/initgrcache.c (addinitgroupsX): Likewise.
44380         * nscd/pwdcache.c (cache_addpw): Likewise.
44381         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
44382         more than recsize.
44384 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
44386         * benchtests/Makefile (bench): Write all output to
44387         bench-out.tmp together.
44389 2013-04-15  Andreas Schwab  <schwab@suse.de>
44391         * nscd/nscd.c (main): Don't fork again after closing files.
44393 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
44395         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
44397         * benchtests/Rules (bench-deps): Collect dependencies into a
44398         single variable.  Add Makefile to dependencies.
44399         ($(objpfx)bench-%.c): Depend on bench-deps.
44401 2013-04-12  Roland McGrath  <roland@hack.frob.com>
44402             Xavier Roche  <roche+kml2@exalead.com>
44404         [BZ #15361]
44405         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
44406         just that it's a file descriptor.
44407         * manual/llio.texi (Synchronizing AIO Operations): Update description
44408         for EBADF error from aio_fsync.
44410 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
44412         * Rules (bench): Move target definition...
44413         * benchtests/Makefile: ... here.
44415 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
44417         * math/libm-test.inc (cos_test): Fix PI/2 test.
44418         (sincos_test): Likewise.
44419         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
44420         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
44422 2013-04-11  Andreas Schwab  <schwab@suse.de>
44424         [BZ #13988]
44425         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
44426         accept exponent character only when digits were seen.
44427         * stdio-common/Makefile (tests): Add bug26.
44428         * stdio-common/bug26.c: New file.
44430         [BZ #14293]
44431         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
44432         non-freeable.
44434 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
44436         * Makeconfig (rtld-prefix): Define built linker prefix.
44437         * Rules (run-bench): Use it.
44438         * math/Makefile (run-regen-ulps): Likewise.
44440         * Rules (bench): Remove eval.
44442 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
44443             Roland McGrath  <roland@hack.frob.com>
44444             Ondrej Bilka  <neleai@seznam.cz>
44446         [BZ #15346]
44447         * time/getdate.c: Include ctype.h and alloca.h.
44448         (__getdate_r): Trim leading and trailing spaces of input.
44449         * time/tst-getdate.c (tests): Add tests with leading and
44450         trailing spaces.
44452 2013-04-08  Roland McGrath  <roland@hack.frob.com>
44454         [BZ #14280]
44455         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
44456         when computing value.
44458 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
44460         * math/README.libm-test (How can I generate "libm-test-ulps"?):
44461         Use testrun.sh to run libm tests.
44463         [BZ #15309]
44464         * elf/dl-open.c (dl_open_worker): memset all of seen array.
44466 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
44468         [BZ #15264]
44469         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
44471 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
44473         * Makefile.in (regen-ulps): New target.
44474         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
44475         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
44476         [ifneq (no,$(PERL)] (regen-ulps): New target.
44477         [ifeq (no,$(PERL)] (regen-ulps): New target.
44478         * math/libm-test.inc (ulps_file_name): Define.
44479         (output_dir): New variable.
44480         (options): Add "output-dir" option.
44481         (parse_opt): Handle 'o' case.
44482         (main): If output_dir is non-NULL use it as a prefix
44483         otherwise use "".
44484         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
44486 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
44488         [BZ #10060, #10062]
44489         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
44490         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
44491         fail configure if __sync_val_compare_and_swap is not inlined.
44492         * sysdeps/i386/configure: Regenerate.
44493         * configure.in: Build for i686 when configured for i386.
44494         * configure: Regenerate.
44495         * README: Remove i386 reference.
44497 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
44499         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
44500         * sysdeps/s390/s390-64/sysdep.h: Likewise.
44502 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
44504         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
44505         (lmsnanval): New variables.
44506         (F): Add conversion tests.
44507         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
44508         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
44510         * stdio-common/tstdiomisc.c (F): Properly collect individual
44511         tests' results.
44513         [BZ #14686, #15336]
44514         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
44515         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
44516         Instead, use input NaN values or generate a qNaN by arithmetic
44517         operation.  Also fix bugs to comply with the standard.
44518         * math/libm-test.inc (remainder_test): Add more tests.
44520         [BZ #15335, #15342]
44521         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
44522         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
44523         input NaN values or generate a qNaN by arithmetic operation.
44525         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
44526         unreachable code.
44528         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
44529         definitions.
44531 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
44533         [BZ #14478]
44534         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
44535         underflowed result.
44536         * math/s_cexpf.c (__cexpf): Likewise.
44537         * math/s_cexpl.c (__cexpl): Likewise.
44538         * math/libm-test.inc (cexp_test): Add more tests.
44540 2013-04-03  Andreas Schwab  <schwab@suse.de>
44542         [BZ #15330]
44543         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
44544         order arrays from heap if bigger than alloca cutoff.
44546 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
44548         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
44549         (SNAN_TESTS_double): Refer to GCC PR56831.
44550         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
44551         GCC PR56828.
44553 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
44555         * Rules (bench): Move bench.out after the run is complete.
44557         * Rules (bench): Echo currently running benchmark.
44559         * benchtests/Makefile (bench): Add atan and slowatan.
44560         * benchtests/atan-inputs: New file.
44561         * benchtests/slowatan-inputs: New file.
44562         * benchtests/slowatan.c: New file.
44564         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
44565         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
44566         its value.
44568         [BZ #15305]
44569         * sysdeps/unix/sysv/linux/kernel-features.h
44570         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
44571         __ASSUME_XFS_RESTRICTED_CHOWN.
44572         * sysdeps/unix/sysv/linux/pathconf.c
44573         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
44574         Save and restore errno.
44576 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
44578         [BZ #15327]
44579         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
44580         arguments using __kernel_casinh.
44581         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
44582         arguments using __kernel_casinhf.
44583         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
44584         arguments using __kernel_casinhl.
44585         * math/libm-test.inc (cacosh_test): Add more tests.
44586         * sysdeps/i386/fpu/libm-test-ulps: Update.
44587         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44589 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
44591         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
44592         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
44594         * bench/Makefile (bench): Add sin and slowsin.
44595         * benchtests/sin-inputs: New file.
44596         * benchtests/slowsin-inputs: New file.
44597         * benchtests/slowsin.c: New file.
44599         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
44600         (bench): Add slowexp and slowpow.
44601         (exp-ITER): Increase iterations.
44602         (pow-ITER): Likewise.
44603         * benchtests/exp-inputs: Change input.
44604         * benchtests/pow-inputs: Likewise.
44605         * benchtests/slowexp-inputs: New file.
44606         * benchtests/slowexp.c: New file.
44607         * benchtests/slowpow-inputs: New file.
44608         * benchtests/slowpow.c: New file.
44610 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44612         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
44613         instructions.
44614         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
44615         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
44616         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
44617         * benchtests/Makefile: Add rint benchtest.
44618         * benchtests/rint-inputs: Input for rint benchtest.
44620 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
44622         * Versions.def (libm): Add GLIBC_2.18.
44623         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
44624         hidden libm prototypes.
44625         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
44626         * math/Makefile (libm-calls): Add s_issignaling.
44627         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
44628         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
44629         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
44630         declaration.
44631         * math/math.h [__USE_GNU] (issignaling): New macro.
44632         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
44633         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
44634         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
44635         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
44636         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
44637         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
44638         * manual/arith.texi (issignaling): New section.
44639         * manual/libm-err-tab.pl (@all_functions): Update comment.
44640         * math/gen-libm-test.pl (parse_args): Apply special handling for
44641         issignaling.
44642         * math/libm-test.inc (print_float, issignaling_test): New
44643         functions.
44644         (check_float_internal): Add issignaling checks.
44645         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
44646         default definition.
44647         * sysdeps/powerpc/math-tests.h: New file.
44648         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
44649         tests.
44650         * math/test-snan.c (TEST_FUNC): Likewise.
44652 2013-03-30  David S. Miller  <davem@davemloft.net>
44654         * po/de.po: Update from translation team.
44656 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
44658         [BZ #10357]
44659         * math/k_casinh.c (__kernel_casinh): Handle arguments with
44660         imaginary part less than 1.0 and real part less than 0.5
44661         specially.
44662         * math/k_casinhf.c (__kernel_casinhf): Likewise.
44663         * math/k_casinhl.c (__kernel_casinhl): Likewise.
44664         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
44665         (cacos_test): Add more tests.
44666         (casin_test): Likewise.
44667         (casinh_test): Likewise.
44668         * sysdeps/i386/fpu/libm-test-ulps: Update.
44669         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44671 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
44673         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
44674         ONE with its value.
44676         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
44677         (__pow_mp): Replace ONE and MONE with their values.
44678         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
44679         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
44680         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
44681         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
44682         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
44683         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
44685         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
44687         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
44688         (__pow_mp): Replace ZERO and MZERO with their values.
44689         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
44690         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
44691         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
44692         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
44693         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
44694         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
44695         (__sqr): Likewise.
44697         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
44699         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
44701 2013-03-28  Roland McGrath  <roland@hack.frob.com>
44703         * include/stdlib.h [!SHARED] (__call_tls_dtors):
44704         Declare with __attribute__ ((weak)).
44705         * stdlib/exit.c (__libc_atexit) [!SHARED]:
44706         Call __call_tls_dtors only if it's not NULL.
44708 2013-03-28  Roland McGrath  <roland@hack.frob.com>
44710         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
44711         didn't do it already, then set _dl_phdr and _dl_phnum based on the
44712         magic __ehdr_start linker symbol if it's defined.
44713         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
44714         them up here if it was already done.
44716         * elf/dl-support.c (_dl_phdr): Make pointer to const.
44717         (_dl_aux_init): Use const in cast when setting it.
44718         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
44719         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
44720         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
44722         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
44723         Declare them here.
44724         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
44725         * csu/libc-tls.c: Nor here.
44726         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
44728         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
44729         (__libc_message): Never call vsyslog.
44731 2013-03-28  Alan Modra  <amodra@gmail.com>
44733         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
44734         Define as empty.
44735         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
44736         Likewise.
44738 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44740         [BZ #15214]
44741         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
44742         underflow.
44743         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44745 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44747         [BZ #15304]
44748         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
44749         Don't add gid passed as argument.
44751         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
44753 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
44755         [BZ #15307]
44756         * math/k_casinh.c (__kernel_casinh): Handle arguments with
44757         imaginary part between 1.0 and 1.5 and real part less than 0.5
44758         specially.
44759         * math/k_casinhf.c (__kernel_casinhf): Likewise.
44760         * math/k_casinhl.c (__kernel_casinhl): Likewise.
44761         * math/libm-test.inc (cacos_test): Add more tests.
44762         (casin_test): Likewise.
44763         (casinh_test): Likewise.
44764         * sysdeps/i386/fpu/libm-test-ulps: Update.
44765         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44767 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
44769         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
44770         constants.
44771         (norm): Likewise.
44772         (denorm): Likewise.
44773         (__dbl_mp): Likewise.
44774         (add_magnitudes): Likewise.
44775         (sub_magnitudes): Likewise.
44776         (__add): Likewise.
44777         (__sub): Likewise.
44778         (__mul): Likewise.
44779         (__sqr): Likewise.
44780         (__inv): Likewise.
44781         (__dvd): Likewise.
44783         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
44784         commented code.
44785         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
44786         (__dubcos): Likewise.
44787         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
44788         (__ieee754_acos): Likewise.
44789         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
44790         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
44791         (__exp1): Likewise.
44792         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
44793         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
44794         (log1): Likewise.
44795         (my_log2): Likewise.
44796         (checkint): Likewise.
44797         * sysdeps/ieee754/dbl-64/e_remainder.c
44798         (__ieee754_remainder): Likewise.
44799         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
44800         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
44801         (bsloww): Likewise.
44802         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
44804         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
44805         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
44806         MANTISSA_STORE_T to store computations on mantissa.  Use
44807         macros for rounding and division.
44808         (denorm): Likewise.
44809         (__dbl_mp): Likewise.
44810         (add_magnitudes): Likewise.
44811         (sub_magnitudes): Likewise.
44812         (__mul): Likewise.
44813         (__sqr): Likewise.
44814         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
44815         powers of two in terms of TWOPOW macro.
44816         (mp_no): Make type of mantissa as MANTISSA_T.
44817         [!RADIXI]: Define RADIXI.
44818         [!TWO52]: Define TWO52.
44819         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
44821 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44823         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
44824         llroundl symbol when building for PPC32.
44826 2013-03-24  Mark H Weaver  <mhw@netris.org>
44828         * manual/arith.texi (Normalization Functions): Fix prototypes for
44829         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
44831 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44833         [BZ #13889]
44834         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
44835         high value to check if expl overflow.
44836         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
44837         to check for underflow and overflow.
44838         * math/libm-test.inc: Add exp test.
44840 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
44842         [BZ #11120]
44843         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
44844         with NOT_IN_libc.
44846 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44848         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
44849         symbol.
44851 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
44853         * math/gen-libm-test.pl (parse_args, special_functions): Properly
44854         wrap blocks consisting of several statements.
44856         * sysdeps/generic/math-tests.h: New file.
44857         * sysdeps/i386/fpu/math-tests.h: Likewise.
44858         * math/test-snan.c: Include it.
44859         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
44861 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
44863         [BZ #15285]
44864         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
44865         (__ieee754_j0l): Do not improve calculations using cos of twice
44866         input for inputs above LDBL_MAX / 2.0L.
44867         (__ieee754_y0l): Likewise.
44868         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
44869         (__ieee754_j1l): Do not improve calculations using cos of twice
44870         input for inputs above LDBL_MAX / 2.0L.
44871         (__ieee754_y1l): Likewise.
44872         * math/libm-test.inc (j0_test): Add another test.
44873         (j1_test): Likewise.
44874         (y0_test): Likewise.
44875         (y1_test): Likewise.
44876         * sysdeps/i386/fpu/libm-test-ulps: Update.
44878 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
44880         * Rules ($(objpfx)bench-%.c): Include code from a C source
44881         file.
44883 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
44885         [BZ #15287]
44886         * math/k_casinh.c (__kernel_casinh): Handle arguments with
44887         imaginary part 1.0 and real part less than 0.5 specially.
44888         * math/k_casinhf.c (__kernel_casinhf): Likewise.
44889         * math/k_casinhl.c (__kernel_casinhl): Likewise.
44890         * math/libm-test.inc (cacos_test): Add more tests.
44891         (casin_test): Likewise.
44892         (casinh_test): Likewise.
44893         * sysdeps/i386/fpu/libm-test-ulps: Update.
44894         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44896 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
44898         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
44899         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
44901 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
44903         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
44904         * config.make.in (config-cflags-sse4): Remove variable.
44905         (config-cflags-avx): Likewise.
44906         (config-cflags-sse2avx): Likewise.
44907         (config-cflags-novzeroupper): Likewise.
44908         (config-asflags-i686): Likewise.
44909         (have-mfma4): Likewise.
44910         (have-as-vis3): Likewise.
44911         (MIG): Likewise.
44912         * configure.in (MIG): Do not AC_SUBST.
44913         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
44914         (libc_cv_cc_sse4): Do not AC_SUBST.
44915         (libc_cv_cc_avx): Likewise.
44916         (libc_cv_cc_sse2avx): Likewise.
44917         (libc_cv_cc_novzeroupper): Likewise.
44918         (libc_cv_cc_fma4): Likewise.
44919         (libc_cv_as_i686): Likewise.
44920         (libc_cv_sparc_as_vis3): Likewise.
44921         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
44922         LIBC_CONFIG_VAR.
44923         (config-asflags-i686): Likewise.
44924         (config-cflags-avx): Likewise.
44925         (config-cflags-sse2avx): Likewise.
44926         (have-mfma4): Likewise.
44927         (config-cflags-novzeroupper): Likewise.
44928         * sysdeps/mach/configure.in (MIG): Likewise.
44929         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
44930         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
44931         LIBC_CONFIG_VAR.
44932         (config-cflags-avx): Likewise.
44933         (config-cflags-sse2avx): Likewise.
44934         (have-mfma4): Likewise.
44935         (config-cflags-novzeroupper): Likewise.
44936         * configure: Regenerated.
44937         * sysdeps/i386/configure: Likewise.
44938         * sysdeps/mach/configure: Likewise.
44939         * sysdeps/sparc/configure: Likewise.
44940         * sysdeps/x86_64/configure: Likewise.
44942 2013-03-20  Roland McGrath  <roland@hack.frob.com>
44944         [BZ #14812]
44945         * locale/programs/localedef.c (options): Put N_ translation marker
44946         on argument names, not just descriptions.
44948 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
44950         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
44952 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
44954         [BZ #14176]
44955         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
44957 2013-03-19  Roland McGrath  <roland@hack.frob.com>
44959         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
44960         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
44961         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
44962         [!BEFORE_ABORT] (before_abort): New function.
44963         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
44964         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
44965         (writev_for_fatal): New function.
44966         (WRITEV_FOR_FATAL): New macro; call that.
44967         (backtrace_and_maps): New function.
44968         (BEFORE_ABORT): New macro; call that.
44969         (struct str_list): Type removed.
44970         (__libc_message, __libc_fatal): Functions removed.
44971         Include <sysdeps/posix/libc_fatal.c> instead.
44973 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
44975         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
44976         constants.
44977         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
44978         double constants.
44980 2013-03-19  Andreas Schwab  <schwab@suse.de>
44982         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
44983         * sysdeps/gnu/configure: Regenerate.
44985         * configure.in: Substitute libc_cv_rtlddir.
44986         * configure: Regenerate.
44987         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
44988         * Makeconfig (rtlddir, inst_rtlddir): New variables.
44989         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
44990         * elf/Makefile (install-others, CFLAGS-interp.c)
44991         (ldso_install, common-ldd-rewrite): Likewise.
44992         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
44993         $(inst_slibdir)/$(rtld-installed-name).
44994         * scripts/rellns-sh: Add -p option.
44995         * Makerules (make-shlib-link): Use rellns-sh to get relative name
44996         for source.
44998 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
45000         * manual/nptl.texi: Renamed to ...
45001         * manual/threads.texi: ... this.
45002         * manual/Makefile (chapters): Update.
45004 2013-03-18  Roland McGrath  <roland@hack.frob.com>
45006         [BZ #14812]
45007         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
45008         on argument names, not just descriptions.
45009         * malloc/memusagestat.c (options): Likewise.
45010         * nss/getent.c (options): Likewise.
45012 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
45014         [BZ #14812]
45015         * iconv/iconv_prog.c (options): Put N_ translation marker
45016         on argument names, not just descriptions.
45017         * iconv/iconvconfig.c (options): Likewise.
45019 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
45021         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
45022         implementation which is faster on all x86_64 architectures.
45023         Tested on AMD, Intel Nehalem, SNB, IVB.
45024         * sysdeps/x86_64/strnlen.S: Likewise.
45026         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
45027         Remove all multiarch strlen and strnlen versions.
45028         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
45029         Remove strlen and strnlen related parts.
45031         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
45032         Inline strlen part.
45033         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
45035         * sysdeps/x86_64/multiarch/strlen.S: Remove.
45036         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
45037         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
45038         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
45039         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
45040         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
45042 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
45044         * manual/memory.texi (Malloc Tunable Parameters):
45045         Sort parameters alphabetically. Add comments for missing entries.
45047 2013-03-17  David S. Miller  <davem@davemloft.net>
45049         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45051 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
45053         [BZ #15283]
45054         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
45055         for arguments at most half maximum finite value.
45056         * math/libm-test.inc (j0_test): Add more tests.
45057         (j1_test): Likewise.
45058         (y0_test): Likewise.
45059         (y1_test): Likewise.
45060         * sysdeps/i386/fpu/libm-test-ulps: Update.
45061         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45063         [BZ #14155]
45064         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
45065         1 / x and functions P and Q for arguments above 0x1p256L.
45066         (__ieee754_y0l): Likewise.
45067         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
45068         (__ieee754_y1l): Likewise.
45069         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
45070         (j1_test): Likewise.
45071         (y0_test): Likewise.
45072         (y1_test): Likewise.
45074 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
45076         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
45077         variable.
45079 2013-03-15  Roland McGrath  <roland@hack.frob.com>
45081         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
45082         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
45083         zero since it's initialized to EXEC_PAGESIZE.
45085         * sysdeps/unix/sysv/linux/ldsodefs.h
45086         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
45087         * sysdeps/generic/ldsodefs.h: ... here.
45089 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
45091         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
45093         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
45094         math/test-snan.c.
45095         * math/test-snan.c: Renamed from
45096         sysdeps/powerpc/fpu/test-powerpc-snan.c.
45097         * math/Makefile (tests): Add test-snan.
45098         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
45099         test-powerpc-snan.
45101         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
45102         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
45103         functions.
45104         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
45105         __builtin_nan family of functions.
45106         * math/libm-test.inc (initialize): Initialize qnan_value with
45107         __builtin_nan family of functions.
45108         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
45109         Remove variables.
45110         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
45111         Remove functions.
45112         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
45113         storage class.  Initialize qNaN_var and sNaN_var with
45114         __builtin_nan and __builtin_nans families of functions,
45115         respectively.
45117         * math/libm-test.inc (acosh_test): Also test with qNaN input.
45118         (sqrt_test): Remove duplicate test with qNaN input.
45119         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
45120         (round_test, signbit_test, significand_test): Note missing +/-Inf
45121         as well as qNaN tests.
45123         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
45124         qNaN_var.  Fix a few strings, too.
45125         * math/libm-test.inc (nan_value): Rename to qnan_value.
45126         * math/gen-libm-test.pl (%beautify): Adjust to that.
45127         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
45128         * math/test-misc.c (main): Likewise.
45129         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
45130         to __qnan_bytes, and __qnan_union, respectively.
45131         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
45132         Likewise.
45133         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
45134         and lqnanval, respectively.
45135         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
45136         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
45137         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
45138         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
45140         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
45141         * math/test-misc.c (main) [__x86_64__]: Enable test for long
45142         doubles.
45144         * math/test-misc.c (main): Fix copy'n'pastos.
45145         * misc/tst-efgcvt.c (special): Likewise.
45147         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
45148         Remove declarations.
45150 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
45152         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
45153         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
45154         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
45155         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
45157 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45159         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
45160         macro to return vdso values correctly in IFUNC implementations.
45161         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
45162         Optimization by using IFUNC.
45164 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
45165             Richard Henderson  <rth@redhat.com>
45166             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
45168         * Makefile.in (bench): New target.
45169         * NEWS: Mention the benchmark framework.
45170         * Rules (bench): Likewise.
45171         (binaries-bench): Generate binaries for functions to
45172         benchmark.
45173         * benchtests/Makefile: New makefile for benchmark tests.
45174         * benchtests/bench-skeleton.c: New skeleton file for benchmark
45175         programs.
45176         * benchtests/exp-inputs: New input file for EXP function.
45177         * benchtests/pow-inputs: New input file for POW function.
45178         * scripts/bench.pl: New script to generate source files for
45179         benchmark programs.
45181 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
45183         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
45184         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
45185         computations on mantissa.  Use macros for rounding and
45186         division.
45187         (denorm): Likewise.
45188         (__dbl_mp): Likewise.
45189         (add_magnitudes): Likewise.
45190         (sub_magnitudes): Likewise.
45191         (__mul): Likewise.
45192         (__sqr): Likewise.
45193         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
45194         powers of two in terms of TWOPOW macro.
45195         (mp_no): Make type of mantissa as MANTISSA_T.
45196         [!RADIXI]: Define RADIXI.
45197         [!TWO52]: Define TWO52.
45198         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
45200         * manual/nptl.texi (cindex): Modify threads to pthreads.
45202 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
45204         * sysdeps/x86_64/preconfigure: Regenerated.
45206 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
45208         [BZ #14155]
45209         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
45210         0x1p28 and above.
45211         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
45212         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
45213         0x1p28 and above.
45214         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
45215         * math/libm-test.inc (j0_test): Do not allow one spurious
45216         underflow exception.
45217         (y1_test): Likewise.
45219 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
45221         * manual/Makefile (chapters): Add nptl.
45222         * manual/debug.texi (Debugging Support): Add link to Threads
45223         chapter.
45224         * manual/nptl.texi: New file.
45226         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
45228 2013-03-14  Petr Baudis  <pasky@ucw.cz>
45230         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
45231         for non-NULL pointer before the memory validity test. Pointed
45232         out by Holger Brunck <holger.brunck@keymile.com>.
45234 2013-03-13  Andreas Schwab  <schwab@suse.de>
45236         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
45237         instead of .os.
45239 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
45241         * timezone/zic.c: Update from tzcode 2013b.
45243 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
45245         * manual/install.texi (Configuring and compiling):
45246         Mention i686 and i586.
45247         * INSTALL: Regenerate.
45249 2013-03-12  Roland McGrath  <roland@hack.frob.com>
45251         * sysdeps/init_array/elf-init.c: New file.
45252         * csu/elf-init.c
45253         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
45254         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
45256         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
45257         __gmon_start__ as global, but as static with a .preinit_array pointer.
45258         * sysdeps/init_array/gmon-start.c: New file.  Use that.
45259         * sysdeps/init_array/crti.S: New file, empty except for comments.
45260         * sysdeps/init_array/crtn.S: Likewise.
45262 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
45264         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
45265         definining bcopy.
45266         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45267         Remove Prefer_SSE_for_memop.
45268         * sysdeps/x86_64/multiarch/init-arch.h: Remove
45269         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
45270         HAS_PREFER_SSE_FOR_MEMOP.
45271         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
45272         memset-x86-64.
45273         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
45274         Remove bzero, memset ifunc support.
45275         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
45276         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
45277         * sysdeps/x86_64/multiarch/memset.S: Likewise.
45278         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
45280 2013-03-11  Andreas Schwab  <schwab@suse.de>
45282         [BZ #15234]
45283         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
45284         by SHLIB_COMPAT.
45285         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
45286         (GLIBC_2.16): Remove pthread_atfork.
45288 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
45290         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
45291         (ptestcases.h): Likewise.
45293 2013-03-08  Roland McGrath  <roland@hack.frob.com>
45295         * Makeconfig ($(common-objpfx)config.status): Depend on
45296         sysdeps/*/preconfigure{,.in} too.
45298 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
45300         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
45301         (__free_hook): Use void * instead of __malloc_ptr_t.
45302         (__malloc_hook): Likewise.
45303         (__realloc_hook): Likewise.
45304         (__memalign_hook): Likewise.
45305         (__after_morecore_hook): Likewise.
45306         * malloc/arena.c (save_malloc_hook): Likewise.
45307         (save_free_hook): Likewise.
45308         * malloc/hooks.c (malloc_hook_ini): Likewise.
45309         (realloc_hook_ini): Likewise.
45310         (memalign_hook_ini): Likewise.
45311         * malloc/malloc.c (malloc_hook_ini): Likewise.
45312         (realloc_hook_ini): Likewise.
45313         (memalign_hook_ini): Likewise.
45314         (__free_hook): Likewise.
45315         (__malloc_hook): Likewise.
45316         (__realloc_hook): Likewise.
45317         (__memalign_hook): Likewise.
45318         (__libc_malloc): Likewise.
45319         (__libc_free): Likewise.
45320         (__libc_realloc): Likewise.
45321         (__libc_memalign): Likewise.
45322         (__libc_valloc): Likewise.
45323         (__libc_pvalloc): Likewise.
45324         (__libc_calloc): Likewise.
45325         (__posix_memalign): Likewise.
45326         * malloc/morecore.c (__sbrk): Likewise.
45327         (__default_morecore): Likewise.
45329         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
45331         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
45332         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
45333         __malloc_ptrdiff_t.
45335         * malloc/malloc.h (__malloc_size_t): Remove macro.
45336         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
45337         __malloc_size_t.
45338         (old_memalign_hook): Likewise.
45339         (old_realloc_hook): Likewise.
45340         (struct hdr): Likewise.
45341         (flood): Likewise.
45342         (mallochook): Likewise.
45343         (memalignhook): Likewise.
45344         (reallochook): Likewise.
45345         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
45346         (tr_old_realloc_hook): Likewise.
45347         (tr_old_memalign_hook): Likewise.
45348         (tr_mallochook): Likewise.
45349         (tr_reallochook): Likewise.
45350         (tr_memalignhook): Likewise.
45352 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45354         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
45355         default_ldbl_pack and using as default implementation.
45356         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
45357         implementation.
45358         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
45359         redundant definition.
45360         (ldbl_insert_mantissa): Likewise.
45361         (ldbl_canonicalize): Likewise.
45362         (ldbl_nearbyint): Likewise.
45363         (ldbl_pack): Rename to ldbl_pack_ppc.
45364         (ldbl_unpack): Rename to ldbl_unpack_ppc.
45365         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
45366         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
45368 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
45370         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
45371         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
45372         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
45373         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
45374         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
45375         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
45376         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
45377         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
45379 2013-03-07  Andreas Jaeger  <aj@suse.de>
45381         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45382         bits/mman-linux.h.
45384 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
45386         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
45387         Include mpa.h and declare __MPEXP.
45388         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
45389         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
45390         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
45391         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
45392         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
45393         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
45394         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
45396         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
45397         (__slowpow): Use long double EXPL and LOGL functions to
45398         compute POW.
45399         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
45400         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
45401         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
45402         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
45403         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
45404         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
45406         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
45407         intermediate variable to calculate exponent.
45408         (__sqr): Likewise.
45409         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
45410         Likewise.
45411         (__sqr): Likewise.
45413         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
45414         [!NO__SQR]: Define __sqr.
45415         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
45416         and NO__SQR.  Remove all code except __mul and __sqr.  Include
45417         sysdeps/ieee754/dbl-64/mpa.c.
45418         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
45420         [BZ #12723]
45421         * posix/Makefile (tests): Add tst-pathconf.
45422         * posix/tst-pathconf.c: New test case.
45423         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
45424         _PC_PIPE_BUF.
45425         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
45427 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
45429         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
45431 2013-03-06  Andreas Jaeger  <aj@suse.de>
45433         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
45434         definition via __MAP_ANONYMOUS.
45436         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
45437         it's not part of Linux headers.
45439         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
45440         (MAP_HUGE_MASK): Define.
45442         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
45443         Define.
45444         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
45445         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
45446         Define.
45447         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
45448         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
45449         Define.
45450         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
45451         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
45452         Define.
45453         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
45455         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
45456         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
45457         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
45458         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
45459         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
45460         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
45462         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
45463         Handle f2fs.
45465         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45466         Handle f2fs and efivarfs.
45468         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
45469         f2fs.
45471         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
45472         (EFIVARFS_MAGIC): Add.
45473         (F2FS_LINK_MAX): Add.
45475 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
45477         * stdio-common/vfprintf.c: Replace __builtin_expect with
45478         __glibc_unlikely.
45480 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
45482         [BZ #13550]
45483         * sysdeps/generic/bp-sym.h: Remove file.
45484         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
45485         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
45486         <bp-sym.h> and <bp-asm.h>.
45487         (__longjmp): Don't use BP_SYM.
45488         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
45489         and <bp-asm.h>.
45490         (memcpy): Don't use BP_SYM.
45491         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
45492         <bp-sym.h> and <bp-asm.h>.
45493         (memcpy): Don't use BP_SYM.
45494         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
45495         <bp-asm.h>.
45496         (memcpy): Don't use BP_SYM.
45497         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
45498         <bp-asm.h>.
45499         (memset): Don't use BP_SYM.
45500         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
45501         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
45502         (__bzero): Don't use BP_SYM.
45503         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
45504         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
45505         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
45506         <bp-sym.h> and <bp-asm.h>.
45507         (memcmp): Don't use BP_SYM.  Remove comment about bounded
45508         pointers.
45509         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
45510         <bp-sym.h> and <bp-asm.h>.
45511         (memcpy): Don't use BP_SYM.
45512         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
45513         <bp-sym.h> and <bp-asm.h>.
45514         (memset): Don't use BP_SYM.
45515         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
45516         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
45517         (__bzero): Don't use BP_SYM.
45518         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
45519         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
45520         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
45521         <bp-sym.h> and <bp-asm.h>.
45522         (strncmp): Don't use BP_SYM.  Remove comment about bounded
45523         pointers.
45524         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
45525         <bp-sym.h> and <bp-asm.h>.
45526         (memcpy): Don't use BP_SYM.
45527         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
45528         <bp-sym.h> and <bp-asm.h>.
45529         (memset): Don't use BP_SYM.
45530         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
45531         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
45532         (__bzero): Don't use BP_SYM.
45533         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
45534         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
45535         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
45536         <bp-sym.h> and <bp-asm.h>.
45537         (__memchr): Don't use BP_SYM.
45538         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
45539         <bp-sym.h> and <bp-asm.h>.
45540         (memcmp): Don't use BP_SYM.  Remove comment about bounded
45541         pointers.
45542         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
45543         <bp-sym.h> and <bp-asm.h>.
45544         (memcpy): Don't use BP_SYM.
45545         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
45546         <bp-sym.h> and <bp-asm.h>.
45547         (__mempcpy): Don't use BP_SYM.
45548         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
45549         <bp-sym.h> and <bp-asm.h>.
45550         (__memrchr): Don't use BP_SYM.
45551         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
45552         <bp-sym.h> and <bp-asm.h>.
45553         (memset): Don't use BP_SYM.
45554         (__bzero): Likewise.
45555         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
45556         <bp-sym.h> and <bp-asm.h>.
45557         (__rawmemchr): Don't use BP_SYM.
45558         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
45559         <bp-sym.h> and <bp-asm.h>.
45560         (__STRCMP): Don't use BP_SYM.
45561         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
45562         <bp-sym.h> and <bp-asm.h>.
45563         (strchr): Don't use BP_SYM.
45564         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
45565         <bp-sym.h> and <bp-asm.h>.
45566         (__strchrnul): Don't use BP_SYM.
45567         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
45568         <bp-sym.h> and <bp-asm.h>.
45569         (strlen): Don't use BP_SYM.
45570         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
45571         <bp-sym.h> and <bp-asm.h>.
45572         (strncmp): Don't use BP_SYM.  Remove comment about bounded
45573         pointers.
45574         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
45575         <bp-sym.h> and <bp-asm.h>.
45576         (__strnlen): Don't use BP_SYM.
45577         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
45578         <bp-sym.h> and <bp-asm.h>.
45579         (__GI__setjmp): Don't use BP_SYM.
45580         (_setjmp): Likewise.
45581         (__sigsetjmp): Likewise.
45582         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
45583         (L(start_addresses)): Don't use BP_SYM.
45584         (_start): Likewise.
45585         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
45586         <bp-asm.h>.
45587         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
45588         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
45589         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
45590         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
45591         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
45592         <bp-asm.h>.
45593         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
45594         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
45595         about bounded pointers.
45596         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
45597         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
45598         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
45599         <bp-asm.h>.
45600         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
45601         about bounded pointers.  Remove GKM FIXME comments.
45602         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
45603         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
45604         <bp-asm.h>.
45605         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
45606         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
45607         Remove GKM FIXME comments.
45608         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
45609         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
45610         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
45611         <bp-asm.h>.
45612         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
45613         about bounded pointers.  Remove GKM FIXME comment.
45614         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
45615         and <bp-asm.h>.
45616         (strncmp): Don't use BP_SYM.  Remove comment about bounded
45617         pointers.
45618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
45619         <bp-sym.h> and <bp-asm.h>.
45620         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
45621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
45622         <bp-sym.h> and <bp-asm.h>.
45623         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
45624         comment.
45626 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
45628         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
45629         call free(NULL).
45631 2013-03-05  David S. Miller  <davem@davemloft.net>
45633         * po/es.po: Update from translation team.
45635 2013-03-05  Andreas Jaeger  <aj@suse.de>
45637         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
45638         <bits/mman-linux.h>.
45639         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
45640         is fine.
45641         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
45642         <bits/mman-linux.h> to end of file.
45643         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
45644         is fine.
45645         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
45646         <bits/mman-linux.h> to end of file.
45647         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
45648         is fine.
45649         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
45650         <bits/mman-linux.h> to end of file.
45652         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
45653         (MCL_CURRENT, MCL_FUTURE): Define here.
45655 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45657         [BZ #15232]
45658         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
45659         attribute_hidden.
45660         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
45662 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45664         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
45665         fourth parameter needed for rt_sigprocmask syscall.
45666         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
45667         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
45668         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
45669         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
45670         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
45671         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
45673 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
45675         [BZ #13550]
45676         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
45677         comment about bounded pointers.
45678         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
45679         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
45681 2013-03-04  Andreas Jaeger  <aj@suse.de>
45683         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
45684         common definitions.
45686         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
45687         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
45688         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
45689         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
45690         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
45691         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
45693 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45695         [BZ #15055]
45696         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
45697         __ieee754_sqrl instead of __sqrl.
45699 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
45701         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
45702         * sysdeps/powerpc/fpu_control.h: ... here.
45703         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
45704         * sysdeps/powerpc/bits/fenvinline.h: ... here.
45705         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
45706         * sysdeps/powerpc/bits/mathinline.h: ... here.
45708 2013-03-01  Roland McGrath  <roland@hack.frob.com>
45710         * elf/dl-hwcaps.c (_dl_important_hwcaps):
45711         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
45712         to just [NEED_DL_SYSINFO_DSO].
45713         * elf/dl-support.c: Likewise.
45714         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
45715         * elf/rtld.c (dl_main): Likewise.
45716         * elf/setup-vdso.h (setup_vdso): Likewise.
45717         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
45718         * sysdeps/unix/sysv/linux/dl-sysdep.c
45719         (_dl_discover_osversion): Likewise.
45721 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
45723         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
45724         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
45726 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
45728         * NEWS: Mention libm performance improvements and non-x86 PI
45729         futex support.
45731         * csu/libc-start.c (__pthread_initialize_minimal): Change
45732         function arguments.
45733         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
45735 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
45737         [BZ #13550]
45738         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
45739         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
45740         <bp-sym.h> and <bp-asm.h>.
45741         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
45742         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
45743         and <bp-asm.h>.
45744         (memcpy): Don't use BP_SYM.
45745         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
45746         <bp-asm.h>.
45747         (__mpn_add_n): Don't use BP_SYM.
45748         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
45749         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
45750         and <bp-asm.h>.
45751         (__mpn_addmul_1): Don't use BP_SYM.
45752         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
45753         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
45754         <bp-sym.h>.
45755         (_setjmp): Don't use BP_SYM.
45756         (__novmx_setjmp): Likewise.
45757         (__GI__setjmp): Likewise.
45758         (__vmx_setjmp): Likewise.
45759         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
45760         <bp-sym.h>.
45761         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
45762         (__bzero): Don't use BP_SYM.
45763         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
45764         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
45765         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
45766         <bp-sym.h> and <bp-asm.h>.
45767         (memcpy): Don't use BP_SYM.
45768         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
45769         <bp-sym.h> and <bp-asm.h>.
45770         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
45771         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
45772         <bp-sym.h> and <bp-asm.h>.
45773         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
45774         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
45775         <bp-asm.h>.
45776         (__mpn_lshift): Don't use BP_SYM.
45777         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
45778         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
45779         <bp-asm.h>.
45780         (memset): Don't use BP_SYM.
45781         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
45782         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
45783         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
45784         <bp-asm.h>.
45785         (__mpn_mul_1): Don't use BP_SYM.
45786         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
45787         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
45788         <bp-sym.h> and <bp-asm.h>.
45789         (memcmp): Don't use BP_SYM.
45790         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
45791         <bp-sym.h> and <bp-asm.h>.
45792         (memcpy): Don't use BP_SYM.
45793         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
45794         <bp-sym.h> and <bp-asm.h>.
45795         (memset): Don't use BP_SYM.
45796         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
45797         <bp-sym.h> and <bp-asm.h>.
45798         (strncmp): Don't use BP_SYM.
45799         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
45800         <bp-sym.h> and <bp-asm.h>.
45801         (memcpy): Don't use BP_SYM.
45802         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
45803         <bp-sym.h> and <bp-asm.h>.
45804         (memset): Don't use BP_SYM.
45805         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
45806         <bp-sym.h> and <bp-asm.h>.
45807         (__memchr): Don't use BP_SYM.
45808         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
45809         <bp-sym.h> and <bp-asm.h>.
45810         (memcmp): Don't use BP_SYM.
45811         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
45812         <bp-sym.h> and <bp-asm.h>.
45813         (memcpy): Don't use BP_SYM.
45814         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
45815         <bp-sym.h> and <bp-asm.h>.
45816         (__mempcpy): Don't use BP_SYM.
45817         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
45818         <bp-sym.h> and <bp-asm.h>.
45819         (__memrchr): Don't use BP_SYM.
45820         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
45821         <bp-sym.h> and <bp-asm.h>.
45822         (memset): Don't use BP_SYM.
45823         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
45824         <bp-sym.h> and <bp-asm.h>.
45825         (__rawmemchr): Don't use BP_SYM.
45826         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
45827         <bp-sym.h> and <bp-asm.h>.
45828         (__STRCMP): Don't use BP_SYM.
45829         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
45830         <bp-sym.h> and <bp-asm.h>.
45831         (strchr): Don't use BP_SYM.
45832         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
45833         <bp-sym.h> and <bp-asm.h>.
45834         (__strchrnul): Don't use BP_SYM.
45835         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
45836         <bp-sym.h> and <bp-asm.h>.
45837         (strlen): Don't use BP_SYM.
45838         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
45839         <bp-sym.h> and <bp-asm.h>.
45840         (strncmp): Don't use BP_SYM.
45841         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
45842         <bp-sym.h> and <bp-asm.h>.
45843         (__strnlen): Don't use BP_SYM.
45844         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
45845         <bp-asm.h>.
45846         (__mpn_rshift): Don't use BP_SYM.
45847         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
45848         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
45849         <bp-sym.h> and <bp-asm.h>.
45850         (__sigsetjmp): Don't use BP_SYM.
45851         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
45852         (L(start_addresses)): Don't use BP_SYM.
45853         (_start): Likewise.
45854         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
45855         <bp-asm.h>.
45856         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
45857         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
45858         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
45859         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
45860         <bp-asm.h>.
45861         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
45862         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
45863         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
45864         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
45865         <bp-asm.h>.
45866         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
45867         comments.
45868         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
45869         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
45870         <bp-asm.h>.
45871         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
45872         FIXME comments.
45873         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
45874         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
45875         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
45876         <bp-asm.h>.
45877         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
45878         comment.
45879         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
45880         and <bp-asm.h>.
45881         (strncmp): Don't use BP_SYM,
45882         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
45883         <bp-asm.h>.
45884         (__mpn_sub_n): Don't use BP_SYM.
45885         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
45886         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
45887         and <bp-asm.h>.
45888         (__mpn_submul_1): Don't use BP_SYM.
45889         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
45890         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
45891         <bp-sym.h> and <bp-asm.h>.
45892         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
45893         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
45894         <bp-sym.h> and <bp-asm.h>.
45895         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
45896         comment.
45898 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
45900         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
45901         Use ZK to minimize writes to Z.
45902         (sub_magnitudes): Simplify code a bit.
45903         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
45904         Use ZK to minimize writes to Z.
45905         (sub_magnitudes): Simplify code a bit.
45907 2013-02-27  Roland McGrath  <roland@hack.frob.com>
45909         * csu/gmon-start.c: Add special exception to license text.
45911 2013-02-27  Richard Henderson  <rth@redhat.com>
45913         * scripts/config.guess: Update from config.git.
45914         * scripts/config.sub: Likewise.
45916 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
45918         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
45920         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
45922         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
45924         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
45926         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
45928 2013-02-26  Roland McGrath  <roland@hack.frob.com>
45930         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
45931         [$(build-shared = yes].
45933 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
45935         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
45936         (__mul): Reduce iterations for calculating mantissa.
45938         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
45939         MPTWO.
45940         (__mpranred): Likewise.
45942         [BZ #15160]
45943         * malloc/memusagestat.c (main): Draw graphs for heap and stack
45944         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
45946 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
45948         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
45949         Define __attribute__.
45951 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
45953         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
45954         unused.
45955         * posix/regex_internal.h (__attribute): Remove.
45956         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
45957         (re_string_context_at): Likewise.
45958         (bitset_not): Use __attribute__ and mark function as possibly
45959         unused.
45960         (bitset_merge): Likewise.
45961         (bitset_mask): Likewise.
45962         (re_string_char_size_at): Likewise.
45963         (re_string_wchar_at): Likewise.
45964         (re_string_elem_size_at): Likewise.
45966 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
45968         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
45969         code.
45970         (cc32): Likewise.
45972         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
45973         (__acr): Likewise.
45974         (__cpy): Likewise.
45975         (norm): Likewise.
45976         (denorm): Likewise.
45977         (__dbl_mp): Likewise.
45978         (add_magnitudes): Likewise.
45979         (sub_magnitudes): Likewise.
45980         (__mul): Likewise.
45981         (__inv): Likewise.
45983         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
45984         style.
45986         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
45987         style.
45989         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
45990         code.
45992         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
45993         up changes with default code.
45994         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
45995         Likewise.
45997 2013-02-24  Allan McRae  <allan@archlinux.org>
45999         * manual/socket.texi (The Internet Namespace): Order menu items
46000         to match that in the file.
46002         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
46003         node listing of the info page menu.
46005 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
46007         [BZ #13550]
46008         * sysdeps/i386/bp-asm.h: Remove file.
46009         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
46010         (PARMS): Do not use macros from bp-asm.h.
46011         (S1): Likewise.
46012         (S2): Likewise.
46013         (SIZE): Likewise.
46014         (__mpn_add_n): Do not use BP_SYM
46015         * sysdeps/i386/addmul_1.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         (SIZE): Likewise.
46020         (__mpn_addmul_1): Do not use BP_SYM
46021         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
46022         "bp-asm.h".
46023         (PARMS): Do not use macros from bp-asm.h.
46024         (SIGMSK): Likewise.
46025         (_setjmp): Likewise.  Do not use BP_SYM.
46026         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
46027         "bp-asm.h".
46028         (PARMS): Do not use macros from bp-asm.h.
46029         (SIGMSK): Likewise.
46030         (setjmp): Likewise.  Do not use BP_SYM.
46031         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
46032         "bp-asm.h".
46033         (PARMS): Do not use macros from bp-asm.h.
46034         (__frexp): Do not use BP_SYM.
46035         (frexp): Likewise.
46036         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
46037         "bp-asm.h".
46038         (PARMS): Do not use macros from bp-asm.h.
46039         (__frexpf): Do not use BP_SYM.
46040         (frexpf): Likewise.
46041         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
46042         "bp-asm.h".
46043         (PARMS): Do not use macros from bp-asm.h.
46044         (__frexpl): Do not use BP_SYM.
46045         (frexpl): Likewise.
46046         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
46047         "bp-asm.h".
46048         (PARMS): Do not use macros from bp-asm.h.
46049         (__remquo): Do not use BP_SYM.
46050         (remquo): Likewise.
46051         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
46052         "bp-asm.h".
46053         (PARMS): Do not use macros from bp-asm.h.
46054         (__remquof): Do not use BP_SYM.
46055         (remquof): Likewise.
46056         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
46057         "bp-asm.h".
46058         (PARMS): Do not use macros from bp-asm.h.
46059         (__remquol): Do not use BP_SYM.
46060         (remquol): Likewise.
46061         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
46062         "bp-asm.h".
46063         (PARMS): Do not use macros from bp-asm.h.
46064         (DEST): Likewise.
46065         (SRC): Likewise.
46066         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
46067         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
46068         "bp-asm.h".
46069         (PARMS): Do not use macros from bp-asm.h.
46070         (strlen): Do not use BP_SYM.
46071         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
46072         "bp-asm.h".
46073         (PARMS): Do not use macros from bp-asm.h.
46074         (S1): Likewise.
46075         (S2): Likewise.
46076         (SIZE): Likewise.
46077         (__mpn_add_n): Do not use BP_SYM.
46078         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
46079         "bp-asm.h".
46080         (PARMS): Do not use macros from bp-asm.h.
46081         (S1): Likewise.
46082         (SIZE): Likewise.
46083         (__mpn_addmul_1): Do not use BP_SYM.
46084         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
46085         weak_alias.
46086         (bzero): Likewise.
46087         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
46088         "bp-asm.h".
46089         (PARMS): Do not use macros from bp-asm.h.
46090         (S): Likewise.
46091         (SIZE): Likewise.
46092         (__mpn_lshift): Do not use BP_SYM.
46093         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
46094         "bp-asm.h".
46095         (PARMS): Do not use macros from bp-asm.h.
46096         (DEST): Likewise.
46097         (SRC): Likewise.
46098         (LEN): Likewise.
46099         (memcpy): Likewise.  Do not use BP_SYM.
46100         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
46101         libc_hidden_def and weak_alias.
46102         (mempcpy): Do not use BP_SYM in weak_alias.
46103         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
46104         "bp-asm.h".
46105         (PARMS): Do not use macros from bp-asm.h.
46106         (DEST): Likewise.
46107         (LEN): Likewise.
46108         [!BZERO_P] (CHR): Likewise.
46109         (memset): Likewise.  Do not use BP_SYM.
46110         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
46111         "bp-asm.h".
46112         (PARMS): Do not use macros from bp-asm.h.
46113         (S1): Likewise.
46114         (SIZE): Likewise.
46115         (__mpn_mul_1): Do not use BP_SYM.
46116         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
46117         "bp-asm.h".
46118         (PARMS): Do not use macros from bp-asm.h.
46119         (S): Likewise.
46120         (SIZE): Likewise.
46121         (__mpn_rshift): Do not use BP_SYM.
46122         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
46123         "bp-asm.h".
46124         (PARMS): Do not use macros from bp-asm.h.
46125         (STR): Likewise.
46126         (CHR): Likewise.
46127         (strchr): Likewise.  Do not use BP_SYM.
46128         (index): Do not use BP_SYM in weak_alias.
46129         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
46130         "bp-asm.h".
46131         (PARMS): Do not use macros from bp-asm.h.
46132         (DEST): Likewise.
46133         (SRC): Likewise.
46134         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
46135         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
46136         "bp-asm.h".
46137         (PARMS): Do not use macros from bp-asm.h.
46138         (strlen): Do not use BP_SYM.
46139         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
46140         "bp-asm.h".
46141         (PARMS): Do not use macros from bp-asm.h.
46142         (S1): Likewise.
46143         (S2): Likewise.
46144         (SIZE): Likewise.
46145         (__mpn_sub_n): Do not use BP_SYM.
46146         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
46147         "bp-asm.h".
46148         (PARMS): Do not use macros from bp-asm.h.
46149         (S1): Likewise.
46150         (SIZE): Likewise.
46151         (__mpn_submul_1): Do not use BP_SYM.
46152         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
46153         "bp-asm.h".
46154         (PARMS): Do not use macros from bp-asm.h.
46155         (S1): Likewise.
46156         (S2): Likewise.
46157         (SIZE): Likewise.
46158         (__mpn_add_n): Do not use BP_SYM.
46159         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
46160         weak_alias.
46161         (bzero): Likewise.
46162         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
46163         "bp-asm.h".
46164         (PARMS): Do not use macros from bp-asm.h.
46165         (BLK2): Likewise.
46166         (LEN): Likewise.
46167         (memcmp): Do not use BP_SYM.
46168         (bcmp): Do not use BP_SYM in weak_alias.
46169         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
46170         "bp-asm.h".
46171         (PARMS): Do not use macros from bp-asm.h.
46172         (DEST): Likewise.
46173         (SRC): Likewise.
46174         (LEN): Likewise.
46175         (memcpy): Likewise.  Do not use BP_SYM.
46176         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
46177         "bp-asm.h".
46178         (PARMS): Do not use macros from bp-asm.h.
46179         (DEST): Likewise.
46180         (SRC): Likewise.
46181         (LEN): Likewise.
46182         (memmove): Likewise.  Do not use BP_SYM.
46183         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
46184         "bp-asm.h".
46185         (PARMS): Do not use macros from bp-asm.h.
46186         (DEST): Likewise.
46187         (SRC): Likewise.
46188         (LEN): Likewise.
46189         (__mempcpy): Likewise.  Do not use BP_SYM.
46190         (mempcpy): Do not use BP_SYM in weak_alias.
46191         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
46192         "bp-asm.h".
46193         (PARMS): Do not use macros from bp-asm.h.
46194         (DEST): Likewise.
46195         (LEN): Likewise.
46196         [!BZERO_P] (CHR): Likewise.
46197         (memset): Likewise.  Do not use BP_SYM.
46198         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
46199         "bp-asm.h".
46200         (PARMS): Do not use macros from bp-asm.h.
46201         (STR2): Likewise.
46202         (strcmp): Do not use BP_SYM.
46203         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
46204         "bp-asm.h".
46205         (PARMS): Do not use macros from bp-asm.h.
46206         (STR): Likewise.
46207         (DELIM): Likewise.
46208         [USE_AS_STRTOK_R] (SAVE): Likewise.
46209         (FUNCTION): Likewise.  Do not use BP_SYM.
46210         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
46211         aliases.
46212         (strtok_r): Likewise.
46213         (__GI___strtok_r): Likewise.
46214         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
46215         (PARMS): Do not use macros from bp-asm.h.
46216         (S): Likewise.
46217         (SIZE): Likewise.
46218         (__mpn_lshift): Do not use BP_SYM.
46219         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
46220         (PARMS): Do not use macros from bp-asm.h.
46221         (STR): Likewise.
46222         (CHR): Likewise.
46223         (__memchr): Do not use BP_SYM.
46224         (memchr): Do not use BP_SYM in weak_alias.
46225         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
46226         (PARMS): Do not use macros from bp-asm.h.
46227         (BLK2): Likewise.
46228         (LEN): Likewise.
46229         (memcmp): Do not use BP_SYM.
46230         (bcmp): Do not use BP_SYM in weak_alias.
46231         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
46232         (PARMS): Do not use macros from bp-asm.h.
46233         (S1): Likewise.
46234         (SIZE): Likewise.
46235         (__mpn_mul_1): Do not use BP_SYM.
46236         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
46237         "bp-asm.h".
46238         (PARMS): Do not use macros from bp-asm.h.
46239         (STR): Likewise.
46240         (CHR): Likewise.
46241         (__rawmemchr): Do not use BP_SYM.
46242         (rawmemchr): Do not use BP_SYM in weak_alias.
46243         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
46244         (PARMS): Do not use macros from bp-asm.h.
46245         (S): Likewise.
46246         (SIZE): Likewise.
46247         (__mpn_rshift): Do not use BP_SYM.
46248         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
46249         (PARMS): Do not use macros from bp-asm.h.
46250         (SIGMSK): Likewise.
46251         (__sigsetjmp): Likewise.  Do not use BP_SYM.
46252         * sysdeps/i386/start.S: Do not include "bp-sym.h".
46253         (_start): Do not use BP_SYM.
46254         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
46255         (PARMS): Do not use macros from bp-asm.h.
46256         (DEST): Likewise.
46257         (SRC): Likewise.
46258         (__stpcpy): Likewise.  Do not use BP_SYM.
46259         (stpcpy): Do not use BP_SYM in weak_alias.
46260         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
46261         "bp-asm.h".
46262         (PARMS): Do not use macros from bp-asm.h.
46263         (DEST): Likewise.
46264         (SRC): Likewise.
46265         (LEN): Likewise.
46266         (__stpncpy): Likewise.  Do not use BP_SYM.
46267         (stpncpy): Do not use BP_SYM in weak_alias.
46268         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
46269         (PARMS): Do not use macros from bp-asm.h.
46270         (STR): Likewise.
46271         (CHR): Likewise.
46272         (strchr): Likewise.  Do not use BP_SYM.
46273         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
46274         "bp-asm.h".
46275         (PARMS): Do not use macros from bp-asm.h.
46276         (STR): Likewise.
46277         (CHR): Likewise.
46278         (__strchrnul): Likewise.  Do not use BP_SYM.
46279         (strchrnul): Do not use BP_SYM in weak_alias.
46280         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
46281         "bp-asm.h".
46282         (PARMS): Do not use macros from bp-asm.h.
46283         (STOP): Likewise.
46284         (strcspn): Do not use BP_SYM.
46285         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
46286         "bp-asm.h".
46287         (PARMS): Do not use macros from bp-asm.h.
46288         (STR): Likewise.
46289         (STOP): Likewise.
46290         (strpbrk): Likewise.  Do not use BP_SYM.
46291         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
46292         "bp-asm.h".
46293         (PARMS): Do not use macros from bp-asm.h.
46294         (STR): Likewise.
46295         (CHR): Likewise.
46296         (strrchr): Likewise.  Do not use BP_SYM.
46297         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
46298         (PARMS): Do not use macros from bp-asm.h.
46299         (SKIP): Likewise.
46300         (strspn): Do not use BP_SYM.
46301         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
46302         (PARMS): Do not use macros from bp-asm.h.
46303         (STR): Likewise.
46304         (DELIM): Likewise.
46305         (SAVE): Likewise.
46306         (FUNCTION): Likewise.  Do not use BP_SYM.
46307         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
46308         aliases.
46309         (strtok_r): Likewise.
46310         (__GI___strtok_r): Likewise.
46311         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
46312         (PARMS): Do not use macros from bp-asm.h.
46313         (S1): Likewise.
46314         (S2): Likewise.
46315         (SIZE): Likewise.
46316         (__mpn_sub_n): Do not use BP_SYM.
46317         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
46318         "bp-asm.h".
46319         (PARMS): Do not use macros from bp-asm.h.
46320         (S1): Likewise.
46321         (SIZE): Likewise.
46322         (__mpn_submul_1): Do not use BP_SYM.
46323         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
46324         <bp-sym.h>.
46325         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
46326         and <bp-asm.h>.
46327         (PARMS): Do not use macros from bp-asm.h.
46328         (FLAGS): Likewise.
46329         (PTID): Likewise.
46330         (TLS): Likewise.
46331         (CTID): Likewise.
46332         (__clone): Do not use BP_SYM.
46333         (clone): Do not use BP_SYM in weak_alias.
46334         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
46335         and <bp-asm.h>.
46336         (PARMS): Do not use macros from bp-asm.h.
46337         (LEN): Likewise.
46338         (__mmap64): Do not use BP_SYM.
46339         (mmap64): Do not use BP_SYM in weak_alias.
46340         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
46341         <bp-sym.h> and <bp-asm.h>.
46342         (PARMS): Do not use macros from bp-asm.h.
46343         (__posix_fadvise64_l64): Do not use BP_SYM.
46344         * sysdeps/unix/sysv/linux/i386/semtimedop.S
46345         (PARMS): Do not use macros from bp-asm.h.
46346         (NSOPS): Likewise.
46347         (semtimedop): Do not use BP_SYM.
46348         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
46349         and <bp-asm.h>.
46351 2013-02-21  Allan McRae  <allan@archlinux.org>
46353         * manual/message.texi (Charset conversion in gettext):
46354         Move @end statement to beginning of line.
46356 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
46358         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
46359         static.
46360         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
46361         Likewise.
46363         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
46364         (denorm): Likewise.
46365         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
46366         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
46368 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46370         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
46371         tail-call to the resolved function if pltexit isn't needed.
46373 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
46375         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
46376         or Y being zero as being unlikely.
46377         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
46378         Likewise.
46380 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
46382         * manual/nss.texi (System Databases and Name Service Switch):
46383         Remove frobnicate @pxref.
46385 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
46387         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
46388         __attribute__ ((unused)) to __attribute__ ((__unused__)).
46390 2013-02-20  Petr Machata  <pmachata@redhat.com>
46392         * elf/elf.h (R_ARM_TARGET1): New macro.
46393         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
46394         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
46395         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
46396         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
46397         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
46398         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
46399         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
46400         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
46401         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
46402         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
46403         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
46404         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
46405         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
46406         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
46407         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
46408         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
46409         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
46410         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
46411         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
46412         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
46413         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
46414         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
46415         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
46416         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
46417         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
46418         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
46419         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
46420         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
46421         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
46422         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
46423         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
46424         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
46425         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
46426         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
46427         (R_ARM_THM_GOT_BREL12): Likewise.
46428         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
46429         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
46430         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
46431         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
46432         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
46433         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
46434         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
46435         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
46436         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
46438 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
46440         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
46441         __attribute_used__ to __attribute__ ((unused)).
46443 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
46445         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
46446         powerpc mpa.c.
46447         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
46448         comment formatting.
46449         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
46451 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
46453         [BZ #13550]
46454         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
46455         Remove macro.
46456         (ENTER): Remove both macro definitions.
46457         (LEAVE): Likewise.
46458         (CHECK_BOUNDS_LOW): Likewise.
46459         (CHECK_BOUNDS_HIGH): Likewise.
46460         (CHECK_BOUNDS_BOTH): Likewise.
46461         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
46462         (RETURN_BOUNDED_POINTER): Likewise.
46463         (RETURN_NULL_BOUNDED_POINTER): Likewise.
46464         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
46465         (POP_ERRNO_LOCATION_RETURN): Likewise.
46466         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
46467         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
46468         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
46469         macros.
46470         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
46471         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
46472         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
46473         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
46474         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
46475         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
46476         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
46477         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
46478         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
46479         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
46480         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
46481         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
46482         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
46483         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
46484         removed macros.
46485         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
46486         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
46487         macros.
46488         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
46489         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
46490         * sysdeps/i386/i586/memset.S (memset): Likewise.
46491         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
46492         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
46493         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
46494         macros.
46495         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
46496         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
46497         Change uses of L(2) to L(out).
46498         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
46499         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
46500         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
46501         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
46502         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
46503         removed macros.
46504         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
46505         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
46506         macros.
46507         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
46508         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
46509         (RETURN): Do not use macro LEAVE.
46510         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
46511         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
46512         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
46513         * sysdeps/i386/i686/memset.S (memset): Likewise.
46514         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
46515         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
46516         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
46517         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
46518         Likewise.
46519         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
46520         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
46521         L(1_2) and L(1_3) into L(1).
46522         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
46523         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
46524         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
46525         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
46526         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
46527         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
46528         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
46529         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
46530         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
46531         macros.
46532         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
46533         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
46534         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
46535         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
46536         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
46537         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
46538         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
46539         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
46540         * sysdeps/i386/strcspn.S (strcspn): Likewise.
46541         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
46542         * sysdeps/i386/strrchr.S (strrchr): Likewise.
46543         * sysdeps/i386/strspn.S (strspn): Likewise.
46544         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
46545         conditional code.
46546         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
46547         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
46548         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
46549         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
46550         L(1_3) into L(1_1).
46551         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
46552         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
46553         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
46554         macros.
46555         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
46557 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
46559         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
46560         macro.
46562 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
46564         * math/atest-exp.c (exp_mpn): Remove ROUND.
46565         * math/atest-exp2.c (exp_mpn): Likewise.
46566         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
46568         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
46569         * stdlib/tst-tls-atexit-lib.c: Likewise.
46570         * stdlib/tst-tls-atexit.c: Likewise.
46572 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
46574         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
46575         and __attribute_alloc_size__.
46577 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
46579         * include/programs/xmalloc.h: Change __attribute_alloc_size to
46580         __attribute_alloc_size__.
46581         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
46582         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
46584 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
46586         * include/programs/xmalloc.h: New file.
46587         * catgets/gencat.c: Include it.
46588         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
46589         * elf/pldd.c: Likewise.
46590         * iconv/iconv_charmap.c: Likewise.
46591         * iconv/iconvconfig.c: Likewise.
46592         * iconv/strtab.c: Likewise.
46593         * locale/programs/locale.c: Likewise.
46594         * locale/programs/localedef.h: Likewise.
46595         * locale/programs/simple-hash.c: Likewise.
46596         * nscd/nscd.h: Likewise.
46597         * nss/makedb.c: Likewise.
46598         * sysdeps/generic/ldconfig.h: Likewise.
46600 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
46602         * Versions.def: Add GLIBC_2.18.
46603         * include/link.h (struct link_map): New member l_tls_dtor_count.
46604         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
46605         (__call_tls_dtors): Likewise.
46606         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
46607         __cxa_thread_atexit_impl.
46608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
46609         Likewise.
46610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
46611         Likewise.
46612         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
46613         Likewise.
46614         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
46615         Likewise.
46616         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
46617         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
46618         Likewise.
46619         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
46620         Likewise.
46621         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
46622         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
46623         Likewise.
46624         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
46625         (tests): Add test case tst-tls-atexit.
46626         (modules-names): Add shared library for tst-tls-atexit.
46627         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
46628         (GLIBC_PRIVATE): Add __call_tls_dtors.
46629         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
46630         for libstdc++.
46631         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
46632         * stdlib/tst-tls-atexit.c: New test case.
46633         * stdlib/tst-tls-atexit-lib.c: New test case.
46635         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
46637         * elf/Versions (ld): Add _dl_find_dso_for_object.
46638         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
46639         * elf/dl-open.c (_dl_find_dso_for_object): New function.
46640         (dl_open_worker): Use _dl_find_dso_for_object.
46641         * elf/dl-sym.c (do_sym): Likewise.
46642         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
46644 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46646         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
46647         Syntactic changes only.
46648         (_dl_runtime_profile): Do a tail-call to the resolved function.
46650 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
46652         [BZ #13550]
46653         * sysdeps/x86_64/bp-asm.h: Remove file.
46654         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
46655         <bp-sym.h> and <bp-asm.h>.
46656         (__clone): Do not use BP_SYM.
46657         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
46658         <bp-sym.h> and <bp-asm.h>.
46659         * sysdeps/unix/x86_64/sysdep.S: Likewise.
46660         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
46661         "bp-asm.h".
46662         (_setjmp): Do not use BP_SYM.
46663         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
46664         "bp-asm.h".
46665         (setjmp): Do not use BP_SYM.
46666         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
46667         libc_hidden_def.
46668         (mempcpy): Do not use BP_SYM in weak_alias.
46669         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
46670         "bp-asm.h".
46671         (strchr): Do not use BP_SYM.
46672         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
46673         "bp-asm.h".
46674         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
46675         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
46676         (_start): Do not use BP_SYM.
46677         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
46678         "bp-asm.h".
46679         (strcat): Do not use BP_SYM.
46680         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
46681         "bp-asm.h".
46682         (STRCMP): Do not use BP_SYM.
46683         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
46684         "bp-asm.h".
46685         (STRCPY): Do not use BP_SYM.
46686         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
46687         "bp-asm.h".
46688         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
46689         "bp-asm.h".
46690         (FUNCTION): Do not use BP_SYM.
46691         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
46692         weak_alias.
46693         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
46695 2013-02-17  Andreas Jaeger  <aj@suse.de>
46697         * time/Versions: Sort entries.
46698         * string/Versions: Likewise.
46699         * resolv/Versions: Likewise.
46700         * posix/Versions: Likewise.
46701         * iconv/Versions: Likewise.
46702         * elf/Versions: Likewise.
46703         * wcsmbs/Versions: Likewise.
46705 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
46707         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
46708         loop termination condition.
46710         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
46711         variable to calculate EZ.
46712         (__sqr): Likewise.
46714         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
46715         the lower precision input.
46717 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
46719         [BZ #13550]
46720         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
46721         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
46722         (run-via-rtld-prefix): Do not handle %-bp tests.
46723         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
46724         (all-object-suffixes): Remove .ob.
46725         (bppfx): Remove variable.
46726         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
46727         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
46728         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
46729         [$(build-bounded) = yes] (libtype.ob): Likewise.
46730         * Makerules (elide-routines.ob): Remove variable.
46731         (do-tests-clean): Do not handle *-bp.out.
46732         (common-mostlyclean): Do not handle *-bp and *-bp.out.
46733         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
46734         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
46735         (tests): Do not include $(tests-bp.out).
46736         (xtests): Do not include $(xtests-bp.out).
46737         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
46738         [$(build-bounded) = yes] ($(addprefix
46739         $(objpfx),$(binaries-bounded))): Remove rule.
46740         ($(objpfx)%-bp.out): Remove rule.
46741         * config.make.in (build-bounded): Remove variable.
46742         * crypt/Makefile [$(build-bounded) = yes]
46743         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
46744         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
46745         append to variable.
46746         [$(build-bounded) = yes] (install-lib): Likewise.
46747         [$(build-bounded) = yes] (generated): Likewise.
46748         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
46749         Remove rule.
46750         * intl/Makefile [$(build-bounded) = yes]
46751         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
46752         * math/Makefile [$(build-bounded) = yes]
46753         ($(tests:%=$(objpfx)%-bp): Likewise.
46754         * misc/Makefile [$(build-bounded) = yes]
46755         ($(objpfx)tst-tsearch-bp): Likewise.
46756         * nptl/Makeconfig (bounded-thread-library): Remove variable.
46757         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
46758         Remove dependency.
46759         * string/Makefile (o-objects.ob): Remove variable.
46760         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
46761         (CFLAGS-.ob): Remove variable.
46762         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
46763         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
46764         both definitions of variable.
46765         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
46766         (ASFLAGS-.ob): Remove variable.
46768 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
46770         [BZ #13550]
46771         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
46772         Remove __BOUNDED_POINTERS__ from condition.
46773         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
46774         * string/bits/string2.h [!__NO_STRING_INLINES &&
46775         !__BOUNDED_POINTERS__]: Likewise.
46776         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
46777         Likewise.
46778         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
46779         Remove conditional code.
46780         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
46781         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
46782         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
46783         condition.
46785         [BZ #13550]
46786         * csu/libc-start.c: Do not include <bp-sym.h>.
46787         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
46788         * elf/dl-open.c: Do not include <bp-sym.h>.
46789         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
46790         * math/fegetenv.c: Do not include <bp-sym.h>.
46791         (fegetenv): Do not use BP_SYM in versioned symbols.
46792         * nptl/sysdeps/pthread/bits/libc-lockP.h
46793         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
46794         <bp-sym.h>.
46795         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46796         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
46797         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46798         (__pthread_mutex_destroy): Likewise.
46799         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46800         (__pthread_mutex_lock): Likewise.
46801         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46802         (__pthread_mutex_trylock): Likewise.
46803         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46804         (__pthread_mutex_unlock): Likewise.
46805         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46806         (__pthread_mutexattr_init): Likewise.
46807         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46808         (__pthread_mutexattr_destroy): Likewise.
46809         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46810         (__pthread_mutexattr_settype): Likewise.
46811         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46812         (__pthread_rwlock_init): Likewise.
46813         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46814         (__pthread_rwlock_destroy): Likewise.
46815         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46816         (__pthread_rwlock_rdlock): Likewise.
46817         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46818         (__pthread_rwlock_tryrdlock): Likewise.
46819         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46820         (__pthread_rwlock_wrlock): Likewise.
46821         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46822         (__pthread_rwlock_trywrlock): Likewise.
46823         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46824         (__pthread_rwlock_unlock): Likewise.
46825         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46826         (__pthread_key_create): Likewise.
46827         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46828         (__pthread_setspecific): Likewise.
46829         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46830         (__pthread_getspecific): Likewise.
46831         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
46832         Likewise.
46833         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46834         (_pthread_cleanup_push_defer): Likewise.
46835         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46836         (_pthread_cleanup_pop_restore): Likewise.
46837         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46838         (pthread_setcancelstate): Likewise.
46839         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
46840         <bp-sym.h>.
46841         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
46842         (memchr): Do not use BP_SYM in weak_alias.
46843         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
46844         (fegetenv): Do not use BP_SYM in versioned symbols.
46845         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
46846         (fesetenv): Do not use BP_SYM in versioned symbols.
46847         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
46848         (feupdateenv): Do not use BP_SYM in versioned symbols.
46849         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
46850         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
46851         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
46852         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
46853         (open64): Do not use BP_SYM in weak_alias.
46854         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
46855         (fegetenv): Do not use BP_SYM in versioned symbols.
46856         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
46857         (fesetenv): Do not use BP_SYM in versioned symbols.
46858         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
46859         (feupdateenv): Do not use BP_SYM in versioned symbols.
46860         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
46861         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
46862         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
46863         (feraiseexcept): Do not use BP_SYM in versioned symbols.
46864         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
46865         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
46866         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
46867         <bp-sym.h>.
46868         (__libc_start_main): Do not use BP_SYM.
46870 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
46872         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
46873         redundant return line.
46874         (norm): Likewise.
46875         (denorm): Likewise.
46876         (dbl_mp): Likewise.
46877         (sub_magnitudes): Likewise.
46878         (__add): Likewise.
46879         (__sub): Likewise.
46880         (__mul): Likewise.
46881         (__inv): Likewise.
46882         (__dvd): Likewise.
46883         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
46884         (norm): Likewise.
46885         (denorm): Likewise.
46886         (dbl_mp): Likewise.
46887         (sub_magnitudes): Likewise.
46888         (__add): Likewise.
46889         (__sub): Likewise.
46890         (__mul): Likewise.
46891         (__inv): Likewise.
46892         (__dvd): Likewise.
46894         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
46895         instead of __mul.
46896         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
46897         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
46898         (cc32): Likewise.
46900         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
46901         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
46902         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
46903         of __mul for squares.
46904         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
46905         function
46906         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
46907         Likewise.
46908         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
46909         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
46911 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
46913         [BZ #13550]
46914         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
46915         code.
46916         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
46917         prototype or function definition.  Rename ubp_* variables and
46918         parameters.  Remove argv definitions conditional on
46919         [__BOUNDED_POINTERS__].
46920         * debug/backtrace.c (__backtrace): Do not use __unbounded.
46921         * elf/dl-runtime.c (_dl_fixup): Likewise.
46922         * include/set-hooks.h (RUN_HOOK): Likewise.
46923         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
46924         definition.
46925         * string/strcpy.c (strcpy): Do not use __unbounded.
46926         * sysdeps/generic/frame.h (struct layout): Likewise.
46927         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
46928         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
46929         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
46930         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
46931         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
46932         (__backtrace): Likewise.
46933         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
46934         use __ptrvalue.
46935         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
46936         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
46937         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
46938         Likewise.
46939         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
46940         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
46941         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
46942         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
46943         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
46944         Do not use __unbounded.
46945         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
46946         Rename __unboundedrlimits parameter to rlimits in prototype.
46947         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
46948         Do not use __unbounded.
46949         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
46950         not use __ptrvalue.
46951         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
46952         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
46953         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
46954         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
46955         __ptrvalue or __unbounded.
46956         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
46957         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
46958         use __unbounded.
46959         (__new_msgctl): Do not use __ptrvalue.
46960         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
46961         __unbounded.
46962         (__libc_msgrcv): Do not use __ptrvalue.
46963         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
46964         startup_info): Do not use __unbounded.
46965         (__libc_start_main): Likewise.  Rename ubp_* variables and
46966         parameters.  Remove argv definitions conditional on
46967         [__BOUNDED_POINTERS__].
46968         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
46969         __ptrvalue.
46970         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
46971         use __unbounded.
46972         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
46973         or __ptrvalue.
46974         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
46975         use __unbounded.
46976         (__new_shmctl): Do not use __ptrvalue.
46977         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
46978         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
46979         Likewise.
46980         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
46981         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
46982         (__libc_sigaction): Likewise.
46983         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
46984         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
46985         Likewise.
46986         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
46988 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
46990         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
46992         * string/mempcpy.c: Implement by calling memcpy.
46994 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
46996         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
46998         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
46999         evaluation.
47001         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
47002         values in the mantissa.
47004         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
47005         minimize writes to Z.
47006         (sub_magnitudes): Simplify code a bit.
47008 2013-02-12  Roland McGrath  <roland@hack.frob.com>
47010         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
47011         from the message.  The linker prefixes all warnings with that already.
47013 2013-02-12  Andreas Schwab  <schwab@suse.de>
47015         [BZ #15078]
47016         * posix/regexec.c (extend_buffers): Add parameter min_len.
47017         (check_matching): Pass minimum needed length.
47018         (clean_state_log_if_needed): Likewise.
47019         (get_subexp): Likewise.
47020         * posix/Makefile (tests): Add bug-regex34.
47021         (bug-regex34-ENV): Define.
47022         * posix/bug-regex34.c: New file.
47024         [BZ #11561]
47025         * posix/regcomp.c (parse_bracket_exp): When looking up collating
47026         elements compare against the byte sequence of it, not its name.
47027         * posix/Makefile (tests): Add bug-regex35.
47028         (bug-regex35-ENV): Define.
47029         * posix/bug-regex35.c: New file.
47031 2013-02-11  Tom de Vries  <tom@codesourcery.com>
47033         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
47034         comment.
47035         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
47036         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
47037         (CHECK_EOL): Add undef.
47039 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
47041         * bits/stdlib-bsearch.h: New file.
47042         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
47043         * stdlib/stdlib.h: Likewise.
47045 2013-02-11  Roland McGrath  <roland@hack.frob.com>
47047         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
47048         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
47049         declaration.
47050         * manual/search.texi (Array Search Function): Add missing const in
47051         lfind prototype.
47052         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
47053         declaration to use rlim_t.
47054         (Basic Scheduling Functions): Remove erroneous const from
47055         sched_getparam prototype.  Remove erroneous * from
47056         sched_get_priority_max and sched_get_priority_min prototypes.
47057         (Resource Usage): Fix summary @comment on vtimes to refer to
47058         sys/vtimes.h rather than vtimes.h.
47059         Add missing *s in vtimes prototype.
47060         (Limits on Resources): Fix ulimit prototype to return long int.
47061         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
47062         prototypes to use long int rather than double.
47063         (BSD Random): Fix initstate and setstate to use char *, not void *.
47064         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
47065         prototype to make second argument 'struct aiocb64 *const[]'.
47066         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
47067         (Status of AIO Operations): Remove erroneous const in aio_return and
47068         aio_return64 prototypes.
47069         (Synchronizing I/O): Fix sync prototype to return void.
47070         * manual/startup.texi (Suboptions): Remove an erroneous const in
47071         getsubopt prototype.
47072         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
47073         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
47074         use size_t rather than int.
47075         (Scanning All Users): Likewise for getpwent_r.
47076         (Setting Groups): Add missing const to setgroups prototype.
47077         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
47078         * manual/socket.texi (Host Names): Fix gethostbyaddr and
47079         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
47080         'const void *' rather than 'const char *'.
47081         (Host Address Functions): Likewise for inet_ntop.
47082         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
47083         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
47084         ssize_t for return value.
47085         (Sending Data): Likewise for send, sendto, sendmsg.
47086         (Socket Option Functions): Add a missing const in setsockopt prototype.
47087         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
47088         use wchar_t for the argument.
47089         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
47090         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
47091         take no arguments.
47092         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
47093         double/float/long double for second argument.
47094         Fix return types of significand, significandf, significandl.
47095         * manual/filesys.texi (Setting Permissions): Use mode_t for second
47096         argument in fchmod prototype.
47097         (File Owner): Use uid_t and gid_t in fchown prototype.
47098         (File Times): Add const to utimes, futimes, and lutimes prototypes.
47099         (Making Special Files): Use mode_t and dev_t in mknod prototype.
47100         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
47101         use 'const struct dirent **' as argument types to CMP function pointer
47102         argument.
47103         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
47104         (File Times): Fix summary magic @comment for struct utimbuf and utime
47105         to refer to utime.h, not time.h.
47106         * manual/string.texi (Argz Functions): Add missing const in
47107         argz_extract and argz_next prototypes.
47108         (Finding Tokens in a String): Likewise for basename.
47109         (String/Array Comparison): Fix typo in wcscasecmp prototype.
47110         (Copying and Concatenation): Fix typo in wmemmove prototype.
47111         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
47112         (Signal Stack): Remove erroneous const in sigstack prototype.
47113         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
47114         prototype.
47115         (Simple Calendar Time): Likewise for stime.
47116         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
47117         prototype.
47118         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
47119         say sys/sysctl.h instead.
47120         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
47121         and vsyslog prototypes.
47123 2013-02-11  Tom de Vries  <tom@codesourcery.com>
47125         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
47126         Remove.
47128 2013-02-11  Roland McGrath  <roland@hack.frob.com>
47130         * misc/sys/mman.h: Fix typo in mremap comment.
47132 2013-02-08  Roland McGrath  <roland@hack.frob.com>
47134         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
47135         the '\0' terminator.
47137 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
47139         [BZ #13550]
47140         * debug/segfault.c: Don't include <bp-checks.h>.
47141         * sysdeps/generic/bp-checks.h: Remove file.
47142         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
47143         (__GETDENTS): Don't use CHECK_N.
47144         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
47145         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
47146         (__getgroups): Don't use CHECK_N.
47147         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
47148         (setgroups): Don't use CHECK_N.
47149         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
47150         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
47151         (__libc_msgrcv): Don't use CHECK_N.
47152         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
47153         (__libc_msgsnd): Don't use CHECK_N.
47154         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
47155         <bp-checks.h>.
47156         (__libc_pread): Don't use CHECK_N.
47157         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
47158         include <bp-checks.h>.
47159         (__libc_pread64): Don't use CHECK_N.
47160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
47161         include <bp-checks.h>.
47162         (__libc_pwrite): Don't use CHECK_N.
47163         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
47164         include <bp-checks.h>.
47165         (__libc_pwrite64): Don't use CHECK_N.
47166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
47167         <bp-checks.h>.
47168         (__libc_pread): Don't use CHECK_N.
47169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
47170         include <bp-checks.h>.
47171         (__libc_pread64): Don't use CHECK_N.
47172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
47173         include <bp-checks.h>.
47174         (__libc_pwrite): Don't use CHECK_N.
47175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
47176         include <bp-checks.h>.
47177         (__libc_pwrite64): Don't use CHECK_N.
47178         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
47179         (do_pread): Don't use CHECK_N.
47180         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
47181         (do_pread64): Don't use CHECK_N.
47182         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
47183         (do_pwrite): Don't use CHECK_N.
47184         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
47185         (do_pwrite64): Don't use CHECK_N.
47186         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
47187         (__libc_readv): Don't use CHECK_N.
47188         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
47189         (semop): Don't use CHECK_N.
47190         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
47191         <bp-checks.h>.
47192         (semtimedop): Don't use CHECK_N.
47193         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
47194         (__libc_pread): Don't use CHECK_N.
47195         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
47196         <bp-checks.h>.
47197         (__libc_pread64): Don't use CHECK_N.
47198         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
47199         <bp-checks.h>.
47200         (__libc_pwrite): Don't use CHECK_N.
47201         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
47202         <bp-checks.h>.
47203         (__libc_pwrite64): Don't use CHECK_N.
47204         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
47205         <bp-checks.h>.
47206         (__libc_msgrcv): Don't use CHECK_N.
47207         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
47208         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
47209         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
47210         (__libc_writev): Don't use CHECK_N.
47212 2013-02-08  Roland McGrath  <roland@hack.frob.com>
47214         * string/strcpy.c: Removed unused variable.
47216         * Makeconfig (+sysdep-includes): Define with := rather than =.
47217         Use an existing include/ subdir of each sysdeps dir before it.
47219 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
47221         * nscd/connection.c (register_traced_file): Comment function.
47222         [HAVE_INOTIFY] (union __inev): Define.
47223         [HAVE_INOTIFY] (inotify_check_files): New function.
47224         [HAVE_INOTIFY] (clear_db_cache): Likewise.
47225         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
47226         clear_db_cache.
47227         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
47229 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
47231         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
47232         loaded if not already and that a failure is permanent.
47234 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
47236         [BZ #15006]
47237         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
47238         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
47240 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
47242         [BZ #13550]
47243         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
47244         (CHECK_1_NULL_OK): Likewise.
47245         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
47246         (__fxstat): Do not use CHECK_1.
47247         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
47248         <bp-checks.h>.
47249         (___fxstat64): Do not use CHECK_1.
47250         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
47251         <bp-checks.h>.
47252         (__fxstatat): Do not use CHECK_1.
47253         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
47254         <bp-checks.h>.
47255         (__fxstatat64): Do not use CHECK_1.
47256         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
47257         <bp-checks.h>.
47258         (__fxstat): Do not use CHECK_1.
47259         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
47260         <bp-checks.h>.
47261         (__fxstatat): Do not use CHECK_1.
47262         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
47263         <bp-checks.h>.
47264         (__getresgid): Do not use CHECK_1.
47265         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
47266         <bp-checks.h>.
47267         (__getresuid): Do not use CHECK_1.
47268         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
47269         <bp-checks.h>.
47270         (__lxstat): Do not use CHECK_1.
47271         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
47272         <bp-checks.h>.
47273         (__old_msgctl): Do not use CHECK_1.
47274         (__new_msgctl): Likewise.
47275         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
47276         <bp-checks.h>.
47277         (__new_setrlimit): Do not use CHECK_1.
47278         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
47279         <bp-checks.h>.
47280         (__old_shmctl): Do not use CHECK_1.
47281         (__new_shmctl): Likewise.
47282         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
47283         <bp-checks.h>.
47284         (__xstat): Do not use CHECK_1.
47285         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
47286         (__lxstat): Do not use CHECK_1.
47287         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
47288         <bp-checks.h>.
47289         (___lxstat64): Do not use CHECK_1.
47290         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
47291         (__old_msgctl): Do not use CHECK_1.
47292         (__new_msgctl): Likewise.
47293         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
47294         <bp-checks.h>.
47295         (__gettimeofday): Do not use CHECK_1.
47296         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
47297         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
47298         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
47299         <bp-checks.h>.
47300         (__gettimeofday): Do not use CHECK_1.
47301         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
47302         (__old_shmctl): Do not use CHECK_1_NULL_OK.
47303         (__new_shmctl): Do not use CHECK_1.
47304         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
47305         <bp-checks.h>.
47306         (do_sigtimedwait): Do not use CHECK_1.
47307         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
47308         <bp-checks.h>.
47309         (do_sigwaitinfo): Do not use CHECK_1.
47310         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
47311         <bp-checks.h>.
47312         (msgctl): Do not use CHECK_1.
47313         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
47314         <bp-checks.h>.
47315         (shmctl): Do not use CHECK_1.
47316         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
47317         (ustat): Do not use CHECK_1.
47318         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
47319         <bp-checks.h>.
47320         (__fxstat): Do not use CHECK_1.
47321         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
47322         <bp-checks.h>.
47323         (__fxstatat): Do not use CHECK_1.
47324         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
47325         <bp-checks.h>.
47326         (__lxstat): Do not use CHECK_1.
47327         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
47328         <bp-checks.h>.
47329         (__xstat): Do not use CHECK_1.
47330         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
47331         (__xstat): Do not use CHECK_1.
47332         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
47333         (___xstat64): Do not use CHECK_1.
47335         [BZ #13550]
47336         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
47337         definitions.
47338         (CHECK_BOUNDS_HIGH): Likewise.
47339         * string/strcpy.c: Do not include <bp-checks.h>.
47340         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
47342 2013-02-07  Roland McGrath  <roland@hack.frob.com>
47344         * nscd/nscd-client.h (__nscd_drop_map_ref):
47345         Add __attribute__ ((unused)).
47346         * nis/nss-nisplus.h (niserr2nss): Likewise.
47348         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
47349         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
47351         * csu/libc-tls.c (init_static_tls, init_slotinfo):
47352         Remove inline keyword.
47353         * include/rounding-mode.h (round_away): Likewise.
47354         * libio/wfileops.c (adjust_wide_data): Likewise.
47355         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
47356         (__m128i_strloadu_tolower): Likewise.
47357         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
47358         (__m128i_strloadu_tolower): Likewise.
47359         * time/mktime.c (ydhms_diff): Likewise.
47360         * locale/elem-hash.h (elem_hash): Likewise.
47361         * locale/setlocale.c (setdata): Likewise.
47362         * posix/regex_internal.h (re_string_char_size_at): Likewise.
47363         (re_string_wchar_at): Likewise.
47364         (bitset_not, bitset_merge, bitset_mask): Likewise.
47365         [!(__GNUC__ > 3)] (inline): Remove macro.
47366         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
47367         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
47368         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
47369         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
47370         * string/memcmp.c (memcmp_bytes): Likewise.
47371         * locale/programs/locarchive.c (compute_hashval): Likewise.
47372         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
47373         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
47374         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
47375         * nss/getent.c (print_rpc, print_protocols): Likewise.
47376         (print_passwd, print_group, print_aliases): Likewise.
47377         * nis/nss-nisplus.h (niserr2nss): Likewise.
47378         * nscd/connections.c (restart_p): Likewise.
47379         Change return type to bool.
47381 2013-02-05  Roland McGrath  <roland@hack.frob.com>
47383         * Makeconfig (all-Depend-files): Add existing
47384         $(sorted-subdirs:=/Depend) files.
47385         (all-subdirs): Remove nss.
47386         * sysdeps/unix/inet/Subdirs: Add it here instead.
47387         * hesiod/Depend: New file.
47389         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
47390         instead of calling alloca.
47392         * io/lseek.c (__lseek): Rename to __libc_lseek.
47393         Define __lseek as an alias.
47395         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
47397 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
47399         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
47400         else clause and remove check for non-standard endianness.
47402 2013-02-04  David S. Miller  <davem@davemloft.net>
47404         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47406 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
47408         [BZ #13550]
47409         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
47410         (__ubp_memchr): Remove prototype.
47411         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
47412         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
47413         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
47414         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
47415         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
47416         Remove alias.
47417         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
47418         (__ubp_memchr): Likewise.
47419         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
47420         (__ubp_memchr): Likewise.
47421         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
47422         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
47423         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
47424         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
47425         CHECK_STRING.
47426         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
47427         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
47428         (__getcwd): Do not use CHECK_STRING.
47429         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
47430         <bp-checks.h>.
47431         (__real_chown): Do not use CHECK_STRING.
47432         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
47433         <bp-checks.h>.
47434         (fchownat): Do not use CHECK_STRING.
47435         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
47436         CHECK_STRING.
47437         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
47438         <bp-checks.h>.
47439         (__lchown): Do not use CHECK_STRING.
47440         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
47441         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
47442         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
47443         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
47444         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
47445         include <bp-checks.h>.
47446         (truncate64): Do not use CHECK_STRING.
47447         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
47448         <bp-checks.h>.
47449         (__real_chown): Do not use CHECK_STRING.
47450         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
47451         <bp-checks.h>.
47452         (__lchown): Do not use CHECK_STRING.
47453         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
47454         <bp-checks.h>.
47455         (__chown): Do not use CHECK_STRING.
47456         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
47457         <bp-checks.h>.
47458         (truncate64): Do not use CHECK_STRING.
47459         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
47460         Likewise.
47461         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
47462         (__xmknod): Do not use CHECK_STRING.
47463         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
47464         <bp-checks.h>.
47465         (__xmknodat): Do not use CHECK_STRING.
47466         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
47467         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
47469 2013-02-04  Andreas Schwab  <schwab@suse.de>
47471         [BZ #14142]
47472         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
47473         * include/netdb.h: Likewise for h_errno.
47474         * elf/tst-stackguard1.c: Include <tls.h>.
47476 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
47478         * elf/link.h (struct link_map): Extend the l_addr comment.
47479         * include/link.h (struct link_map): Likewise.
47481 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
47483         [BZ #13550]
47484         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
47485         (BOUNDED_1): Remove macro.
47486         * debug/backtrace.c: Don't include <bp-checks.h>.
47487         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
47488         (__backtrace): Likewise.
47489         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
47490         <bp-checks.h>.
47491         (__backtrace): Don't use BOUNDED_1.
47492         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
47493         <bp-checks.h>.
47494         (__backtrace): Don't use BOUNDED_1.
47495         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
47496         (__backtrace): Don't use BOUNDED_1.
47497         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
47498         (shmat): Don't use BOUNDED_N.
47500 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
47502         [BZ #13550]
47503         * sysdeps/generic/bp-start.h: Remove file.
47504         * csu/libc-start.c: Don't include <bp-start.h>.
47505         (LIBC_START_MAIN): Set up __environ directly instead of using
47506         INIT_ARGV_and_ENVIRON.
47507         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
47508         <bp-start.h>.
47510         [BZ #13550]
47511         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
47512         definitions.
47513         (CHECK_FCNTL): Likewise.
47514         (CHECK_N_PAGES): Likewise.
47516         [BZ #13550]
47517         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
47518         definitions.
47519         (CHECK_SIGSET_NULL_OK): Likewise.
47520         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
47521         <bp-checks.h>.
47522         (sigpending): Don't use CHECK_SIGSET.
47523         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
47524         <bp-checks.h>.
47525         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
47526         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
47527         <bp-checks.h>.
47528         (do_sigsuspend): Don't use CHECK_SIGSET.
47529         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
47530         use CHECK_SIGSET.
47531         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
47532         (do_sigwait): Don't use CHECK_SIGSET.
47533         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
47534         use CHECK_SIGSET.
47535         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
47536         include <bp-checks.h>.
47537         (sigpending): Don't use CHECK_SIGSET.
47538         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
47539         include <bp-checks.h>.
47540         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
47541         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
47542         <bp-checks.h>.
47543         (sigpending): Don't use CHECK_SIGSET.
47544         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
47545         <bp-checks.h>.
47546         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
47548         [BZ #13550]
47549         * sysdeps/generic/bp-semctl.h: Remove file.
47550         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
47551         <bp-checks.h> and <bp-semctl.h>.
47552         (__old_semctl): Don't use CHECK_SEMCTL.
47553         (__new_semctl): Likewise.
47554         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
47555         and <bp-semctl.h>.
47556         (__old_semctl): Don't use CHECK_SEMCTL.
47557         (__new_semctl): Likewise.
47558         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
47559         <bp-checks.h> and <bp-semctl.h>.
47560         (__old_semctl): Don't use CHECK_SEMCTL.
47561         (__new_semctl): Likewise.
47562         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
47563         <bp-checks.h> and <bp-semctl.h>.
47564         (semctl): Don't use CHECK_SEMCTL.
47566         [BZ #13550]
47567         * Makerules (elide-bp-thunks): Remove variable.
47568         (elide-routines.oS): Don't use $(elide-bp-thunks).
47569         (elide-routines.os): Likewise.
47570         (elide-routines.o): Likewise.
47571         (elide-routines.op): Likewise.
47572         (elide-routines.og): Likewise.
47573         (objects): Don't use $(bp-thunks).
47574         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
47575         include.
47576         (common-generated): Do not add s-proto-bp.d.
47577         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
47578         (int): Likewise.
47579         (typ): Likewise.
47580         Do not generate makefile rules for bounded-pointer thunks.
47581         * sysdeps/generic/bp-thunks.h: Remove file.
47582         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
47583         * sysdeps/unix/s-proto-bp.S: Likewise.
47585         [BZ #15062]
47586         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
47587         parts of result separately when argument is not close to line from
47588         -i to i and one part of argument is small.
47589         * math/k_casinhf.c (__kernel_casinhf): Likewise.
47590         * math/k_casinhl.c (__kernel_casinhl): Likewise.
47591         * math/libm-test.inc (cacos_test): Add more tests.
47592         (casin_test): Likewise.
47593         (casinh_test): Likewise.
47594         * sysdeps/i386/fpu/libm-test-ulps: Update.
47595         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47597 2013-01-31  David S. Miller  <davem@davemloft.net>
47599         * po/de.po: Update from translation team.
47601 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
47603         * time/tzfile.c: Include stdint.h for SIZE_MAX.
47605 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
47607         * configure.in (_AC_PROG_CC_C89): New definition.
47608         * configure: Regenerate.
47610         * configure.in (AC_PROG_CPP): New definition.
47611         * configure: Regenerate.
47613 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
47615         * debug/tst-backtrace.h: New file.
47616         * debug/tst-backtrace2.c: Include tst-backtrace.h.
47617         (ret): Remove variable.
47618         (x): Likewise.
47619         (FAIL): Remove macro.
47620         (NO_INLINE): Likewise.
47621         (fn1): Use match function instead of strstr.
47622         * debug/tst-backtrace3.c: Include tst-backtrace.h.
47623         (ret): Remove variable.
47624         (x): Likewise.
47625         (FAIL): Remove macro.
47626         (NO_INLINE): Likewise.
47627         (fn): Use match function instead of strstr.
47628         * debug/tst-backtrace4.c: Include tst-backtrace.h.
47629         (ret): Remove variable.
47630         (x): Likewise.
47631         (FAIL): Remove macro.
47632         (NO_INLINE): Likewise.
47633         (handle_signal): Use match function instead of strstr.
47634         * debug/tst-backtrace5.c: Include tst-backtrace.h.
47635         (ret): Remove variable.
47636         (x): Likewise.
47637         (FAIL): Remove macro.
47638         (NO_INLINE): Likewise.
47639         (handle_signal): Use match function instead of strstr.
47641 2013-01-23  Roland McGrath  <roland@hack.frob.com>
47643         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
47645 2013-01-23  David S. Miller  <davem@davemloft.net>
47647         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
47648         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
47649         argument of CAS if possible.
47650         * sysdeps/sparc/sparc64/bits/atomic.h
47651         (__arch_compare_and_exchange_val_32_acq): Likewise.
47652         (__arch_compare_and_exchange_val_64_acq): Likewise.
47654 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
47656         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
47657         * sysdeps/posix/ulimit.c: ... this.
47658         Include <limits.h>.
47659         * sysdeps/unix/bsd/ulimit.c: Remove file.
47661 2013-01-23  Adam Conrad  <adconrad@0c3.net>
47663         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
47664         (LDFLAGS-tst-array5): Likewise.
47666 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
47668         [BZ #15036]
47669         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
47670         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
47671         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
47672         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
47674 2013-01-21  David S. Miller  <davem@davemloft.net>
47676         * sysdeps/sparc/backtrace.c: New file.
47677         * sysdeps/sparc/sparc32/backtrace.h: New file.
47678         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
47679         * sysdeps/sparc/sparc64/backtrace.h: New file.
47680         * sysdeps/sparc/sparc64/backtrace.c: Delete.
47681         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
47682         -funwind-tables.
47684 2013-01-21  Andreas Schwab  <schwab@suse.de>
47686         [BZ #15020]
47687         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
47688         closed its stdout.
47690 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
47692         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
47693         "mpa2.h".
47694         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
47696 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
47697             Mark Mitchell  <mark@codesourcery.com>
47698             Tom de Vries  <tom@codesourcery.com>
47699             Paul Pluzhnikov  <ppluzhnikov@google.com>
47701         * debug/tst-backtrace2.c: New file.
47702         * debug/tst-backtrace3.c: Likewise.
47703         * debug/tst-backtrace4.c: Likewise.
47704         * debug/tst-backtrace5.c: Likewise.
47705         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
47706         (CFLAGS-tst-backtrace3.c): Likewise.
47707         (CFLAGS-tst-backtrace4.c): Likewise.
47708         (CFLAGS-tst-backtrace5.c): Likewise.
47709         (LDFLAGS-tst-backtrace2): Likewise.
47710         (LDFLAGS-tst-backtrace3): Likewise.
47711         (LDFLAGS-tst-backtrace4): Likewise.
47712         (LDFLAGS-tst-backtrace5): Likewise.
47713         (tests): Add new tests tst-backtrace2, tst-backtrace3,
47714         tst-backtrace4 and tst-backtrace5.
47716 2013-01-18  Anton Blanchard  <anton@samba.org>
47717             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
47719         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
47720         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
47721         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
47722         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
47723         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
47724         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
47725         "+r" and remove output regs list as redundant.  Add explicit inline
47726         asm to specify register of return val to work around compiler codegen
47727         bug.  Remove (int) cast on return value.  Add return type parameter to
47728         use in macro so that this macro does not truncate return value for
47729         64-bit values.
47730         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
47731         pass to INTERNAL_VSYSCALL_NCS.
47732         (INLINE_VSYSCALL): Add 'long int' as return type to
47733         INTERNAL_VSYSCALL_NCS macro invocation.
47734         (INTERNAL_VSYSCALL): Add 'long int' as return type to
47735         INTERNAL_VSYSCALL_NCS macro invocation.
47736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
47738 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
47740         [BZ #14496]
47741         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
47742         Fix application of SIMD FP exception mask.
47744         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
47745         mp_no from a power of two.
47746         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
47747         __mpexp_twomm1.  Use __pow_mp.
47749         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
47750         multiplication.
47752 2013-01-17  David S. Miller  <davem@davemloft.net>
47754         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47756 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
47758         [BZ #15023]
47759         * include/complex.h: Condition contents on [!_COMPLEX_H].
47760         (__kernel_casinhf): New prototype.
47761         (__kernel_casinh): Likewise.
47762         (__kernel_casinhl): Likewise.
47763         * math/Makefile (libm_calls): Add k_casinh.
47764         * math/k_casinh.c: New file.
47765         * math/k_casinhf.c: Likewise.
47766         * math/k_casinhl.c: Likewise.
47767         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
47768         finite nonzero arguments.
47769         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
47770         finite nonzero arguments.
47771         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
47772         finite nonzero arguments.
47773         * math/s_casinh.c: Do not include <float.h>.
47774         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
47775         * math/s_casinhf.c: Do not include <float.h>.
47776         (__casinhf): Move code for finite nonzero arguments to
47777         k_casinhf.c.
47778         * math/s_casinhl.c: Do not include <float.h>.
47779         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
47780         redefine.
47781         (__casinhl): Move code for finite nonzero arguments to
47782         k_casinhl.c.
47783         * math/libm-test.inc (cacos_test): Add more tests.
47784         * sysdeps/i386/fpu/libm-test-ulps: Update.
47785         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47787 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
47789         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
47790         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
47791         [!HAVE_MREMAP]: Remove [defined linux] case.
47792         * malloc/arena.c: Do not include <malloc-sysdep.h>.
47794 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
47796         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
47798 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
47800         * elf/elf.h (R_386_SIZE32): New relocation.
47801         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
47802         R_386_SIZE32.
47803         (elf_machine_rela): Likewise.
47804         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
47805         R_X86_64_SIZE64 and R_X86_64_SIZE32.
47807 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
47809         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
47810         (FP_FAST_FMA): Do not define.
47811         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
47812         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
47813         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
47814         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
47815         !_SOFT_FLOAT]: Likewise.
47816         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
47817         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
47818         value.
47819         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
47820         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
47821         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
47822         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
47823         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
47824         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
47825         file.
47827 2013-01-16  Andreas Schwab  <schwab@suse.de>
47829         [BZ #14327]
47830         * include/stdlib.h (__mktemp): Add declaration.
47831         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
47832         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
47834 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
47836         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
47837         definitions.
47838         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
47839         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
47840         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
47841         definitions here.
47842         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
47843         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
47844         definitions.
47845         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
47846         and ONE.
47847         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
47848         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
47849         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
47850         definitions.
47851         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
47852         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
47853         definitions.
47854         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
47856         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
47858 2013-01-15  David S. Miller  <davem@davemloft.net>
47860         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
47861         trunc{,f} to libm-sysdep_routes.
47862         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
47863         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
47864         file.
47865         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
47866         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
47867         file.
47868         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
47869         file.
47870         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
47871         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
47872         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
47873         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
47874         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
47875         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
47876         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
47877         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
47879         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
47880         nearbyint{,f} to libm-sysdep_routes.
47881         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
47882         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
47883         New file.
47884         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
47885         file.
47886         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
47887         New file.
47888         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
47889         file.
47890         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
47891         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
47892         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
47893         file.
47894         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
47895         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
47896         file.
47897         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
47898         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
47899         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
47901         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
47902         libc_feholdexcept and libc_fesetenv.
47904 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
47906         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
47908 2013-01-14  David S. Miller  <davem@davemloft.net>
47910         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
47911         (SPARC_ASM_VIS2_IFUNC): Likewise.
47912         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
47913         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
47914         use of 'siam' instruction.
47915         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
47916         Likewise.
47917         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
47918         Likewise.
47919         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
47920         Likewise.
47921         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
47922         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
47923         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
47924         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
47925         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
47926         file.
47927         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
47928         file.
47929         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
47930         file.
47931         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
47932         file.
47933         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
47934         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
47935         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
47936         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
47937         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
47938         new VIS2 routines.
47939         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
47940         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
47941         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
47942         Likewise.
47943         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
47944         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
47945         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
47946         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
47947         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
47948         routines to libm-sysdep_routines.
47949         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
47951         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
47952         fdim/fdimf to libm-sysdep_routines.
47953         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
47954         file.
47955         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
47956         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
47957         file.
47958         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
47959         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
47960         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
47961         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
47962         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
47963         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
47964         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
47966 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
47968         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
47969         to optimize copies.
47971         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
47972         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
47973         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
47975         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
47976         local variable MPTWO.
47977         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
47978         Likewise.
47980 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
47982         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
47983         GLOB_NOESCAPE.
47985 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
47987         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
47989 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
47991         * manual/pattern.texi (glob_t): Document gl_flags.
47992         (glob64_t): Likewise.
47994 2013-01-11  David S. Miller  <davem@davemloft.net>
47996         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
47997         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
47998         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
47999         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
48000         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
48001         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
48002         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
48003         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
48004         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
48005         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
48006         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
48007         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
48008         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
48010         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
48011         sparc V9 rather than using V8 code.
48012         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
48013         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
48015         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
48016         Move to...
48017         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
48018         Here.
48020 2013-01-11  Roland McGrath  <roland@hack.frob.com>
48022         [BZ #14941]
48023         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
48024         not in the main loop.
48025         * configure: Regenerated.
48027 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
48029         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
48030         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
48031         to just #else.
48032         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
48033         [!__GLIBC_HAVE_LONG_LONG] case.
48034         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
48035         condition to just #else.
48036         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
48037         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
48038         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
48039         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
48040         unconditional.
48041         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
48042         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
48043         #elif condition to just #else.
48044         * sysdeps/unix/sysv/linux/sys/sysmacros.h
48045         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
48046         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
48047         #elif condition to just #else.
48049 2013-01-11  Steve Ellcey  <sellcey@mips.com>
48051         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
48052         (EF_MIPS_ARCH_64): Fix value.
48053         (EF_MIPS_ARCH_32R2): New.
48054         (EF_MIPS_ARCH_64R2): New.
48056 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
48058         * Makeconfig (+link-pie-before-libc): New.
48059         (+link-pie-after-libc): Likewise.
48060         (+link-pie-tests): Likewise.
48061         (+link-pie): Rewritten.
48062         (link-before-libc): Remove $(config-LDFLAGS).
48063         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
48064         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
48065         (config-LDFLAGS): Renamed to ...
48066         (rtld-LDFLAGS): This.
48067         (rtld-tests-LDFLAGS): New macro.
48068         (link-libc-rpath-link): Likewise.
48069         (link-libc-tests-rpath-link): Likewise.
48070         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
48071         (link-libc): Prepand $(link-libc-rpath-link).
48072         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
48073         (test-program-prefix): New macro.
48074         (test-via-rtld-prefix): Likewise.
48075         (test-program-cmd): Likewise.
48076         (host-test-program-cmd): Likewise.
48077         * Makefile ($(common-objpfx)testrun.sh): Replace
48078         $(run-program-prefix) with $(test-program-prefix).
48079         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
48080         $(rtld-LDFLAGS).
48081         ($(common-objpfx)shlib.lds): Likewise.
48082         (build-module-helper): Likewise.
48083         ($(common-objpfx)format.lds): Likewise.
48084         * Rules (binaries-pie-tests): New.
48085         (binaries-pie-notests): Likewise.
48086         (binaries-pie): Rewritten.
48087         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
48088         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
48089         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
48090         (make-test-out): Replace $(host-built-program-cmd) with
48091         $(host-test-program-cmd).
48092         * config.make.in (build-hardcoded-path-in-tests): New variable.
48093         * configure.in (--enable-hardcoded-path-in-tests): New configure
48094         option.
48095         (hardcoded_path_in_tests): New AC_SUBST.
48096         * configure: Regenerated.
48097         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
48098         $(built-program-cmd) with $(test-program-cmd).
48099         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
48100         (test_program_cmd): This.
48101         * elf/Makefile ($(objpfx)order.out): Run test with
48102         $(test-program-prefix).
48103         ($(objpfx)order2.out): Likewise.
48104         ($(objpfx)tst-initorder.out): Likewise.
48105         ($(objpfx)tst-initorder2.out): Likewise.
48106         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
48107         $(test-program-cmd).
48108         ($(objpfx)tst-array1-static.out): Likewise.
48109         ($(objpfx)tst-array2.out): Likewise.
48110         ($(objpfx)tst-array3.out): Likewise.
48111         ($(objpfx)tst-array4.out): Likewise.
48112         ($(objpfx)tst-array5.out): Likewise.
48113         ($(objpfx)tst-array5-static.out): Likewise.
48114         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
48115         $(test-program-cmd).
48116         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
48117         $(run-program-prefix) with $(test-program-prefix).
48118         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
48119         (test_program_prefix): This.
48120         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
48121         $(run-program-prefix) with $(test-program-prefix).
48122         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
48123         (test_program_prefix): This.
48124         * iconvdata/tst-tables.sh: Likewise.
48125         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
48126         $(run-program-prefix) with $(test-program-prefix).
48127         ($(objpfx)tst-translit.out): Likewise.
48128         ($(objpfx)tst-gettext2.out): Likewise.
48129         ($(objpfx)tst-gettext4.out): Likewise.
48130         ($(objpfx)tst-gettext6.out): Likewise.
48131         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
48132         (test_program_prefix): This.
48133         * intl/tst-gettext2.sh: Likewise.
48134         * intl/tst-gettext4.sh  Likewise.
48135         * intl/tst-gettext6.sh: Likewise.
48136         * intl/tst-translit.sh: Likewise.
48137         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
48138         with $(test-program-cmd).
48139         * libio/Makefile ($(objpfx)test-freopen.out): Replace
48140         $(run-program-prefix) with $(test-program-prefix).
48141         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
48142         (test_program_prefix): This.
48143         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
48144         $(run-program-prefix) with $(test-program-prefix).
48145         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
48146         (test_program_prefix): This.
48147         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
48148         * posix/Makefile ($(objpfx)globtest.out): Replace
48149         $(run-via-rtld-prefix) and $(test-wrapper) with
48150         $(test-program-prefix) and $(test-via-rtld-prefix).
48151         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
48152         $(test-program-prefix).
48153         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
48154         $(host-test-program-cmd).
48155         (tst-spawn-ARGS): Likewise.
48156         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
48157         $(test-program-prefix).
48158         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
48159         (test_via_rtld_prefix): This.
48160         (test_wrapper): Renamed to ...
48161         (test_program_prefix): This.
48162         (run_program_prefix): Replaced by test_program_prefix.
48163         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
48164         (test_program_prefix): This.
48165         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
48166         with $(host-test-program-cmd).
48167         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
48168         $(run-program-prefix) with $(test-program-prefix).
48169         ($(objpfx)tst-printf.out): Likewise.
48170         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
48171         $(test-program-cmd).
48172         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
48173         (test_program_prefix): This.
48174         * stdio-common/tst-unbputc.sh: Likewise.
48175         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
48176         $(run-program-prefix) with $(test-program-prefix).
48177         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
48178         (test_program_prefix): This.
48179         * string/Makefile ($(objpfx)tst-svc.out):  Replace
48180         $(built-program-cmd) with $(test-program-cmd).
48182 2013-01-11  Andreas Jaeger  <aj@suse.de>
48184         [BZ #15003]
48185         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
48186         value. Sync with Linux 3.7.
48188 2013-01-10  David S. Miller  <davem@davemloft.net>
48190         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
48191         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
48192         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
48194 2013-01-10  Roland McGrath  <roland@hack.frob.com>
48196         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
48197         never set.
48198         * configure: Regenerated.
48200 2013-01-10  David S. Miller  <davem@davemloft.net>
48202         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
48203         sparc V9 rather than using V8 code.
48204         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
48205         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
48207 2013-01-10  Roland McGrath  <roland@hack.frob.com>
48209         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
48210         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
48211         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
48212         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
48213         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
48214         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
48215         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
48216         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
48217         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
48218         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
48219         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
48220         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
48221         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
48222         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
48223         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
48224         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
48225         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
48226         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
48227         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
48228         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
48229         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
48230         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
48231         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
48232         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
48233         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
48234         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
48235         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
48237 2013-01-10  David S. Miller  <davem@davemloft.net>
48239         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48241 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
48243         * posix/Makefile (tests-static): New variable.
48244         (tests): Add $(tests-static).
48245         (tst-exec-static-ARGS): New variable.
48246         (tst-spawn-static-ARGS): Likewise.
48247         * posix/tst-exec-static.c: New file.
48248         * posix/tst-spawn-static.c: Likewise.
48249         * posix/tst-exec.c: Support run directly.
48250         * posix/tst-spawn.c: Likewise.
48252 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
48254         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
48255         long.
48256         * math/bits/mathcalls.h (llrint): Likewise.
48257         (llround): Likewise.
48258         * stdlib/stdlib.h (struct drand48_data): Likewise.
48259         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
48260         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
48261         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
48262         Likewise.
48263         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
48264         Likewise.
48265         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
48266         (elf_greg_t): Likewise.
48267         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
48268         (__jmp_buf): Likewise.
48269         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
48270         definitions.
48271         (llrint): Likewise, for all definitions.
48272         (llrintl): Likewise.
48274         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
48275         Remove [__GNUC__] condition.
48276         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
48277         condition to just [__USE_ISOC99].
48278         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
48280 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
48282         [BZ #14200]
48283         * sysdeps/unix/sysv/linux/x86/bits/environments.h
48284         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
48285         defined.
48286         (_POSIX_V6_ILP32_OFF32): Likewise.
48287         (_XBS5_ILP32_OFF32): Likewise.
48288         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
48289         (__ILP32_OFFBIG_LDFLAGS): Likewise.
48291 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
48293         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
48295         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
48296         doubles __mpexp_twomm1.  Adjust usage.
48297         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
48298         Remove.
48300 2013-01-10  Andreas Schwab  <schwab@suse.de>
48302         [BZ #14964]
48303         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
48304         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
48306 2013-01-09  David S. Miller  <davem@davemloft.net>
48308         [BZ #15003]
48309         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
48310         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
48311         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
48312         (TCP_FASTOPEN): Define.
48313         (tcp_repair_opt): New structure.
48314         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
48315         enum values.
48316         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
48317         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
48318         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
48319         (tcp_cookie_transactions): New structure.
48321 2013-01-09  Anton Blanchard  <anton@samba.org>
48323         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
48324         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
48325         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
48326         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
48328 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
48330         * include/features.h (__USE_ANSI): Remove.
48332 2013-01-09  Roland McGrath  <roland@hack.frob.com>
48334         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
48336         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
48338 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
48340         * sysdeps/s390/fpu/libm-test-ulps: Update.
48342         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48344         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
48345         (__acr): Likewise.
48346         (__cpy): Likewise.
48347         (norm): Likewise.
48348         (denorm): Likewise.
48349         (__mp_dbl): Likewise.
48350         (__dbl_mp): Likewise.
48351         (add_magnitudes): Likewise.
48352         (sub_magnitudes): Likewise.
48353         (__add): Likewise.
48354         (__sub): Likewise.
48355         (__mul): Likewise.
48356         (__inv): Likewise.
48357         (__dvd): Likewise.
48358         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
48359         (__acr): Likewise.
48360         (__cpy): Likewise.
48361         (norm): Likewise.
48362         (denorm): Likewise.
48363         (__mp_dbl): Likewise.
48364         (__dbl_mp): Likewise.
48365         (add_magnitudes): Likewise.
48366         (sub_magnitudes): Likewise.
48367         (__add): Likewise.
48368         (__sub): Likewise.
48369         (__mul): Likewise.
48370         (__inv): Likewise.
48371         (__dvd): Likewise.
48372         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
48373         (__acr): Likewise.
48374         (__cpy): Likewise.
48375         (norm): Likewise.
48376         (denorm): Likewise.
48377         (__mp_dbl): Likewise.
48378         (__dbl_mp): Likewise.
48379         (add_magnitudes): Likewise.
48380         (sub_magnitudes): Likewise.
48381         (__add): Likewise.
48382         (__sub): Likewise.
48383         (__mul): Likewise.
48384         (__inv): Likewise.
48385         (__dvd): Likewise.
48387 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
48389         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
48390         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
48391         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
48392         2 && __USE_EXTERN_INLINES]: Likewise.
48394 2013-01-08  Andreas Jaeger  <aj@suse.de>
48396         [BZ# 14985]
48397         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
48398         Remove.
48399         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
48400         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
48402 2013-01-07  Anton Blanchard  <anton@samba.org>
48404         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
48405         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
48406         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
48407         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
48408         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
48409         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
48410         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
48411         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
48412         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
48413         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
48414         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
48415         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
48416         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
48417         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
48418         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
48419         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
48420         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
48421         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
48422         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
48423         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
48424         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
48425         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
48426         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
48427         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
48428         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
48429         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
48430         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
48431         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
48432         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
48433         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
48434         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
48435         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
48436         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
48437         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
48438         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
48439         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
48440         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
48441         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
48442         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
48443         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
48444         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
48445         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
48446         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
48448 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
48450         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
48451         (__MALLOC_PMT): Likewise.
48452         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
48453         [__GNUC__], only on [_LIBC].
48454         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
48455         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
48456         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
48457         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
48458         forward declaration.
48459         (realloc_hook_ini): Likewise.
48460         (memalign_hook_ini): Likewise.
48461         (__libc_memalign): Do not use __MALLOC_PMT in variable
48462         declaration.
48463         (__libc_valloc): Likewise.
48464         (__libc_pvalloc): Likewise.
48465         (__libc_calloc): Likewise.
48466         (__posix_memalign): Likewise.
48468         [BZ #14996]
48469         * math/s_casinh.c: Include <float.h>.
48470         (__casinh): Do not do computation with squaring and square root
48471         for large arguments.
48472         * math/s_casinhf.c: Include <float.h>.
48473         (__casinhf): Do not do computation with squaring and square root
48474         for large arguments.
48475         * math/s_casinhl.c: Include <float.h>.
48476         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
48477         (__casinhl): Do not do computation with squaring and square root
48478         for large arguments.
48479         * math/libm-test.inc (casin_test): Add more tests.
48480         (casinh_test): Likewise.
48481         * sysdeps/i386/fpu/libm-test-ulps: Update.
48482         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48484 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
48486         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
48487         (__x86_64_raw_data_cache_size): Likewise.
48488         (__x86_64_data_cache_size_half): Likewise.
48489         (__x86_64_raw_data_cache_size_half): Likewise.
48490         (__x86_64_shared_cache_size): Likewise.
48491         (__x86_64_raw_shared_cache_size): Likewise.
48492         (__x86_64_shared_cache_size_half): Likewise.
48493         (__x86_64_raw_shared_cache_size_half): Likewise.
48494         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
48495         to ...
48496         (__x86_data_cache_size): This.
48497         (__x86_64_raw_data_cache_size): Renamed to ...
48498         (__x86_raw_data_cache_size): This.
48499         (__x86_64_data_cache_size_half): Renamed to ...
48500         (__x86_data_cache_size_half): This.
48501         (__x86_64_raw_data_cache_size_half): Renamed to ...
48502         (__x86_raw_data_cache_size_half): This.
48503         (__x86_64_shared_cache_size): Renamed to ...
48504         (__x86_shared_cache_size): This.
48505         (__x86_64_raw_shared_cache_size): Renamed to ...
48506         (__x86_raw_shared_cache_size): This.
48507         (__x86_64_shared_cache_size_half): Renamed to ...
48508         (__x86_shared_cache_size_half): This.
48509         (__x86_64_raw_shared_cache_size_half): Renamed to ...
48510         (__x86_raw_shared_cache_size_half): This.
48511         * sysdeps/x86_64/memcpy.S: Updated.
48512         * sysdeps/x86_64/memset.S: Likewise.
48513         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
48514         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
48515         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
48517 2013-01-04  David S. Miller  <davem@davemloft.net>
48519         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48521 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
48523         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
48524         1 to avoid redefinition warning.
48525         (__USE_GNU): Don't define.
48526         (init_signaling_nan): Protoize.
48528         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48530 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
48532         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
48533         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
48534         (__cpymn): Likewise.
48535         (norm): Remove commented code.
48536         (denorm): Likewise.
48537         (__mp_dbl): Likewise.
48538         (__inv): Likewise.
48539         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
48540         (__cpymn): Likewise.
48541         (norm): Remove commented code.
48542         (denorm): Likewise.
48543         (__mp_dbl): Likewise.
48544         (__inv): Likewise.
48546         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
48547         mp_no value for 1.0 and 2.0.
48548         (norm): Use RADIXI instead of radixi.d.
48549         (denorm): Likewise.
48550         (__mul): Use 0.0 instead of zero.d.
48551         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
48552         mp_no value for 1.0 and 2.0.
48553         (norm): Use RADIXI instead of radixi.d.
48554         (denorm): Likewise.
48555         (__mul): Use 0.0 instead of zero.d.
48557 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
48559         [BZ #14994]
48560         * math/s_casinh.c (__casinh): Reduce finite argument to first
48561         quadrant then set signs of results at the end.
48562         * math/s_casinhf.c (__casinhf): Likewise.
48563         * math/s_casinhl.c (__casinhl): Likewise.
48564         * math/libm-test.inc (casin_test): Add more tests.
48565         (casinh_test): Likewise.
48566         * sysdeps/i386/fpu/libm-test-ulps: Update.
48567         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48569 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
48571         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
48573         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
48575         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
48576         declarations.
48577         (denorm): Likewise.
48578         (__mp_dbl): Likewise.
48579         (__inv): Likewise.
48581         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
48582         and adjust the header comment.
48584         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
48585         variable name from declaration.
48587 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
48589         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48590         Initialize COMMON_CPUID_INDEX_7 element.
48591         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
48592         (CPUID_RTM): Likewise.
48593         (HAS_RTM): Likewise.
48594         (COMMON_CPUID_INDEX_7): New enum.
48596 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
48598         [BZ #14981]
48599         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
48600         size is zero, record memory as freed.
48602 2013-01-03  Andreas Jaeger  <aj@suse.de>
48604         * po/ia.po: Add new Interlingua translation.
48606 2012-01-03  Allan McRae  <allan@archlinux.org>
48608         * locale/programs/localedef.c: Fix description of '--posix' flag.
48610 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
48612         * NEWS: Update dates in second copyright notice.
48613         * README: Update copyright dates in example.
48614         * manual/libc.texinfo: Update copyright dates.
48615         * scripts/test-installation.pl: Update copyright date in --version
48616         output.
48618         * hurd/ctty-input.c: Fix copyright notice formatting.
48619         * hurd/ctty-output.c: Likewise.
48620         * hurd/dtable.c: Likewise.
48621         * hurd/hurd-raise.c: Likewise.
48622         * hurd/hurdprio.c: Likewise.
48623         * hurd/msgportdemux.c: Likewise.
48624         * misc/sys/file.h: Likewise.
48625         * misc/sys/ioctl.h: Likewise.
48626         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
48627         * sysdeps/mach/hurd/chdir.c: Likewise.
48628         * sysdeps/mach/hurd/fchdir.c: Likewise.
48629         * sysdeps/mach/hurd/rename.c: Likewise.
48630         * sysdeps/mach/hurd/rmdir.c: Likewise.
48631         * sysdeps/mach/hurd/seekdir.c: Likewise.
48632         * sysdeps/mach/hurd/setsid.c: Likewise.
48633         * sysdeps/posix/wait3.c: Likewise.
48635         * All files with FSF copyright notices: Update copyright dates
48636         using scripts/update-copyrights.
48637         * intl/plural.c: Regenerated.
48638         * locale/programs/charmap-kw.h: Likewise.
48639         * locale/programs/locfile-kw.h: Likewise.
48641 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
48643         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
48644         four values.
48646         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
48647         calculation loop and add branch prediction.
48649         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
48650         check access beyond bounds of m1np.
48652         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
48653         MPTWO.
48654         (__inv): Remove local variable MPTWO to use the global
48655         constant.
48656         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
48657         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
48658         variable MPTWO.
48659         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
48660         MP3HALFS static const.
48662 2013-01-01  David S. Miller  <davem@davemloft.net>
48664         * po/ca.po: Update from translation team.
48666 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
48668         * scripts/update-copyrights: New file.
48669         * Makeconfig: Reformat copyright notice.
48670         * ctype/ctype.h: Likewise.
48671         * debug/swprintf_chk.c: Likewise.
48672         * elf/dl-cache.c: Likewise.
48673         * elf/dl-debug.c: Likewise.
48674         * elf/dl-object.c: Likewise.
48675         * grp/initgroups.c: Likewise.
48676         * hurd/Makefile: Likewise.
48677         * hurd/hurd/signal.h: Likewise.
48678         * hurd/hurdfault.c: Likewise.
48679         * hurd/hurdioctl.c: Likewise.
48680         * hurd/hurdlookup.c: Likewise.
48681         * hurd/intr-msg.c: Likewise.
48682         * iconv/gconv_open.c: Likewise.
48683         * libio/swprintf.c: Likewise.
48684         * locale/lc-ctype.c: Likewise.
48685         * locale/nl_langinfo.c: Likewise.
48686         * mach/Machrules: Likewise.
48687         * mach/Makefile: Likewise.
48688         * malloc/obstack.h: Likewise.
48689         * manual/Makefile: Likewise.
48690         * manual/tsort.awk: Likewise.
48691         * misc/bits/stab.def: Likewise.
48692         * nis/nis_print_group_entry.c: Likewise.
48693         * nis/nis_table.c: Likewise.
48694         * nis/nss_compat/compat-pwd.c: Likewise.
48695         * nis/nss_compat/compat-spwd.c: Likewise.
48696         * po/Makefile: Likewise.
48697         * posix/fnmatch.c: Likewise.
48698         * posix/regex.h: Likewise.
48699         * resolv/Makefile: Likewise.
48700         * resolv/nss_dns/dns-network.c: Likewise.
48701         * resolv/res_hconf.c: Likewise.
48702         * scripts/gen-sorted.awk: Likewise.
48703         * soft-fp/soft-fp.h: Likewise.
48704         * stdio-common/printf.h: Likewise.
48705         * stdlib/monetary.h: Likewise.
48706         * stdlib/random.c: Likewise.
48707         * stdlib/random_r.c: Likewise.
48708         * sysdeps/generic/Makefile: Likewise.
48709         * sysdeps/gnu/Makefile: Likewise.
48710         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
48711         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48712         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
48713         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48714         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48715         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48716         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48717         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
48718         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
48719         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48720         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
48721         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
48722         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
48723         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
48724         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
48725         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
48726         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
48727         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48728         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
48729         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48730         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
48731         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
48732         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
48733         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
48734         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
48735         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
48736         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
48737         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
48738         * sysdeps/mach/hurd/errnos.awk: Likewise.
48739         * sysdeps/mach/hurd/fork.c: Likewise.
48740         * sysdeps/mach/hurd/getcwd.c: Likewise.
48741         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
48742         * sysdeps/mach/hurd/mmap.c: Likewise.
48743         * sysdeps/mach/hurd/utimes.c: Likewise.
48744         * sysdeps/mach/hurd/xmknod.c: Likewise.
48745         * sysdeps/posix/profil.c: Likewise.
48746         * sysdeps/posix/readdir_r.c: Likewise.
48747         * sysdeps/powerpc/bits/mathdef.h: Likewise.
48748         * sysdeps/powerpc/bits/setjmp.h: Likewise.
48749         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
48750         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
48751         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
48752         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
48753         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
48754         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
48755         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
48756         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
48757         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
48758         * sysdeps/pthread/lio_listio.c: Likewise.
48759         * sysdeps/sparc/dl-procinfo.h: Likewise.
48760         * sysdeps/unix/i386/sysdep.S: Likewise.
48761         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
48762         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
48763         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
48764         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
48765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
48766         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
48767         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
48768         * sysdeps/unix/sysv/linux/speed.c: Likewise.
48769         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
48770         * sysdeps/wordsize-32/divdi3.c: Likewise.
48771         * time/sys/time.h: Likewise.
48772         * wcsmbs/Makefile: Likewise.
48774 2013-01-01  David S. Miller  <davem@davemloft.net>
48776         * po/fr.po: Update from translation team.
48778         * catgets/gencat.c: Update copyright year.
48779         * csu/version.c: Likewise.
48780         * debug/catchsegv.sh: Likewise.
48781         * debug/pcprofiledump.c: Likewise.
48782         * debug/xtrace.sh: Likewise.
48783         * elf/ldconfig.c: Likewise.
48784         * elf/ldd.bash.in: Likewise.
48785         * elf/pldd.c: Likewise.
48786         * elf/sotruss.ksh: Likewise.
48787         * elf/sprof.c: Likewise.
48788         * iconv/iconv_prog.c: Likewise.
48789         * iconv/iconvconfig.c: Likewise.
48790         * locale/programs/locale.c: Likewise.
48791         * locale/programs/localedef.c: Likewise.
48792         * login/programs/pt_chown.c: Likewise.
48793         * malloc/memusage.sh: Likewise.
48794         * malloc/memusagestat.c: Likewise.
48795         * malloc/mtrace.pl: Likewise.
48796         * nscd/nscd.c: Likewise.
48797         * nss/getent.c: Likewise.
48798         * nss/makedb.c: Likewise.
48799         * posix/getconf.c: Likewise.
48801 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
48803         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
48804         numbers.
48806 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
48808         * math/bits/mathcalls.h (modf): Use __nonnull.
48810 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
48812         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
48813         (split): Use macro CN instead of the bare value.
48814         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
48815         could be used.
48816         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
48817         instead of the bare value.
48818         (power1): Likewise.
48820 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
48822         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
48823         __ATAN_TWOM.
48824         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
48826         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
48827         their values.
48828         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
48829         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
48830         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
48831         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
48833 2012-12-28  Andreas Jaeger  <aj@suse.de>
48835         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
48836         values are from Linux 3.7.
48838         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
48839         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
48841 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
48843         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
48844         TRUE case.
48846         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
48847         (norm): Likewise.
48848         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
48849         variables with preprocessor constants.
48850         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
48851         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
48852         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
48854 2012-12-27  Bruno Haible  <bruno@clisp.org>
48856         [BZ #14317]
48857         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
48858         only if needed.
48860 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
48862         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
48863         and use variable directly.
48864         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
48866         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
48867         MPONE.
48868         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
48869         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
48870         variable MPONE.
48871         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
48872         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
48873         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
48874         include directive.  Remove local variable MPONE.
48875         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
48876         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
48877         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
48879 2012-12-25  David S. Miller  <davem@davemloft.net>
48881         * version.h (RELEASE): Set to "development".
48882         (VERSION): Set to "2.17.90".
48883         * NEWS: Add 2.18 section.
48885 2012-12-21  David S. Miller  <davem@davemloft.net>
48887         * po/hr.po: Update from translation team.
48889 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48891         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
48893 2012-12-19  Steve Ellcey  <sellcey@mips.com>
48895         * NEWS:  Mention new memcpy for MIPS.
48897 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
48899         * manual/contrib.texi (Contributors): Spelling correction.
48901 2012-12-15  David S. Miller  <davem@davemloft.net>
48903         * po/ru.po: Update from translation team.
48905 2012-12-13  David S. Miller  <davem@davemloft.net>
48907         * NEWS: Mention IFUNC testsuite enhancements.
48909         * po/pl.po: Update from translation team.
48910         * po/bg.po: Likewise.
48912         * manual/contrib.texi (Contributors): Update entries for Hongjiu
48913         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
48915 2012-12-11  David S. Miller  <davem@davemloft.net>
48917         * po/sv.po: Update from translation team.
48919         * po/vi.po: Update from translation team.
48921         * po/cs.po: Update from translation team.
48923         * po/de.po: Update from translation team.
48924         * po/eo.po: Likewise.
48925         * po/nl.po: Likewise.
48927 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
48929         [BZ #14246]
48930         * manual/argp.texi (Argp Helper Functions): Move node to follow
48931         Argp Parsing State.
48933         [BZ #14872]
48934         * manual/conf.texi (Limits on File System Capacity): Mention if
48935         terminating null is included in the max size.
48937 2012-12-10  Andreas Jaeger  <aj@suse.de>
48939         * po/cs.po: Update from translation team.
48941 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
48943         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
48944         void pointer and cast to uintptr_t.
48945         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
48946         path.
48947         * sysdeps/s390/s390-64/memcpy.S: Likewise.
48948         * sysdeps/s390/s390-64/memset.S: Likewise.
48950 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
48952         [BZ #14833]
48953         * menual/message.texi (Message Translation): Fix typos.
48954         (Helper programs for gettext): Likewise.
48956 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
48958         [BZ #14898]
48959         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
48960         Change to -1.
48962 2012-12-07  David S. Miller  <davem@davemloft.net>
48964         * po/libc.pot: Update.
48966 2012-12-07  Richard Henderson  <rth@redhat.com>
48968         [BZ #10114]
48969         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
48970         normal/normal case to before the switch.
48971         (_FP_DIV): Likewise.
48973 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
48974             Mike Frysinger  <vapier@gentoo.org>
48976         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
48977         check for __NR_fadvise64_64.
48979 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
48981         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
48982         0, not just to plain "0" as a statement.
48983         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
48984         with cw.
48986 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
48988         * NEWS: Use sourceware.org in Bugzilla URL.
48990 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
48992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
48993         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
48995         * stdio-common/tst-put-error.c (do_test): Add newline to the
48996         padded test to ensure flush.
48998 2012-12-05  Jeff Law  <law@redhat.com>
49000         * sunrpc/etc.rpc (fedfs_admin): Add entry.
49002 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
49004         * README: Don't refer to ports add-on as distributed separately.
49005         Mention AArch64 in list of systems supported in the ports add-on.
49007         * LICENSES: Add more non-FSF copyright and license notices.
49009         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
49010         ((unused)).
49012         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
49014         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
49015         10000 as width of padded output.
49017 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
49019         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
49021         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
49022         variable LX with __attribute__ ((unused)).
49023         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
49024         Likewise.
49025         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
49026         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
49027         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
49028         with __attribute__ ((unused)).
49030 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
49032         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
49034 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
49036         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
49037         (CFLAGS-nldbl-acos.c): New variable.
49038         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
49039         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
49040         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
49041         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
49042         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
49043         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
49044         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
49045         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
49046         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
49047         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
49048         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
49049         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
49050         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
49051         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
49052         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
49053         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
49054         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
49055         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
49056         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
49057         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
49058         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
49059         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
49060         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
49061         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
49062         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
49063         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
49064         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
49065         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
49066         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
49067         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
49068         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
49069         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
49070         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
49071         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
49072         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
49073         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
49074         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
49075         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
49076         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
49077         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
49078         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
49079         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
49080         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
49081         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
49082         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
49083         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
49084         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
49085         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
49086         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
49087         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
49088         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
49089         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
49090         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
49091         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
49092         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
49093         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
49094         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
49095         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
49096         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
49097         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
49098         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
49099         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
49100         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
49101         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
49102         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
49103         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
49104         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
49105         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
49106         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
49107         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
49108         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
49109         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
49110         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
49111         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
49112         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
49113         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
49114         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
49115         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
49116         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
49117         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
49118         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
49119         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
49120         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
49121         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
49122         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
49123         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
49124         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
49125         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
49126         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
49127         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
49128         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
49129         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
49130         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
49131         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
49132         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
49133         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
49134         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
49136         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
49137         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
49139         [BZ #14914]
49140         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
49141         whole low double instead of just low 47 bits when splitting values
49142         into two parts.
49144 2012-12-03  Allan McRae  <allan@archlinux.org>
49146         * manual/stdio.texi (Predefined Printf Handlers): Remove
49147         @hsep and @vsep usage.
49149 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
49151         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
49152         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
49154 2012-12-03  Jeff Law  <law@redhat.com>
49156         * time/sys/time.h (settimeofday): Do not mark TV argument
49157         as __nonnull.
49159 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
49161         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
49162         when currently writing and seek to current position when not.
49163         * libio/Makefile (tests): Remove bug-fclose1.
49164         * libio/bug-fclose1.c: Delete.
49166 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
49168         * manual/arith.texi (feenableexcept): Fix typo.
49169         (fedisableexcept): Likewise.
49171 2012-11-30  Roland McGrath  <roland@hack.frob.com>
49173         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
49174         second, differently-typed declaration, rather than a cast.
49176 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
49178         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
49179         * include/rpc/svc.h: ... here.
49181 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
49183         [BZ #13013]
49184         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
49185         depending n and resplen2 to catch cases where answer
49186         equals answerp2.
49188 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
49190         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
49191         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
49193 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
49195         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
49197 2012-11-29  Roland McGrath  <roland@hack.frob.com>
49199         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
49201 2012-11-28  Jeff Law  <law@redhat.com>
49203         [BZ #13761]
49204         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
49205         dataset_temporary.  Track alloca usage into alloca_used.
49206         If dataset is large allocate and release it via malloc/free.
49208 2012-06-04  Florian Weimer  <fweimer@redhat.com>
49210         [BZ #14197]
49211         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
49213 2012-11-28  David S. Miller  <davem@davemloft.net>
49215         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49217 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
49219         [BZ #14803]
49220         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
49221         of pi/2 rounded to nearest to 64 bits.
49222         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
49223         nearest to 64 bits.
49224         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
49225         bits.
49227 2012-11-28  Jeff Law <law@redhat.com>
49228             Martin Osvald <mosvald@redhat.com>
49230         [BZ #14889]
49231         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
49232         * sunrpc/svc.c: Include time.h.
49233         (__svc_accept_failed): New function.
49234         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
49235         any reason other than EINTR, call __svc_accept_failed.
49236         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
49237         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
49239 2012-11-28  Andreas Schwab  <schwab@suse.de>
49241         * scripts/abilist.awk: Also handle indirect functions in .opd
49242         section.
49244 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
49246         [BZ #13881]
49247         * sysdeps/x86/fpu/powl_helper.c: New file.
49248         * sysdeps/x86/fpu/Makefile: Likewise.
49249         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
49250         (p3): New object.
49251         (__ieee754_powl): Use __powl_helper for finite arguments except
49252         integer exponents below 8.
49253         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
49254         (p3): New object.
49255         (__ieee754_powl): Use __powl_helper for finite arguments except
49256         integer exponents below 8.
49257         * math/libm-test.inc (pow_test): Add more tests and enable some
49258         previously disabled tests.
49259         * sysdeps/i386/fpu/libm-test-ulps: Update.
49260         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49262 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
49263             Carlos O'Donell  <carlos_odonell@mentor.com>
49265         * nss/makedb.c (is_prime): Assert that input is odd and greater
49266         than 4.  Note that fact in a comment too.
49267         (next_prime): Add 4 to input.
49269 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
49271         [BZ #11741]
49272         * libio/Makefile (tests): Add test case tst-fwrite-error.
49273         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
49274         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
49275         * libio/tst-fwrite-error.c: New test case.
49277 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
49279         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
49280         before casting to void *.
49281         * include/libc-internal.h (__pointer_type): New macro.
49282         (__integer_if_pointer_type_sub): Likewise.
49283         (__integer_if_pointer_type): Likewise.
49284         (cast_to_integer): Likewise.
49285         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
49286         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
49287         before casting to atomic64_t.
49288         (atomic_exchange_acq): Likewise.
49289         (__arch_exchange_and_add_body): Likewise.
49290         (__arch_add_body): Likewise.
49291         (atomic_add_negative): Likewise.
49292         (atomic_add_zero): Likewise.
49294 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
49296         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
49297         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
49298         (add_fdes): Likewise.
49299         (linear_search_fdes): Likewise.
49300         (binary_search_unencoded_fdes): Likewise.
49302 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
49304         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
49306 2012-11-24  Adam Conrad  <adconrad@0c3.net>
49308         * configure.in: Autodetect C++ header directories.
49309         * configure: Regenerated.
49311 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
49313         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
49315 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
49317         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49319 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
49321         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
49322         LDBL_MANT_DIG == 106]: Disable some tests.
49323         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
49324         Likewise.
49325         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
49326         Likewise.
49328         [BZ #14871]
49329         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
49330         input for small inputs.  Return +/- pi/2 for large inputs.
49331         * math/libm-test.inc (atan_test): Add more tests.
49333         * sysdeps/generic/unwind-dw2-fde-glibc.c
49334         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
49335         __attribute__ ((unused)).
49337         [BZ #14645]
49338         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
49339         x * y if x and y are nonzero and z is zero.
49341         [BZ #14811]
49342         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
49343         nonzero exponents with absolute value below 0x1p-117 to +/-
49344         0x1p-117.
49346         [BZ #14869]
49347         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
49348         up arguments below 2**-450, not just those below 2**-500.
49349         * math/libm-test.inc (hypot_test): Add another test.
49351         [BZ #14868]
49352         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
49353         Return a+b for ratio over 2**120, not 2**60.
49354         * math/libm-test.inc (hypot_test): Add another test.
49356         * math/libm-test.inc (clog_test): Use
49357         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
49358         (clog10_test): Likewise.
49360         [BZ #6778]
49361         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
49363 2012-11-22  Andreas Schwab  <schwab@suse.de>
49365         * sysdeps/i386/fpu/libm-test-ulps: Update.
49367 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
49369         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
49370         printf output with newline.
49372 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
49374         [BZ #14865]
49375         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
49376         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
49377         -z nodlopen, -z initfirst and -z execstack support.
49378         * configure: Regenerated.
49380         * elf/elf.h (DF_1_NODIRECT): New macro.
49381         (DF_1_IGNMULDEF): Likewise.
49382         (DF_1_NOKSYMS): Likewise.
49383         (DF_1_NOHDR): Likewise.
49384         (DF_1_EDITED): Likewise.
49385         (DF_1_NORELOC): Likewise.
49386         (DF_1_SYMINTPOSE): Likewise.
49387         (DF_1_GLOBAUDIT): Likewise.
49388         (DF_1_SINGLETON): Likewise.
49389         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
49390         DT_1_SUPPORTED_MASK bits.
49391         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
49393 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
49395         * sysdeps/unix/make-syscalls.sh: Document prefixes.
49397 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
49399         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
49400         macro.
49402         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
49403         (sendmmsg): Move declarations...
49404         * socket/sys/socket.h: ... here.
49405         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
49406         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
49407         include it from...
49408         * socket/recvmmsg.c: ... this new file.
49409         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
49410         (sendmmsg): Rename to __sendmmsg, create weak alias and make
49411         definition of __sendmmsg hidden.
49412         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
49413         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
49414         Move ENOSYS stub into and include it from...
49415         * socket/sendmmsg.c: ... this new file.
49416         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
49417         (sysdep_routines): Move recvmmsg and sendmmsg...
49418         * socket/Makefile (routines): ... here.
49419         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
49420         (GLIBC_PRIVATE): Add __sendmmsg.
49421         * include/sys/socket.h (__sendmmsg): Add declarations.
49422         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
49423         sendmmsg.
49425 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
49427         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
49428         variable I1 with __attribute__ ((unused)).
49429         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
49431 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
49433         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
49434         DUMMY variables with __attribute__ ((unused)).
49436         * bits/byteswap.h: Include <bits/types.h>.
49437         (__bswap_64): Use __uint64_t instead of unsigned long long int.
49439 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
49441         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
49442         string_t.  Do not manually set errno.
49443         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
49444         length with __strnlen.  Make sure to both set errno and return it on
49445         failure.
49447 2012-11-19  David S. Miller  <davem@davemloft.net>
49449         With help from Joseph Myers.
49450         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
49451         very large arguments properly.
49452         * math/libm-test.inc (atan_test): New tests.
49453         (atan2_test): New tests.
49454         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49455         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49457 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
49459         [BZ #14856]
49460         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
49461         Define to 3.
49463         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
49464         [POSIX] (EADDRNOTAVAIL): Likewise.
49465         [POSIX] (EAFNOSUPPORT): Likewise.
49466         [POSIX] (EALREADY): Likewise.
49467         [POSIX] (ECONNABORTED): Likewise.
49468         [POSIX] (ECONNREFUSED): Likewise.
49469         [POSIX] (ECONNRESET): Likewise.
49470         [POSIX] (EDESTADDRREQ): Likewise.
49471         [POSIX] (EDQUOT): Likewise.
49472         [POSIX] (EHOSTUNREACH): Likewise.
49473         [POSIX] (EIDRM): Likewise.
49474         [POSIX] (EISCONN): Likewise.
49475         [POSIX] (ELOOP): Likewise.
49476         [POSIX] (EMULTIHOP): Likewise.
49477         [POSIX] (ENETDOWN): Likewise.
49478         [POSIX] (ENETUNREACH): Likewise.
49479         [POSIX] (ENOBUFS): Likewise.
49480         [POSIX] (ENODATA): Likewise.
49481         [POSIX] (ENOLINK): Likewise.
49482         [POSIX] (ENOMSG): Likewise.
49483         [POSIX] (ENOPROTOOPT): Likewise.
49484         [POSIX] (ENOSR): Likewise.
49485         [POSIX] (ENOSTR): Likewise.
49486         [POSIX] (ENOTCONN): Likewise.
49487         [POSIX] (ENOTSOCK): Likewise.
49488         [POSIX] (EOPNOTSUPP): Likewise.
49489         [POSIX] (EOVERFLOW): Likewise.
49490         [POSIX] (EPROTO): Likewise.
49491         [POSIX] (EPROTONOSUPPORT): Likewise.
49492         [POSIX] (EPROTOTYPE): Likewise.
49493         [POSIX] (ESTALE): Likewise.
49494         [POSIX] (ETIME): Likewise.
49495         [POSIX] (ETXTBSY): Likewise.
49496         [POSIX] (EWOULDBLOCK): Likewise.
49497         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
49498         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
49499         [POSIX] (SEEK_CUR): Likewise.
49500         [POSIX] (SEEK_END): Likewise.
49501         [POSIX || UNIX98] (mode_t): Do not require.
49502         [POSIX] (off_t): Likewise.
49503         [POSIX] (pid_t): Likewise.
49504         [POSIX] (sys/stat.h): Do not allow header.
49505         [POSIX] (unistd.h): Likewise.
49506         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
49507         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
49508         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
49509         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
49510         require.
49511         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
49512         sigevent): Specify elements.
49513         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
49514         entry.
49515         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
49516         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
49518         * conform/data/cpio.h-data [POSIX]: Disable whole file.
49519         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
49520         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
49521         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
49522         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
49523         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
49524         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
49525         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
49526         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
49527         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
49528         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
49529         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
49530         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
49531         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
49532         Likewise.
49533         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
49534         Likewise.
49535         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
49536         Likewise.
49537         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
49538         Likewise.
49539         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
49540         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
49541         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
49542         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
49543         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
49544         Specify lower bound on value.
49545         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
49546         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
49547         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
49548         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
49549         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
49550         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
49551         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
49552         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
49553         value.
49554         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
49555         as optional.
49556         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
49557         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
49558         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
49559         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
49560         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
49561         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
49562         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
49563         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
49564         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
49565         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
49566         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
49567         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
49568         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
49569         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
49570         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
49571         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
49572         entry.
49573         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
49574         optional.
49575         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
49576         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
49577         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
49578         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
49579         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
49580         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
49581         Likewise.
49582         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
49583         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
49584         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
49585         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
49586         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
49587         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
49588         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
49589         as optional.
49590         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
49591         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
49592         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
49593         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
49594         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
49595         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
49596         specify as optional.
49597         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
49598         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
49599         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
49600         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
49601         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
49602         [XPG3] (NL_LANGMAX): Likewise.
49603         [POSIX || XPG3] (NL_MSGMAX): Likewise.
49604         [POSIX || XPG3] (NL_NMAX): Likewise.
49605         [POSIX || XPG3] (NL_SETMAX): Likewise.
49606         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
49607         [XPG3] (NZERO): Likewise.
49608         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
49609         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
49610         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
49611         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
49612         (REG_ERANGE): Expect.
49613         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
49614         optional-constant.
49615         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
49616         Use (void) in prototype.
49617         [POSIX] (*_t): Allow.
49618         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
49619         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
49620         (WRDE_BADVAL): Expect.
49622         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
49623         expect.
49624         [XPG3 || XPG4] (O_RSYNC): Likewise.
49625         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
49626         Likewise.
49627         [XPG3 || XPG4] (pthread_sigmask): Likewise.
49628         [XPG3 || XPG4] (sigqueue): Likewise.
49629         [XPG3 || XPG4] (sigtimedwait): Likewise.
49630         [XPG3 || XPG4] (sigwaitinfo): Likewise.
49631         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
49632         [XPG3 || XPG4] (vsnprintf): Likewise.
49633         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
49634         Likewise.
49635         [XPG3 || XPG4] (blksize_t): Likewise.
49636         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
49637         Likewise.
49638         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
49639         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
49640         [XPG3 || XPG4] (struct itimerspec): Likewise.
49641         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
49642         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
49643         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
49644         [XPG3 || XPG4] (clockid_t): Likewise.
49645         [XPG3 || XPG4] (timer_t): Likewise.
49646         [XPG3 || XPG4] (clock_getres): Likewise.
49647         [XPG3 || XPG4] (clock_gettime): Likewise.
49648         [XPG3 || XPG4] (clock_settime): Likewise.
49649         [XPG3 || XPG4] (nanosleep): Likewise.
49650         [XPG3 || XPG4] (timer_create): Likewise.
49651         [XPG3 || XPG4] (timer_delete): Likewise.
49652         [XPG3 || XPG4] (timer_gettime): Likewise.
49653         [XPG3 || XPG4] (timer_getoverrun): Likewise.
49654         [XPG3 || XPG4] (timer_settime): Likewise.
49655         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
49656         [XPG3 || XPG4] (getlogin_r): Likewise.
49657         [XPG3 || XPG4] (pread): Likewise.
49658         [XPG3 || XPG4] (pthread_atfork): Likewise.
49659         [XPG3 || XPG4] (pwrite): Likewise.
49661         [BZ #14835]
49662         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
49663         <bits/siginfo.h>.
49665 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
49667         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
49668         finalizing MALLSTREAM.
49670         * sysdeps/mach/hurd/syncfs.c: New file.
49672 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
49674         [BZ #14719]
49675         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
49676         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
49677         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
49678         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
49679         (_nss_dns_gethostbyname4_r): Likewise.
49680         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
49681         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
49683 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
49685         [BZ #13763]
49686         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
49688 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
49690         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
49691         * elf/cache.c (print_entry): Print ",AArch64" for
49692         FLAG_AARCH64_LIB64
49694         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
49695         * elf/cache.c (print_entry): Print ",hard-float" for
49696         FLAG_ARM_LIBHF.
49698 2012-11-18  David S. Miller  <davem@davemloft.net>
49700         With help from Joseph Myers.
49701         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
49702         cutoff to 2**-13.
49703         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
49704         cutoff to 2**-25.
49705         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
49706         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
49707         small.
49708         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
49709         * math/libm-test.inc (y0_test): New tests.
49710         (y1_test): New tests.
49711         * sysdeps/i386/fpu/libm-test-ulps: Update.
49712         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49713         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49715 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
49717         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
49718         64-bit targets.
49719         * configure: Regenerated.
49721 2012-11-17  David S. Miller  <davem@davemloft.net>
49723         [BZ #14811]
49724         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
49725         nonzero exponents with absolute value below 0x1p-128 to +/-
49726         0x1p-128.
49728 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
49730         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
49732         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
49734         * posix/getconf-speclist.c: New file.
49735         * posix/posix-envs.def: Likewise.
49736         * posix/confstr.c (START_ENV_GROUP): New macro.
49737         (END_ENV_GROUP): Likewise.
49738         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
49739         (KNOWN_PRESENT_ENV_STRING): Likewise.
49740         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
49741         (UNKNOWN_ENVIRONMENT): Likewise.
49742         (confstr): Include posix-envs.def instead of handling
49743         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
49744         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
49745         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
49746         (END_ENV_GROUP): Likewise.
49747         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
49748         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
49749         (UNKNOWN_ENVIRONMENT): Likewise.
49750         (__sysconf): Include posix-envs.def instead of handling associated
49751         cases directly here.
49752         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
49753         preprocessing getconf-speclist.c rather than running getconf or
49754         generating empty file.
49756 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
49758         * scripts/check-local-headers.sh: Ignore 'mach' headers.
49760 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
49762         [BZ #14672]
49763         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
49765 2012-11-16  David S. Miller  <davem@davemloft.net>
49767         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
49768         smaller than LDBL_EPSILON/2.0L, just return xm1.
49770 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
49772         * elf/tst-array1.c (init): Set constructor priority to 1000.
49773         (fini): Set destructor priority to 1000.
49774         * elf/tst-array2dep.c: Likewise.
49776 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
49778         [BZ #11741]
49779         * libio/fileops.c (_IO_new_file_write): Correctly return error.
49780         (_IO_new_file_xsputn): Also return EOF if none of the input
49781         data was written when overflow failed.
49782         * libio/iopadn.c (_IO_padn): Likewise.
49783         * libio/iowpadn.c (_IO_wpadn): Likewise.
49784         * stdio-common/tst-put-error.c: Add copyright notice.
49785         (do_test): Add case for printing padded string.
49786         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
49787         _IO_padn returned error.
49788         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
49789         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
49790         return EOF.
49792 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
49794         * libio/libioP.h: Add comment note that the references to C++
49795         bits are now obsolete.
49797 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
49799         * math/libm-test.inc (check_complex): Use asprintf.
49801 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
49803         * debug/pcprofiledump.c (print_version): Update copyright year.
49804         * malloc/memusagestat.c (print_version): Likewise.
49806 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
49808         [BZ #14831]
49809         * elf/Makefile (tests): Add tst-audit8.
49810         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
49811         ($(objpfx)tst-audit8.out): New target.
49812         (tst-audit8-ENV): New variable.
49813         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
49814         audit if l_reloc_result is NULL.
49815         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
49816         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
49817         * elf/tst-audit8.c: New file.
49819 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
49821         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
49822         * misc/Makefile (CFLAGS-select.c): Define.
49823         * posix/Makefile (CFLAGS-pause.c): Define.
49825 2012-11-13  David S. Miller  <davem@davemloft.net>
49827         * crypt/Makefile: Move test targets after toplevel Rules
49828         inclusion.  Grab any necessary sysdep routines when linking.
49829         * crypt/md5.c (md5_process_block): Remove define, we will always
49830         name it __md5_process_block.
49831         (md5_finish_ctx): Update md5_process_block call.
49832         (md5_stream): Likewise.
49833         (md5_process_bytes): Likewise.
49834         (md5_process_block): Rename to __md5_process_block and move to ...
49835         * crypt/md5-block.c: ... here.
49836         * crypt/sha256.c (sha256_process_block): Move to ...
49837         * crypt/sha256-block.c: ... here.
49838         * crypt/sha512.c (sha512_process_block): Move to ...
49839         * crypt/sha512-block.c: ... here.
49840         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
49841         path.
49842         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
49843         * sysdeps/sparc/sparc64/multiarch/Makefile
49844         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
49845         crypt subdir.
49846         (localedef-aux): Add md5 crypto assembler when in locale subdir.
49847         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
49848         multiarch changes.
49849         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
49850         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
49851         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
49852         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
49853         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
49854         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
49855         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
49856         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
49857         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
49858         file.
49859         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
49860         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
49861         file.
49862         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
49864 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
49866         * timezone/tzselect.ksh: Update from tzcode git revision
49867         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
49868         * timezone/zdump.c: Likewise.
49869         * timezone/zic.c: Likewise.
49870         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
49871         in TZVERSION setting, not $(PKGVERSION).
49872         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
49873         REPORT_BUGS_TO settings.
49875         [BZ #14838]
49876         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
49877         macro.
49879 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
49881         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
49882         detection to immediately after _FP_ROUND().
49883         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
49884         bits are 0.
49886 2012-11-11  David S. Miller  <davem@davemloft.net>
49888         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
49889         inttypes.h
49890         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
49891         __close rather than their public counterparts.
49893 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
49895         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
49896         file.
49897         [UNIX98] (sem_timedwait): Do not expect.
49898         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
49899         [XPG4 || UNIX98] (sockatmark): Do not expect.
49900         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
49901         (clock_getcpuclockid): Do not expect.
49902         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
49903         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
49904         Do not expect.
49905         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
49906         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
49907         [UNIX98] (vwscanf): Likewise.
49908         [UNIX98] (vswscanf): Likewise.
49910 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
49912         * timezone/version.h: Remove file.
49913         * timezone/README: Do not refer to version.h.
49914         * timezone/Makefile ($(objpfx)zic.o): New dependency on
49915         $(objpfx)version.h.
49916         ($(objpfx)zdump.o): Likewise.
49917         ($(objpfx)version.h): New target.
49919         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
49920         2012i.
49921         * timezone/README: Don't mention modification to tzselect.ksh.
49922         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
49923         work on unmodified tzselect.ksh.  Substitute version numbers in
49924         tzselect.ksh.
49926         * Makefile (format-me): Remove.
49927         (INSTALL): Adjust indentation.  Use commands directly instead of
49928         using $(format-me).
49930         * aclocal.m4 (ACX_PKGVERSION): New macro.
49931         (ACX_BUGURL): Likewise.
49932         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
49933         (PKGVERSION): New AC_DEFINE_UNQUOTED.
49934         (REPORT_BUGS_TO): Likewise.
49935         * configure: Regenerated.
49936         * config.h.in (PKGVERSION): New macro.
49937         (REPORT_BUGS_TO): Likewise.
49938         * config.make.in (PKGVERSION): New variable.
49939         (PKGVERSION_TEXI): Likewise.
49940         (REPORT_BUGS_TO): Likewise.
49941         (REPORT_BUGS_TEXI): Likewise.
49942         * Makefile (format-me): Use -I$(common-objpfx)manual.
49943         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
49944         ($(common-objpfx)manual/%): New target.
49945         (manual/%): Remove target.
49946         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
49947         (print_version): Use PKGVERSION.
49948         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
49949         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
49950         and REPORT_BUGS_TO.
49951         ($(objpfx)xtrace): Likewise.
49952         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
49953         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
49954         (print_version): Use PKGVERSION.
49955         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
49956         (do_version): Use PKGVERSION.
49957         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
49958         REPORT_BUGS_TO.
49959         (common-ldd-rewrite): Likewise.
49960         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
49961         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
49962         (print_version): Use PKGVERSION.
49963         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
49964         * elf/pldd.c (argp_program_bug_address): Remove variable.
49965         (more_help): New function.
49966         (argp): Use more_help.
49967         (print_version): Use PKGVERSION.
49968         * elf/sln.c (main): Use PKGVERSION.
49969         (usage): Use REPORT_BUGS_TO.
49970         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
49971         (top level): Use PKGVERSION.
49972         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
49973         (print_version): Use PKGVERSION.
49974         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
49975         (print_version): Use PKGVERSION.
49976         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
49977         (print_version): Use PKGVERSION.
49978         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
49979         (print_version): Use PKGVERSION.
49980         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
49981         (print_version): Use PKGVERSION.
49982         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
49983         (print_version): Use PKGVERSION.
49984         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
49985         and BUGURL.
49986         ($(objpfx)memusage): Likewise.
49987         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
49988         (do_version): Use PKGVERSION.
49989         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
49990         (print_version): Use PKGVERSION.
49991         * malloc/mtrace.pl ($PACKAGE): Remove variable.
49992         ($PKGVERSION): New variable.
49993         ($REPORT_BUGS_TO): Likewise.
49994         (usage): Use $REPORT_BUGS_TO.
49995         (top level): Use $PKGVERSION.
49996         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
49997         ($(objpfx)pkgvers.texi): New rule.
49998         ($(objpfx)stamp-pkgvers): Likewise.
49999         * manual/install.texi: Include pkgvers.texi.
50000         (--with-pkgversion): Document new configure option.
50001         (--with-bugurl): Likewise.
50002         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
50003         than necessarily for this particular distribution.  Use
50004         REPORT_BUGS_TO for where to report bugs.
50005         * INSTALL: Regenerated.
50006         * manual/libc.texinfo: Include pkgvers.texi.
50007         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
50008         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
50009         (print_version): Use PKGVERSION.
50010         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
50011         (print_version): Use PKGVERSION.
50012         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
50013         (print_version): Use PKGVERSION.
50014         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
50015         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
50016         macro.
50017         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
50018         (print_version): Use PKGVERSION.
50019         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
50020         (print_version): Use PKGVERSION.
50021         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
50022         and PKGVERSION.
50024         * timezone/checktab.awk: Update from tzcode 2012i.
50025         * timezone/ialloc.c: Likewise.
50026         * timezone/private.h: Likewise.
50027         * timezone/scheck.c: Likewise.
50028         * timezone/tzfile.h: Likewise.
50029         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
50030         (TZVERSION): Hardcode tzcode version number.
50031         * timezone/zdump.c: Update from tzcode 2012i.
50032         * timezone/zic.c: Likewise.
50033         * timezone/version.h: New file.
50034         * timezone/README: Describe version.h.  Update upstream location.
50036         [BZ #14824]
50037         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
50038         (mktemp): Enable declaration.
50039         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
50040         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
50041         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
50042         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
50043         Likewise.
50044         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
50045         Likewise.
50046         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
50047         Likewise.
50048         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
50049         Likewise.
50050         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
50051         Likewise.
50052         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
50053         Likewise.
50055         [BZ #14821]
50056         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
50057         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
50058         for copies of such integer values.
50059         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
50060         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
50062 2012-11-09  Andreas Jaeger  <aj@suse.de>
50064         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
50065         definitions and declarations that are provided by
50066         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
50068 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50070         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
50071         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
50072         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
50073         definition.
50075 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
50077         * elf/elf.h: Update comment before AArch64 relocations.
50079 2012-11-07  David S. Miller  <davem@davemloft.net>
50081         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
50082         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
50083         (__start_context): Declare.
50084         (__makecontext_ret): Delete.
50085         (__makecontext): Hook up __start_context instead of
50086         __makecontext_ret.
50087         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
50088         (sysdep_routines): Add __start_context when in stdlib.
50090 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
50092         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
50093         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
50094         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
50095         hardcoded "nm".
50096         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
50097         (READELF): New variable.  Use it instead of hardcoded "readelf".
50099 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
50101         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
50102         * sysdeps/x86/Makefile: Here.
50103         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
50104         * sysdeps/x86/tst-xmmymm.sh: This.
50106 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
50108         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
50109         expectations.
50110         [UNIX98] (pthread_barrier_t): Do not expect.
50111         [UNIX98] (pthread_barrierattr_t): Likewise.
50112         [UNIX98] (pthread_spinlock_t): Likewise.
50113         [UNIX98] (pthread_barrier_destroy): Likewise.
50114         [UNIX98] (pthread_barrier_init): Likewise.
50115         [UNIX98] (pthread_barrier_wait): Likewise.
50116         [UNIX98] (pthread_barrierattr_destroy): Likewise.
50117         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
50118         [UNIX98] (pthread_barrierattr_init): Likewise.
50119         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
50120         [UNIX98] (pthread_getcpuclockid): Likewise.
50121         [UNIX98] (pthread_mutex_timedlock): Likewise.
50122         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
50123         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
50124         [UNIX98] (pthread_sigmask): Likewise.
50125         [UNIX98] (pthread_spin_destroy): Likewise.
50126         [UNIX98] (pthread_spin_init): Likewise.
50127         [UNIX98] (pthread_spin_lock): Likewise.
50128         [UNIX98] (pthread_spin_trylock): Likewise.
50129         [UNIX98] (pthread_spin_unlock): Likewise.
50130         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
50131         Do not expect.
50132         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
50133         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
50134         [XPG3 || XPG4] (pthread_cond_t): Likewise.
50135         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
50136         [XPG3 || XPG4] (pthread_key_t): Likewise.
50137         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
50138         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
50139         [XPG3 || XPG4] (pthread_once_t): Likewise.
50140         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
50141         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
50142         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
50143         [XPG3 || XPG4] (pthread_t): Likewise.
50145         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
50146         not expect.
50147         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
50149         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
50150         Change function return type to int.
50152         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
50153         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
50154         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
50155         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
50156         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
50157         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
50158         [!POSIX] (posix_madvise): Likewise.
50159         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
50160         && !UNIX98].
50161         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
50162         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
50163         (mode_t): Likewise.
50164         (posix_mem_offset): Likewise.
50165         (posix_typed_mem_get_info): Likewise.
50166         (posix_typed_mem_open): Likewise.
50168         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
50169         Change condition to [XOPEN2K8].
50171         * conform/conformtest.pl: Preprocess allow-header data with -x c
50172         instead of from stdin.
50173         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
50174         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
50175         [C99-based standards] (cerfc): Likewise.
50176         [C99-based standards] (cexp2): Likewise.
50177         [C99-based standards] (cexpm1): Likewise.
50178         [C99-based standards] (clog10): Likewise.
50179         [C99-based standards] (clog1p): Likewise.
50180         [C99-based standards] (clog2): Likewise.
50181         [C99-based standards] (clgamma): Likewise.
50182         [C99-based standards] (ctgamma): Likewise.
50183         [C99-based standards] (cerff): Likewise.
50184         [C99-based standards] (cerfcf): Likewise.
50185         [C99-based standards] (cexp2f): Likewise.
50186         [C99-based standards] (cexpm1f): Likewise.
50187         [C99-based standards] (clog10f): Likewise.
50188         [C99-based standards] (clog1pf): Likewise.
50189         [C99-based standards] (clog2f): Likewise.
50190         [C99-based standards] (clgammaf): Likewise.
50191         [C99-based standards] (ctgammaf): Likewise.
50192         [C99-based standards] (cerfl): Likewise.
50193         [C99-based standards] (cerfcl): Likewise.
50194         [C99-based standards] (cexp2l): Likewise.
50195         [C99-based standards] (cexpm1l): Likewise.
50196         [C99-based standards] (clog10l): Likewise.
50197         [C99-based standards] (clog1pl): Likewise.
50198         [C99-based standards] (clog2l): Likewise.
50199         [C99-based standards] (clgammal): Likewise.
50200         [C99-based standards] (ctgammal): Likewise.
50201         * conform/data/inttypes.h-data [C99-based standards]: Include
50202         stdint.h-data.  Remove all expectations for stdint.h contents.
50203         [C99-based standards] (PRI*): Do not allow.
50204         [C99-based standards] (SCN*): Likewise.
50205         [C99-based standards] (*_t): Likewise.
50206         [C99-based-standards] (PRId8): Expect macro.
50207         [C99-based-standards] (PRIi8): Likewise.
50208         [C99-based-standards] (PRIo8): Likewise.
50209         [C99-based-standards] (PRIu8): Likewise.
50210         [C99-based-standards] (PRIx8): Likewise.
50211         [C99-based-standards] (PRIX8): Likewise.
50212         [C99-based-standards] (SCNd8): Likewise.
50213         [C99-based-standards] (SCNi8): Likewise.
50214         [C99-based-standards] (SCNo8): Likewise.
50215         [C99-based-standards] (SCNu8): Likewise.
50216         [C99-based-standards] (SCNx8): Likewise.
50217         [C99-based-standards] (PRIdLEAST8): Likewise.
50218         [C99-based-standards] (PRIiLEAST8): Likewise.
50219         [C99-based-standards] (PRIoLEAST8): Likewise.
50220         [C99-based-standards] (PRIuLEAST8): Likewise.
50221         [C99-based-standards] (PRIxLEAST8): Likewise.
50222         [C99-based-standards] (PRIXLEAST8): Likewise.
50223         [C99-based-standards] (SCNdLEAST8): Likewise.
50224         [C99-based-standards] (SCNiLEAST8): Likewise.
50225         [C99-based-standards] (SCNoLEAST8): Likewise.
50226         [C99-based-standards] (SCNuLEAST8): Likewise.
50227         [C99-based-standards] (SCNxLEAST8): Likewise.
50228         [C99-based-standards] (PRIdFAST8): Likewise.
50229         [C99-based-standards] (PRIiFAST8): Likewise.
50230         [C99-based-standards] (PRIoFAST8): Likewise.
50231         [C99-based-standards] (PRIuFAST8): Likewise.
50232         [C99-based-standards] (PRIxFAST8): Likewise.
50233         [C99-based-standards] (PRIXFAST8): Likewise.
50234         [C99-based-standards] (SCNdFAST8): Likewise.
50235         [C99-based-standards] (SCNiFAST8): Likewise.
50236         [C99-based-standards] (SCNoFAST8): Likewise.
50237         [C99-based-standards] (SCNuFAST8): Likewise.
50238         [C99-based-standards] (SCNxFAST8): Likewise.
50239         [C99-based-standards] (PRId16): Likewise.
50240         [C99-based-standards] (PRIi16): Likewise.
50241         [C99-based-standards] (PRIo16): Likewise.
50242         [C99-based-standards] (PRIu16): Likewise.
50243         [C99-based-standards] (PRIx16): Likewise.
50244         [C99-based-standards] (PRIX16): Likewise.
50245         [C99-based-standards] (SCNd16): Likewise.
50246         [C99-based-standards] (SCNi16): Likewise.
50247         [C99-based-standards] (SCNo16): Likewise.
50248         [C99-based-standards] (SCNu16): Likewise.
50249         [C99-based-standards] (SCNx16): Likewise.
50250         [C99-based-standards] (PRIdLEAST16): Likewise.
50251         [C99-based-standards] (PRIiLEAST16): Likewise.
50252         [C99-based-standards] (PRIoLEAST16): Likewise.
50253         [C99-based-standards] (PRIuLEAST16): Likewise.
50254         [C99-based-standards] (PRIxLEAST16): Likewise.
50255         [C99-based-standards] (PRIXLEAST16): Likewise.
50256         [C99-based-standards] (SCNdLEAST16): Likewise.
50257         [C99-based-standards] (SCNiLEAST16): Likewise.
50258         [C99-based-standards] (SCNoLEAST16): Likewise.
50259         [C99-based-standards] (SCNuLEAST16): Likewise.
50260         [C99-based-standards] (SCNxLEAST16): Likewise.
50261         [C99-based-standards] (PRIdFAST16): Likewise.
50262         [C99-based-standards] (PRIiFAST16): Likewise.
50263         [C99-based-standards] (PRIoFAST16): Likewise.
50264         [C99-based-standards] (PRIuFAST16): Likewise.
50265         [C99-based-standards] (PRIxFAST16): Likewise.
50266         [C99-based-standards] (PRIXFAST16): Likewise.
50267         [C99-based-standards] (SCNdFAST16): Likewise.
50268         [C99-based-standards] (SCNiFAST16): Likewise.
50269         [C99-based-standards] (SCNoFAST16): Likewise.
50270         [C99-based-standards] (SCNuFAST16): Likewise.
50271         [C99-based-standards] (SCNxFAST16): Likewise.
50272         [C99-based-standards] (PRId32): Likewise.
50273         [C99-based-standards] (PRIi32): Likewise.
50274         [C99-based-standards] (PRIo32): Likewise.
50275         [C99-based-standards] (PRIu32): Likewise.
50276         [C99-based-standards] (PRIx32): Likewise.
50277         [C99-based-standards] (PRIX32): Likewise.
50278         [C99-based-standards] (SCNd32): Likewise.
50279         [C99-based-standards] (SCNi32): Likewise.
50280         [C99-based-standards] (SCNo32): Likewise.
50281         [C99-based-standards] (SCNu32): Likewise.
50282         [C99-based-standards] (SCNx32): Likewise.
50283         [C99-based-standards] (PRIdLEAST32): Likewise.
50284         [C99-based-standards] (PRIiLEAST32): Likewise.
50285         [C99-based-standards] (PRIoLEAST32): Likewise.
50286         [C99-based-standards] (PRIuLEAST32): Likewise.
50287         [C99-based-standards] (PRIxLEAST32): Likewise.
50288         [C99-based-standards] (PRIXLEAST32): Likewise.
50289         [C99-based-standards] (SCNdLEAST32): Likewise.
50290         [C99-based-standards] (SCNiLEAST32): Likewise.
50291         [C99-based-standards] (SCNoLEAST32): Likewise.
50292         [C99-based-standards] (SCNuLEAST32): Likewise.
50293         [C99-based-standards] (SCNxLEAST32): Likewise.
50294         [C99-based-standards] (PRIdFAST32): Likewise.
50295         [C99-based-standards] (PRIiFAST32): Likewise.
50296         [C99-based-standards] (PRIoFAST32): Likewise.
50297         [C99-based-standards] (PRIuFAST32): Likewise.
50298         [C99-based-standards] (PRIxFAST32): Likewise.
50299         [C99-based-standards] (PRIXFAST32): Likewise.
50300         [C99-based-standards] (SCNdFAST32): Likewise.
50301         [C99-based-standards] (SCNiFAST32): Likewise.
50302         [C99-based-standards] (SCNoFAST32): Likewise.
50303         [C99-based-standards] (SCNuFAST32): Likewise.
50304         [C99-based-standards] (SCNxFAST32): Likewise.
50305         [C99-based-standards] (PRId64): Likewise.
50306         [C99-based-standards] (PRIi64): Likewise.
50307         [C99-based-standards] (PRIo64): Likewise.
50308         [C99-based-standards] (PRIu64): Likewise.
50309         [C99-based-standards] (PRIx64): Likewise.
50310         [C99-based-standards] (PRIX64): Likewise.
50311         [C99-based-standards] (SCNd64): Likewise.
50312         [C99-based-standards] (SCNi64): Likewise.
50313         [C99-based-standards] (SCNo64): Likewise.
50314         [C99-based-standards] (SCNu64): Likewise.
50315         [C99-based-standards] (SCNx64): Likewise.
50316         [C99-based-standards] (PRIdLEAST64): Likewise.
50317         [C99-based-standards] (PRIiLEAST64): Likewise.
50318         [C99-based-standards] (PRIoLEAST64): Likewise.
50319         [C99-based-standards] (PRIuLEAST64): Likewise.
50320         [C99-based-standards] (PRIxLEAST64): Likewise.
50321         [C99-based-standards] (PRIXLEAST64): Likewise.
50322         [C99-based-standards] (SCNdLEAST64): Likewise.
50323         [C99-based-standards] (SCNiLEAST64): Likewise.
50324         [C99-based-standards] (SCNoLEAST64): Likewise.
50325         [C99-based-standards] (SCNuLEAST64): Likewise.
50326         [C99-based-standards] (SCNxLEAST64): Likewise.
50327         [C99-based-standards] (PRIdFAST64): Likewise.
50328         [C99-based-standards] (PRIiFAST64): Likewise.
50329         [C99-based-standards] (PRIoFAST64): Likewise.
50330         [C99-based-standards] (PRIuFAST64): Likewise.
50331         [C99-based-standards] (PRIxFAST64): Likewise.
50332         [C99-based-standards] (PRIXFAST64): Likewise.
50333         [C99-based-standards] (SCNdFAST64): Likewise.
50334         [C99-based-standards] (SCNiFAST64): Likewise.
50335         [C99-based-standards] (SCNoFAST64): Likewise.
50336         [C99-based-standards] (SCNuFAST64): Likewise.
50337         [C99-based-standards] (SCNxFAST64): Likewise.
50338         [C99-based-standards] (PRIdMAX): Likewise.
50339         [C99-based-standards] (PRIiMAX): Likewise.
50340         [C99-based-standards] (PRIoMAX): Likewise.
50341         [C99-based-standards] (PRIuMAX): Likewise.
50342         [C99-based-standards] (PRIxMAX): Likewise.
50343         [C99-based-standards] (PRIXMAX): Likewise.
50344         [C99-based-standards] (SCNdMAX): Likewise.
50345         [C99-based-standards] (SCNiMAX): Likewise.
50346         [C99-based-standards] (SCNoMAX): Likewise.
50347         [C99-based-standards] (SCNuMAX): Likewise.
50348         [C99-based-standards] (SCNxMAX): Likewise.
50349         [C99-based-standards] (PRIdPTR): Likewise.
50350         [C99-based-standards] (PRIiPTR): Likewise.
50351         [C99-based-standards] (PRIoPTR): Likewise.
50352         [C99-based-standards] (PRIuPTR): Likewise.
50353         [C99-based-standards] (PRIxPTR): Likewise.
50354         [C99-based-standards] (PRIXPTR): Likewise.
50355         [C99-based-standards] (SCNdPTR): Likewise.
50356         [C99-based-standards] (SCNiPTR): Likewise.
50357         [C99-based-standards] (SCNoPTR): Likewise.
50358         [C99-based-standards] (SCNuPTR): Likewise.
50359         [C99-based-standards] (SCNxPTR): Likewise.
50360         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
50361         allow.
50362         * conform/data/stdint.h-data: Update comments to clarify
50363         requirements.
50364         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
50365         type.
50366         [C99-based standards] (INT8_MAX): Likewise.
50367         [C99-based standards] (INT16_MIN): Likewise.
50368         [C99-based standards] (INT16_MAX): Likewise.
50369         [C99-based standards] (INT32_MIN): Likewise.
50370         [C99-based standards] (INT32_MAX): Likewise.
50371         [C99-based standards] (INT64_MIN): Likewise.
50372         [C99-based standards] (INT64_MAX): Likewise.
50373         [C99-based standards] (UINT8_MAX): Likewise.
50374         [C99-based standards] (UINT16_MAX): Likewise.
50375         [C99-based standards] (UINT32_MAX): Likewise.
50376         [C99-based standards] (UINT64_MAX): Likewise.
50377         [C99-based standards] (INT_LEAST8_MIN): Likewise.
50378         [C99-based standards] (INT_LEAST8_MAX): Likewise.
50379         [C99-based standards] (INT_LEAST16_MIN): Likewise.
50380         [C99-based standards] (INT_LEAST16_MAX): Likewise.
50381         [C99-based standards] (INT_LEAST32_MIN): Likewise.
50382         [C99-based standards] (INT_LEAST32_MAX): Likewise.
50383         [C99-based standards] (INT_LEAST64_MIN): Likewise.
50384         [C99-based standards] (INT_LEAST64_MAX): Likewise.
50385         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
50386         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
50387         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
50388         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
50389         [C99-based standards] (INT_FAST8_MIN): Likewise.
50390         [C99-based standards] (INT_FAST8_MAX): Likewise.
50391         [C99-based standards] (INT_FAST16_MIN): Likewise.
50392         [C99-based standards] (INT_FAST16_MAX): Likewise.
50393         [C99-based standards] (INT_FAST32_MIN): Likewise.
50394         [C99-based standards] (INT_FAST32_MAX): Likewise.
50395         [C99-based standards] (INT_FAST64_MIN): Likewise.
50396         [C99-based standards] (INT_FAST64_MAX): Likewise.
50397         [C99-based standards] (UINT_FAST8_MAX): Likewise.
50398         [C99-based standards] (UINT_FAST16_MAX): Likewise.
50399         [C99-based standards] (UINT_FAST32_MAX): Likewise.
50400         [C99-based standards] (UINT_FAST64_MAX): Likewise.
50401         [C99-based standards] (INTPTR_MIN): Likewise.
50402         [C99-based standards] (INTPTR_MAX): Likewise.
50403         [C99-based standards] (UINTPTR_MAX): Likewise.
50404         [C99-based standards] (INTMAX_MIN): Likewise.
50405         [C99-based standards] (INTMAX_MAX): Likewise.
50406         [C99-based standards] (UINTMAX_MAX): Likewise.
50407         [C99-based standards] (PTRDIFF_MIN): Likewise.
50408         [C99-based standards] (PTRDIFF_MAX): Likewise.
50409         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
50410         [C99-based standards] (SIZE_MAX): Likewise.
50411         [C99-based standards] (WCHAR_MAX): Likewise.
50412         [C99-based standards] (WINT_MAX): Likewise.
50413         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
50414         constraint on value.
50415         [C99-based standards] (WCHAR_MIN): Likewise.
50416         [C99-based standards] (WINT_MIN): Likewise.
50417         [C99-based standards] (*_t): Allow.
50418         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
50419         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
50420         Include math.h-data and complex.h-data.  Remove all expectations
50421         of math.h and complex.h contents.
50422         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
50423         at end of line.
50424         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
50425         (struct tm): Expect tag.
50426         [C99-based-standards] (wcstof): Expect function.
50427         [C99-based-standards] (wcstold): Likewise.
50428         [C99-based-standards] (wcstoll): Likewise.
50429         [C99-based-standards] (wcstoull): Likewise.
50430         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
50431         macro-int-constant.  Specify type.
50432         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
50433         constraint on value.
50434         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
50435         Specify type.
50436         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
50437         Specify value.
50438         [ISO C standards]: Do not allow headers.
50439         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
50440         wcs[abcdefghijklmnopqrstuvwxyz]*.
50441         [ISO C standards] (*_t): Do not allow.
50442         * conform/data/wctype.h-data [C99-based standards] (iswblank):
50443         Expect function.
50444         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
50445         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
50446         Specify type.
50447         [ISO C standards]: Do not allow headers.
50448         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
50449         is[abcdefghijklmnopqrstuvwxyz]*.
50450         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
50451         to[abcdefghijklmnopqrstuvwxyz]*.
50452         [ISO C standards] (*_t): Do not allow.
50453         * conform/data/stdalign.h-data: New file.
50454         * conform/data/stdbool.h-data: Likewise.
50455         * conform/data/stdnoreturn.h-data: Likewise.
50457 2012-11-07  Roland McGrath  <roland@hack.frob.com>
50459         [BZ #14815]
50460         * manual/filesys.texi (Directory Entries): Typo fix.
50461         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
50463 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
50465         * elf/elf.h (EM_AARCH64): New macro.
50466         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
50467         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
50468         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
50469         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
50470         (R_AARCH64_TLSDESC): Likewise.
50471         (NT_ARM_TLS): Likewise.
50472         (NT_ARM_HW_BREAK): Likewise.
50473         (NT_ARM_HW_WATCH): Likewise.
50475 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
50477         [BZ #14811]
50478         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
50479         (__ieee754_powl): Saturate nonzero exponents with absolute value
50480         below 0x1p-79 to +/- 0x1p-79.
50481         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
50482         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
50483         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
50484         nonzero exponents with absolute value below 0x1p-32 to +/-
50485         0x1p-32.
50486         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
50487         (__ieee754_powl): Saturate nonzero exponents with absolute value
50488         below 0x1p-79 to +/- 0x1p-79.
50489         * math/libm-test.inc (pow_test): Add more tests.
50491 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50493         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
50494         _dl_s390_cap_flags with kernel. Increase string length.
50495         (_dl_s390_platforms): Add z196 and zEC12.
50497 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
50499         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
50500         Change XOPEN21K to XOPEN2K.
50502 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
50504         * string/memmove.c: Use memcpy when possible.
50506 2012-11-06  Andreas Jaeger  <aj@suse.de>
50508         * po/eo.po: Update from translation team.
50510 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
50512         [BZ #14793]
50513         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
50514         exponent and small x and y exponents, scale x or y up.  Increase
50515         by 2 the exponent used in scaling up.
50516         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
50517         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
50518         * math/libm-test.inc (fma_test): Add more tests.
50519         (fma_test_towardzero): Likewise.
50520         (fma_test_downward): Likewise.
50521         (fma_test_upward): Likewise.
50523 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
50525         [BZ #14805]
50526         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
50527         fenv_t *.
50529         [BZ #14801]
50530         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
50531         namespace for names of struct fields.
50532         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
50533         fenv_t fields.
50534         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
50535         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
50537 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50539         [BZ #3665]
50540         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
50542 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
50544         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
50545         PTR_DEMANGLE.
50547         [BZ #5246]
50548         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
50549         PTR_DEMANGLE.
50551 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
50553         [BZ #14797]
50554         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
50555         definitely overflow as x * y not x * y + z.
50556         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
50557         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
50558         * math/libm-test.inc (fma_test): Add more tests.
50559         (fma_test_towardzero): Likewise.
50560         (fma_test_downward): Likewise.
50561         (fma_test_upward): Likewise.
50563 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
50565         [BZ #157]
50567         * include/stub-tag.h: Remove file.
50568         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
50569         '#include' of it.
50570         * manual/maint.texi (Porting): Don't reference it.
50571         * Makerules ($(objpfx)stubs): Likewise.
50572         * dirent/closedir.c: Don't include <stub-tag.h>.
50573         * dirent/dirfd.c: Likewise.
50574         * dirent/fdopendir.c: Likewise.
50575         * dirent/getdents.c: Likewise.
50576         * dirent/getdents64.c: Likewise.
50577         * dirent/opendir.c: Likewise.
50578         * dirent/readdir.c: Likewise.
50579         * dirent/readdir64.c: Likewise.
50580         * dirent/readdir64_r.c: Likewise.
50581         * dirent/readdir_r.c: Likewise.
50582         * dirent/rewinddir.c: Likewise.
50583         * dirent/seekdir.c: Likewise.
50584         * dirent/telldir.c: Likewise.
50585         * gmon/profil.c: Likewise.
50586         * grp/setgroups.c: Likewise.
50587         * inet/if_index.c: Likewise.
50588         * io/access.c: Likewise.
50589         * io/chdir.c: Likewise.
50590         * io/chmod.c: Likewise.
50591         * io/chown.c: Likewise.
50592         * io/close.c: Likewise.
50593         * io/dup.c: Likewise.
50594         * io/dup2.c: Likewise.
50595         * io/dup3.c: Likewise.
50596         * io/euidaccess.c: Likewise.
50597         * io/faccessat.c: Likewise.
50598         * io/fchdir.c: Likewise.
50599         * io/fchmod.c: Likewise.
50600         * io/fchmodat.c: Likewise.
50601         * io/fchown.c: Likewise.
50602         * io/fchownat.c: Likewise.
50603         * io/fcntl.c: Likewise.
50604         * io/flock.c: Likewise.
50605         * io/fstatfs.c: Likewise.
50606         * io/fstatfs64.c: Likewise.
50607         * io/fstatvfs.c: Likewise.
50608         * io/fstatvfs64.c: Likewise.
50609         * io/futimens.c: Likewise.
50610         * io/fxstat.c: Likewise.
50611         * io/fxstat64.c: Likewise.
50612         * io/fxstatat.c: Likewise.
50613         * io/fxstatat64.c: Likewise.
50614         * io/getcwd.c: Likewise.
50615         * io/isatty.c: Likewise.
50616         * io/lchmod.c: Likewise.
50617         * io/lchown.c: Likewise.
50618         * io/link.c: Likewise.
50619         * io/linkat.c: Likewise.
50620         * io/lseek.c: Likewise.
50621         * io/lseek64.c: Likewise.
50622         * io/lxstat64.c: Likewise.
50623         * io/mkdir.c: Likewise.
50624         * io/mkdirat.c: Likewise.
50625         * io/mkfifo.c: Likewise.
50626         * io/mkfifoat.c: Likewise.
50627         * io/open.c: Likewise.
50628         * io/open64.c: Likewise.
50629         * io/openat.c: Likewise.
50630         * io/openat64.c: Likewise.
50631         * io/pipe.c: Likewise.
50632         * io/pipe2.c: Likewise.
50633         * io/poll.c: Likewise.
50634         * io/posix_fadvise.c: Likewise.
50635         * io/posix_fadvise64.c: Likewise.
50636         * io/posix_fallocate.c: Likewise.
50637         * io/posix_fallocate64.c: Likewise.
50638         * io/read.c: Likewise.
50639         * io/readlink.c: Likewise.
50640         * io/readlinkat.c: Likewise.
50641         * io/rmdir.c: Likewise.
50642         * io/sendfile.c: Likewise.
50643         * io/sendfile64.c: Likewise.
50644         * io/statfs.c: Likewise.
50645         * io/statfs64.c: Likewise.
50646         * io/statvfs.c: Likewise.
50647         * io/statvfs64.c: Likewise.
50648         * io/symlink.c: Likewise.
50649         * io/symlinkat.c: Likewise.
50650         * io/ttyname.c: Likewise.
50651         * io/ttyname_r.c: Likewise.
50652         * io/umask.c: Likewise.
50653         * io/unlink.c: Likewise.
50654         * io/unlinkat.c: Likewise.
50655         * io/utime.c: Likewise.
50656         * io/utimensat.c: Likewise.
50657         * io/write.c: Likewise.
50658         * io/xmknod.c: Likewise.
50659         * io/xmknodat.c: Likewise.
50660         * io/xstat.c: Likewise.
50661         * io/xstat64.c: Likewise.
50662         * login/getpt.c: Likewise.
50663         * login/grantpt.c: Likewise.
50664         * login/unlockpt.c: Likewise.
50665         * math/e_acoshl.c: Likewise.
50666         * math/e_acosl.c: Likewise.
50667         * math/e_asinl.c: Likewise.
50668         * math/e_atan2l.c: Likewise.
50669         * math/e_atanhl.c: Likewise.
50670         * math/e_coshl.c: Likewise.
50671         * math/e_expl.c: Likewise.
50672         * math/e_fmodl.c: Likewise.
50673         * math/e_gammal_r.c: Likewise.
50674         * math/e_hypotl.c: Likewise.
50675         * math/e_j0l.c: Likewise.
50676         * math/e_j1l.c: Likewise.
50677         * math/e_jnl.c: Likewise.
50678         * math/e_lgammal_r.c: Likewise.
50679         * math/e_log10l.c: Likewise.
50680         * math/e_log2l.c: Likewise.
50681         * math/e_logl.c: Likewise.
50682         * math/e_powl.c: Likewise.
50683         * math/e_rem_pio2l.c: Likewise.
50684         * math/e_sinhl.c: Likewise.
50685         * math/e_sqrtl.c: Likewise.
50686         * math/fclrexcpt.c: Likewise.
50687         * math/fedisblxcpt.c: Likewise.
50688         * math/feenablxcpt.c: Likewise.
50689         * math/fegetenv.c: Likewise.
50690         * math/fegetexcept.c: Likewise.
50691         * math/fegetround.c: Likewise.
50692         * math/feholdexcpt.c: Likewise.
50693         * math/fesetenv.c: Likewise.
50694         * math/fesetround.c: Likewise.
50695         * math/feupdateenv.c: Likewise.
50696         * math/fgetexcptflg.c: Likewise.
50697         * math/fraiseexcpt.c: Likewise.
50698         * math/fsetexcptflg.c: Likewise.
50699         * math/ftestexcept.c: Likewise.
50700         * math/k_cosl.c: Likewise.
50701         * math/k_rem_pio2l.c: Likewise.
50702         * math/k_sinl.c: Likewise.
50703         * math/k_tanl.c: Likewise.
50704         * math/s_asinhl.c: Likewise.
50705         * math/s_atanl.c: Likewise.
50706         * math/s_cbrtl.c: Likewise.
50707         * math/s_erfl.c: Likewise.
50708         * math/s_expm1l.c: Likewise.
50709         * math/s_log1pl.c: Likewise.
50710         * math/s_tanhl.c: Likewise.
50711         * misc/acct.c: Likewise.
50712         * misc/brk.c: Likewise.
50713         * misc/chflags.c: Likewise.
50714         * misc/chroot.c: Likewise.
50715         * misc/fchflags.c: Likewise.
50716         * misc/fgetxattr.c: Likewise.
50717         * misc/flistxattr.c: Likewise.
50718         * misc/fremovexattr.c: Likewise.
50719         * misc/fsetxattr.c: Likewise.
50720         * misc/fsync.c: Likewise.
50721         * misc/ftruncate.c: Likewise.
50722         * misc/futimes.c: Likewise.
50723         * misc/futimesat.c: Likewise.
50724         * misc/getdomain.c: Likewise.
50725         * misc/getdtsz.c: Likewise.
50726         * misc/gethostid.c: Likewise.
50727         * misc/gethostname.c: Likewise.
50728         * misc/getloadavg.c: Likewise.
50729         * misc/getpagesize.c: Likewise.
50730         * misc/getsysstats.c: Likewise.
50731         * misc/getxattr.c: Likewise.
50732         * misc/gtty.c: Likewise.
50733         * misc/ioctl.c: Likewise.
50734         * misc/lgetxattr.c: Likewise.
50735         * misc/listxattr.c: Likewise.
50736         * misc/llistxattr.c: Likewise.
50737         * misc/lremovexattr.c: Likewise.
50738         * misc/lsetxattr.c: Likewise.
50739         * misc/lutimes.c: Likewise.
50740         * misc/madvise.c: Likewise.
50741         * misc/mincore.c: Likewise.
50742         * misc/mlock.c: Likewise.
50743         * misc/mlockall.c: Likewise.
50744         * misc/mmap.c: Likewise.
50745         * misc/mprotect.c: Likewise.
50746         * misc/msync.c: Likewise.
50747         * misc/munlock.c: Likewise.
50748         * misc/munlockall.c: Likewise.
50749         * misc/munmap.c: Likewise.
50750         * misc/preadv.c: Likewise.
50751         * misc/preadv64.c: Likewise.
50752         * misc/ptrace.c: Likewise.
50753         * misc/pwritev.c: Likewise.
50754         * misc/pwritev64.c: Likewise.
50755         * misc/readv.c: Likewise.
50756         * misc/reboot.c: Likewise.
50757         * misc/remap_file_pages.c: Likewise.
50758         * misc/removexattr.c: Likewise.
50759         * misc/revoke.c: Likewise.
50760         * misc/select.c: Likewise.
50761         * misc/setdomain.c: Likewise.
50762         * misc/setegid.c: Likewise.
50763         * misc/seteuid.c: Likewise.
50764         * misc/sethostid.c: Likewise.
50765         * misc/sethostname.c: Likewise.
50766         * misc/setregid.c: Likewise.
50767         * misc/setreuid.c: Likewise.
50768         * misc/setxattr.c: Likewise.
50769         * misc/sstk.c: Likewise.
50770         * misc/stty.c: Likewise.
50771         * misc/swapoff.c: Likewise.
50772         * misc/swapon.c: Likewise.
50773         * misc/sync.c: Likewise.
50774         * misc/syncfs.c: Likewise.
50775         * misc/syscall.c: Likewise.
50776         * misc/truncate.c: Likewise.
50777         * misc/ualarm.c: Likewise.
50778         * misc/usleep.c: Likewise.
50779         * misc/ustat.c: Likewise.
50780         * misc/utimes.c: Likewise.
50781         * misc/vhangup.c: Likewise.
50782         * misc/writev.c: Likewise.
50783         * posix/_exit.c: Likewise.
50784         * posix/alarm.c: Likewise.
50785         * posix/execve.c: Likewise.
50786         * posix/fexecve.c: Likewise.
50787         * posix/fork.c: Likewise.
50788         * posix/fpathconf.c: Likewise.
50789         * posix/getaddrinfo.c: Likewise.
50790         * posix/getegid.c: Likewise.
50791         * posix/geteuid.c: Likewise.
50792         * posix/getgid.c: Likewise.
50793         * posix/getgroups.c: Likewise.
50794         * posix/getlogin.c: Likewise.
50795         * posix/getlogin_r.c: Likewise.
50796         * posix/getpgid.c: Likewise.
50797         * posix/getpid.c: Likewise.
50798         * posix/getppid.c: Likewise.
50799         * posix/getresgid.c: Likewise.
50800         * posix/getresuid.c: Likewise.
50801         * posix/getsid.c: Likewise.
50802         * posix/getuid.c: Likewise.
50803         * posix/glob64.c: Likewise.
50804         * posix/nanosleep.c: Likewise.
50805         * posix/pathconf.c: Likewise.
50806         * posix/pause.c: Likewise.
50807         * posix/posix_madvise.c: Likewise.
50808         * posix/pread.c: Likewise.
50809         * posix/pread64.c: Likewise.
50810         * posix/pwrite.c: Likewise.
50811         * posix/pwrite64.c: Likewise.
50812         * posix/sched_getaffinity.c: Likewise.
50813         * posix/sched_getp.c: Likewise.
50814         * posix/sched_gets.c: Likewise.
50815         * posix/sched_primax.c: Likewise.
50816         * posix/sched_primin.c: Likewise.
50817         * posix/sched_rr_gi.c: Likewise.
50818         * posix/sched_setaffinity.c: Likewise.
50819         * posix/sched_setp.c: Likewise.
50820         * posix/sched_sets.c: Likewise.
50821         * posix/sched_yield.c: Likewise.
50822         * posix/setgid.c: Likewise.
50823         * posix/setlogin.c: Likewise.
50824         * posix/setpgid.c: Likewise.
50825         * posix/setresgid.c: Likewise.
50826         * posix/setresuid.c: Likewise.
50827         * posix/setsid.c: Likewise.
50828         * posix/setuid.c: Likewise.
50829         * posix/sleep.c: Likewise.
50830         * posix/spawni.c: Likewise.
50831         * posix/sysconf.c: Likewise.
50832         * posix/times.c: Likewise.
50833         * posix/wait.c: Likewise.
50834         * posix/wait3.c: Likewise.
50835         * posix/wait4.c: Likewise.
50836         * posix/waitpid.c: Likewise.
50837         * resolv/gai_sigqueue.c: Likewise.
50838         * resource/getpriority.c: Likewise.
50839         * resource/getrlimit.c: Likewise.
50840         * resource/getrusage.c: Likewise.
50841         * resource/nice.c: Likewise.
50842         * resource/setpriority.c: Likewise.
50843         * resource/setrlimit.c: Likewise.
50844         * resource/ulimit.c: Likewise.
50845         * rt/aio_cancel.c: Likewise.
50846         * rt/aio_fsync.c: Likewise.
50847         * rt/aio_read.c: Likewise.
50848         * rt/aio_sigqueue.c: Likewise.
50849         * rt/aio_suspend.c: Likewise.
50850         * rt/aio_write.c: Likewise.
50851         * rt/clock_getres.c: Likewise.
50852         * rt/clock_gettime.c: Likewise.
50853         * rt/clock_nanosleep.c: Likewise.
50854         * rt/clock_settime.c: Likewise.
50855         * rt/lio_listio.c: Likewise.
50856         * rt/mq_close.c: Likewise.
50857         * rt/mq_getattr.c: Likewise.
50858         * rt/mq_notify.c: Likewise.
50859         * rt/mq_open.c: Likewise.
50860         * rt/mq_receive.c: Likewise.
50861         * rt/mq_send.c: Likewise.
50862         * rt/mq_setattr.c: Likewise.
50863         * rt/mq_timedreceive.c: Likewise.
50864         * rt/mq_timedsend.c: Likewise.
50865         * rt/mq_unlink.c: Likewise.
50866         * rt/shm_open.c: Likewise.
50867         * rt/shm_unlink.c: Likewise.
50868         * rt/timer_create.c: Likewise.
50869         * rt/timer_delete.c: Likewise.
50870         * rt/timer_getoverr.c: Likewise.
50871         * rt/timer_gettime.c: Likewise.
50872         * rt/timer_settime.c: Likewise.
50873         * setjmp/__longjmp.c: Likewise.
50874         * setjmp/setjmp.c: Likewise.
50875         * signal/kill.c: Likewise.
50876         * signal/killpg.c: Likewise.
50877         * signal/raise.c: Likewise.
50878         * signal/sigaction.c: Likewise.
50879         * signal/sigaltstack.c: Likewise.
50880         * signal/sigblock.c: Likewise.
50881         * signal/sigignore.c: Likewise.
50882         * signal/sigintr.c: Likewise.
50883         * signal/signal.c: Likewise.
50884         * signal/sigpause.c: Likewise.
50885         * signal/sigpending.c: Likewise.
50886         * signal/sigqueue.c: Likewise.
50887         * signal/sigreturn.c: Likewise.
50888         * signal/sigset.c: Likewise.
50889         * signal/sigsetmask.c: Likewise.
50890         * signal/sigstack.c: Likewise.
50891         * signal/sigsuspend.c: Likewise.
50892         * signal/sigtimedwait.c: Likewise.
50893         * signal/sigvec.c: Likewise.
50894         * signal/sigwait.c: Likewise.
50895         * signal/sigwaitinfo.c: Likewise.
50896         * signal/sysv_signal.c: Likewise.
50897         * socket/accept.c: Likewise.
50898         * socket/accept4.c: Likewise.
50899         * socket/bind.c: Likewise.
50900         * socket/connect.c: Likewise.
50901         * socket/getpeername.c: Likewise.
50902         * socket/getsockname.c: Likewise.
50903         * socket/getsockopt.c: Likewise.
50904         * socket/isfdtype.c: Likewise.
50905         * socket/listen.c: Likewise.
50906         * socket/recv.c: Likewise.
50907         * socket/recvfrom.c: Likewise.
50908         * socket/recvmsg.c: Likewise.
50909         * socket/send.c: Likewise.
50910         * socket/sendmsg.c: Likewise.
50911         * socket/sendto.c: Likewise.
50912         * socket/setsockopt.c: Likewise.
50913         * socket/shutdown.c: Likewise.
50914         * socket/sockatmark.c: Likewise.
50915         * socket/socket.c: Likewise.
50916         * socket/socketpair.c: Likewise.
50917         * stdio-common/ctermid.c: Likewise.
50918         * stdio-common/cuserid.c: Likewise.
50919         * stdio-common/remove.c: Likewise.
50920         * stdio-common/rename.c: Likewise.
50921         * stdio-common/renameat.c: Likewise.
50922         * stdio-common/tempname.c: Likewise.
50923         * stdlib/getcontext.c: Likewise.
50924         * stdlib/makecontext.c: Likewise.
50925         * stdlib/setcontext.c: Likewise.
50926         * stdlib/swapcontext.c: Likewise.
50927         * stdlib/system.c: Likewise.
50928         * streams/fattach.c: Likewise.
50929         * streams/fdetach.c: Likewise.
50930         * streams/getmsg.c: Likewise.
50931         * streams/getpmsg.c: Likewise.
50932         * streams/putmsg.c: Likewise.
50933         * streams/putpmsg.c: Likewise.
50934         * sysdeps/unix/bsd/getpt.c: Likewise.
50935         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
50936         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
50937         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
50938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
50939         Likewise.
50940         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
50941         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
50942         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
50943         * sysvipc/msgctl.c: Likewise.
50944         * sysvipc/msgget.c: Likewise.
50945         * sysvipc/msgrcv.c: Likewise.
50946         * sysvipc/msgsnd.c: Likewise.
50947         * sysvipc/semctl.c: Likewise.
50948         * sysvipc/semget.c: Likewise.
50949         * sysvipc/semop.c: Likewise.
50950         * sysvipc/semtimedop.c: Likewise.
50951         * sysvipc/shmat.c: Likewise.
50952         * sysvipc/shmctl.c: Likewise.
50953         * sysvipc/shmdt.c: Likewise.
50954         * sysvipc/shmget.c: Likewise.
50955         * termios/tcdrain.c: Likewise.
50956         * termios/tcflow.c: Likewise.
50957         * termios/tcflush.c: Likewise.
50958         * termios/tcgetattr.c: Likewise.
50959         * termios/tcgetpgrp.c: Likewise.
50960         * termios/tcsendbrk.c: Likewise.
50961         * termios/tcsetattr.c: Likewise.
50962         * termios/tcsetpgrp.c: Likewise.
50963         * time/adjtime.c: Likewise.
50964         * time/clock.c: Likewise.
50965         * time/getitimer.c: Likewise.
50966         * time/gettimeofday.c: Likewise.
50967         * time/setitimer.c: Likewise.
50968         * time/settimeofday.c: Likewise.
50969         * time/stime.c: Likewise.
50970         * time/time.c: Likewise.
50972 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
50974         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
50975         /usr/old/bin.
50977         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
50978         instead of spaces.
50979         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
50981 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
50983         [BZ #14796]
50984         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
50985         FE_TONEAREST before applying Dekker multiplication and Knuth
50986         addition.  Clear inexact exceptions and check for exact zero
50987         results afterwards.
50988         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
50989         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
50990         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
50991         * math/libm-test.inc (fma_test): Add more tests.
50992         (fma_test_towardzero): Likewise.
50993         (fma_test_downward): Likewise.
50994         (fma_test_upward): Likewise.
50995         * sysdeps/generic/math_private.h (default_libc_fesetround): New
50996         function.
50997         (libc_fesetround): New macro.
50998         (libc_fesetroundf): Likewise.
50999         (libc_fesetroundl): Likewise.
51000         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
51001         function.
51002         (libc_fesetround_387): Likewise.
51003         (libc_fesetroundf): New macro.
51004         (libc_fesetround): Likewise.
51005         (libc_fesetroundl): Likewise.
51006         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
51007         function.
51008         (libc_fesetroundf): New macro.
51009         (libc_fesetround): Likewise.
51010         (libc_fesetroundl): Likewise.
51011         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
51012         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
51013         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
51014         libm_hidden_ver.
51015         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
51016         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
51017         libm_hidden_def.
51018         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
51019         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
51020         libm_hidden_ver.
51021         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
51022         libm_hidden_def.
51024         [BZ #3439]
51025         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
51026         integer constant usable in #if and use that to give value to enum
51027         constant.
51028         (FE_DIVBYZERO): Likewise.
51029         (FE_UNDERFLOW): Likewise.
51030         (FE_OVERFLOW): Likewise.
51031         (FE_INVALID): Likewise.
51032         (FE_INVALID_SNAN): Likewise.
51033         (FE_INVALID_ISI): Likewise.
51034         (FE_INVALID_IDI): Likewise.
51035         (FE_INVALID_ZDZ): Likewise.
51036         (FE_INVALID_IMZ): Likewise.
51037         (FE_INVALID_COMPARE): Likewise.
51038         (FE_INVALID_SOFTWARE): Likewise.
51039         (FE_INVALID_SQRT): Likewise.
51040         (FE_INVALID_INTEGER_CONVERSION): Likewise.
51041         (FE_TONEAREST): Likewise.
51042         (FE_TOWARDZERO): Likewise.
51043         (FE_UPWARD): Likewise.
51044         (FE_DOWNWARD): Likewise.
51045         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
51046         (FE_DIVBYZERO): Likewise.
51047         (FE_OVERFLOW): Likewise.
51048         (FE_UNDERFLOW): Likewise.
51049         (FE_INEXACT): Likewise.
51050         (FE_TONEAREST): Likewise.
51051         (FE_DOWNWARD): Likewise.
51052         (FE_UPWARD): Likewise.
51053         (FE_TOWARDZERO): Likewise.
51054         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
51055         (FE_UNDERFLOW): Likewise.
51056         (FE_OVERFLOW): Likewise.
51057         (FE_DIVBYZERO): Likewise.
51058         (FE_INVALID): Likewise.
51059         (FE_TONEAREST): Likewise.
51060         (FE_TOWARDZERO): Likewise.
51061         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
51062         (FE_OVERFLOW): Likewise.
51063         (FE_UNDERFLOW): Likewise.
51064         (FE_DIVBYZERO): Likewise.
51065         (FE_INEXACT): Likewise.
51066         (FE_TONEAREST): Likewise.
51067         (FE_TOWARDZERO): Likewise.
51068         (FE_UPWARD): Likewise.
51069         (FE_DOWNWARD): Likewise.
51070         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
51071         (FE_DIVBYZERO): Likewise.
51072         (FE_OVERFLOW): Likewise.
51073         (FE_UNDERFLOW): Likewise.
51074         (FE_INEXACT): Likewise.
51075         (FE_TONEAREST): Likewise.
51076         (FE_DOWNWARD): Likewise.
51077         (FE_UPWARD): Likewise.
51078         (FE_TOWARDZERO): Likewise.
51080 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
51082         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
51084 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
51086         * scripts/cross-test-ssh.sh (command): Use newlines to separate
51087         commands.  Quote $PWD.
51088         (blacklist_exports): Don't use remove_newlines.  Replace "declare
51089         -x" by "export".
51090         (remove_newlines): Remove.
51092 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
51094         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
51095         * stdlib/stdlib.h (atof): Moved to ...
51096         * include/bits/stdlib-float.h: Here.  New file.
51097         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
51098         * stdlib/bits/stdlib-float.h: New file.
51099         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
51100         -mno-sse -mno-mmx.
51101         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
51102         <xmmintrin.h>.
51104 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
51106         * conform/conformtest.pl (@headers): Add fenv.h.
51107         * conform/data/fenv.h-data: New file.
51108         * include/fenv.h [_ISOMAC]: Disable all contents of file except
51109         include of <math/fenv.h>.
51111         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
51112         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
51113         && !UNIX98].  Enables tests for XOPEN2K8.
51114         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
51115         POSIX2008]: Likewise.
51117         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
51118         (struct rusage): Do not expect type or its members.
51120         [BZ #3439]
51121         * math/math.h (FP_NAN): Define macro to integer constant usable in
51122         #if and use that to give value to enum constant.
51123         (FP_INFINITE): Likewise.
51124         (FP_ZERO): Likewise.
51125         (FP_SUBNORMAL): Likewise.
51126         (FP_NORMAL): Likewise.
51128 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
51130         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
51131         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
51132         arguments.
51134 2012-11-02  Roland McGrath  <roland@hack.frob.com>
51136         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
51137         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
51138         autoconf-time if not.
51139         * configure.in: Remove AC_PREREQ.
51141 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
51143         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
51144         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
51145         of the internal implementation.
51147 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
51149         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
51150         except include of <misc/sys/syslog.h>.
51152 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
51154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
51155         function returns with a NULL context exit with zero.
51157 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
51159         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
51161 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
51163         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
51164         (run_program_cmd): This.
51165         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
51166         (tst_langinfo): New variable.  Use it.
51168 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
51170         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
51171         floating point opcodes.
51173 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
51175         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
51176         variable.
51178         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
51180         * sysdeps/mach/hurd/powerpc: Remove directory.
51181         * sysdeps/mach/powerpc: Likewise.
51183 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
51185         * scripts/check-local-headers.sh: Ignore c++ headers.
51187 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
51189         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
51190         __libc_cleanup_region_start argument.
51192 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
51194         [BZ #14784]
51195         [BZ #14785]
51196         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
51197         x * y using scaling, not as x * y + z.
51198         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
51199         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
51200         * math/libm-test.inc (fma_test): Add more tests.
51201         (fma_test_towardzero): Likewise.
51202         (fma_test_downward): Likewise.
51203         (fma_test_upward): Likewise.
51205 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
51207         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
51209 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
51211         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
51212         New variable.
51214 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
51216         * rt/tst-shm.c (worker): Correct checking for mmap failure.
51218 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
51220         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
51221         Fix sort order.
51222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
51223         Likewise.
51225 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
51227         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
51228         Fix the order of the list for glibc 2.17.
51229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
51230         Likewise.
51232 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
51234         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51236 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
51238         [BZ #14610]
51239         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
51240         for low part of x being zero before using __atanl (y).
51241         * math/libm-test.inc (atan2_test): Add another test.
51243         * manual/install.texi (Configuring and compiling): Document
51244         general use of test-wrapper and test-wrapper-env.
51245         * INSTALL: Regenerated.
51247         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
51248         (__fma): Do not extract and scale down low bits on after-rounding
51249         systems when result rounded to normal precision would have normal
51250         exponent.
51251         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
51252         (__fmal): Do not extract and scale down low bits on after-rounding
51253         systems when result rounded to normal precision would have normal
51254         exponent.
51255         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
51256         (__fmal): Do not extract and scale down low bits on after-rounding
51257         systems when result rounded to normal precision would have normal
51258         exponent.
51259         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
51260         macro.
51261         (fma_test): Add more tests.
51262         (fma_test_towardzero): Likewise.
51263         (fma_test_downward): Likewise.
51264         (fma_test_upward): Likewise.
51266 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
51268         * sysdeps/i386/tininess.h: Renamed to ...
51269         * sysdeps/x86/tininess.h: This.
51270         * sysdeps/x86_64/tininess.h: Removed.
51272 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
51274         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
51275         input.  Use $(build-program-cmd).
51276         ($(objpfx)tst-array1-static.out): Likewise.
51277         ($(objpfx)tst-array2.out): Likewise.
51278         ($(objpfx)tst-array3.out): Likewise.
51279         ($(objpfx)tst-array4.out): Likewise.
51280         ($(objpfx)tst-array5.out): Likewise.
51281         ($(objpfx)tst-array5-static.out): Likewise.
51283 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
51285         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
51286         if defined.
51288         * nss/nsswitch.h (nss_interface_function): Provide new
51289         macro for use with NSS functions.
51290         * grp/initgroups.c: Use new macro.
51291         * nss/getXXbyYY.c: Likewise.
51292         * nss/getXXbyYY_r.c: Likewise.
51293         * nss/getXXent.c: Likewise.
51294         * nss/getXXent_r.c: Likewise.
51295         * sysdeps/posix/getaddrinfo.c: Likewise.
51297 2012-10-30  Andreas Jaeger  <aj@suse.de>
51299         * po/ru.po: Update Russion translation from translation project.
51301 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
51303         [BZ #14152]
51304         [BZ #14783]
51305         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
51306         result and shift together with sticky bit instead of replicating
51307         round-to-nearest rounding.
51308         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
51309         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
51310         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
51311         missing underflow exceptions.
51312         (fma_test_towardzero): Add more tests.
51313         (fma_test_downward): Likewise.
51314         (fma_test_upward): Likewise.
51316         [BZ #14047]
51317         * sysdeps/generic/tininess.h: New file.
51318         * sysdeps/i386/tininess.h: Likewise.
51319         * sysdeps/sh/tininess.h: Likewise.
51320         * sysdeps/x86_64/tininess.h: Likewise.
51321         * stdlib/tst-strtod-underflow.c: Likewise.
51322         * stdlib/tst-tininess.c: Likewise.
51323         * stdlib/strtod_l.c: Include <tininess.h>.
51324         (round_and_return): Do not set errno for exact underflow cases.
51325         Force an underflow exception when setting errno for underflow.
51326         Determine underflow based on rounding to normal precision if
51327         TININESS_AFTER_ROUNDING.
51328         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
51329         ERANGE for exact underflow cases.
51330         * stdlib/Makefile (tests): Add tst-tininess and
51331         tst-strtod-underflow.
51332         ($(objpfx)tst-tininess): Use $(link-libm).
51333         ($(objpfx)tst-strtod-underflow): Likewise.
51335 2012-10-30  Andreas Jaeger  <aj@suse.de>
51337         [BZ#14767]
51338         * elf/Makefile (tests): Remove conditional for have-initfini-array
51339         since this is now always required and the variable does not exist
51340         anymore.
51341         (tests-static): Likewise.
51342         (modules-names): Likewise.
51344         * po/eo.po: Add Esperanto translation from translation project.
51346         * elf/tst-array1.c (fini_array): Make writeable so that it can be
51347         merged with constructor/destructor.
51348         (init_array): Likewise.
51349         * elf/tst-array2dep.c (fini_array): Likewise.
51350         (init_array): Likewise.
51352 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
51354         * manual/message.texi: Delete @cartouche tags.
51356 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
51358         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
51359         EOPNOTSUPP.
51360         * sysdeps/mach/hurd/fsync.c: Likewise.
51362         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
51363         [_POSIX_REALTIME_SIGNALS]: Change condition to
51364         [_POSIX_REALTIME_SIGNALS > 0].
51366 2012-10-27  Andreas Jaeger  <aj@suse.de>
51368         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
51369         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
51370         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
51371         [__WORDSIZE != 64]: Likewise.
51373 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
51375         *  iconvdata/tst-table.sh: Remove ${SHELL}.
51376         *  iconvdata/tst-tables.sh: Likewise.
51378 2012-10-25  David S. Miller  <davem@davemloft.net>
51380         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
51381         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
51382         of strtoull.
51384         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
51385         ifunc-impl-list.c
51386         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
51387         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
51388         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
51389         file.
51391 2012-10-25  Roland McGrath  <roland@hack.frob.com>
51393         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
51394         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
51395         __getdirentries.
51397 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
51398             Jim Blandy  <jimb@codesourcery.com>
51400         * scripts/cross-test-ssh.sh: New file.
51401         * manual/install.texi (Configuring and compiling): Document use of
51402         cross-test-ssh.sh.
51403         * INSTALL: Regenerated.
51405 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
51407         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
51408         EOPNOTSUPP.
51410 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
51412         * Makeconfig (run-program-prefix): Fix comment.
51414 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
51415             Jim Blandy  <jimb@codesourcery.com>
51417         * Makeconfig (test-wrapper): New variable,
51418         (test-wrapper-env): Likewise.
51419         [$(cross-compiling) = yes && $(test-wrapper) != ""]
51420         (run-built-tests): Define to yes.
51421         (run-program-prefix): Use $(test-wrapper).
51422         (built-program-cmd): Likewise.
51423         * Rules (make-test-out): Use $(test-wrapper-env) and
51424         $(host-built-program-cmd).
51425         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
51426         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
51427         tst-pathopt.sh.
51428         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
51429         $(test-wrapper-env) to tst-rtld-load-self.sh.
51430         ($(objpfx)order2.out): Use $(test-wrapper).
51431         ($(objpfx)tst-initorder.out): Likewise.
51432         ($(objpfx)tst-initorder2.out): Likewise.
51433         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
51434         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
51435         (test_wrapper_env): New variable.  Use it to run ld.so.
51436         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
51437         Use it to run ld.so.
51438         (test_wrapper_env): Likewise.
51439         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
51440         $(test-wrapper) to run-iconv-test.sh.
51441         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
51442         (ICONV): Use $test_wrapper.
51443         * posix/Makefile ($(objpfx)globtest.out): Pass
51444         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
51445         globtest.sh, not $(run-program-prefix).
51446         * posix/globtest.sh (run_via_rtld_prefix): New variable.
51447         (test_wrapper): Likewise.
51448         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
51449         set together with run_via_rtld_prefix.
51450         (run_program_prefix): Define in terms of test_wrapper and
51451         run_via_rtld_prefix.
51453 2012-10-24  Roland McGrath  <roland@hack.frob.com>
51455         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
51456         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
51457         Targets removed.
51459         [BZ #14743]
51460         * include/time.h: Remove librt_hidden_proto (clock_gettime).
51461         Declare __clock_getres, __clock_gettime, __clock_settime,
51462         __clock_nanosleep, and __clock_getcpuclockid.
51463         * rt/clock_gettime.c: Define __clock_gettime as an alias.
51464         Remove librt_hidden_def (clock_gettime).
51465         * sysdeps/unix/clock_gettime.c: Likewise.
51466         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
51467         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
51468         * rt/clock_getres.c: Define __clock_getres as an alias.
51469         * sysdeps/posix/clock_getres.c: Likewise.
51470         * rt/clock_settime.c: Define __clock_settime as an alias.
51471         * sysdeps/unix/clock_settime.c: Likewise.
51472         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
51473         * sysdeps/unix/clock_nanosleep.c: Likewise.
51474         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
51475         * rt/clock-compat.c: New file.
51476         * rt/Makefile (librt-routines): Add clock-compat and move
51477         $(clock-routines) to ...
51478         (routines): ... here, new variable.
51479         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
51480         Don't add get_clockfreq here.
51481         * rt/Versions (libc: GLIBC_2.17): New version set.
51482         Add clock_* symbols here.
51483         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
51484         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
51485         (GLIBC_2.17): Add clock_* symbols.
51486         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
51487         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
51488         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
51489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
51490         Likewise.
51491         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
51492         Likewise.
51493         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
51494         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
51495         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
51496         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
51497         * NEWS: Mention the move.
51499         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
51500         Use __open, __read, __close rather than their public counterparts.
51501         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
51502         (__get_clockfreq_via_cpuinfo): Likewise.
51503         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
51504         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
51506         * config.h.in (HAVE_IFUNC): New #undef.
51507         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
51508         was successful.
51509         * configure: Regenerated.
51511 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
51513         * configure.in: Move READELF check to start of file.
51514         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
51515         libc_cv_asm_gnu_indirect_function in the process.
51516         * configure: Regenerated.
51518 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
51520         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
51521         send the output to /dev/null.
51522         (libc_cv_cc_with_libunwind): Likewise.
51523         (libc_cv_as_noexecstack): Likewise.
51524         * configure: Regenerate.
51526 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
51528         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
51530         * posix/globtest.sh (TMPDIR): Do not set.
51531         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
51532         (testout): Likewise.
51534 2012-10-24  Andreas Jaeger  <aj@suse.de>
51536         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
51537         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
51538         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
51539         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
51540         posix_fadvise64, posix_fallocate64.
51542         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
51543         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
51544         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
51545         Likewise.
51546         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
51547         Likewise.
51548         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
51550         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
51551         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
51552         <bits/fcntl-linux.h>.
51553         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
51555         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
51556         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
51557         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
51558         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
51559         [__WORDSIZE != 64]: Likewise.
51561 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
51563         * Makeconfig (run-built-tests): New variable.
51564         * Rules [$(cross-compiling) = yes]: Change condition to
51565         [$(run-built-tests) = no].
51566         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
51567         to [$(run-built-tests) = yes].
51568         * elf/Makefile [$(cross-compiling) = no]: Likewise
51569         * grp/Makefile [$(cross-compiling) = no]: Likewise.
51570         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
51571         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
51572         * intl/Makefile [$(cross-compiling) = no]: Likewise.
51573         * io/Makefile [$(cross-compiling) = no]: Likewise.
51574         * libio/Makefile [$(cross-compiling) = no]: Likewise.
51575         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
51576         * misc/Makefile [$(cross-compiling) = no]: Likewise.
51577         * posix/Makefile [$(cross-compiling) = no]: Likewise.
51578         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
51579         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
51580         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
51581         * string/Makefile [$(cross-compiling) = no]: Likewise.
51583         * posix/Makefile ($(objpfx)globtest.out): Pass
51584         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
51585         $(rtld-installed-name).
51586         * posix/globtest.sh (elf_objpfx): Remove variable.
51587         (rtld_installed_name): Likewise.
51588         (library_path): Likewise.
51589         (run_program_prefix): New variable.  Use for running globtest
51590         binary.
51592 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
51593             Joseph Myers  <joseph@codesourcery.com>
51595         * Makeconfig (host-built-program-cmd): New variable.
51596         * elf/Makefile (tst-stackguard1-ARGS): Use
51597         $(host-built-program-cmd).
51598         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
51599         (tst-spawn-ARGS): Likewise.
51600         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
51602 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
51603             Jim Blandy  <jimb@codesourcery.com>
51605         * Makeconfig (run-via-rtld-prefix): New variable.
51606         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
51607         (built-program-cmd): Likewise.
51609 2012-10-22  Andreas Jaeger  <aj@suse.de>
51611         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
51612         __O_RSYNC if it exists, otherwise to O_SYNC.
51614 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
51615             Joseph Myers  <joseph@codesourcery.com>
51617         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
51618         /dev/null.
51619         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
51620         from /dev/null
51621         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
51622         /dev/null.
51624 2012-10-22  Andreas Jaeger  <aj@suse.de>
51626         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
51627         Define always.
51628         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
51630         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51631         bits/fcntl-linux.h.
51633         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
51634         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
51636         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
51637         to __O_LARGEFILE.
51638         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
51639         to __O_LARGEFILE.
51641 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
51642             Joseph Myers  <joseph@codesourcery.com>
51644         * config.make.in (NM): New variable.
51646 2012-10-21  Andreas Jaeger  <aj@suse.de>
51648         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
51649         definitions and declarations that are provided by
51650         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
51652 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
51654         [BZ #14683]
51655         * elf/Makefile (tests-static): Add tst-leaks1-static.
51656         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
51657         ($(objpfx)tst-leaks1-static): New rule.
51658         ($(objpfx)tst-leaks1-static-mem): Likewise.
51659         (tst-leaks1-static-ENV): New macro.
51660         * elf/dl-open.c (dl_open_worker): Check the main application
51661         only if SHARED is defined.
51662         * elf/tst-leaks1-static.c: New file.
51664 2012-10-20  Andreas Jaeger  <aj@suse.de>
51666         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
51667         generic values for Linux.
51668         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
51669         and declarations that are provided by <bits/fcntl-linux.h> and
51670         include <bits/fcntl-linux.h>.
51671         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
51672         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
51674 2012-10-20  Roland McGrath  <roland@hack.frob.com>
51676         * io/fcntl.h: Move include of <bits/types.h> to the top and
51677         include it unconditionally.
51679 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
51681         * wcsmbs/Makefile (tests-ifunc): New variable.
51682         (tests): Add $(tests-ifunc).
51683         * wcsmbs/test-wcschr-ifunc.c: New file.
51684         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
51685         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
51686         * wcsmbs/test-wcslen-ifunc.c: Likewise.
51687         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
51688         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
51690         * string/Makefile (tests-ifunc): New variable.
51691         (tests): Add $(tests-ifunc).
51692         * string/test-memccpy.c (TEST_NAME): New macro.
51693         * string/test-memchr.c (TEST_NAME): Likewise.
51694         * string/test-memcmp.c (TEST_NAME): Likewise.
51695         * string/test-memcpy.c (TEST_NAME): Likewise.
51696         * string/test-memmem.c (TEST_NAME): Likewise.
51697         * string/test-memmove.c (TEST_NAME): Likewise.
51698         * string/test-memset.c (TEST_NAME): Likewise.
51699         * string/test-rawmemchr.c (TEST_NAME): Likewise.
51700         * string/test-stpcpy.c (TEST_NAME): Likewise.
51701         * string/test-stpncpy.c (TEST_NAME): Likewise.
51702         * string/test-strcasecmp.c (TEST_NAME): Likewise.
51703         * string/test-strcasestr.c (TEST_NAME): Likewise.
51704         * string/test-strcat.c (TEST_NAME): Likewise.
51705         * string/test-strchr.c (TEST_NAME): Likewise.
51706         * string/test-strcmp.c(TEST_NAME): Likewise.
51707         * string/test-strcpy.c (TEST_NAME): Likewise.
51708         * string/test-strcspn.c (TEST_NAME): Likewise.
51709         * string/test-strlen.c (TEST_NAME): Likewise.
51710         * string/test-strncasecmp.c (TEST_NAME): Likewise.
51711         * string/test-strncmp.c (TEST_NAME): Likewise.
51712         * string/test-strncpy.c (TEST_NAME): Likewise.
51713         * string/test-strnlen.c (TEST_NAME): Likewise.
51714         * string/test-strpbrk.c (TEST_NAME): Likewise.
51715         * string/test-strrchr.c (TEST_NAME): Likewise.
51716         * string/test-strspn.c (TEST_NAME): Likewise.
51717         * string/test-strstr.c (TEST_NAME): Likewise.
51718         * string/test-bcopy-ifunc.c: New file.
51719         * string/test-bzero-ifunc.c: Likewise.
51720         * string/test-memccpy-ifunc.c: Likewise.
51721         * string/test-memchr-ifunc.c: Likewise.
51722         * string/test-memcmp-ifunc.c: Likewise.
51723         * string/test-memcpy-ifunc.c: Likewise.
51724         * string/test-memmem-ifunc.c: Likewise.
51725         * string/test-memmove-ifunc.c: Likewise.
51726         * string/test-mempcpy-ifunc.c: Likewise.
51727         * string/test-memset-ifunc.c: Likewise.
51728         * string/test-rawmemchr-ifunc.c: Likewise.
51729         * string/test-stpcpy-ifunc.c: Likewise.
51730         * string/test-stpncpy-ifunc.c: Likewise.
51731         * string/test-strcasecmp-ifunc.c: Likewise.
51732         * string/test-strcasestr-ifunc.c: Likewise.
51733         * string/test-strcat-ifunc.c: Likewise.
51734         * string/test-strchr-ifunc.c: Likewise.
51735         * string/test-strchrnul-ifunc.c: Likewise.
51736         * string/test-strcmp-ifunc.c: Likewise.
51737         * string/test-strcpy-ifunc.c: Likewise.
51738         * string/test-strcspn-ifunc.c: Likewise.
51739         * string/test-strlen-ifunc.c: Likewise.
51740         * string/test-strncasecmp-ifunc.c: Likewise.
51741         * string/test-strncat-ifunc.c: Likewise.
51742         * string/test-strncmp-ifunc.c: Likewise.
51743         * string/test-strncpy-ifunc.c: Likewise.
51744         * string/test-strnlen-ifunc.c: Likewise.
51745         * string/test-strpbrk-ifunc.c: Likewise.
51746         * string/test-strrchr-ifunc.c: Likewise.
51747         * string/test-strspn-ifunc.c: Likewise.
51748         * string/test-strstr-ifunc.c: Likewise.
51750         * debug/Makefile (tests-ifunc): New variable.
51751         (tests): Add $(tests-ifunc).
51752         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
51753         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
51754         * debug/test-stpcpy_chk-ifunc.c: New file.
51755         * debug/test-strcpy_chk-ifunc.c: Likewise.
51757 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
51759         [BZ #13601]
51760         * elf/dl-load.c (open_verify): Retry read if the entire ELF
51761         header is not read in.
51763 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
51765         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
51766         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
51767         directly.  Pass built executable to script as
51768         $(built-program-cmd).
51769         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
51770         $testprogram without using LD_LIBRARY_PATH and $ldso.
51772         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
51773         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
51774         $(rtld-installed-name).
51775         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
51776         (rtld_installed_name): Likewise.
51777         (library_path): Likewise.
51778         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
51779         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
51780         $(run-program-prefix) to tst-tables.sh.
51781         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
51782         it to run tst-table-from and tst-table-to.
51783         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
51784         Pass it to tst-table.sh.
51785         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
51786         $(run-program-prefix) to tst-gettext.sh.
51787         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
51788         tst-translit.sh.
51789         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
51790         tst-gettext2.sh.
51791         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
51792         to run tst-gettext.
51793         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
51794         to run tst-gettext2.
51795         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
51796         to run tst-translit.
51797         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
51798         $(run-program-prefix) to tst-mtrace.sh.
51799         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
51800         to run tst-mtrace.
51801         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
51802         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
51803         $(rtld-installed-name).
51804         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
51805         (rtld_installed_name): Likewise.
51806         (run_program_prefix): New variable.  Use it to run wordexp-test.
51808         * Makeconfig (ARCH): Remove all definitions.
51809         (machine): Likewise.
51810         [ARCH]: Remove conditional code.
51811         [!objdir]: Give error.
51812         [!objdir] (objpfx): Remove.
51813         [!objdir] (common-objpfx): Likewise.
51814         [!objdir] (common-objdir): Likewise.
51815         * configure.in (config_makefile): Remove.  Hardcode Makefile in
51816         AC_CONFIG_FILES call.
51817         * configure: Regenerated.
51819         [BZ #13888]
51820         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
51821         or TMPDIR.
51822         (testout): Likewise.
51824         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
51825         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
51826         $(rtld-installed-name).
51827         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
51828         (rtld_installed_name): Likwise.
51829         (runit): Remove function.
51830         (run_getconf): New variable,  Use it for running getconf binary.
51832 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
51834         [BZ #14716]
51835         * string/test-memmem.c (check_result): New function.
51836         (do_one_test): Use it.
51837         (check1): New function.
51838         (test_main): Use it.
51840 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
51842         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
51844 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
51846         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
51847         (_G_LSEEK64): Likewise.
51848         (_G_MMAP64): Likewise.
51849         (_G_FSTAT64): Likewise.
51850         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
51851         (_G_LSEEK64): Likewise.
51852         (_G_MMAP64): Likewise.
51853         (_G_FSTAT64): Likewise.
51854         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
51855         unconditional.  Call __mmap64 directly.
51856         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
51857         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
51858         __lseek64 directly.
51859         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
51860         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
51861         __mmap64 directly.
51862         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
51863         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
51864         __lseek64 directly.
51865         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
51866         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
51867         __lseek64 directly.
51868         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
51869         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
51870         __lseek64 directly.
51871         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
51872         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
51873         __fxstat64 directly.
51874         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
51875         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
51876         unconditional.
51877         (freopen64) [!_G_OPEN64]: Remove conditional code.
51878         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
51879         unconditional.
51880         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
51881         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
51882         unconditional.
51883         (ftello64) [!_G_LSEEK64]: Remove conditional code.
51884         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
51885         unconditional.
51886         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
51887         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
51888         unconditional.
51889         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
51890         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
51891         unconditional.
51892         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
51893         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
51894         unconditional.
51895         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
51896         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
51897         unconditional.
51898         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
51900 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
51902         [BZ #12140]
51903         * manual/memory.texi (Malloc Tunable Parameters): Add note
51904         about free list pointers overwriting some perturb bytes.
51905         Wording suggested by Roland McGrath.
51907 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
51909         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
51910         (lgamma_test): Likewise.
51911         (tgamma_test): Likewise.
51913 2012-10-16  Florian Weimer  <fweimer@redhat.com>
51915         [BZ #14700]
51916         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
51917         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
51919 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
51921         * NEWS: Mention BZ #14716.
51922         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
51923         when removing AVAILABLE1_USES_J macro.
51925 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
51927         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
51928         (__bswap_64): __uint64_t for unsigned 64-bit int.
51930 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
51932         * include/string.h (memmem): Declare libc hidden alias.
51933         * string/memmem.c (memmem): Define libc hidden alias.
51934         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
51935         __read, __close instead of open, read, close.
51937 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
51939         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
51940         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
51941         global and hidden.
51942         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
51943         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
51944         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
51945         Likewise.
51946         (__rawmemchr_sse2): Likewise.
51947         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
51948         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
51949         (__strchr_sse2): Likewise.
51950         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
51951         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
51952         (__strcasecmp_sse2): Likewise.
51953         (__strncasecmp_sse2): Likewise.
51954         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
51955         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
51956         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
51957         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
51958         (__strrchr_sse2): Likewise.
51959         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
51960         ifunc-impl-list.c.
51961         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
51962         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
51963         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
51964         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
51965         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
51966         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
51967         * sysdeps/x86_64/multiarch/memset.S: Likewise.
51968         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
51969         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
51970         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
51971         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
51972         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
51973         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
51974         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
51975         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
51976         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
51977         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
51978         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
51979         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
51980         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
51981         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
51982         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
51983         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
51984         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
51985         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
51986         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
51987         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
51988         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
51989         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
51990         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
51992         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
51993         global and hidden.
51994         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
51995         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
51996         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
51997         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
51998         Likewise.
51999         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
52000         Likewise.
52001         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
52002         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
52003         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
52004         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
52005         ifunc-impl-list.c.
52006         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
52007         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
52008         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
52009         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
52010         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
52011         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
52012         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
52013         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
52014         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
52015         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
52016         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
52017         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
52018         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
52019         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
52020         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
52021         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
52022         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
52023         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
52024         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
52025         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
52026         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
52027         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
52028         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
52029         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
52030         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
52031         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
52032         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
52033         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
52034         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
52035         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
52036         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
52037         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
52038         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
52039         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
52040         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
52041         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
52042         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
52043         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
52044         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
52045         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
52046         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
52048         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
52049         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
52050         * include/ifunc-impl-list.h: New file.
52051         * misc/ifunc-impl-list.c: Likewise.
52052         * misc/Makefile (routines): Add ifunc-impl-list.
52053         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
52054         * string/test-string.h: Include <ifunc-impl-list.h>.
52055         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
52056         TEST_NAME]: New variables.
52057         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
52058         are defined.
52059         (test_init): Call __libc_ifunc_impl_list to initialize
52060         func_list if TEST_IFUNC and TEST_NAME are defined.
52062         * string/Makefile (strop-tests): Add bcopy and bzero.
52063         * string/test-bcopy.c: New file.
52064         * string/test-bzero.c: Likewise.
52065         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
52066         defined.
52067         * string/test-memset.c: Support bzero test if TEST_BZERO is
52068         defined.
52069         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
52070         __libc_memmove.
52071         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
52072         __libc_memset.
52073         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
52074         of memset.
52076 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
52078         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
52079         * configure: Regenerated.
52081         * Makeconfig (+link-static-before-libc): Don't include
52082         $(link-static-libc).
52084         * libio/libio.h (_IO_pos_t): Remove.
52086 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
52088         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
52089         McGrath.
52091 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
52093         * crypt/crypt-entry.c: Include fips-private.h.
52094         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
52095         * crypt/md5c-test.c (main): Tolerate disabled MD5.
52096         * sysdeps/unix/sysv/linux/fips-private.h: New file.
52097         * sysdeps/generic/fips-private.h: New file, dummy fallback.
52099 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
52101         * crypt/crypt-private.h: Include stdbool.h.
52102         (_ufc_setup_salt_r): Return bool.
52103         * crypt/crypt-entry.c: Include errno.h.
52104         (__crypt_r): Return NULL with EINVAL for bad salt.
52105         * crypt/crypt_util.c (bad_for_salt): New.
52106         (_ufc_setup_salt_r): Check that salt is long enough and within
52107         the specified alphabet.
52108         * crypt/badsalttest.c: New file.
52109         * crypt/Makefile (tests): Add it.
52110         ($(objpfx)badsalttest): New.
52112 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
52114         * NEWS: Add entry for BZ #14602.
52116 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
52118         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
52119         type-generic.
52120         * math/libm-test.inc: Update comment listing what functions and
52121         macros are tested.
52122         (isgreater_test): New function.
52123         (isgreaterequal_test): Likewise.
52124         (isless_test): Likewise.
52125         (islessequal_test): Likewise.
52126         (islessgreater_test): Likewise.
52127         (isunordered_test): Likewise.
52128         (main): Call the new functions.
52130 2012-10-09  Roland McGrath  <roland@hack.frob.com>
52132         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
52133         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
52134         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
52135         * sysdeps/i386/configure: Regenerated.
52136         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
52137         * sysdeps/mach/configure: Regenerated.
52138         * sysdeps/mach/hurd/configure: Regenerated.
52139         * sysdeps/powerpc/configure: Regenerated.
52140         * sysdeps/powerpc/powerpc32/configure: Regenerated.
52141         * sysdeps/powerpc/powerpc64/configure: Regenerated.
52142         * sysdeps/s390/s390-32/configure: Regenerated.
52143         * sysdeps/s390/s390-64/configure: Regenerated.
52144         * sysdeps/sh/configure: Regenerated.
52145         * sysdeps/sparc/configure: Regenerated.
52146         * sysdeps/unix/sysv/linux/configure: Regenerated.
52147         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
52148         * sysdeps/x86_64/configure: Regenerated.
52150         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
52151         defined.  Don't check if MAP is NULL.
52153 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
52155         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
52156         (_G_stat64): Likewise.
52157         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
52158         (_G_stat64): Likewise.
52159         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
52160         instead of struct _G_stat64.
52161         * libio/fileops.c (mmap_remap_check): Likewise.
52162         (decide_maybe_mmap): Likewise.
52163         (_IO_new_file_seekoff): Likewise.
52164         (_IO_file_stat): Likewise.
52165         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
52166         _G_off64_t.
52167         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
52168         instead of struct _G_stat64.
52169         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
52171 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
52173         [BZ #14602]
52174         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
52175         Replace with ...
52176         (CHECK_EOL): New macro.
52177         (two_way_short_needle): Check beginning of haystack for EOL.  Use
52178         CHECK_EOL.
52179         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
52180         Replace with CHECK_EOL.
52181         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
52182         Replace with CHECK_EOL.
52184 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
52186         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
52187         type-generic.
52188         * math/libm-test.inc: Update comment listing what functions and
52189         macros are tested.
52190         (finite_test): New function.
52191         (isinf_test): Likewise.
52192         (isnan_test): Likewise.
52193         (fpclassify_test): Test subnormal input.
52194         (isfinite_test): Likewise.
52195         (isnormal_test): Likewise.
52196         (main): Call the new functions.
52198 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
52200         [BZ #14660]
52201         * Makerules (%.dynsym): Force C locale when running
52202         $(OBJDUMP) --dynamic-syms.
52204 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
52206         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
52207         <stdint.h>.
52209 2012-10-06  David S. Miller  <davem@davemloft.net>
52211         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
52212         upper 32-bits of the length value in %o2 since we use branch-on-register
52213         tests which consider the entire 64-bit register.
52215 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
52217         * string/test-strstr.c (check2): Add a test for page boundary.
52219 2012-10-05  David S. Miller  <davem@davemloft.net>
52221         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
52222         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
52223         file.
52224         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
52225         sysdep_routines.
52226         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
52227         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
52228         and bzero when HWCAP_SPARC_CRYPTO is present.
52230 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
52232         [BZ #14602]
52233         * string/test-strstr.c (check2): New function.
52234         (test_main): Call check2.
52236         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
52237         and bug-strchr1.
52238         * string/bug-strcasestr1.c (do_test): Moved to ...
52239         * string/test-strcasestr.c (check1): Here.  New function.
52240         (do_one_test): Break out result checking code into ...
52241         (check_result): This.  New function.
52242         (do_one_test): Call check_result.
52243         (test_main): Call check1.
52244         * string/bug-strchr1.c (do_test): Moved to ...
52245         * string/test-strchr.c (check1): Here.  New function.
52246         (do_one_test): Break out result checking code into ...
52247         (check_result): This.  New function.
52248         (do_one_test): Call check_result.
52249         (test_main): Call check1.
52250         * string/bug-strstr1.c (main): Moved to ...
52251         * string/test-strstr.c (check1): Here.  New function.
52252         (do_one_test): Break out result checking code into ...
52253         (check_result): This.  New function.
52254         (do_one_test): Call check_result.
52255         (test_main): Call check1.
52256         * string/bug-strcasestr1.c: Removed.
52257         * string/bug-strchr1.c: Likewise.
52258         * string/bug-strstr1.c: Likewise.
52260         * elf/Makefile (dl-routines): Add hwcaps.
52261         * elf/dl-support.c (_dl_important_hwcaps): Removed.
52262         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
52263         (_dl_important_hwcaps): Moved to ...
52264         * elf/dl-hwcaps.c: Here.  New file.
52265         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
52267         [BZ #14557]
52268         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
52269         if IS_IN_rtld isn't defined.
52271         * elf/dl-support.c (_dl_sysinfo_map): New.
52272         Include "get-dynamic-info.h" and "setup-vdso.h".
52273         (_dl_non_dynamic_init): Call setup_vdso.
52274         * elf/dynamic-link.h: Don't include <assert.h>.
52275         (elf_get_dynamic_info): Moved to ...
52276         * elf/get-dynamic-info.h: Here.  New file.
52277         * elf/dynamic-link.h: Include "get-dynamic-info.h".
52278         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
52279         * elf/setup-vdso.h: Here.  New file.
52280         * elf/rtld.c: Include "setup-vdso.h".
52281         (dl_main): Call setup_vdso.
52283 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
52285         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
52286         creal in comment listing functions tested.  List finite, isinf,
52287         isnan, isless, islessequal, isgreater, isgreaterequal,
52288         islessgreater, isunordered, lgamma_r and pow10 as functions and
52289         macros not tested.  Mention which functions not tested are aliases
52290         for other functions.  Fix typo.  Note that signs of NaNs are not
52291         tested.
52293         * scripts/config.guess: Update from config.git.
52294         * scripts/config.sub: Likewise.
52296 2012-10-04  Roland McGrath  <roland@hack.frob.com>
52298         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
52299         * misc/madvise.c (madvise): Renamed to __madvise.
52300         Make madvise a weak alias.
52301         * include/sys/mman.h: Declare __madvise.
52302         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
52303         * sysdeps/unix/syscalls.list
52304         (madvise): Make __madvise the strong name, and madvise a weak alias.
52305         * sysdeps/unix/sysv/linux/syscalls.list
52306         (madvise, mmap): Remove redundant entries.
52307         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
52308         * malloc/malloc.c (mtrim): Likewise.
52309         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
52311 2012-10-03  Roland McGrath  <roland@hack.frob.com>
52313         * sysdeps/mach/hurd/dl-cache.c: File removed.
52314         * config.h.in (USE_LDCONFIG): New #undef.
52315         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
52316         * configure: Regenerated.
52317         * elf/Makefile (dl-routines): Add dl-cache only under
52318         [$(use-ldconfig) = yes].
52319         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
52320         cache on [USE_LDCONFIG].
52321         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
52322         [USE_LDCONFIG].
52323         * elf/rtld.c (dl_main): Likewise.
52325 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
52327         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
52328         _SC_LEVEL4_CACHE_LINESIZE.
52330 2012-10-03  Roland McGrath  <roland@hack.frob.com>
52332         * sysdeps/unix/bsd/confstr.h: File removed.
52334 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
52336         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
52337         sys/sdt-config.h.
52339 2012-10-02  Roland McGrath  <roland@hack.frob.com>
52341         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
52342         Make 'mapoff' field ElfW(Off) rather than off_t.
52344 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
52346         * nscd/Makefile: Remove nscd-cflags and all its users.
52347         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
52348         (CFLAGS-nonlib): Add compiler flags for nscd modules.
52350         [BZ #10631]
52351         * malloc.c (malloc_printerr): Clarify error message.
52353 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
52355         [BZ #14648]
52356         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52357         Set bit_FMA_Usable if FMA is supported.
52358         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
52359         macro.
52360         (bit_FMA4_Usable): Updated.
52361         (index_FMA_Usable): New macro.
52362         (CPUID_FMA): Likewise
52363         (HAS_FMA): Defined with bit_FMA_Usable.
52365 2012-10-01  Roland McGrath  <roland@hack.frob.com>
52367         * bits/types.h (__swblk_t): Type removed.
52368         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
52369         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
52370         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
52371         (__SWBLK_T_TYPE): Likewise.
52372         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
52373         (__SWBLK_T_TYPE): Likewise.
52374         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
52375         (__SWBLK_T_TYPE): Likewise.
52376         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
52377         (__SWBLK_T_TYPE): Likewise.
52379 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
52380             Honza Horak <hhorak@redhat.com>
52382         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
52383         (xdr_mapname): Use YPMAXMAP as maxsize.
52384         (xdr_peername): Use YPMAXPEER as maxsize.
52385         (xdr_keydat): Use YPAXRECORD as maxsize.
52386         (xdr_valdat): Use YPMAXRECORD as maxsize.
52388 2012-10-01  Roland McGrath  <roland@hack.frob.com>
52390         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
52392         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
52393         * csu/init-first.c: ... here.
52394         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
52395         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
52396         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
52397         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
52398         * sysdeps/i386/init-first.c: File removed.
52399         * sysdeps/sh/init-first.c: File removed.
52401 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
52403         [BZ #14645]
52404         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
52405         if x * y might underflow to zero and z is zero.
52406         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
52407         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
52408         * math/libm-test.inc (min_subnorm_value): New variable.
52409         (fma_test): Add more tests.
52410         (fma_test_towardzero): Likewise.
52411         (fma_test_downward): Likewise
52412         (fma_test_upward): Likewise.
52413         (initialize): Set min_subnorm_value.
52415 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
52417         [BZ #14638]
52418         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
52419         0 + 0.
52420         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
52421         mode for addition resulting in exact zero.
52422         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
52423         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
52424         exact 0 + 0.
52425         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
52426         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
52427         * math/libm-test.inc (fma_test): Add more tests.
52428         (fma_test_towardzero): New function.
52429         (fma_test_downward): Likewise.
52430         (fma_test_upward): Likewise.
52431         (main): Call the new functions.
52433 2012-09-28  David S. Miller  <davem@davemloft.net>
52435         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
52437 2012-09-28  Roland McGrath  <roland@hack.frob.com>
52439         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
52440         instead of SIGALRM.
52442         * sysdeps/gnu/_G_config.h: Moved to ...
52443         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
52444         * sysdeps/mach/hurd/_G_config.h: Moved to ...
52445         * sysdeps/generic/_G_config.h: ... here.
52447         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
52449         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
52451         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
52452         Conditionalize target on [libnss_test1.so-version].
52454         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
52456         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
52457         (elfobjdir): Move out of conditionals.
52459         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
52460         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
52461         (__nss_lookup_function): Conditionalize label remove_from_tree on
52462         [!DO_STATIC_NSS || SHARED], matching its only use.
52464 2012-09-28  David S. Miller  <davem@davemloft.net>
52466         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
52467         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
52468         file.
52469         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
52470         sysdep_routines.
52471         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
52472         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
52473         when HWCAP_SPARC_CRYPTO is present.
52475 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
52477         * io/tst-mknodat.c: Create a FIFO instead of a socket.
52479 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
52481         [BZ #6530]
52482         * stdio-common/vfprintf.c (process_string_arg): Revert
52483         2000-07-22 change.
52485 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
52487         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
52488         for testcase.
52489         * stdio-common/tst-sprintf.c: Include <locale.h>
52490         (main): Test sprintf's handling of incomplete multibyte
52491         characters.
52493 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
52495         * elf/dl-runtime.c (VERSYMIDX): Removed.
52496         * elf/dl-version.c (VERSYMIDX): Likewise.
52497         * elf/do-rel.h (VERSYMIDX): Likewise.
52498         (VALIDX): Likewise.
52499         * elf/dynamic-link.h (VERSYMIDX): Likewise.
52500         * elf/rtld.c (VALIDX): Likewise.
52501         (ADDRIDX): Likewise.
52502         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
52503         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
52504         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
52505         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
52506         (VALIDX): Likewise.
52507         (ADDRIDX): Likewise.
52509 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
52511         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
52513 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
52515         [BZ #11438]
52516         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
52517         to global scope.
52518         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
52519         addresses are in the same scope as 192.0.2/24.
52520         * posix/gai.conf: Document new scope table defaults.
52522 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
52524         [BZ #5298]
52525         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
52526         for ftell.  Compute offsets from write pointers instead.
52527         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
52529 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
52531         [BZ #14543]
52532         * libio/Makefile (tests): New test case tst-fseek.
52533         * libio/tst-fseek.c: New test case to verify that fseek/ftell
52534         combination works in wide mode.
52535         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
52536         state when the external buffer state changes.
52538 2012-09-27  David S. Miller  <davem@davemloft.net>
52540         [BZ #14376]
52541         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
52542         pass reloc->r_addend in as the 'high' argument to
52543         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
52545         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52547 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
52549         * rt/tst-aio2.c: Include <pthread.h>.
52550         * rt/tst-aio3.c: Likewise.
52552 2012-09-27  Steve Ellcey  <sellcey@mips.com>
52554         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
52556 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
52558         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
52559         contents on [SHARED].
52561 2012-09-26  Marek Polacek  <polacek@redhat.com>
52563         [BZ #14530]
52564         [BZ #13741]
52565         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
52566         for C++ and GCC <4.3 as well as for non GCC compilers.
52568 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
52570         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52572 2012-09-25  Roland McGrath  <roland@hack.frob.com>
52574         * Makefile.in (all, install): Declare with .PHONY.
52575         Reported by Michael Hope <michael.hope@linaro.org>.
52577 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
52579         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
52580         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
52581         system header.
52582         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
52583         Likewise.
52584         (sydep_routines): Add the new and the internal functions.
52585         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
52586         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
52587         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
52588         (GLIBC_2.17): Add the new function.
52589         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
52590         (GLIBC_2.17): Likewise.
52591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
52592         (GLIBC_2.17): Likewise.
52593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
52594         (GLIBC_2.17): Likewise.
52595         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
52597 2012-09-25  Alan Modra  <amodra@gmail.com>
52599         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
52600         Add release barrier before setting once_control to say
52601         initialisation is done.  Add hints on lwarx.  Use macro in
52602         place of isync.
52603         (clear_once_control): Add release barrier.
52605 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
52607         [BZ #13629]
52608         * math/s_clog.c (__clog): Handle more values close to |z| = 1
52609         specially.
52610         * math/s_clog10.c (__clog10): Likewise.
52611         * math/s_clog10f.c (__clog10f): Likewise.
52612         * math/s_clog10l.c (__clog10l): Likewise.
52613         * math/s_clogf.c (__clogf): Likewise.
52614         * math/s_clogl.c (__clogl): Likewise.
52615         * math/Makefile (libm-calls): Add x2y2m1.
52616         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
52617         (__x2y2m1): Likewise.
52618         (__x2y2m1l): Likewise.
52619         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
52620         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
52621         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
52622         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
52623         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
52624         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
52625         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
52626         * sysdeps/i386/fpu/libm-test-ulps: Update.
52627         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52629         [BZ #14621]
52630         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
52631         int as type of variable DEPTH.
52632         (glob): Use size_t instead of int as type of variables NEWCOUNT
52633         and OLD_PATHC.
52635 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52637         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
52638         Add s_sincosf-sse2.
52639         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
52640         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
52641         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
52642         macros for using routine as __sincosf_ia32.
52643         Use macro for function declaration and weak_alias.
52644         * sysdeps/i386/fpu/libm-test-ulps: Update.
52646         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
52647         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52649         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
52650         subnormal argument.
52651         * math/s_cexpf.c (__cexpf): Likewise.
52652         * math/s_csinf.c (__csinf): Likewise.
52653         * math/s_csinhf.c (__csinhf): Likewise.
52654         * math/s_ctanf.c (__ctanf): Likewise.
52655         * math/s_ctanhf.c (__ctanhf): Likewise.
52656         * math/s_ccosh.c (__ccoshf): Likewise.
52657         * math/s_cexp.c (__cexpl): Likewise.
52658         * math/s_csin.c (__csin): Likewise.
52659         * math/s_csinh.c (__csinh): Likewise.
52660         * math/s_ctan.c (__ctan): Likewise.
52661         * math/s_ctanh.c (ctanh): Likewise.
52662         * math/s_ccoshl.c (__ccoshl): Likewise.
52663         * math/s_cexpl.c (__cexpl): Likewise.
52664         * math/s_csinl.c (__csinl): Likewise.
52665         * math/s_csinhl.c (__csinhl): Likewise.
52666         * math/s_ctanl.c (__ctanl): Likewise.
52667         * math/s_ctanhl.c (__ctanhl): Likewise.
52669 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
52671         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
52672         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
52673         (_IO_off_t): Define to __off_t, not _G_off_t.
52674         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
52675         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
52676         (_IO_wint_t): Define to wint_t, not _G_wint_t.
52677         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
52678         type of __dummy and __dummy2 fields.
52679         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
52680         (_G_ssize_t): Likewise.
52681         (_G_off_t): Likewise.
52682         (_G_pid_t): Likewise.
52683         (_G_uid_t): Likewise.
52684         (_G_wchar_t): Likewise.
52685         (_G_wint_t): Likewise.
52686         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
52687         (_G_ssize_t): Likewise.
52688         (_G_off_t): Likewise.
52689         (_G_pid_t): Likewise.
52690         (_G_uid_t): Likewise.
52691         (_G_wchar_t): Likewise.
52692         (_G_wint_t): Likewise.
52693         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
52694         (_G_ssize_t): Likewise.
52695         (_G_off_t): Likewise.
52696         (_G_pid_t): Likewise.
52697         (_G_uid_t): Likewise.
52698         (_G_wchar_t): Likewise.
52699         (_G_wint_t): Likewise.
52701 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
52703         * malloc/arena.c: Include malloc-sysdep.h.
52704         (shrink_heap): Use check_may_shrink_heap to decide if madvise
52705         is sufficient to shrink the heap or an unmap is needed.
52706         * sysdeps/generic/malloc-sysdep.h: New file.  Define
52707         new function check_may_shrink_heap.
52708         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
52709         new function check_may_shrink_heap.
52711 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
52713         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
52714         comments.
52716 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
52718         * catgets/test-gencat.sh: Add "set -e".
52719         * elf/tst-pathopt.sh: Likewise.
52720         * grp/tst_fgetgrent.sh: Likewise.
52721         * iconvdata/run-iconv-test.sh: Likewise.
52722         * intl/tst-gettext.sh: Likewise.
52723         * intl/tst-gettext2.sh: Likewise.
52724         * intl/tst-gettext4.sh: Likewise.
52725         * intl/tst-gettext6.sh: Likewise.
52726         * intl/tst-translit.sh: Likewise.
52727         * io/ftwtest-sh: Likewise.
52728         * libio/test-freopen.sh: Likewise.
52729         * malloc/tst-mtrace.sh: Likewise.
52730         * posix/globtest.sh: Likewise.
52731         * posix/tst-getconf.sh: Likewise.
52732         * posix/wordexp-tst.sh: Likewise.
52733         * stdio-common/tst-printf.sh: Likewise.
52734         * stdio-common/tst-unbputc.sh: Likewise.
52735         * stdlib/tst-fmtmsg.sh: Likewise.
52736         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
52737         * catgets/Makefile: Do not specify -e option when running
52738         testsuite shell scripts.
52739         * elf/Makefile: Likewise.
52740         * grp/Makefile: Likewise.
52741         * iconvdata/Makefile: Likewise.
52742         * intl/Makefile: Likewise.
52743         * io/Makefile: Likewise.
52744         * libio/Makefile: Likewise.
52745         * malloc/Makefile: Likewise.
52746         * posix/Makefile: Likewise.
52747         * stdio-common/Makefile: Likewise.
52748         * stdlib/Makefile: Likewise.
52749         * sysdeps/x86_64/Makefile: Likewise.
52751         * io/ftwtest-sh: Add copyright header.
52752         * posix/globtest.sh: Likewise.
52753         * posix/tst-getconf.sh: Likewise.
52754         * posix/wordexp-tst.sh: Likewise.
52755         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
52757 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
52759         [BZ #13679]
52760         * Makeconfig (+link): Defined as $(+link-static) if
52761         $(build-shared) isn't yes.
52762         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
52763         isn't yes.
52764         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
52766         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
52768         [BZ #14562]
52769         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
52770         new chunk size with MALLOC_ALIGN_MASK.
52772 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
52774         [BZ #5044]
52775         * stdio-common/printf_fphex.c: Include <stdbool.h> and
52776         <rounding-mode.h>.
52777         (__printf_fphex): Determine rounding using get_rounding_mode and
52778         round_away.
52779         * stdio-common/tst-printf-round.c (struct hex_test): New
52780         structure.
52781         (hex_tests): New variable.
52782         (test_hex_in_one_mode): New function.
52783         (do_test): Also run tests for hex float output.
52785 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
52787         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
52788         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
52789         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
52790         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
52791         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
52792         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
52793         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
52794         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
52796 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
52798         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
52799         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
52800         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
52801         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
52803 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
52805         [BZ #14579]
52806         * elf/rtld.c (dl_main): Limit the check for self loading to normal
52807         mode only.
52808         * elf/tst-rtld-load-self.sh: New test.
52809         * elf/Makefile: Run it.
52811 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
52813         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
52814         (tst-writev-ENV): Remove.
52815         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
52817 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
52819         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
52821 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
52823         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
52824         unconditional.
52825         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
52826         Likewise.
52827         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
52828         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
52829         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
52830         Likewise.
52832 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
52834         [BZ #14587]
52835         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
52836         * config.make.in (have-cpp-asm-debuginfo): Removed.
52837         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
52838         * configure: Regenerated.
52840 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
52842         [BZ #5044]
52843         * stdio-common/printf_fp.c: Include <stdbool.h> and
52844         <rounding-mode.h>.
52845         (___printf_fp): Determine rounding using get_rounding_mode and
52846         round_away.
52847         * stdio-common/tst-printf-round.c: New file.
52848         * stdio-common/Makefile (tests): Add tst-printf-round.
52849         (link-libm): New variable.
52850         ($(objpfx)tst-printf-round): Depend in $(link-libm).
52852 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
52854         [BZ #14576]
52855         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
52856         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
52857         Likewise.
52858         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
52859         Likewise.
52861 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
52863         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
52864         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
52865         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
52866         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
52868 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
52870         [BZ #14518]
52871         * include/rounding-mode.h: New file.
52872         * sysdeps/generic/get-rounding-mode.h: Likewise.
52873         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
52874         * stdlib/strtod_l.c: Include <rounding-mode.h>.
52875         (MAX_VALUE): New macro.
52876         (MIN_VALUE): Likewise.
52877         (overflow_value): New function.
52878         (underflow_value): Likewise.
52879         (round_and_return): Use overflow_value and underflow_value to
52880         determine return values in overflow and underflow cases.  Use
52881         round_away to determine rounding depending on rounding mode.
52882         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
52883         determine return values in overflow and underflow cases.
52884         * stdlib/tst-strtod-round.c: Include <fenv.h>.
52885         (struct test_results): New structure.
52886         (struct test): Use struct test_results to store expected results
52887         for all rounding modes.
52888         (TEST): Include expected results for all rounding modes.
52889         (test_in_one_mode): New function.
52890         (do_test): Use test_in_one_mode to compute and check results.
52891         Check results for all rounding modes.
52892         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
52893         $(link-libm).
52895 2012-12-09  Allan McRae  <allan@archlinux.org>
52897         * sysdeps/i386/fpu/libm-test-ulps: Update
52899 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
52901         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
52902         (_G_int32_t): Likewise.
52903         (_G_uint16_t): Likewise.
52904         (_G_uint32_t): Likewise.
52905         (_G_HAVE_BOOL): Likewise.
52906         (_G_HAVE_ATEXIT): Likewise.
52907         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
52908         (_G_HAVE_IO_FILE_OPEN): Likewise.
52909         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
52910         (_G_int32_t): Likewise.
52911         (_G_uint16_t): Likewise.
52912         (_G_uint32_t): Likewise.
52913         (_G_HAVE_BOOL): Likewise.
52914         (_G_HAVE_ATEXIT): Likewise.
52915         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
52916         (_G_HAVE_IO_FILE_OPEN): Likewise.
52917         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
52918         (_G_int32_t): Likewise.
52919         (_G_uint16_t): Likewise.
52920         (_G_uint32_t): Likewise.
52921         (_G_HAVE_BOOL): Likewise.
52922         (_G_HAVE_ATEXIT): Likewise.
52923         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
52924         (_G_HAVE_IO_FILE_OPEN): Likewise.
52926 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
52928         * csu/libc-tls.c: Update copyright years.
52930 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
52932         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
52933         [!_G_USING_THUNKS]: Remove conditional code.
52934         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
52935         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
52937         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
52938         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
52939         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
52940         (_G_VTABLE_LABEL_PREFIX): Likewise.
52941         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
52942         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
52943         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
52944         (_G_VTABLE_LABEL_PREFIX): Likewise.
52945         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
52946         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
52947         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
52948         (_G_VTABLE_LABEL_PREFIX): Likewise.
52949         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
52951 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
52953         * libio/Makefile: Include ../Makeconfig before tests.
52954         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
52955         only if $(build-shared) is yes.
52957         * iconv/gconv_db.c: Update copyright years.
52959 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52961         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
52962         unwind info if defined PIC. Fix special cases description.
52963         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
52965         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
52966         DP_HI_MASK entry.
52967         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
52969 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
52971         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
52973         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
52974         is NULL.
52976         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
52977         (LDLIBS-tst-chk4): This.
52978         (LDFLAGS-tst-chk5): Renamed to ...
52979         (LDLIBS-tst-chk5): This.
52980         (LDFLAGS-tst-chk6): Renamed to ...
52981         (LDLIBS-tst-chk6): This.
52982         (LDFLAGS-tst-lfschk4): Renamed to ...
52983         (LDLIBS-tst-lfschk4): This.
52984         (LDFLAGS-tst-lfschk5): Renamed to ...
52985         (LDLIBS-tst-lfschk5): This.
52986         (LDFLAGS-tst-lfschk6): Renamed to ...
52987         (LDLIBS-tst-lfschk6): This.
52989         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
52990         on $(common-objpfx)soversions.mk.
52992 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
52994         [BZ #10014]
52995         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
52996         example host name.
52998 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
53000         * malloc/arena.c (arena_get_retry): New function that gets
53001         another arena for the caller to try its request on.
53002         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
53003         current arena cannot fulfill the request.
53004         (__libc_memalign): Likewise.
53005         (__libc_memalign): Likewise.
53006         (__libc_pvalloc): Likewise.
53007         (__libc_calloc): Likewise.
53009 2012-09-05  John Tobey  <john.tobey@gmail.com>
53011         [BZ #13542]
53012         * manual/arith.texi (Operations on Complex): Fix description
53013         of carg branch cut.
53015 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
53017         [BZ #10014]
53018         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
53019         host name.
53021         [BZ #10038]
53022         * manual/memory.texi (Memory): Make order of menu items match
53023         order of sections.
53025 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
53027         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
53028         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
53029         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
53031 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
53033         * csu/libc-tls.c (static_dtv): Renamed to ...
53034         (_dl_static_dtv): This.  Make it global.
53035         (_dl_initial_dtv): Removed.
53036         (__libc_setup_tls): Updated.
53037         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
53038         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
53039         DL_INITIAL_DTV.
53041 2012-09-06  Petr Machata  <pmachata@redhat.com>
53043         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
53044         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
53045         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
53046         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
53048 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
53050         [BZ #14545]
53051         * csu/libc-tls.c (_dl_initial_dtv): New variable.
53052         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
53053         freeing dtv[-1].
53055 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
53057         [BZ #14544]
53058         * Makeconfig (link-static-before-libc): Replace $(+prector)
53059         with $(+prectorT).
53060         (link-static-after-libc): Replace $(+postctor) with
53061         $(+postctorT).
53062         (link-bounded): Replace $(+prector)/$(+postctor) with
53063         $(+prectorT)/$(+postctorT).
53064         (+prectorT): New macro.
53065         (+postctorT): Likewise.
53067 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
53069         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
53070         (round_str): Handle values above the maximum for IBM long double
53071         as inexact.
53072         * stdlib/tst-strtod-round.c (tests): Regenerated.
53074 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53076         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
53077         assembler flag.
53078         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
53079         zarch_nohighgprs around the zarch optimized routines.
53080         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
53081         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
53082         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
53083         for zarch.
53085 2012-09-05  David S. Miller  <davem@davemloft.net>
53087         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53089         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
53090         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
53091         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
53092         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
53093         entries.
53095 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
53097         * malloc/arena.c: Fold copyright years.
53098         * malloc/mcheck.c, malloc/memusage.c: Likewise.
53100 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
53102         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
53104 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
53106         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
53108 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
53110         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
53111         change internal state upon failure.
53113 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
53115         * malloc/mcheck.c (mcheck_check_all): Fix typo.
53116         * malloc/memusage.c (mmap): Likewise.
53117         (mmap64, mremap): Likewise.  Adjust name in comment.
53119 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
53121         * libio/fileops.c: Fix typos in comments.
53122         * libio/oldfileops.c: Likewise.
53123         * libio/wfileops.c: Likewise.
53125 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
53127         [BZ #1349]
53128         * malloc/Makefile (tests): Add tst-malloc-usable test case.
53129         (tst-malloc-usable-ENV): Set environment for test case.
53130         * malloc/hooks.c (malloc_check_get_size): New function to get
53131         requested size.
53132         * malloc/malloc.c (musable): Use malloc_check_get_size.
53133         * malloc/tst-malloc-usable.c: New test case.
53135 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
53137         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
53139 2012-09-05  Allan McRae  <allan@archlinux.org>
53141         [BZ #13966]
53142         * configure.in (CXX_SYSINCLUDES): Use compiler output to
53143         determine header location.
53144         * configure: Regenerated.
53146 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
53148         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
53149         float format.
53150         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
53151         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
53152         format.
53153         (test): Regenerate.
53155 2012-09-04  David S. Miller  <davem@davemloft.net>
53157         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
53158         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
53159         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
53161 2012-09-04  Florian Weimer  <fweimer@redhat.com>
53163         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
53164         failures.
53166         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
53168 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
53170         [BZ #9914]
53171         * libio/iogetdelim.c: Include <limits.h>.
53172         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
53173         + len + 1 would overflow.
53175 2012-09-03  Andreas Jaeger  <aj@suse.de>
53177         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53178         * sysdeps/i386/fpu/libm-test-ulps: Update.
53180 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53182         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
53183         Add s_sinf-sse2, s_conf-sse2.
53185         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
53186         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
53187         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
53188         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
53190         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
53191         for using routine as __sinf_ia32.
53192         Use macro for function declaration and weak_alias.
53193         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
53194         for using routine as __cosf_ia32.
53195         Use macro for function declaration and weak_alias.
53197         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
53198         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
53200         * sysdeps/x86_64/fpu/s_sinf.S: New file.
53201         * sysdeps/x86_64/fpu/s_cosf.S: New file.
53202         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53204         * math/libm-test.inc (cos_test): Add more test cases.
53205         (sin_test): Likewise.
53206         (sincos_test): Likewise.
53208 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53210         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
53211         (IFUNC_RESOLVE): Make pointers to the specialized implementations
53212         hidden.
53213         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
53215 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
53217         [BZ #14538]
53218         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
53219         first element of the GOT.
53220         (elf_machine_load_address): Return the difference between
53221         the runtime address of _DYNAMIC and elf_machine_dynamic ().
53223 2012-09-01  Allan McRae  <allan@archlinux.org>
53225         [BZ #13412]
53226         * configure.in (AWK): Require gawk version 3.0 or later.
53227         * configure: Regenerated.
53229 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
53231         * sysdeps/unix/sysv/linux/kernel-features.h
53232         (__ASSUME_POSIX_CPU_TIMERS): Remove.
53233         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
53234         [__NR_clock_getres]: Make code unconditional.
53235         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
53236         (clock_getcpuclockid): Remove code left unreachable by removal of
53237         conditionals.
53238         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
53239         code unconditional.
53240         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
53241         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
53242         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
53243         Make code unconditional.
53244         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
53245         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
53246         * sysdeps/unix/sysv/linux/clock_settime.c
53247         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
53248         conditional code.
53249         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
53250         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
53252 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
53254         [BZ #14476]
53255         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
53256         scripts/test-installation.pl.
53258         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
53259         and $ld_so_version if it is set.
53261 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
53263         [BZ #14516]
53264         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
53265         failure if reading from procfs failed.
53266         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
53268 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
53270         * sysdeps/unix/sysv/linux/kernel-features.h
53271         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
53272         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
53273         Remove conditional code.
53274         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
53275         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
53276         Remove conditional code.
53277         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
53278         * sysdeps/unix/sysv/linux/i386/fxstat.c
53279         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
53280         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
53281         * sysdeps/unix/sysv/linux/i386/fxstatat.c
53282         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
53283         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
53284         * sysdeps/unix/sysv/linux/i386/lxstat.c
53285         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
53286         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
53287         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
53288         Remove conditional code.
53289         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
53290         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
53291         Remove conditional code.
53292         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
53293         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
53294         <kernel-features.h>.
53295         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
53296         Remove.
53297         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
53298         Remove conditional code.
53299         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
53300         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
53301         Remove conditional.
53303 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
53305         [BZ #5400]
53306         * NEWS: Add fixed bug number.
53308 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
53310         [BZ #14519]
53311         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
53312         underflowing exponent in case of negative sign.
53313         * stdlib/tst-strtod-round-data: Add more tests.
53314         * stdlib/tst-strtod-round.c (tests): Regenerated.
53316         [BZ #3479]
53317         * stdlib/strtod_l.c (NDIG): Remove.
53318         (HEXNDIG): Likewise.
53319         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
53320         smallest representable value.
53321         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
53322         lie within an exact representation of 1/2 ulp of the result.
53323         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
53324         unconditionally.
53325         (TENS_P9_IDX): Define unconditionally.
53326         (TENS_P9_SIZE): Likewise.
53327         (TENS_P10_IDX): Likewise.
53328         (TENS_P10_SIZE): Likewise.
53329         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
53330         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
53331         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
53332         entries for 10^2^13 and 10^2^14.
53333         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
53334         (TENS_P13_IDX): Define.
53335         (TENS_P13_SIZE): Likewise.
53336         (TENS_P14_IDX): Likewise.
53337         (TENS_P14_SIZE): Likewise.
53338         (_fpioconst_pow10): Change array size to
53339         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
53340         unconditional.
53341         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
53342         1024]: Add entries for 10^2^13 and 10^2^14.
53343         [LAST_POW10 > _LAST_POW10]: Remove #error.
53344         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
53345         (_fpioconst_pow10): Change array size to
53346         FPIOCONST_POW10_ARRAY_SIZE.
53347         * stdlib/gen-fpioconst.c: New file.
53348         * stdlib/gen-tst-strtod-round.c: Likewise.
53349         * stdlib/tst-strtod-round-data: Likewise.
53350         * stdlib/tst-strtod-round.c: Likewise.
53351         * stdlib/Makefile (tests): Add tst-strtod-round.
53353         [BZ #14459]
53354         * stdlib/strtod_l.c: Include <stdint.h>.
53355         (NDEBUG): Do not define.
53356         (round_and_return): Change EXPONENT parameter to type intmax_t.
53357         Rearrange calculations to avoid internal overflow possibilities.
53358         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
53359         Rearrange calculations to avoid internal overflow possibilities.
53360         Assert that number fits inside MPNSIZE limbs.
53361         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
53362         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
53363         calculations and add assertions to avoid internal overflow
53364         possibilities.  Add casts to avoid signed/unsigned operations.
53365         * stdlib/tst-strtod-overflow.c: New file.
53366         * stdlib/Makefile (tests): Add tst-strtod-overflow.
53368 2012-08-25  Marek Polacek  <polacek@redhat.com>
53370         * time/time.h: Fix some typos in comments.
53372 2012-08-23  Roland McGrath  <roland@hack.frob.com>
53374         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
53375         * posix/tst-rfc3484-2.c: Likewise.
53376         * posix/tst-rfc3484-3.c: Likewise.
53378 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
53380         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
53381         (EF_ARM_ABI_FLOAT_HARD): Likewise.
53383 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
53385         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
53386         #include of fxstatat64.c.
53388 2012-08-22  Roland McGrath  <roland@hack.frob.com>
53390         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
53391         * shadow/getspent_r.c: Likewise.
53392         * shadow/getspnam.c: Likewise.
53393         * shadow/getspnam_r.c: Likewise.
53394         * gshadow/getsgent.c: Likewise.
53395         * gshadow/getsgent_r.c: Likewise.
53396         * gshadow/getsgnam.c: Likewise.
53397         * gshadow/getsgnam_r.c: Likewise.
53398         * inet/getnetbyad.c: Likewise.
53399         * inet/getnetbyad_r.c: Likewise.
53400         * inet/getnetbynm.c: Likewise.
53401         * inet/getnetbynm_r.c: Likewise.
53402         * inet/getnetent.c: Likewise.
53403         * inet/getnetent_r.c: Likewise.
53404         * inet/getproto.c: Likewise.
53405         * inet/getproto_r.c: Likewise.
53406         * inet/getprtent.c: Likewise.
53407         * inet/getprtent_r.c: Likewise.
53408         * inet/getprtname.c: Likewise.
53409         * inet/getprtname_r.c: Likewise.
53410         * inet/getrpcbyname.c: Likewise.
53411         * inet/getrpcbyname_r.c: Likewise.
53412         * inet/getrpcbynumber.c: Likewise.
53413         * inet/getrpcbynumber_r.c: Likewise.
53414         * inet/getrpcent.c: Likewise.
53415         * inet/getrpcent_r.c: Likewise.
53416         * inet/getaliasent.c: Likewise.
53417         * inet/getaliasent_r.c: Likewise.
53418         * inet/getaliasname.c: Likewise.
53419         * inet/getaliasname_r.c: Likewise.
53420         * nscd/getgrgid_r.c: Likewise.
53421         * nscd/getgrnam_r.c: Likewise.
53422         * nscd/gethstbyad_r.c: Likewise.
53423         * nscd/gethstbynm3_r.c: Likewise.
53424         * nscd/getpwnam_r.c: Likewise.
53425         * nscd/getpwuid_r.c: Likewise.
53426         * nscd/getsrvbynm_r.c: Likewise.
53427         * nscd/getsrvbypt_r.c: Likewise.
53428         * nscd/gai.c: Likewise.
53430         * configure.in (build_nscd): New substituted variable, set
53431         by --disable-build-nscd and defaults to $use_nscd.
53432         * configure: Regenerated.
53433         * config.make.in (build-nscd): New substituted variable.
53434         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
53435         Change conditional to require [$(build-nscd) = yes] as well.
53436         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
53438         [BZ# 13696]
53439         * configure.in (use_nscd): New substituted variable, set by
53440         --disable-nscd.  If enabled, define USE_NSCD.
53441         * configure: Regenerated.
53442         * config.h.in: Add USE_NSCD.
53443         * config.make.in (use-nscd): New substituted variable.
53444         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
53445         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
53446         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
53447         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
53448         (CFLAGS-getgrnam_r.c): Likewise.
53449         (CFLAGS-initgroups.c): Likewise.
53450         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
53451         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
53452         Variables removed.
53453         * inet/getnetgrent_r.c
53454         (nscd_setnetgrent): New function, broken out of ...
53455         (setnetgrent): ... here.  Call it.
53456         (innetgr): Conditionalize nscd bits on [USE_NSCD].
53457         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
53458         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
53459         * nscd/Makefile (routines, aux): Move definitions after include of
53460         Makeconfig.  Conditionalize on [$(use-nscd) != no].
53461         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
53462         Conditionalize on [USE_NSCD].
53463         (is_nscd, nscd_init_cb): Likewise.
53464         (nss_load_library): Conditionalize init callback on [USE_NSCD].
53465         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
53466         * nss/nss_db/db-init.c: Likewise.
53467         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
53468         [USE_NSCD].
53469         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
53470         (make_request): Use it.
53471         (cache_valid_p): New function.
53472         (__check_pf): Use it.
53473         * NEWS: Add item for --disable-nscd.
53475 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
53477         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
53478         to support sed >= 4.2.1-20-ga9bf076.
53479         * configure: Regenerated.
53481 2012-08-22  Roland McGrath  <roland@hack.frob.com>
53483         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
53484         Conditionalize whole body on [IREL].
53486 2012-08-22  Jeff Law <law@redhat.com>
53488         [BZ #14505]
53489         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
53490         if the family is PF_UNSPEC.
53492 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
53494         * Makerules (lib-version): Rename from V.
53495         (install-lib-nosubdir): Change V to lib-version.
53497 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
53499         [BZ #14252]
53500         * powerpc32/power6/wcschr.c: New file.
53501         * powerpc32/power6/wcscpy.c: New file.
53502         * powerpc32/power6/wcsrchr.c: New file.
53503         * powerpc64/power6/wcschr.c: New file.
53504         * powerpc64/power6/wcscpy.c: New file.
53505         * powerpc64/power6/wcsrchr.c: New file.
53507 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
53509         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
53510         (two_way_short_needle): Use it.
53511         * string/strstr.c (AVAILABLE1_USES_J): Define.
53512         * string/strcasestr.c: Likewise.
53514         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
53515         array references.
53516         * string/strcasestr.c (TOLOWER): Make side-effect safe.
53518         [BZ #11607]
53519         * NEWS: Add an entry.
53520         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
53521         define their defaults.
53522         (two_way_short_needle): Detect end-of-string on-the-fly.
53523         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
53524         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
53525         * string/bug-strcasestr1.c: New test.
53526         * string/Makefile: Run it.
53528 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
53530         [BZ #11607]
53531         * string/str-two-way.h (two_way_short_needle): Optimize matching of
53532         the first character.
53534 2012-08-21  Roland McGrath  <roland@hack.frob.com>
53536         * csu/elf-init.c (__libc_csu_irel): Function removed.
53537         * csu/libc-start.c (apply_irel): New function.
53538         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
53540 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
53542         * sysdeps/unix/sysv/linux/kernel-features.h
53543         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
53544         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
53545         <kernel-features.h>.
53546         [__NR_fadvise64_64]: Make code unconditional.
53547         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
53548         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
53549         !__NR_fadvise64_64)]: Likewise.
53550         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
53551         !__NR_fadvise64_64))]: Likewise.
53552         [__NR_fadvise64]: Make code unconditional.
53553         [!__NR_fadvise64]: Remove conditional code.
53554         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
53555         <kernel-features.h>.
53556         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
53557         unconditional.
53558         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
53559         conditional code.
53560         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
53561         not include <kernel-features.h>.
53562         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
53563         unconditional.
53564         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
53565         conditional code.
53566         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
53567         include <kernel-features.h>.
53568         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
53569         unconditional.
53570         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
53571         conditional code.
53573 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
53575         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
53576         slight instruction rearrangements per scrollpipe analysis.
53577         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
53579 2012-08-20  Roland McGrath  <roland@hack.frob.com>
53581         * manual/syslog.texi (syslog; vsyslog, closelog):
53582         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
53583         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
53585         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
53586         DSOCAPS to match condition on defining it.
53588 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
53590         * sysdeps/unix/sysv/linux/kernel-features.h
53591         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
53592         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
53593         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
53594         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
53595         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
53596         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
53597         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
53598         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
53599         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
53600         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
53602         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
53603         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
53605         * sysdeps/unix/sysv/linux/kernel-features.h
53606         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
53607         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
53608         unconditional.
53609         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
53610         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
53611         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
53612         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
53613         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
53614         Make code unconditional.
53615         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
53616         (__mmap64) [!__NR_mmap2]: Likewise.
53617         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
53618         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
53619         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
53620         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
53621         [__NR_mmap2]: Make code unconditional.
53622         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
53623         (__mmap64) [!__NR_mmap2]: Likewise.
53625 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53627         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
53629 2012-08-18  Andreas Jaeger  <aj@suse.de>
53631         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
53633 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
53635         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
53636         * include/unistd.h (__have_sock_cloexec): Likewise.
53637         (__have_pipe2): Likewise.
53638         (__have_dup3): Likewise.
53640 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
53642         [BZ #9685]
53643         * include/unistd.h (__have_pipe2): Change define into an extern int.
53644         (__have_dup3): Likewise.
53645         * socket/have_sock_cloexec.c: Include fcntl.h.
53646         (__have_pipe2): New variable.
53647         (__have_dup3): Likewise.
53649 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
53651         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
53653 2012-08-17  Marek Polacek  <polacek@redhat.com>
53655         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
53656         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
53658 2012-08-17  Roland McGrath  <roland@hack.frob.com>
53660         * configure.in: Add AC_SUBST for sysheaders.
53661         * configure: Regenerated.
53662         * config.make.in (sysheaders): New substituted variable.
53664         * sysdeps/unix/mkfifo.c: Moved ...
53665         * sysdeps/posix/mkfifo.c: ... here.
53666         * sysdeps/unix/mkfifoat.c: Moved ...
53667         * sysdeps/posix/mkfifoat.c: ... here.
53669         * sysdeps/unix/utime.c: Moved ...
53670         * sysdeps/posix/utime.c: ... here.
53672         * sysdeps/unix/time.c: Moved ...
53673         * sysdeps/posix/time.c: ... here.
53674         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
53675         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
53677         * sysdeps/unix/nice.c: Moved ...
53678         * sysdeps/posix/nice.c: ... here.
53680         * sysdeps/unix/alarm.c: Moved ...
53681         * sysdeps/posix/alarm.c: ... here.
53683         * intl/Makefile ($(codeset_mo)): Depend on the input file.
53685 2012-08-17  Jeff Law <law@redhat.com>
53687         * intl/Makefile (codeset_mo): New variable.
53688         ($(codeset_mo)): New target.
53689         (tst-codeset.out): Depend on that.  Remove explicit rule.
53690         (tst-gettext3.out, tst-gettext5.out): Likewise.
53691         (LOCPATH-ENV, tst-codeset-ENV): New variables.
53692         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
53693         * intl/tst-codeset.sh: Remove.
53694         * intl/tst-gettext3.sh: Likewise.
53695         * intl/tst-gettext5.sh: Likewise.
53697 2012-08-17  Roland McGrath  <roland@hack.frob.com>
53699         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
53700         * sysdeps/unix/syscalls.list: ... here.
53702         * sysdeps/posix/getaddrinfo.c
53703         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
53704         (gaiconf_init, gaiconf_reload): Use them.
53705         [!_STATBUF_ST_NSEC]
53706         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
53707         Define using time_t rather than struct timespec.
53709         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
53710         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
53711         Macros removed.
53712         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
53713         [!NO_THREADS].
53714         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
53715         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
53716         Likewise.
53718         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
53719         __libc_cleanup_push argument.
53721         * bits/param.h: New file.
53722         * misc/sys/param.h: New file.
53723         * include/sys/param.h: New file.
53724         * misc/Makefile (headers): Add bits/param.h.
53725         * sysdeps/generic/sys/param.h: File removed.
53726         * sysdeps/unix/sysv/linux/bits/param.h: New file.
53727         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
53728         * sysdeps/mach/hurd/bits/param.h: New file.
53729         * sysdeps/mach/hurd/sys/param.h: File removed.
53731         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
53732         last change.
53734         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
53735         [_IO_MTSAFE_IO].
53736         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
53737         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
53738         New macros.
53740         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
53741         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
53742         rather than -D_IO_MTSAFE_IO conditionally.
53743         * stdio-common/Makefile (CPPFLAGS): Likewise.
53744         * wcsmbs/Makefile (CPPFLAGS): Likewise.
53745         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
53746         Use $(libio-mtsafe).
53747         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
53748         of -D_IO_MTSAFE_IO.
53749         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
53750         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
53751         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
53752         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
53753         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
53754         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
53755         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
53756         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
53757         (CFLAGS-fread_u_chk.c): Likewise.
53758         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
53759         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
53760         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
53761         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
53762         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
53763         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
53764         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
53765         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
53766         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
53768         * libio/Makefile: Test [$(libc-reentrant) = yes]
53769         instead of [$(filter %REENTRANT, $(defines)) nonempty].
53771         * Makeconfig
53772         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
53773         * sysdeps/pthread/configure: File removed.
53774         * sysdeps/pthread/Makeconfig: New file.
53775         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
53776         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
53778 2012-08-16  Gary Benson  <gbenson@redhat.com>
53780         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
53781         unmapping the first object in a namespace.
53783 2012-08-16  Roland McGrath  <roland@hack.frob.com>
53785         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
53786         (__internal_setnetgrent): ... this.  Add internal_function to
53787         definition.  Add libc_hidden_def.
53788         (setnetgrent): Update caller.
53789         (internal_endnetgrent): Renamed to ...
53790         (__internal_endnetgrent): ... this.  Add internal_function to
53791         definition.  Add libc_hidden_def.
53792         (endnetgrent): Update caller.
53793         (internal_getnetgrent_r): Renamed to ...
53794         (__internal_getnetgrent_r): ... this.  Add internal_function to
53795         definition.  Add libc_hidden_def.
53796         (__getnetgrent_r): Update caller.
53797         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
53799 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
53801         * stdlib/longlong.h: Update from GCC.
53803 2012-08-16  Roland McGrath  <roland@hack.frob.com>
53805         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
53806         on _QL, which is set by umul_ppmm but never used.
53807         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
53808         variables, which are set by GMP macros but never used.
53809         * stdio-common/_itowa.c (_itowa): Likewise.
53810         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
53811         * stdlib/mod_1.c (mpn_mod_1): Likewise.
53813 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
53815         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
53816         struct La_sh_regs is not constant.
53817         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
53818         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
53819         and struct La_sparc64_regs are not constant.
53821 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
53823         * sysdeps/unix/sysv/linux/kernel-features.h
53824         (__ASSUME_POSIX_TIMERS): Remove.
53825         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
53826         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
53827         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
53828         Make code unconditional.
53829         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
53830         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
53831         Make code unconditional.
53832         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
53833         * sysdeps/unix/sysv/linux/clock_nanosleep.c
53834         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
53835         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
53836         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
53837         Make code unconditional.
53838         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
53839         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
53840         (__libc_missing_posix_timers): Remove.
53842 2012-08-15  Roland McGrath  <roland@hack.frob.com>
53844         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
53845         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
53847         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
53849         * elf/dl-sym.c: Include <stdlib.h>.
53851         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
53852         constants, which avoids warnings in 32-bit builds.
53854         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
53855         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
53857         * misc/lseek.c: File moved to ...
53858         * io/lseek.c: ... here.
53860         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
53862         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
53863         shifting LEN more than 31 bits at once.
53865 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53867         [BZ #14195]
53868         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
53869         segmentation fault for a case of two empty input strings.
53870         * string/test-strncasecmp.c (check1): Renamed to...
53871         (bz12205): ...this.
53872         (bz14195): Add new testcase for two empty input strings and N > 0.
53873         (test_main): Call new testcase, adapt for renamed function.
53875 2012-08-15  Andreas Jaeger  <aj@suse.de>
53877         [BZ #14090]
53878         * crypt/md5test2.c: New test, based on test supplied by Serge
53879         Belyshev <belyshev@depni.sinp.msu.ru>.
53880         * crypt/Makefile (xtests): Add md5test-giant..
53881         * crypt/Makefile ($(objpfx)md5test-giant): Add.
53883 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
53885         [BZ #14090]
53886         * crypt/md5.c (md5_process_block): Don't assume the buffer
53887         length is less than 2**32.
53888         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
53889         length is less than 2**64.
53891 2012-08-15  Roland McGrath  <roland@hack.frob.com>
53893         * string/str-two-way.h: Include <sys/param.h>.
53894         (MAX): Macro removed.
53896         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
53897         Move #define and #undef of memmove to just before and after
53898         including <string.h>.
53900         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
53901         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
53902         and after including <string.h>.  Move declarations of
53903         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
53904         to before #include "string/memmove.c".
53906         * include/dirent.h: Declare __getdirentries.
53908         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
53909         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
53911 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
53913         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
53914         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
53915         * sysdeps/i386/configure: Regenerated.
53916         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
53917         STABS_CURRENT_FILE, and STABS_FUN.
53918         (END): Remove call to STABS_FUN_END.
53919         (STABS_CURRENT_FILE1): Delete.
53920         (STABS_CURRENT_FILE): Likewise.
53921         (STABS_FUN): Likewise.
53922         (STABS_FUN_END): Likewise.
53923         (STABS_FUN2): Likewise.
53924         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
53925         * sysdeps/x86_64/configure: Regenerated.
53927 2012-08-14  Roland McGrath  <roland@hack.frob.com>
53929         * elf/dl-open.c: Include <atomic.h>.
53930         * elf/dl-lookup.c: Likewise.
53932 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
53934         * sysdeps/unix/sysv/linux/kernel-features.h
53935         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
53936         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
53937         unconditionally.
53938         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
53939         unconditionally.
53940         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
53941         condition on __ASSUME_CLONE_THREAD_FLAGS.
53943 2012-08-14  Andreas Jaeger  <aj@suse.de>
53945         * sysdeps/i386/fpu/libm-test-ulps: Update.
53947 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
53949         * include/atomic.h (atomic_exchange_and_add): Split into ...
53950         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
53951         New atomic macros.
53953 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
53955         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53957 2012-08-13  Jeff Law <law@redhat.com>
53959         * manual/stdio.texi (snprintf): Clarify handling of the trailing
53960         null byte in the output string.
53962 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
53964         * sysdeps/unix/sysv/linux/kernel-features.h
53965         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
53966         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
53967         (__ASSUME_ARG_MAX_STACK_BASED): Define.
53968         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
53969         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
53970         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
53971         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
53973 2012-08-09  Jeff Law <law@redhat.com>
53975         [BZ #13939]
53976         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
53977         When avoid_arena is set, don't retry in the that arena.  Pick the
53978         next one, whatever it might be.
53979         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
53980         (arena_lock): Pass in new parameter to arena_get2.
53981         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
53982         arena_get2.
53983         (__libc_malloc): Unify retrying after main arena failure with
53984         __libc_memalign version.
53985         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
53987 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
53989         [BZ #14166]
53990         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
53991         to __redirect_strstr.
53992         (__strstr_sse42): Use typeof __redirect_strstr.
53993         (__strstr_ia32): Likewise.
53994         (__libc_strstr): New prototype.
53995         (strstr): Renamed to ...
53996         (__libc_strstr): This.
53997         (strstr): New strong alias of __libc_strstr.
53998         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
53999         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
54000         __redirect_time.
54001         Include <time.h>.
54002         (__libc_time): New prototype.
54003         (time_ifunc): Replace time with __libc_time.
54004         (time): New strong alias and hidden definition of __libc_time.
54005         (__GI_time): Remove strong alias.
54006         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
54007         Include <stddef.h>.
54008         (memmove): Redefined to __redirect_memmove.
54009         (__memmove_sse2): Use typeof __redirect_memmove.
54010         (__memmove_ssse3): Likewise.
54011         (__memmove_ssse3_back): Likewise.
54012         (__libc_memmove): New prototype.
54013         (memmove): Renamed to ...
54014         (__libc_memmove): This.
54015         (memmove): New strong alias of __libc_memmove.
54017 2012-08-08  Mark Salter  <msalter@redhat.com>
54019         * elf/elf.h
54020         (R_MN10300_TLS_GD): Define.
54021         (R_MN10300_TLS_LD): Likewise.
54022         (R_MN10300_TLS_LDO): Likewise.
54023         (R_MN10300_TLS_GOTIE): Likewise.
54024         (R_MN10300_TLS_IE): Likewise.
54025         (R_MN10300_TLS_LE): Likewise.
54026         (R_MN10300_TLS_DTPMOD): Likewise.
54027         (R_MN10300_TLS_DTPOFF): Likewise.
54028         (R_MN10300_TLS_TPOFF): Likewise.
54029         (R_MN10300_SYM_DIFF): Likewise.
54030         (R_MN10300_ALIGN): Likewise.
54031         (R_MN10300_NUM): Update.
54033 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
54035         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
54036         Remove.
54038 2012-08-08  Roland McGrath  <roland@hack.frob.com>
54040         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
54042         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
54043         sysdeps/unix -> sysdeps/posix move.
54044         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
54046 2012-08-07      Allan McRae     <allan@archlinux.org>
54048         [BZ #14303]
54049         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
54050         (SUNOS_CPP): Likewise.
54051         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
54052         not found.
54053         (open_input): Call CPP using execvp.
54055 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
54057         * sysdeps/unix/sysv/linux/kernel-features.h
54058         (__ASSUME_PROT_GROWSUPDOWN): Remove.
54059         (__ASSUME_NO_CLONE_DETACHED): Likewise.
54060         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
54061         (__ASSUME_WAITID_SYSCALL): Likewise.
54062         * sysdeps/unix/sysv/linux/dl-execstack.c
54063         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
54064         code unconditional.
54065         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
54066         conditional code.
54067         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
54068         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
54069         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
54070         code.
54071         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
54072         unconditional.
54073         [__ASSUME_WAITID_SYSCALL]: Likewise.
54074         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
54076 2012-08-07  Roland McGrath  <roland@hack.frob.com>
54078         * sysdeps/unix/closedir.c: Renamed to ...
54079         * sysdeps/posix/closedir.c: ... here.
54080         * sysdeps/unix/dirfd.c: Renamed to ...
54081         * sysdeps/posix/dirfd.c: ... here.
54082         * sysdeps/unix/dirstream.h: Renamed to ...
54083         * sysdeps/posix/dirstream.h: ... here.
54084         * sysdeps/unix/fdopendir.c: Renamed to ...
54085         * sysdeps/posix/fdopendir.c: ... here.
54086         * sysdeps/unix/opendir.c: Renamed to ...
54087         * sysdeps/posix/opendir.c: ... here.
54088         * sysdeps/unix/readdir.c: Renamed to ...
54089         * sysdeps/posix/readdir.c: ... here.
54090         * sysdeps/unix/readdir_r.c: Renamed to ...
54091         * sysdeps/posix/readdir_r.c: ... here.
54092         * sysdeps/unix/rewinddir.c: Renamed to ...
54093         * sysdeps/posix/rewinddir.c: ... here.
54094         * sysdeps/unix/seekdir.c: Renamed to ...
54095         * sysdeps/posix/seekdir.c: ... here.
54096         * sysdeps/unix/telldir.c: Renamed to ...
54097         * sysdeps/posix/telldir.c: ... here.
54098         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
54099         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
54100         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
54101         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
54103         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
54104         * bits/fcntl.h: ... here.
54106         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
54107         not 0.
54108         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
54109         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
54110         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
54111         (struct flock): Move l_start, l_len to the beginning.
54112         Use __pid_t for l_pid.
54113         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
54114         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
54115         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
54116         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
54117         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
54118         [__USE_LARGEFILE64] (struct flock64): New type.
54119         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
54121         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
54122         * bits/dirent.h: ... here.
54124         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
54125         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
54127 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
54129         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
54130         Change from 2.6.0 to 2.6.16.
54131         * sysdeps/unix/sysv/linux/configure: Regenerated.
54132         * sysdeps/unix/sysv/linux/kernel-features.h
54133         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
54134         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
54135         version.
54136         (__ASSUME_UTIMES): Likewise.
54137         (__ASSUME_CLONE_STOPPED): Remove.
54138         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
54139         architectures, not kernel version.
54140         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
54141         (__ASSUME_NO_CLONE_DETACHED): Likewise.
54142         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
54143         (__ASSUME_WAITID_SYSCALL): Likewise.
54144         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
54145         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
54146         * README: State 2.6.16 as minimum Linux kernel version.  Do not
54147         refer to older versions.
54149 2012-08-06  Roland McGrath  <roland@hack.frob.com>
54151         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
54152         Define alphasort64 as an alias.
54153         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
54154         Define versionsort64 as an alias.
54155         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
54156         Define scandir64 as an alias.
54157         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
54158         Define scandirat64 as an alias.
54159         * dirent/alphasort64.c (alphasort64):
54160         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
54161         * dirent/versionsort64.c: Likewise.
54162         * dirent/scandir64.c: Likewise.
54163         * dirent/scandirat64.c: Likewise.
54164         * sysdeps/wordsize-64/alphasort.c: File removed.
54165         * sysdeps/wordsize-64/alphasort64.c: File removed.
54166         * sysdeps/wordsize-64/scandir.c: File removed.
54167         * sysdeps/wordsize-64/scandir64.c: File removed.
54168         * sysdeps/wordsize-64/scandirat.c: File removed.
54169         * sysdeps/wordsize-64/scandirat64.c: File removed.
54170         * sysdeps/wordsize-64/versionsort.c: File removed.
54171         * sysdeps/wordsize-64/versionsort64.c: File removed.
54172         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
54173         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
54174         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
54175         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
54176         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
54177         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
54178         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
54179         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
54181         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
54182         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
54183         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
54184         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
54185         [defined __arch64__ || defined __sparcv9]
54186         (__INO_T_MATCHES_INO64_T): New macro.
54187         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
54188         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
54189         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
54190         * sysdeps/unix/sysv/linux/bits/dirent.h
54191         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
54192         (_DIRENT_MATCHES_DIRENT64): New macro.
54194         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
54195         Define lockf64 as an alias.
54196         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
54197         Define fseeko64 as an alias.
54198         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
54199         Define ftello64 as an alias.
54200         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
54201         Define _IO_fgetpos64 and fgetpos64 as aliases.
54202         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
54203         Define _IO_fsetpos64 and fsetpos64 as aliases.
54204         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
54205         Conditionalize body on this.
54206         * libio/fseeko64.c: Likewise.
54207         * libio/ftello64.c: Likewise.
54208         * libio/iofgetpos64.c: Likewise.
54209         * libio/iofsetpos64.c: Likewise.
54210         * sysdeps/wordsize-64/lockf.c: File removed.
54211         * sysdeps/wordsize-64/lockf64.c: File removed.
54212         * sysdeps/wordsize-64/fseeko.c: File removed.
54213         * sysdeps/wordsize-64/fseeko64.c: File removed.
54214         * sysdeps/wordsize-64/ftello.c: File removed.
54215         * sysdeps/wordsize-64/ftello64.c: File removed.
54216         * sysdeps/wordsize-64/iofgetpos.c: File removed.
54217         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
54218         * sysdeps/wordsize-64/iofsetpos.c: File removed.
54219         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
54220         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
54221         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
54222         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
54223         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
54224         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
54225         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
54226         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
54227         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
54228         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
54229         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
54231         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
54232         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
54233         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
54234         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
54235         [defined __arch64__ || defined __sparcv9]
54236         (__OFF_T_MATCHES_OFF64_T): New macro.
54237         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
54238         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
54239         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
54240         (__OFF_T_MATCHES_OFF64_T): New macro.
54242 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
54244         * stdlib/secure-getenv.c (__secure_getenv): Replace
54245         GLIBC_2_16 with GLIBC_2_17.
54247 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
54249         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
54250         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
54252 2012-08-03  David S. Miller  <davem@davemloft.net>
54254         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54256 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
54258         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
54259         Remove.
54260         (__ASSUME_CORRECT_SI_PID): Likewise.
54261         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
54262         (__ASSUME_TMPFS_NAME): Likewise.
54263         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
54264         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
54265         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
54266         (HAVE_AUX_SECURE): Make definition unconditional.
54267         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
54268         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
54270 2012-08-03  Roland McGrath  <roland@hack.frob.com>
54272         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
54273         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
54274         * sysdeps/mach/hurd/eloop-threshold.h: New file.
54275         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
54276         __eloop_threshold instead of SYMLOOP_MAX.
54278         * sysdeps/generic/eloop-threshold.h: New file.
54279         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
54280         of MAXSYMLINKS.
54281         * elf/chroot_canon.c (chroot_canon): Likewise.
54283 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
54285         [BZ #13717]
54286         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
54287         Change to 2.6.0 everywhere.
54288         * sysdeps/unix/sysv/linux/configure: Regenerated.
54289         * sysdeps/unix/sysv/linux/kernel-features.h
54290         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
54291         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
54292         kernel versions.
54293         (__ASSUME_POSIX_TIMERS): Define unconditionally.
54294         (__ASSUME_FUTEX_REQUEUE): Remove.
54295         (__ASSUME_STATFS64): Define unconditionally.
54296         (__ASSUME_AT_SECURE): Likewise.
54297         (__ASSUME_CORRECT_SI_PID): Likewise.
54298         (__ASSUME_TGKILL): Define without depending on kernel version for
54299         i386.
54300         (__ASSUME_UTIMES): Likewise.
54301         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
54302         kernel version.
54303         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
54304         (__ASSUME_TMPFS_NAME): Likewise.
54305         * README: Update reference to Linux kernel versions.
54307 2012-08-02  Marek Polacek  <polacek@redhat.com>
54309         [BZ# 14150]
54310         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
54311         libc_cv_asm_type_prefix with %.
54312         * configure: Regenerated.
54313         * include/libc-symbols.h: Remove comment about
54314         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
54315         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
54316         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
54317         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
54318         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
54319         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
54320         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
54321         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
54322         * elf/tst-unique2mod1.c: Likewise.
54323         * elf/tst-unique1mod2.c: Likewise.
54324         * elf/tst-unique1mod1.c: Likewise.
54325         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
54326         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
54327         Replace ASM_TYPE_DIRECTIVE with .type.
54328         * sysdeps/s390/s390-64/sysdep.h: Likewise.
54329         * sysdeps/i386/sysdep.h: Likewise.
54330         * sysdeps/x86_64/sysdep.h: Likewise.
54331         * sysdeps/sh/sysdep.h: Likewise.
54332         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
54333         Do not define ASM_TYPE_DIRECTIVE.
54334         * sysdeps/powerpc/sysdep.h: Likewise.
54335         * sysdeps/powerpc/powerpc32/sysdep.h:
54336         Replace ASM_TYPE_DIRECTIVE with .type.
54337         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
54338         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
54339         * sysdeps/i386/fpu/e_powf.S: Likewise.
54340         * sysdeps/i386/fpu/e_expl.S: Likewise.
54341         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
54342         * sysdeps/i386/fpu/e_acosh.S: Likewise.
54343         * sysdeps/i386/fpu/e_pow.S: Likewise.
54344         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
54345         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
54346         * sysdeps/i386/fpu/s_expm1.S: Likewise.
54347         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
54348         * sysdeps/i386/fpu/e_log2.S: Likewise.
54349         * sysdeps/i386/fpu/e_log2l.S: Likewise.
54350         * sysdeps/i386/fpu/e_scalb.S: Likewise.
54351         * sysdeps/i386/fpu/e_powl.S: Likewise.
54352         * sysdeps/i386/fpu/e_log10f.S: Likewise.
54353         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
54354         * sysdeps/i386/fpu/e_logl.S: Likewise.
54355         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
54356         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
54357         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
54358         * sysdeps/i386/fpu/e_log2f.S: Likewise.
54359         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
54360         * sysdeps/i386/fpu/e_log.S: Likewise.
54361         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
54362         * sysdeps/i386/fpu/e_logf.S: Likewise.
54363         * sysdeps/i386/fpu/e_log10l.S: Likewise.
54364         * sysdeps/i386/fpu/e_atanh.S: Likewise.
54365         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
54366         * sysdeps/i386/fpu/e_log10.S: Likewise.
54367         * sysdeps/i386/fpu/s_frexp.S: Likewise.
54368         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
54369         * sysdeps/i386/fpu/s_asinh.S: Likewise.
54370         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
54371         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
54372         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
54373         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
54374         * sysdeps/i386/i686/strtok.S: Likewise.
54375         * sysdeps/i386/i386-mcount.S: Likewise.
54376         * sysdeps/i386/strtok.S: Likewise.
54377         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
54378         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
54379         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
54380         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
54381         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
54382         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
54383         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
54384         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
54385         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
54386         * sysdeps/x86_64/_mcount.S: Likewise.
54387         * sysdeps/x86_64/strtok.S: Likewise.
54388         * sysdeps/sh/_mcount.S: Likewise.
54390 2012-08-01  Roland McGrath  <roland@hack.frob.com>
54392         * libio/iofopen.c: Include <fcntl.h>.
54393         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
54394         (_IO_fopen64, fopen64): Define as aliases.
54395         * libio/iofopen64.c: Include <fcntl.h>.
54396         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
54397         Conditionalize body on this.
54398         * sysdeps/wordsize-64/iofopen.c: File removed.
54399         * sysdeps/wordsize-64/iofopen64.c: File removed.
54401 2012-08-01  Marek Polacek  <polacek@redhat.com>
54403         * libc/Makeconfig: Use elf in place of binfmt-subdir.
54404         Use dlfcn directly instead of a variable.
54405         (binfmt-subdir): Do not define.
54406         (dlfcn): Likewise.
54408 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
54410         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
54411         Remove all definitions.
54412         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
54413         <kernel-features.h>.
54414         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
54415         (miss_F_GETOWN_EX): Remove all definitions.
54416         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
54417         macro definition.
54418         [!__ASSUME_FCNTL64]: Remove conditional code.
54419         [__ASSUME_FCNTL64]: Make code unconditional.
54420         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
54421         <kernel-features.h>.
54422         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
54423         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
54424         (lockf64) [__NR_fcntl64]: Make code unconditional.
54425         (lockf64) [__ASSUME_FCNTL64]: Likewise.
54427         * sysdeps/unix/sysv/linux/kernel-features.h
54428         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
54429         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
54430         Make code unconditional.
54431         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
54432         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
54433         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
54434         [__NR_vfork]: Make code unconditional.
54435         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
54436         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
54437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
54438         [__NR_vfork]: Make code unconditional.
54439         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
54440         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
54442 2012-08-01  Roland McGrath  <roland@hack.frob.com>
54444         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
54445         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
54447         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
54448         Define mkstemp64 as an alias.
54449         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
54450         Define mkstemps64 as an alias.
54451         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
54452         Define mkostemp64 as an alias.
54453         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
54454         Define mkostemps64 as an alias.
54455         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
54456         Conditionalize body on this.
54457         * misc/mkostemp64.c: Likewise.
54458         * misc/mkostemps64.c: Likewise.
54459         * misc/mkstemps64.c: Likewise.
54460         * sysdeps/wordsize-64/mkstemp64.c: File removed.
54461         * sysdeps/wordsize-64/mkostemp64.c: File removed.
54462         * sysdeps/wordsize-64/mkostemp.c: File removed.
54463         * sysdeps/wordsize-64/mkstemp.c: File removed.
54464         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
54465         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
54466         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
54467         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
54469         [BZ #14138]
54470         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
54471         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
54472         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
54473         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
54475         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
54476         compat_symbol macros from <shlib-compat.h> rather than the underlying
54477         default_symbol_version and symbol_version macros, so that DEFAULT
54478         lines in shlib-versions are respected.
54479         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
54481 2012-08-01  Florian Weimer  <fweimer@redhat.com>
54483         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
54484         Declare with warn_unused_result.
54485         (setgid, setregid, setegid, setresgid): Likewise.
54486         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
54487         Likewise.
54488         * WUR-REPORT: Remove set*id functions.
54490 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
54492         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
54494 2012-07-31  Roland McGrath  <roland@hack.frob.com>
54496         [BZ #10191]
54497         * include/sys/socket.h (__libc_accept, __libc_accept4):
54498         Add attribute_hidden.
54499         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
54501         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
54502         use of PTR_MANGLE.
54503         * inet/getnetgrent_r.c (setup): Likewise.
54505         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
54507 2012-07-31  David S. Miller  <davem@davemloft.net>
54509         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54511 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
54513         [BZ #13629]
54514         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
54515         value between 1.0 and 2.0 and smaller part has absolute value less
54516         than 1.0.
54517         * math/s_clog10.c (__clog10): Likewise.
54518         * math/s_clog10f.c (__clog10f): Likewise.
54519         * math/s_clog10l.c (__clog10l): Likewise.
54520         * math/s_clogf.c (__clogf): Likewise.
54521         * math/s_clogl.c (__clogl): Likewise.
54522         * math/libm-test.inc (clog_test): Add more tests.
54523         (clog10_test): Likewise.
54524         * sysdeps/i386/fpu/libm-test-ulps: Update.
54525         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54527 2012-07-31  Florian Weimer  <fweimer@redhat.com>
54529         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
54530         Exit with zero in case no suitable GID is found, and write a
54531         message to standard error.
54533 2012-07-30  Roland McGrath  <roland@hack.frob.com>
54535         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
54536         rather than to 1.
54537         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
54538         (MAXPATHLEN): Removed.
54539         (NOGROUP, NODEV): New macros.
54540         (setbit, clrbit, isset, isclr): New macros.
54541         (howmany, roundup, powerof2): New macros.
54542         (DEV_BSIZE): New macro.
54544         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
54545         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
54547         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
54548         definition on [!__NO_LONG_DOUBLE_MATH].
54550         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
54551         PTR_MANGLE and PTR_DEMANGLE.
54553         * socket/accept4.c (accept4): Rename to __libc_accept4.
54554         Define accept4 as a weak alias.
54556         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
54557         on [_DIRENT_HAVE_D_TYPE].
54558         * io/ftw.c (ftw_dir): Likewise.
54560         * io/xmknod.c (__xmknod): Don't check PATH for being null.
54562         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
54564         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
54565         Use the BSD numbers rather than the arbitrary ones we had.
54566         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
54567         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
54568         (SIGXCPU, SIGXFSZ): New macros.
54569         (_NSIG): Now 32.
54571         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
54572         initializer on [_LIBC_REENTRANT].
54574         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
54575         definitions inside [_POSIX_MAPPED_FILES].
54577         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
54579         * dirent/opendir.c: Include <fcntl.h>.
54581         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
54582         (__libc_getspecific): Likewise.
54583         (__libc_key_create): Likewise.
54585         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
54586         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
54587         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
54588         (tmpfile64): Define as alias.
54589         * sysdeps/wordsize-64/tmpfile.c: File removed.
54590         * sysdeps/wordsize-64/tmpfile64.c: File removed.
54591         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
54592         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
54594         * stdio-common/vfscanf.c: Include <stdbool.h>.
54595         * nss/makedb.c: Likewise.
54596         * stdio-common/_i18n_number.h: Likewise.
54597         * argp/argp-help.c: Likewise.
54598         * posix/wordexp.c: Likewise.
54599         * sysdeps/posix/spawni.c: Likewise.
54600         * nss/nss_files/files-initgroups.c: Likewise.
54601         * stdio-common/reg-modifier.c: Include <stdlib.h>.
54602         * nss/nss_files/files-initgroups.c: Likewise.
54603         * nss/nss_db/db-netgrp.c: Likewise.
54604         * nss/nss_db/db-initgroups.c: Likewise.
54605         * io/fchmodat.c: Include <sys/stat.h>.
54607         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
54608         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
54610         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
54611         [HAVE_MMAP].
54613         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
54614         Add multiple inclusion protection.
54616 2012-07-27  David S. Miller  <davem@davemloft.net>
54618         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54620 2012-07-27  Gary Benson  <gbenson@redhat.com>
54622         [BZ #14298]
54623         * elf/rtld.c: Include <stap-probe.h>.
54624         (dl_main): Added static probes "init_start" and "init_complete".
54625         * elf/dl-load.c: Include <stap-probe.h>.
54626         (lose): Take new parameter "nsid".
54627         Added static probe "map_failed".
54628         (_dl_map_object_from_fd): Pass namespace id to lose.
54629         Added static probe "map_start".
54630         (open_verify): Pass namespace id to lose.
54631         * elf/dl-open.c: Include <stap-probe.h>.
54632         (dl_open_worker) Added static probes "map_complete", "reloc_start"
54633         and "reloc_complete".
54634         * elf/dl-close.c: Include <stap-probe.h>.
54635         (_dl_close_worker): Added static probes "unmap_start" and
54636         "unmap_complete".
54637         * elf/rtld-debugger-interface.txt: New file documenting the above.
54639 2012-07-26  Roland McGrath  <roland@hack.frob.com>
54641         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
54642         rather than a string variable.
54643         * sunrpc/rpc_main.c (h_output): Likewise.
54644         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
54646 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
54648         * inet/check_native.c: New file.
54650 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
54652         [BZ #13629]
54653         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
54654         if larger part has absolute value 1.0.
54655         * math/s_clog10.c (__clog10): Likewise.
54656         * math/s_clog10f.c (__clog10f): Likewise.
54657         * math/s_clog10l.c (__clog10l): Likewise.
54658         * math/s_clogf.c (__clogf): Likewise.
54659         * math/s_clogl.c (__clogl): Likewise.
54660         * math/libm-test.inc (clog_test): Add more tests.
54661         (clog10_test): Likewise.
54662         * sysdeps/i386/fpu/libm-test-ulps: Update.
54663         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54665         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
54666         (pltexit): Likewise.
54667         (La_regs): Likewise.
54668         (La_retval): Likewise.
54669         (int_retval): Likewise.
54670         Update #error for removed macros to refer only to definitions in
54671         tst-audit.h.
54672         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
54673         macro.
54674         (pltexit): Likewise.
54675         (La_regs): Likewise.
54676         (La_retval): Likewise.
54677         (int_retval): Likewise.
54678         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
54679         macro.
54680         (pltexit): Likewise.
54681         (La_regs): Likewise.
54682         (La_retval): Likewise.
54683         (int_retval): Likewise.
54684         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
54685         macro.
54686         (pltexit): Likewise.
54687         (La_regs): Likewise.
54688         (La_retval): Likewise.
54689         (int_retval): Likewise.
54690         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
54691         macro.
54692         (pltexit): Likewise.
54693         (La_regs): Likewise.
54694         (La_retval): Likewise.
54695         (int_retval): Likewise.
54696         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
54697         macro.
54698         (pltexit): Likewise.
54699         (La_regs): Likewise.
54700         (La_retval): Likewise.
54701         (int_retval): Likewise.
54702         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
54703         macro.
54704         (pltexit): Likewise.
54705         (La_regs): Likewise.
54706         (La_retval): Likewise.
54707         (int_retval): Likewise.
54708         * sysdeps/generic/tst-audit.h: Update comment to refer only to
54709         macro definitions in tst-audit.h.
54710         * sysdeps/i386/tst-audit.h: New file.
54711         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
54712         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
54713         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
54714         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
54715         * sysdeps/sh/tst-audit.h: Likewise.
54716         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
54717         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
54718         * sysdeps/x86_64/tst-audit.h: Likewise.
54720 2012-07-26  Andreas Jaeger  <aj@suse.de>
54722         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
54723         ptrace.
54725         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
54726         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
54727         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
54728         PTRACE_O_MASK.
54729         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
54730         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
54731         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
54733         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
54734         value.
54736         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
54737         _sigsys.
54738         (si_call_addr, si_syscall, si_arch): Define new macro.
54739         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
54740         _sigsys.
54741         (si_call_addr, si_syscall, si_arch): Define new marcro.
54742         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
54743         _sigsys.
54744         (si_call_addr, si_syscall, si_arch): Define new macro.
54745         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
54746         _sigsys.
54747         (si_call_addr, si_syscall, si_arch): Define new macro.
54749 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
54751         [BZ #13717]
54752         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
54753         Change to 2.4.21 where previously 2.4.1.
54754         * sysdeps/unix/sysv/linux/configure: Regenerated.
54755         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
54756         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
54757         Linux kernel version.
54758         (__ASSUME_STD_AUXV): Remove.
54759         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
54760         kernel version.
54761         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
54762         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
54763         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
54764         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
54765         (__ASSUME_NETLINK_SUPPORT): Likewise.
54766         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
54767         (__no_netlink_support): Remove conditional definition.
54768         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
54769         Remove.
54770         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
54771         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
54772         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
54773         (if_nameindex_ioctl): Remove.
54774         (if_nameindex_netlink): Do not handle __no_netlink_support.
54775         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
54776         code.
54777         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
54778         Remove conditional code.
54779         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
54780         code.
54781         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
54782         unconditional.
54783         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
54784         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
54785         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
54786         Remove.
54787         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
54788         [!__ASSUME_STD_AUXV]: Remove conditional code.
54789         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
54790         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
54791         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
54792         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
54793         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
54794         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
54795         code.
54796         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
54797         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
54798         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
54799         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
54800         conditional code.
54801         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
54802         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
54803         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
54804         code.
54805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
54806         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
54807         conditional code.
54808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
54809         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
54810         code unconditional.
54811         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
54812         conditional code.
54813         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
54814         unconditional.
54815         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
54816         conditional code.
54817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
54818         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
54819         unconditional.
54820         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
54821         conditional code.
54822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
54823         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
54824         code unconditional.
54825         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
54826         conditional code.
54827         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
54828         unconditional.
54829         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
54830         conditional code.
54831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
54832         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
54833         code unconditional.
54834         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
54835         conditional code.
54836         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
54837         unconditional.
54838         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
54839         conditional code.
54841 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
54843         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
54844         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
54845         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
54846         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
54847         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
54848         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
54849         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
54850         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
54851         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
54852         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
54853         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
54854         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
54855         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
54856         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
54857         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
54858         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
54859         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
54860         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
54861         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
54862         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
54863         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
54864         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
54865         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
54867 2012-07-25  Florian Weimer  <fweimer@redhat.com>
54869         * Versions.def: Add GLIBC_2.17.
54870         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
54871         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
54872         Introduce __libc_secure_getenv.
54873         * stdlib/Versions (2.17): Add secure_getenv
54874         (GLIBC_PRIVATE): Add __libc_secure_getenv.
54875         * stdlib/secure-getenv.c: Rename __secure_getenv to
54876         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
54877         symbol __secure_getenv for GLIBC_2.0.
54878         * stdlib/tst-secure-getenv.c: New.
54879         * stdlib/Makefile (tests): Add testcase.
54880         * manual/startup.texi (Environment Access): Document
54881         secure_getenv.
54882         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
54883         __libc_secure_getenv.
54884         * inet/ruserpass.c (ruserpass): Likewise.
54885         * malloc/mtrace.c (mtrace): Likewise.
54886         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
54887         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
54888         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
54889         * sysdeps/posix/tempname.c: Likewise.  Evaluate
54890         HAVE_SECURE_GETENV.
54891         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
54892         __secure_getenv to __libc_secure_getenv.
54893         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
54894         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
54895         Likewise.
54896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
54897         Likewise.
54898         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
54899         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
54900         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
54901         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
54902         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
54903         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
54904         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
54906 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
54908         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
54909         (struct La_i86_retval): Likewise.
54910         (struct La_x86_64_regs): Likewise.
54911         (struct La_x86_64_retval): Likewise.
54912         (struct La_x32_regs): Likewise.
54913         (struct La_x32_retval): Likewise.
54914         (struct La_ppc32_regs): Likewise.
54915         (struct La_ppc32_retval): Likewise.
54916         (struct La_ppc64_regs): Likewise.
54917         (struct La_ppc64_retval): Likewise.
54918         (struct La_sh_regs): Likewise.
54919         (struct La_sh_retval): Likewise.
54920         (struct La_s390_32_regs): Likewise.
54921         (struct La_s390_32_retval): Likewise.
54922         (struct La_s390_64_regs): Likewise.
54923         (struct La_s390_64_retval): Likewise.
54924         (struct La_sparc32_regs): Likewise.
54925         (struct La_sparc32_retval): Likewise.
54926         (struct La_sparc64_regs): Likewise.
54927         (struct La_sparc64_retval): Likewise.
54928         (struct audit_ifaces): Remove architecture-specific pltenter and
54929         pltexit members.
54930         * sysdeps/i386/ldsodefs.h: New file.
54931         * sysdeps/powerpc/ldsodefs.h: Likewise.
54932         * sysdeps/s390/ldsodefs.h: Likewise.
54933         * sysdeps/sh/ldsodefs.h: Likewise.
54934         * sysdeps/sparc/ldsodefs.h: Likewise.
54935         * sysdeps/x86_64/ldsodefs.h: Likewise.
54937 2012-07-25  Marek Polacek  <polacek@redhat.com>
54939         [BZ #6808]
54940         * math/libm-test.inc (yn_test): Add another test.
54941         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
54942         to ERANGE when the result is +-Inf.
54943         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
54944         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
54945         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
54946         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
54948 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
54950         * conform/data/time.h-data (NULL): Use macro-constant.  Require
54951         equal to 0.
54952         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
54953         clock_t.
54954         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
54956 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
54958         * configure.in <sysdeps resolving>: Correct printing
54959         Implies_before.
54960         * configure: Regenerate.
54962 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
54964         * math/w_ilogb.c: Include <limits.h>.
54965         * math/w_ilogbl.c: Likewise.
54967 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
54969         * manual/lang.texi (__va_copy): Document primarily as ISO C99
54970         va_copy.  Document allowing for unavailable va_copy only as
54971         pre-C99 compatibility.
54972         * manual/string.texi (Copying and Concatenation): Use va_copy
54973         instead of __va_copy in concat example.
54975 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
54977         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
54978         (__sendto): Use create_address_port.  Initialize APORT and deallocate
54979         it if not null.
54981         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
54982         with O_NOLINK passed to __file_name_lookup.
54984         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
54985         with O_NOLINK passed to __file_name_lookup.
54987         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
54988         negative N or less than NGIDS.
54990         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
54991         type to string_t.  Set ERANGE as errno and return it if NAME is not big
54992         enough.  Use memcpy instead of strncpy.
54994 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
54996         * elf/Makefile (check-data): Remove.
54997         (localplt.data): New vpath directive.
54998         ($(objpfx)check-localplt.out): Use localplt.data from vpath
54999         instead of $(check-data).
55000         * scripts/data/localplt-generic.data: Move to ...
55001         * sysdeps/generic/localplt.data: ... here.
55002         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
55003         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
55004         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
55005         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
55006         ... here.
55007         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
55008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
55009         ... here.
55010         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
55011         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
55012         ... here.
55013         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
55014         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
55015         ... here.
55016         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
55017         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
55018         ... here.
55019         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
55020         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
55021         ... here.
55023 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55025         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
55026         PPC32 and PPC64 files.
55027         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
55028         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
55030 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55032         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
55033         __makecontext_ret to ...
55034         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
55035         ... here and call exit if uc_link is NULL.  New file.
55036         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
55037         __makecontext_ret.S.
55038         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
55039         __makecontext_ret to ...
55040         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
55041         ... here and call exit if uc_link is NULL.  New file.
55042         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
55043         __makecontext_ret.S.
55045 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55047         * elf/elf.h (R_390_IRELATIVE): New definition.
55048         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
55049         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
55050         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
55051         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
55052         (elf_machine_lazy_rel): Likewise.
55053         * sysdeps/s390/dl-irel.h: New file.
55054         * sysdeps/s390/s390-64/memcpy.S: New asm code.
55055         * sysdeps/s390/s390-64/memset.S: New asm code.
55056         * sysdeps/s390/s390-64/memcmp.S: New asm code.
55057         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
55058         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
55059         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
55060         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
55061         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
55062         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
55063         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
55064         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
55065         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
55066         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
55067         * sysdeps/s390/s390-32/memcpy.S: New asm code.
55068         * sysdeps/s390/s390-32/memset.S: New asm code.
55069         * sysdeps/s390/s390-32/memcmp.S: New asm code.
55071 2012-07-17  Marek Polacek  <polacek@redhat.com>
55073         [BZ #14349]
55074         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
55075         * sysdeps/s390/s390-64/configure.in: Likewise.
55076         * sysdeps/sparc/configure.in: Likewise.
55077         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
55078         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
55079         * sysdeps/i386/configure.in: Likewise.
55080         * sysdeps/x86_64/configure.in: Likewise.
55081         * sysdeps/sh/configure.in: Likewise.
55082         * sysdeps/s390/s390-32/configure: Regenerated.
55083         * sysdeps/s390/s390-64/configure: Likewise.
55084         * sysdeps/x86_64/configure: Likewise.
55085         * sysdeps/sh/configure: Likewise.
55086         * sysdeps/powerpc/powerpc64/configure: Likewise.
55087         * sysdeps/powerpc/powerpc32/configure: Likewise.
55088         * sysdeps/sparc/configure: Likwise.
55089         * sysdeps/i386/configure: Likewise.
55091         * elf/dl-open.c: Comment fixes.
55093 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
55095         * Makefile [CXX] (check-data): Remove.
55096         [CXX] (c++-types.data): New vpath directive.
55097         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
55098         vpath.  Do not allow for C++ type data being missing.
55099         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
55100         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
55101         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
55102         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
55103         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
55104         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
55105         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
55106         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
55107         ... here.
55108         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
55109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
55110         ... here.
55111         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
55112         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
55113         ... here.
55114         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
55115         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
55116         ... here.
55117         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
55118         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
55119         ... here.
55120         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
55121         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
55122         ... here.
55123         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
55124         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
55125         ... here.
55126         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
55127         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
55129         * elf/tls-macros.h (TLS_LE): Move architecture-specific
55130         definitions to architecture-specific files.
55131         (TLS_IE): Likewise.
55132         (TLS_LD): Likewise.
55133         (TLS_GD): Likewise.
55134         * sysdeps/i386/tls-macros.h: New file.
55135         * sysdeps/powerpc/tls-macros.h: Likewise.
55136         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
55137         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
55138         * sysdeps/sh/tls-macros.h: Likewise.
55139         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
55140         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
55141         * sysdeps/x86_64/tls-macros.h: Likewise.
55143 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
55145         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
55146         zero value for regular exit case.
55148         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
55149         (__start_context): Preserve zero value for regular exit case.
55151 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
55152             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55154         * manual/setjmp.texi (setcontext): Clarify normal process
55155         termination when uc_link is the null pointer.
55156         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
55157         exit call.
55159 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
55161         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
55162         preprocessor.  Test for each exception mask separately.
55164 2012-07-16  Andreas Jaeger  <aj@suse.de>
55166         * po/ru.po: Update from translation team.
55168 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
55170         * conform/data/string.h-data (NULL): Use macro-constant.  Require
55171         equal to 0.
55172         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
55173         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
55174         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
55175         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
55176         [ISO || ISO99 || ISO11] (*_t): Do not allow.
55178 2012-07-13  Andreas Jaeger  <aj@suse.de>
55180         * po/fr.po: Update from translation team.
55182 2012-07-12  Marek Polacek  <polacek@redhat.com>
55184         [BZ #14173]
55185         * math/libm-test.inc (yn_test): Add test for BZ #14173.
55186         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
55187         loop condition.
55189 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
55191         [BZ #13717]
55192         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
55193         Change to 2.4.1 where previously 2.4.0.
55194         * sysdeps/unix/sysv/linux/configure: Regenerated.
55195         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
55196         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
55197         version.
55198         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
55199         (__ASSUME_AT_CLKTCK): Remove.
55200         (__ASSUME_AT_PAGESIZE): Likewise.
55201         (__ASSUME_AT_XID): Likewise.
55202         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
55203         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
55204         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
55205         unconditionally.
55206         (HAVE_AUX_PAGESIZE): Likewise.
55207         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
55208         [__ASSUME_AT_CLKTCK]: Make code unconditional.
55209         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
55211 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
55213         [BZ #14307]
55214         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
55215         the temporary buffer used to invoke __gethostbyname2_r,
55216         __gethostbyaddr_r and gethostbyname4_r to make room for struct
55217         host_data / struct gaih_addrtuple.
55218         * resolv/nss_dns/dns-host.c (global scope): Move definition of
55219         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
55220         header file nss/nsswitch.h.
55221         * nss/nsswitch.h (global scope): Add definition of implementation
55222         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
55223         resolv/nss_dns/dns-host.c).
55225 2012-07-11  Andreas Jaeger  <aj@suse.de>
55227         * po/fr.po: Update from translation team.
55229         * po/sv.po: Update from translation team
55230         * po/fr.po: Another update from translation team.
55232 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55234         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
55235         for subnormals or multiply small sinh result by itself.
55236         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
55237         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55239 2012-07-11  David S. Miller  <davem@davemloft.net>
55241         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55243 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
55245         [BZ #14347]
55246         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
55247         (INTERNAL_MARK): Shift it here.
55249 2012-07-10  Marek Polacek  <polacek@redhat.com>
55251         [BZ #14151]
55252         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
55253         libc_cv_asm_global_directive with .globl.
55254         * configure: Regenerated.
55255         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
55256         with .globl.
55257         * sysdeps/i386/configure: Regenerated.
55258         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
55259         with .globl.
55260         * sysdeps/x86_64/configure: Regenerated.
55261         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
55262         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
55263         * elf/tst-unique2mod2.c: Likewise.
55264         * elf/tst-unique2mod1.c: Likewise.
55265         * elf/tst-unique1mod2.c: Likewise.
55266         * elf/tst-unique1mod1.c: Likewise.
55267         * sysdeps/s390/s390-32/sysdep.h: Likewise.
55268         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
55269         * sysdeps/s390/s390-64/sysdep.h: Likewise.
55270         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
55271         * sysdeps/mach/sysdep.h: Likewise.
55272         * sysdeps/i386/sysdep.h: Likewise.
55273         * sysdeps/i386/i386-mcount.S: Likewise.
55274         * sysdeps/x86_64/_mcount.S: Likewise.
55275         * sysdeps/x86_64/sysdep.h: Likewise.
55276         * sysdeps/sh/_mcount.S: Likewise.
55277         * sysdeps/sh/sysdep.h: Likewise.
55278         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
55279         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
55280         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
55281         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
55282         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
55283         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
55284         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
55285         * locale/localeinfo.h: Likewise.
55286         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
55287         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
55289 2012-07-09  Roland McGrath  <roland@hack.frob.com>
55291         [BZ #14336]
55292         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
55293         system".
55294         * manual/message.texi (The Uniforum approach): Likewise.
55295         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
55296         (glibc iconv Implementation): Likewise.
55298 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
55300         [BZ #14337]
55301         * math/s_clog.c (__clog): Avoid scaling a value down where that
55302         could result in underflow.
55303         * math/s_clog10.c (__clog10): Likewise.
55304         * math/s_clog10f.c (__clog10f): Likewise.
55305         * math/s_clog10l.c (__clog10l): Likewise.
55306         * math/s_clogf.c (__clogf): Likewise.
55307         * math/s_clogl.c (__clogl): Likewise.
55308         * math/libm-test.inc (clog_test): Add more tests.
55309         (clog10_test): Likewise.
55310         * sysdeps/i386/fpu/libm-test-ulps: Update.
55311         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55313 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
55315         [BZ #14283]
55316         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
55317         by 7 not 8 to examine high bit of fractional part.
55319         [BZ #14042]
55320         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
55321         for call to __mcount_internal.
55322         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
55323         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
55324         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
55326 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
55328         [BZ #14154]
55329         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
55330         approximation for values within 0x1p-13f of an odd multiple of
55331         pi/4.
55332         * math/libm-test.inc (tan_test): Do not allow spurious underflow
55333         exception.  Add more tests.
55334         * sysdeps/i386/fpu/libm-test-ulps: Update.
55336         [BZ #6778]
55337         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
55338         inputs and return -1 for them.  Do not check for +Inf in case not
55339         reachable for +Inf.
55340         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
55341         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
55342         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
55343         and return -1 for them.  Do not check for +Inf in case not
55344         reachable for +Inf.
55345         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
55346         define.
55347         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
55348         and return -1 for them.  Do not check for +Inf in case not
55349         reachable for +Inf.
55350         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
55351         spurious underflow.
55352         * sysdeps/i386/fpu/libm-test-ulps: Update.
55353         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55355 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
55357         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
55359 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
55361         [BZ #14157]
55362         [BZ #14331]
55363         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
55364         could result in spurious underflow.  Scale down values above
55365         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
55366         * math/s_csqrtf.c (__csqrtf): Likewise.
55367         * math/s_csqrtl.c (__csqrtl): Likewise.
55368         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
55369         spurious underflow.
55370         * sysdeps/i386/fpu/libm-test-ulps: Update.
55371         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55373 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
55375         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
55376         xopen-msg.sed.
55377         * catgets/xopen-msg.awk: New file.
55378         * catgets/xopen-msg.sed: Removed.
55380         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
55381         po2text.sed.
55382         * intl/po2test.awk: New file.
55383         * intl/po2test.sed: Removed.
55385 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
55387         [BZ #14328]
55388         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
55389         or multiply small sinh result by itself.
55390         * math/s_ctanf.c (__ctanf): Likewise.
55391         * math/s_ctanh.c (__ctanh): Likewise.
55392         * math/s_ctanhf.c (__ctanhf): Likewise.
55393         * math/s_ctanhl.c (__ctanhl): Likewise.
55394         * math/s_ctanl.c (__ctanl): Likewise.
55395         * math/libm-test.inc (ctan_test_tonearest): New function.
55396         (ctan_test_towardzero): Likewise.
55397         (ctan_test_downward): Likewise.
55398         (ctan_test_upward): Likewise.
55399         (ctanh_test_tonearest): Likewise.
55400         (ctanh_test_towardzero): Likewise.
55401         (ctanh_test_downward): Likewise.
55402         (ctanh_test_upward): Likewise.
55403         (main): Call these new functions.
55404         * sysdeps/i386/fpu/libm-test-ulps: Update.
55405         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55407 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
55409         * .gitignore: Delete /ports entry.
55411 2012-07-03  Andreas Jaeger  <aj@suse.de>
55413         * po/bg.po: Update from translation team.
55414         * po/cs.po: Likewise.
55415         * po/de.po: Likewise.
55416         * po/hr.po: Likewise.
55417         * po/nl.pl: Likewise.
55418         * po/pl.po: Likewise.
55419         * po/vi.po: Likewise.
55421 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
55423         * Makeconfig [!+link] (+link-before-libc): New variable.
55424         [!+link] (+link-after-libc): Likewise.
55425         [!+link] (+link-tests): Likewise.
55426         [!+link] (+link): Define in terms of $(+link-before-libc) and
55427         $(+link-after-libc).
55428         [!+link-static] (+link-static-before-libc): New variable.
55429         [!+link-static] (+link-static-after-libc): Likewise.
55430         [!+link-static] (+link-static-tests): Likewise.
55431         [!+link-static] (+link-static): Define in terms of
55432         $(+link-static-before-libc) and $(+link-static-after-libc).
55433         [build-shared] (link-libc-before-gnulib): New variable.
55434         [build-shared] (link-libc-tests): Likewise.
55435         [build-shared] (link-libc): Define in terms of
55436         $(link-libc-before-gnulib).
55437         [!build-shared] (link-libc-tests): New variable.
55438         (link-libc-static-tests): New variable.
55439         [!gnulib] (gnulib-arch): New variable.
55440         [!gnulib] (gnulib-tests): Likewise.
55441         [!gnulib] (static-gnulib-arch): Likewise.
55442         [!gnulib] (static-gnulib-tests): Likewise.
55443         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
55444         Define with "=" instead of ":=".
55445         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
55446         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
55447         * Rules (binaries-all-notests): New variable.
55448         (binaries-all-tests): Likewise.
55449         (binaries-static-notests): Likewise.
55450         (binaries-static-tests): Likewise.
55451         (binaries-all): Define using $(binaries-all-notests) and
55452         $(binaries-all-tests).
55453         (binaries-static): Define using $(binaries-static-notests) and
55454         $(binaries-static-tests).
55455         (binaries-shared-tests): New variable.
55456         (binaries-shared-notests): Likewise.
55457         (binaries-shared): Remove variable.
55458         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
55459         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
55460         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
55461         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
55462         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
55463         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
55464         * elf/Makefile (sln-modules): New variable.
55465         (extra-objs): Add $(sln-modules:=.o).
55466         (ldconfig-modules): Add static-stubs.
55467         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
55468         * elf/static-stubs.c: New file.
55470         [BZ #14283]
55471         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
55472         by 7 not 8 to examine high bit of fractional part.  Use volatile
55473         variables when splitting into final array of floats if
55474         __FLT_EVAL_METHOD__ != 0.
55475         * math/libm-test.inc (cos_test): Add another test.
55476         (sin_test): Likewise.
55477         * sysdeps/i386/fpu/libm-test-ulps: Update.
55479         [BZ #14273]
55480         * math/libm-test.inc (cosh_test): Add more tests.
55482         * version.h (RELEASE): Set to "development".
55483         (VERSION): Set to "2.16.90".
55485 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
55487         * NEWS: Update copyright. Remove last-updated date.
55488         Mention math library bug fixes and timezone data changes.
55489         * README: Mention GNU/Hurd, x32, and HPPA support status.
55491 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
55493         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
55495 2012-06-27  Andreas Jaeger  <aj@suse.de>
55497         * manual/contrib.texi (Contributors): Add Samuel Thibault.
55499 2012-06-25  Andreas Jaeger  <aj@suse.de>
55501         * sysdeps/s390/fpu/libm-test-ulps: Update.
55503 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
55504             Thomas Schwinge  <thomas@codesourcery.com>
55506         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
55507         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
55508         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
55509         fanotify_mark.
55511 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
55513         * sysdeps/mach/start.c: Remove file.
55514         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
55515         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
55516         * sysdeps/sh/init-first.c: Likewise.
55518         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
55519         registers for frame unwinding purposes, add CFI directives.
55520         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
55521         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
55522         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
55523         Likewise.
55525         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
55526         __fortify_fail returning.
55527         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
55529         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
55530         sysdeps/sh/____longjmp_chk.S.
55531         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
55532         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
55533         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
55534         (gen-as-const-headers): Append sigaltstack-offsets.sym.
55536         * sysdeps/sh/abort-instr.h: New file.
55537         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
55538         process in case exit returns.
55540         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
55541         initialize the GOT register before use.
55543         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
55544         calculation of ARGC > 4.
55546         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
55547         meaningful names to some local labels.
55549 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
55550             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
55552         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
55553         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
55554         (__arch_compare_and_exchange_val_16_acq): Likewise.
55555         (__arch_compare_and_exchange_val_32_acq): Likewise.
55556         (atomic_exchange_and_add): Fix gUSA sequence.
55557         (atomic_add): Likewise.
55558         (atomic_add_negative): Likewise.
55559         (atomic_add_zero): Likewise.
55560         (atomic_bit_test_set): Likewise.
55562 2012-06-22  Andreas Schwab  <schwab@redhat.com>
55564         [BZ #13579]
55565         * include/link.h (struct link_map): Add l_free_initfini.
55566         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
55567         l_initfini.
55568         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
55569         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
55570         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
55571         set.
55573 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
55575         * configure.in: Use AC_LANG_SOURCE.
55576         * configure: Regenerate.
55578 2012-06-22  Roland McGrath  <roland@hack.frob.com>
55580         * configure.in (libc_cv_localstatedir): New substituted variable.
55581         * configure: Regenerated.
55582         * config.make.in (localstatedir): New variable, substituted from
55583         libc_cv_localstatedir.
55584         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
55585         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
55586         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
55587         * sysdeps/gnu/configure: Regenerated.
55589 2012-06-21  Jeff Law  <law@redhat.com>
55591         [BZ #14277]
55592         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
55593         free.  Simplify list management for _LIBC case.
55595 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
55597         [BZ #14273]
55598         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
55599         Clear sign bit of 64-bit integer value before comparing against
55600         overflow value.
55602         * sysdeps/mach/configure: Regenerated.
55604 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
55606         [BZ #14278]
55607         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
55609 2012-06-21  Jeff Law  <law@redhat.com>
55611         [BZ #13882]
55612         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
55613         uint16_t for elements in the "seen" array to avoid char overflows.
55614         * elf/dl-fini.c (_dl_sort_fini): Likewise.
55615         * elf/dl-open.c (dl_open_worker): Likewise.
55617 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
55619         * scripts/list-sources.sh: Scan PORTS for translations.
55620         * po/libc.pot: Regenerated.
55622 2012-06-21  Andreas Jaeger  <aj@suse.de>
55624         [BZ #12194]
55625         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
55626         warning.
55627         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
55628         * bits/byteswap-16.h (__bswap_16): Likewise.
55629         * bits/byteswap.h (__bswap_constant_16): Likewise.
55631 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
55633         [BZ #14117]
55634         * sysdeps/i386/fpu_control.h: Removed.
55635         * sysdeps/x86_64/fpu_control.h: Moved to ...
55636         * sysdeps/x86/fpu_control.h: Here.
55638         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
55639         (_FPU_SETCW): Likewise.
55641 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
55643         [BZ #14117]
55644         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
55645         * sysdeps/x86/fpu/bits/mathinline.h: This.
55646         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
55648         [BZ #14050]
55649         [BZ #14117]
55650         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
55651         functions if __x86_64__ is defined.
55653 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
55655         * string/endian.h: Add !__ASSEMBLER__ condition for including
55656         conversion interfaces.
55658 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
55660         [BZ #14241]
55661         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
55662         of ABS(x) in calculating zero to negative powers other than odd
55663         integers.
55664         * math/libm-test.inc (pow_test): Add more tests.
55666 2012-06-15  Andreas Jaeger  <aj@suse.de>
55668         * manual/contrib.texi (Contributors): Update entry of Liubov
55669         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
55670         Machado Filho.
55672 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
55674         * string/string.h: Add __wur to GNU version of strerror_r.
55676 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
55678         [BZ #14229]
55679         * string/Makefile (tests): Add tst-strtok_r.
55680         * string/tst-strtok_r.c: New file.
55681         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
55682         RAX_LP/RDX_LP on SAVE_PTR.
55684 2012-06-14  Roland McGrath  <roland@hack.frob.com>
55686         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
55688 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
55690         * libm_test.inc (csqrt_test): Allow more spurious underflow
55691         exceptions.
55692         (j0_test): Likewise.
55693         (j1_test): Likewise.
55694         (y0_test): Likewise.
55695         (y1_test): Likewise.
55697 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
55699         * po/Makefile (libc.pot): Use UTF-8 charset.
55701 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
55703         [BZ #14210]
55704         Suppress sign-conversion warning from FD_SET.
55705         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
55706         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
55707         not unsigned long int.
55708         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
55710 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
55712         [BZ #14050]
55713         [BZ #14117]
55714         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
55715         __extern_always_inline instead of __extern_inline.
55716         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
55717         (__signbit): Likewise.
55718         (__signbitl): Support C++ namespace.
55719         (lrintf): New inline function.
55720         (lrint): Likewise.
55721         (llrintf): Likewise.
55722         (llrint): Likewise.
55723         (fmaxf): Likewise.
55724         (fmax): Likewise.
55725         (fminf): Likewise.
55726         (fmin): Likewise.
55727         (rint): Likewise.
55728         (rintf): Likewise.
55729         (ceil): Likewise.
55730         (ceilf): Likewise.
55731         (floor): Likewise.
55732         (floorf): Likewise.
55733         (nearbyint): Likewise.
55734         (nearbyintf): Likewise.
55736 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
55738         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
55739         non-default versions.
55741 2012-06-11  Roland McGrath  <roland@hack.frob.com>
55743         [BZ #14218]
55744         * manual/argp.texi (Argp): Reword argp_parse description slightly.
55746 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
55748         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
55749         (FE_UPWARD, FE_DOWNWARD): Don't define.
55750         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
55751         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
55753         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
55754         reading it.
55755         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
55756         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
55758 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
55760         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
55761         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
55762         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
55763         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
55765 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
55767         [BZ #14117]
55768         * sysdeps/i386/fpu/bits/fenv.h: Removed.
55769         * sysdeps/i386/fpu/Implies: New file.
55770         * sysdeps/x86_64/fpu/Implies: Likewise.
55771         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
55772         * sysdeps/x86/fpu/bits/fenv.h: This.
55774         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
55775         __SSE_MATH__.
55777 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
55779         [BZ #14134]
55780         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
55781         character 0xffff that matches the last element of the
55782         conversion table.
55784 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55786         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
55787         fmodl commit.
55789 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55791         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
55792         values higher than 25.6283.
55794 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55796         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
55797         subnormal exponent extraction and add some __builtin_expect.
55798         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
55799         Fix for subnormal mantissa calculation.
55801 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
55803         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
55804         cpu2 is -1 and errno is not ENOSYS.
55806 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
55808         [BZ #14117]
55809         * sysdeps/i386/i486/bits/string.h: Renamed to ...
55810         * sysdeps/x86/bits/string.h: This.
55811         * sysdeps/x86_64/bits/string.h: Removed.
55813         * sysdeps/i386/i486/bits/string.h: Define inline functions only
55814         if not compiling for x86-64, but compiling for >= i486.
55816         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
55817         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
55819         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
55820         New macro from Linux kernel 3.4.0.
55821         (FP_XSTATE_MAGIC2): Likewise.
55822         (FP_XSTATE_MAGIC2_SIZE): Likewise.
55823         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
55824         (struct _fpx_sw_bytes): New struct.
55825         (struct _xsave_hdr): Likewise.
55826         (struct _ymmh_state): Likewise.
55827         (struct _xstate): Likewise.
55829         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
55830         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
55831         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
55832         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
55833         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
55834         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
55836         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
55837         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
55838         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
55839         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
55840         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
55841         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
55843 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
55845         [BZ #13743]
55846         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
55847         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
55848         (sysdep_headers): Include sys/platform/ppc.h.
55849         * sysdeps/powerpc/test-gettimebase.c: Test for
55850         __ppc_get_timebase() to catch future ISA opcode/insn changes.
55851         * manual/Makefile (appendices): Include platform.texi.
55852         * manual/contrib.texi (Contributors): Update @node pointers.
55853         * manual/maint.texi (Maintenance): Likewise.
55854         (Platform): New node.
55855         * manual/platform.texi: New file.  Document the new features.
55857 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
55858             Jakub Jelinek  <jakub@redhat.com>
55860         [BZ #14188]
55861         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
55862         where __builtin_expect is unavailable.
55864 2012-06-03  David S. Miller  <davem@davemloft.net>
55866         * stdlib/longlong.h: Updated from GCC.
55868 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
55870         [BZ #14042]
55871         * sysdeps/powerpc/powerpc32/mcount.c: New file.
55872         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
55873         __mcount_internal.
55874         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
55875         (GLIBC_2.16): Likewise.
55877 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
55879         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
55881 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
55883         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
55884         (default-abi): New variable.
55885         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
55886         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
55887         variable.
55888         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
55889         Likewise.
55890         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
55891         Likewise.
55892         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
55893         Likewise.
55895         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
55896         definition.  Document in comment.
55898 2012-06-01  David S. Miller  <davem@davemloft.net>
55900         * stdlib/longlong.h: Updated from GCC.
55902 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
55904         [BZ #14117]
55905         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
55906         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
55907         sys/debugreg.h sys/io.h here.
55908         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
55909         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
55910         sys/io.h.
55911         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
55912         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
55913         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
55914         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
55915         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
55916         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
55918         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
55919         Define only if __x86_64__ is defined.
55921 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
55923         [BZ #14048]
55924         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
55925         Use int64_t for variable i.
55926         * math/libm-test.inc (fmod_test): Add more tests.
55928         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
55929         z computation is not scheduled after fetestexcept.
55930         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
55931         Use math_force_eval instead of asm to ensure calculation scheduled
55932         before exception test.
55933         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
55934         Ensure a1 + u.d computation is not scheduled after fetestexcept.
55936 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
55938         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
55939         computation is not scheduled after fetestexcept.
55941 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
55943         [BZ #14117]
55944         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
55945         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
55947 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55949         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
55950         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
55952 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
55954         [BZ #14117]
55955         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
55956         <bits/wordsize.h>.
55957         (__WCHAR_MIN): Support __WORDSIZE == 64.
55958         (__WCHAR_MAX): Likewise.
55960         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
55961         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
55963         [BZ #14183]
55964         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
55965         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
55967         [BZ #14117]
55968         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
55969         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
55971         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
55972         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
55974         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
55975         Defined to 1 if __x86_64__ isn't defined.
55976         (_STAT_VER_LINUX_OLD): New.
55977         (st_atime): Remove duplicate.
55978         (st_mtime): Likewise.
55979         (st_ctime): Likewise.
55981 2012-05-31  David S. Miller  <davem@davemloft.net>
55983         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
55984         entries.
55986 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
55988         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
55989         gen-libm-test.pl.
55991         [BZ #14132]
55992         * elf/dl-reloc.c: Include <_itoa.h>.
55993         (_dl_reloc_bad_type): Remove use of INTUSE.
55994         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
55995         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
55996         * stdio-common/psiginfo.c (psiginfo): Likewise.
55997         * stdio-common/psignal.c (psignal): Likewise.
55998         * string/strsignal.c (strsignal): Likewise.
55999         * include/signal.h (_sys_siglist): Declare hidden proto.
56000         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
56001         INTVARDEF with libc_hidden_data_def.
56002         * stdio-common/itoa-udigits.c: Likewise.
56003         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
56004         (_itoa_lower_digits_internal): Remove declaration.
56005         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
56006         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
56007         (_sys_sigabbrev_internal): Remove aliases.
56008         (_sys_siglist): Define hidden alias.
56010 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
56012         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56013         bits/sysctl.h.
56015 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
56017         [BZ #14117]
56018         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
56019         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
56021         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
56022         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
56023         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
56024         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
56025         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
56026         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
56028         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
56029         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
56030         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
56032         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
56033         with __addr.
56034         (insw): Likewise.
56035         (insl): Likewise.
56036         (outsb): Likewise.
56037         (outsw): Likewise.
56038         (outsl): Likewise.
56040         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
56041         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
56042         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
56044         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
56045         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
56046         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
56047         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
56048         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
56049         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
56051         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
56052         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
56054         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
56055         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
56057         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
56058         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
56059         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
56061         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
56062         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
56063         to ...
56064         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
56066         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
56067         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
56068         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
56070         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
56071         for x86-64.
56072         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
56074 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
56076         * math/math.h (M_El): Use two more decimal places.
56077         (M_LOG2El): Likewise.
56078         (M_LOG10El): Likewise.
56079         (M_LN2l): Likewise.
56080         (M_LN10l): Likewise.
56081         (M_PIl): Likewise.
56082         (M_PI_2l): Likewise.
56083         (M_PI_4l): Likewise.
56084         (M_1_PIl): Likewise.
56085         (M_2_PIl): Likewise.
56086         (M_2_SQRTPIl): Likewise.
56087         (M_SQRT2l): Likewise.
56088         (M_SQRT1_2l): Likewise.
56090 2012-05-31  David S. Miller  <davem@davemloft.net>
56092         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
56093         values between float registers.
56094         * sysdeps/sparc/sparc64/memset.S: Likewise.
56095         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
56097 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
56099         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
56100         -D_FORTIFY_SOURCE=1.
56101         (CPPFLAGS-tst-longjmp_chk.c): Define.
56102         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
56103         (CPPFLAGS-tst-longjmp_chk2.c): Define.
56104         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
56105         CFLAGS-tst-wchar-h.c.
56107 2012-05-31  Marek Polacek  <polacek@redhat.com>
56109         [BZ #14132]
56110         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
56111         __endmntent_internal): Remove declaration.
56112         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
56113         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
56114         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
56116 2012-05-30  David S. Miller  <davem@davemloft.net>
56118         * sysdeps/sparc/sparc32/soft-fp/q_util.c
56119         (___Q_simulate_exceptions): Use real FP ops rather than writing
56120         into the %fsr.
56121         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
56122         Likewise.
56124 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
56126         [BZ #14117]
56127         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
56128         * sysdeps/x86/bits/xtitypes.h: This.
56130         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
56131         * sysdeps/x86/bits/wordsize.h: This.
56133         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
56134         * sysdeps/x86/bits/huge_vall.h: This.
56136         * sysdeps/i386/bits/select.h: Removed.
56137         * sysdeps/x86_64/bits/select.h: Renamed to ...
56138         * sysdeps/x86/bits/select.h: This.
56140         * sysdeps/i386/bits/setjmp.h: Removed.
56141         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
56142         * sysdeps/x86/bits/setjmp.h: This.
56144         * sysdeps/i386/bits/mathdef.h: Removed.
56145         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
56146         * sysdeps/x86/bits/mathdef.h: This.
56148 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
56150         [BZ #14132]
56151         * include/sys/socket.h (__connect_internal)
56152         (__libc_sa_len_internal): Remove declaration.
56153         (__connect, __libc_sa_len): Declare hidden_proto.
56154         (SA_LEN): Remove use of INTUSE.
56155         * socket/connect.c: Add libc_hidden_def.
56156         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
56157         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
56158         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
56159         alias.
56160         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
56161         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
56162         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
56163         of adding _internal alias.
56165 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
56167         [BZ #14117]
56168         * sysdeps/i386/bits/link.h: Removed.
56169         * sysdeps/i386/bits/linkmap.h: Likewise.
56170         * sysdeps/x86_64/bits/link.h: Renamed to ...
56171         * sysdeps/x86/bits/link.h: This.
56172         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
56173         * sysdeps/x86/bits/linkmap.h: This.
56175         * sysdeps/i386/bits/endian.h: Removed.
56176         * sysdeps/x86_64/bits/endian.h: Renamed to ...
56177         * sysdeps/x86/bits/endian.h: This.
56179         * sysdeps/i386/bits/byteswap.h: Removed.
56180         * sysdeps/i386/bits/byteswap-16.h: Likewise.
56181         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
56182         * sysdeps/x86/bits/byteswap.h: This.
56183         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
56184         * sysdeps/x86/bits/byteswap-16.h: This.
56185         * sysdeps/i386/Implies: Add x86.
56186         * sysdeps/x86_64/Implies: Likewise.
56188 2012-05-30  David S. Miller  <davem@davemloft.net>
56190         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
56191         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
56192         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
56193         (FP_TRAPPING_EXCEPTIONS): Define.
56194         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
56195         (FP_TRAPPING_EXCEPTIONS): Define.
56196         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
56197         subnormals only when inexact has been signalled or underflow
56198         exceptions are enabled.
56199         (_FP_PACK_CANONICAL): Likewise.
56201 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
56203         [BZ #14183]
56204         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
56205         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
56207 2012-05-30  Richard Henderson  <rth@twiddle.net>
56209         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
56210         with #ifndef NOT_IN_libc.
56212         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
56213         marked to avoid plt entry.
56215 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
56217         [BZ #14112]
56218         * Makeconfig (default-abi): New macro.
56219         (abi-includes): Likewise.
56220         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
56221         $(abi-$(default-abi)-lib-soname) for soname if defined.
56222         ($(common-objpfx)gnu/lib-names.stmp): Generate from
56223         abi-variants.
56224         * Makefile (installed-stubs): Likewise.
56225         * include/stubs-biarch.h: Removed.
56226         * scripts/lib-names.awk: Only handle one library at a time.
56227         * scripts/soversions.awk: Remove WORDSIZE support.
56228         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
56229         entries.
56230         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
56231         Removed.
56232         (syscall-list-default-condition): Likewise.
56233         (syscall-list-default-condition): Likewise.
56234         (syscall-list-includes): Likewise.
56235         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
56236         syscall-list-* with abi-*.  Handle undefined abi-variants.
56237         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
56238         * sysdeps/unix/sysv/linux/i386/Implies: New file.
56239         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
56240         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
56241         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
56242         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
56243         Removed.
56244         (syscall-list-32-options): Likewise.
56245         (syscall-list-32-condition): Likewise.
56246         (syscall-list-64-options): Likewise.
56247         (syscall-list-64-condition): Likewise.
56248         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
56249         macro.
56250         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
56251         Renamed to ...
56252         (abi-*): This.
56253         (abi-64-ld-soname): New macro.
56254         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
56255         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
56256         Renamed to ...
56257         (abi-*): This.
56258         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
56259         * sysdeps/x86_64/x32/shlib-versions: Likewise.
56261 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
56263         * sysdeps/unix/sysv/linux/kernel-features.h
56264         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
56265         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
56266         include <kernel-features.h>.
56267         [!__NR_ftruncate64]: Remove conditional code.
56268         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
56269         [__NR_ftruncate64]: Make code unconditional.
56270         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
56271         * sysdeps/unix/sysv/linux/truncate64.c: Do not
56272         include <kernel-features.h>.
56273         [!__NR_ftruncate64]: Remove conditional code.
56274         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
56275         [__NR_ftruncate64]: Make code unconditional.
56276         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
56277         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
56278         include <kernel-features.h>.
56279         [!__NR_ftruncate64]: Remove conditional code.
56280         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
56281         [__NR_ftruncate64]: Make code unconditional.
56282         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
56283         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
56284         include <kernel-features.h>.
56285         [!__NR_ftruncate64]: Remove conditional code.
56286         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
56287         [__NR_ftruncate64]: Make code unconditional.
56288         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
56290         * configure.in (libc_cv_fpie): Weaken to a compile test using
56291         LIBC_TRY_CC_OPTION.
56292         * configure: Regenerated.
56294 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56296         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
56297         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
56298         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
56299         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
56300         Refreshed.
56301         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
56302         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
56303         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
56304         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
56305         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
56306         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
56307         Refreshed.
56309 2012-05-27  David S. Miller  <davem@davemloft.net>
56311         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
56312         (___Q_zero): New.
56313         (__Q_simulate_exceptions): Return void.  Change to simulate
56314         exceptions by writing into the %fsr.
56315         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
56316         (__Qp_handle_exceptions): Likewise.
56317         (numbers): Delete.
56318         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
56319         __Qp_handle_exceptions.
56320         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
56321         __Qp_handle_exceptions.
56322         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
56323         as unused and give dummy FP_RND_NEAREST initializer.
56324         (FP_INHIBIT_RESULTS): Define.
56325         (___Q_simulate_exceptions): Update declaration.
56326         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
56327         formatting.
56328         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
56329         as unused and give dummy FP_RND_NEAREST initializer.
56330         (__Qp_handle_exceptions): Update declaration.
56331         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
56332         formatting.
56334 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
56336         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
56337         the temporary FPU control word.
56338         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
56339         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
56340         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
56341         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
56342         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
56343         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
56344         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
56345         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
56346         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
56347         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
56348         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
56350 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56352         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
56353         fields.
56355 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
56357         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
56358         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
56359         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
56360         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
56361         Likewise.
56362         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
56363         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
56364         Likewise.
56366 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
56368         * po/h.po: Update from translation team.
56370 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
56372         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
56374         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
56375         handling of denormals.
56376         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
56377         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
56378         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
56379         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
56380         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
56381         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
56382         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
56383         Likewise.
56385 2012-05-26  Marek Polacek  <polacek@redhat.com>
56387         [BZ #14152]
56388         * math/libm-test.inc (fma_test): Don't always expect underflow
56389         exception.
56391 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
56393         [BZ #12416]
56394         * elf/tst-execstack.c: Include stackinfo.h.
56395         (do_test): Adjust test case to ensure that pthread_getattr_np
56396         behaviour remains the same after marking stack executable.
56398 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
56400         * sysdeps/unix/sysv/linux/kernel-features.h
56401         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
56402         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
56403         kernel-features.h.
56404         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
56405         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
56406         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
56407         kernel-features.h.
56408         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
56409         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
56411 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
56413         * configure.in: Define the default includes to being none.
56414         * configure: Regenerated.
56416 2012-05-25  Roland McGrath  <roland@hack.frob.com>
56418         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
56419         * sysdeps/x86_64/setjmp.S: Likewise.
56420         * sysdeps/i386/bsd-setjmp.S: Likewise.
56421         * sysdeps/i386/bsd-_setjmp.S: Likewise.
56422         * sysdeps/i386/setjmp.S: Likewise.
56423         * sysdeps/i386/__longjmp.S: Likewise.
56424         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
56425         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
56427         * include/stap-probe.h: New file.
56428         * configure.in: Handle --enable-systemtap.
56429         * configure: Regenerated.
56430         * config.h.in (USE_STAP_PROBE): New #undef.
56431         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
56432         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
56433         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
56435 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
56437         [BZ #13717]
56438         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
56439         to 2.4.0 where earlier.
56440         * sysdeps/unix/sysv/linux/configure: Regenerated.
56441         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
56442         <kernel-features.h>.
56443         [__ASSUME_32BITUIDS]: Make code unconditional.
56444         [!__ASSUME_32BITUIDS]: Remove conditional code.
56445         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
56446         <kernel-features.h>.
56447         [__ASSUME_32BITUIDS]: Make code unconditional.
56448         [!__ASSUME_32BITUIDS]: Remove conditional code.
56449         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
56450         [__ASSUME_32BITUIDS]: Make code unconditional.
56451         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
56452         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
56453         <kernel-features.h>.
56454         [__ASSUME_32BITUIDS]: Make code unconditional.
56455         [!__ASSUME_32BITUIDS]: Remove conditional code.
56456         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
56457         <kernel-features.h>.
56458         [__ASSUME_32BITUIDS]: Make code unconditional.
56459         [!__ASSUME_32BITUIDS]: Remove conditional code.
56460         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
56461         <kernel-features.h>.
56462         [__ASSUME_32BITUIDS]: Make code unconditional.
56463         [!__ASSUME_32BITUIDS]: Remove conditional code.
56464         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
56465         <kernel-features.h>.
56466         [__ASSUME_32BITUIDS]: Make code unconditional.
56467         [!__ASSUME_32BITUIDS]: Remove conditional code.
56468         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
56469         <kernel-features.h>.
56470         [__ASSUME_32BITUIDS]: Make code unconditional.
56471         [!__ASSUME_32BITUIDS]: Remove conditional code.
56472         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
56473         <kernel-features.h>.
56474         [__ASSUME_32BITUIDS]: Make code unconditional.
56475         [!__ASSUME_32BITUIDS]: Remove conditional code.
56476         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
56477         <kernel-features.h>.
56478         [__ASSUME_32BITUIDS]: Make code unconditional.
56479         [!__ASSUME_32BITUIDS]: Remove conditional code.
56480         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
56481         <kernel-features.h>.
56482         [__ASSUME_32BITUIDS]: Make code unconditional.
56483         [!__ASSUME_32BITUIDS]: Remove conditional code.
56484         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
56485         <kernel-features.h>.
56486         [__ASSUME_32BITUIDS]: Make code unconditional.
56487         [!__ASSUME_32BITUIDS]: Remove conditional code.
56488         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
56489         <kernel-features.h>.
56490         [__ASSUME_32BITUIDS]: Make code unconditional.
56491         [!__ASSUME_32BITUIDS]: Remove conditional code.
56492         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
56493         <kernel-features.h>.
56494         [__NR_setresgid] (__setresgid): Do not declare.
56495         [__ASSUME_32BITUIDS]: Make code unconditional.
56496         [!__ASSUME_32BITUIDS]: Remove conditional code.
56497         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
56498         <kernel-features.h>.
56499         [__NR_setresuid] (__setresuid): Do not declare.
56500         [__ASSUME_32BITUIDS]: Make code unconditional.
56501         [!__ASSUME_32BITUIDS]: Remove conditional code.
56502         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
56503         <kernel-features.h>.
56504         [__ASSUME_32BITUIDS]: Make code unconditional.
56505         [!__ASSUME_32BITUIDS]: Remove conditional code.
56506         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
56507         <kernel-features.h>.
56508         [__ASSUME_32BITUIDS]: Make code unconditional.
56509         [!__ASSUME_32BITUIDS]: Remove conditional code.
56510         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
56511         <kernel-features.h>.
56512         [__ASSUME_32BITUIDS]: Make code unconditional.
56513         [!__ASSUME_32BITUIDS]: Remove conditional code.
56514         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
56515         <kernel-features.h>.
56516         [__ASSUME_32BITUIDS]: Make code unconditional.
56517         [!__ASSUME_32BITUIDS]: Remove conditional code.
56518         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
56519         <kernel-features.h>.
56520         [__ASSUME_32BITUIDS]: Make code unconditional.
56521         [!__ASSUME_32BITUIDS]: Remove conditional code.
56522         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
56523         <kernel-features.h>.
56524         [__ASSUME_32BITUIDS]: Make code unconditional.
56525         [!__ASSUME_32BITUIDS]: Remove conditional code.
56526         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
56527         <kernel-features.h>.
56528         [__ASSUME_32BITUIDS]: Make code unconditional.
56529         [!__ASSUME_32BITUIDS]: Remove conditional code.
56530         * sysdeps/unix/sysv/linux/i386/setreuid.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/i386/setuid.c: Do not include
56535         <kernel-features.h>.
56536         [__ASSUME_32BITUIDS]: Make code unconditional.
56537         [!__ASSUME_32BITUIDS]: Remove conditional code.
56538         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
56539         <kernel-features.h>.
56540         [__ASSUME_32BITUIDS]: Make code unconditional.
56541         [!__ASSUME_32BITUIDS]: Remove conditional code.
56542         * sysdeps/unix/sysv/linux/kernel-features.h
56543         (__ASSUME_SETRESUID_SYSCALL): Remove.
56544         (__ASSUME_SETRESGID_SYSCALL): Likewise.
56545         (__ASSUME_32BITUIDS): Likewise.
56546         (__ASSUME_LDT_WORKS): Likewise.
56547         (__ASSUME_O_DIRECTORY): Likewise.
56548         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
56549         architecture but not kernel version.
56550         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
56551         (__ASSUME_MMAP2_SYSCALL): Likewise.
56552         (__ASSUME_STAT64_SYSCALL): Likewise.
56553         (__ASSUME_IPC64): Likewise.
56554         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
56555         <kernel-features.h>.
56556         [__ASSUME_32BITUIDS]: Make code unconditional.
56557         [!__ASSUME_32BITUIDS]: Remove conditional code.
56558         * sysdeps/unix/sysv/linux/opendir.c: Do not include
56559         <kernel-features.h>.
56560         [__ASSUME_O_DIRECTORY]: Make code unconditional.
56561         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
56562         132096]: Remove conditional code.
56563         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
56564         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
56565         <kernel-features.h>.
56566         [__ASSUME_32BITUIDS]: Make code unconditional.
56567         [!__ASSUME_32BITUIDS]: Remove conditional code.
56568         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
56569         <kernel-features.h>.
56570         [__ASSUME_32BITUIDS]: Make code unconditional.
56571         [!__ASSUME_32BITUIDS]: Remove conditional code.
56572         * sysdeps/unix/sysv/linux/setegid.c: Do not include
56573         <kernel-features.h>.
56574         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
56575         unconditional.
56576         (__setresgid): Do not declare.
56577         [__ASSUME_32BITUIDS]: Make code unconditional.
56578         [!__ASSUME_32BITUIDS]: Remove conditional code.
56579         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
56580         <kernel-features.h>.
56581         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
56582         unconditional.
56583         (__setresuid): Do not declare.
56584         [__ASSUME_32BITUIDS]: Make code unconditional.
56585         [!__ASSUME_32BITUIDS]: Remove conditional code.
56586         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
56587         <kernel-features.h>.
56588         [__ASSUME_32BITUIDS]: Make code unconditional.
56589         [!__ASSUME_32BITUIDS]: Remove conditional code.
56590         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
56591         <kernel-features.h>.
56592         [__ASSUME_32BITUIDS]: Make code unconditional.
56593         [!__ASSUME_32BITUIDS]: Remove conditional code.
56595 2012-05-25  Richard Henderson  <rth@twiddle.net>
56597         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
56598         dl_hwcap to ifunc resolver.
56599         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
56600         elf_ifunc_invoke.
56601         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
56602         dl_hwcap to ifunc resolver.
56603         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
56605 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
56607         [BZ #14153]
56608         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
56609         for |x| <= 2**-26, not 2**-57.
56610         * math/libm-test.inc (acos_test): Do not allow spurious underflow
56611         exception.
56613 2012-05-24  Jeff Law  <law@redhat.com>
56615         * stdio-common/Makefile (tests): Add bug25.
56616         * stdio-common/bug25.c: New test.
56618 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
56620         [BZ #13576]
56621         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
56622         multiple of MALLOC_ALIGNMENT in size.
56623         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
56625 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
56627         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
56628         Require >= 256.
56629         (FILENAME_MAX): Use macro-int-constant.
56630         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
56631         (_IOFBF): Use macro-int-constant.
56632         (_IOLBF): Likewise.
56633         (_IONBF): Likewise.
56634         (SEEK_CUR): Likewise.
56635         (SEEK_END): Likewise.
56636         (SEEK_SET): Likewise.
56637         (TMP_MAX): Likewise.
56638         (EOF): Use macro-int-constant.  Require < 0.
56639         (NULL): Use macro-constant.  Require == 0.
56640         (stdin): Require type to be FILE *.
56641         (stdout): Likewise.
56642         (stderr): Likewise.
56643         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
56644         macro-int-constant.
56645         (EXIT_SUCCESS): Likewise.
56646         (NULL): Use macro-constant.  Require == 0.
56647         (RAND_MAX): Use macro-int-constant.
56648         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
56649         [C99-based standards] (strtof): Require function.
56650         [C99-based standards] (strtold): Likewise.
56651         [C99-based standards] (strtoll): Likewise.
56652         [C99-based standards] (strtoull): Likewise.
56653         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
56654         [ISO || ISO99 || ISO11] (limits.h): Likewise.
56655         [ISO || ISO99 || ISO11] (math.h): Likewise.
56656         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
56657         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
56658         [ISO || ISO99 || ISO11] (*_t): Do not allow.
56660 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
56662         [BZ #14132]
56663         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
56664         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
56665         * intl/dgettext.c (DCGETTEXT): Likewise.
56666         * intl/gettext.c (DCGETTEXT): Likewise.
56667         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
56668         * posix/regex_internal.h (gettext): Likewise.
56669         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
56670         Remove declaration.
56671         * include/argz.h (__argz_count_internal)
56672         (__argz_stringify_internal): Remove declaration.
56673         (__argz_count, __argz_stringify): Declare hidden proto.
56674         * intl/dcgettext.c: Remove use of INTDEF.
56675         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
56676         * string/argz-stringify.c: Likewise.
56677         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
56678         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
56679         Declare hidden proto.
56680         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
56681         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
56682         Declare hidden proto.
56683         * include/stdio.h (__asprintf_internal): Don't declare.
56684         (__asprintf): Don't define as macro.  Declare hidden proto.
56685         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
56686         (__fsetlocking): Declare hidden proto.
56687         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
56688         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
56689         hidden proto.
56690         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
56691         (_IO_setlinebuf): Remove use of INTUSE.
56692         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
56693         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
56694         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
56695         Remove declaration.
56696         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
56697         (_IO_do_flush): Remove use of INTUSE.
56698         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
56699         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
56700         (_IO_adjust_column, _IO_least_wmarker)
56701         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
56702         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
56703         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
56704         (_IO_default_doallocate, _IO_wdefault_doallocate)
56705         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
56706         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
56707         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
56708         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
56709         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
56710         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
56711         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
56712         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
56713         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
56714         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
56715         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
56716         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
56717         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
56718         proto.
56719         (_IO_flush_all_internal, _IO_adjust_column_internal)
56720         (_IO_default_uflow_internal, _IO_default_finish_internal)
56721         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
56722         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
56723         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
56724         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
56725         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
56726         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
56727         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
56728         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
56729         (_IO_file_close_internal, _IO_file_close_it_internal)
56730         (_IO_file_underflow_internal, _IO_file_overflow_internal)
56731         (_IO_file_init_internal, _IO_file_attach_internal)
56732         (_IO_file_fopen_internal, _IO_file_read_internal)
56733         (_IO_file_sync_internal, _IO_file_seek_internal)
56734         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
56735         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
56736         (_IO_str_underflow_internal, _IO_str_overflow_internal)
56737         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
56738         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
56739         (_IO_list_all_internal, _IO_link_in_internal)
56740         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
56741         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
56742         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
56743         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
56744         (_IO_do_write_internal, _IO_padn_internal)
56745         (_IO_getline_info_internal, _IO_getline_internal)
56746         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
56747         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
56748         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
56749         (_IO_vfscanf_internal, _IO_vfprintf_internal)
56750         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
56751         (_IO_init_internal, _IO_un_link_internal): Don't declare.
56752         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
56753         with libc_hidden_ver, remove use of INTUSE.
56754         * libio/genops.c: Likewise.
56755         * libio/freopen.c: Likewise.
56756         * libio/freopen64.c: Likewise.
56757         * libio/iofclose.c: Likewise.
56758         * libio/iofdopen.c: Likewise.
56759         * libio/iofflush.c: Likewise.
56760         * libio/iofflush_u.c: Likewise.
56761         * libio/iofgets.c: Likewise.
56762         * libio/iofgets_u.c: Likewise.
56763         * libio/iofopen.c: Likewise.
56764         * libio/iofopncook.c: Likewise.
56765         * libio/iofread.c: Likewise.
56766         * libio/iofread_u.c: Likewise.
56767         * libio/ioftell.c: Likewise.
56768         * libio/iofwrite.c: Likewise.
56769         * libio/iogetline.c: Likewise.
56770         * libio/iogets.c: Likewise.
56771         * libio/iogetwline.c: Likewise.
56772         * libio/iopadn.c: Likewise.
56773         * libio/iopopen.c: Likewise.
56774         * libio/ioseekoff.c: Likewise.
56775         * libio/ioseekpos.c: Likewise.
56776         * libio/iosetbuffer.c: Likewise.
56777         * libio/iosetvbuf.c: Likewise.
56778         * libio/ioungetc.c: Likewise.
56779         * libio/ioungetwc.c: Likewise.
56780         * libio/iovdprintf.c: Likewise.
56781         * libio/iovsprintf.c: Likewise.
56782         * libio/iovsscanf.c: Likewise.
56783         * libio/memstream.c: Likewise.
56784         * libio/obprintf.c: Likewise.
56785         * libio/oldfileops.c: Likewise.
56786         * libio/oldiofclose.c: Likewise.
56787         * libio/oldiofdopen.c: Likewise.
56788         * libio/oldiofopen.c: Likewise.
56789         * libio/oldiopopen.c: Likewise.
56790         * libio/oldstdfiles.c: Likewise.
56791         * libio/putc.c: Likewise.
56792         * libio/setbuf.c: Likewise.
56793         * libio/setlinebuf.c: Likewise.
56794         * libio/stdfiles.c: Likewise.
56795         * libio/strops.c: Likewise.
56796         * libio/vasprintf.c: Likewise.
56797         * libio/vscanf.c: Likewise.
56798         * libio/vsnprintf.c: Likewise.
56799         * libio/vswprintf.c: Likewise.
56800         * libio/wfiledoalloc.c: Likewise.
56801         * libio/wfileops.c: Likewise.
56802         * libio/wgenops.c: Likewise.
56803         * libio/wmemstream.c: Likewise.
56804         * libio/wstrops.c: Likewise.
56805         * libio/__fpurge.c: Likewise.
56806         * libio/__fsetlocking.c: Likewise.
56807         * assert/assert.c: Likewise.
56808         * debug/fgets_chk.c: Likewise.
56809         * debug/fgets_u_chk.c: Likewise.
56810         * debug/fread_chk.c: Likewise.
56811         * debug/fread_u_chk.c: Likewise.
56812         * debug/gets_chk.c: Likewise.
56813         * debug/obprintf_chk.c: Likewise.
56814         * debug/vasprintf_chk.c: Likewise.
56815         * debug/vdprintf_chk.c: Likewise.
56816         * debug/vsnprintf_chk.c: Likewise.
56817         * debug/vsprintf_chk.c: Likewise.
56818         * malloc/mtrace.c: Likewise.
56819         * misc/error.c: Likewise.
56820         * misc/syslog.c: Likewise.
56821         * stdio-common/asprintf.c: Likewise.
56822         * stdio-common/fxprintf.c: Likewise.
56823         * stdio-common/getw.c: Likewise.
56824         * stdio-common/isoc99_fscanf.c: Likewise.
56825         * stdio-common/isoc99_scanf.c: Likewise.
56826         * stdio-common/isoc99_vfscanf.c: Likewise.
56827         * stdio-common/isoc99_vscanf.c: Likewise.
56828         * stdio-common/isoc99_vsscanf.c: Likewise.
56829         * stdio-common/printf-prs.c: Likewise.
56830         * stdio-common/printf_fp.c: Likewise.
56831         * stdio-common/printf_fphex.c: Likewise.
56832         * stdio-common/printf_size.c: Likewise.
56833         * stdio-common/putw.c: Likewise.
56834         * stdio-common/scanf.c: Likewise.
56835         * stdio-common/sprintf.c: Likewise.
56836         * stdio-common/tmpfile.c: Likewise.
56837         * stdio-common/vfprintf.c: Likewise.
56838         * stdio-common/vfscanf.c: Likewise.
56839         * stdlib/strfmon_l.c: Likewise.
56840         * sunrpc/openchild.c: Likewise.
56841         * sunrpc/xdr_stdio.c: Likewise.
56842         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
56843         * sysdeps/mach/hurd/tmpfile.c: Likewise.
56845 2012-05-24  Roland McGrath  <roland@hack.frob.com>
56847         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
56849         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
56850         in the third column, to generate for the shared library an IFUNC
56851         that uses _dl_vdso_vsym.
56852         * Makerules (COMPILE.c, compile-stdin.c): New variables.
56853         * Makeconfig (object-suffixes-noshared): New variable.
56855         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
56856         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
56857         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
56858         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
56860         [BZ #14132]
56861         * include/sys/time.h (__gettimeofday): Remove macro.
56862         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
56863         * time/gettimeofday.c (__gettimeofday): Remove #undef.
56864         Remove INTDEF.
56865         (__gettimeofday): Add libc_hidden_def.
56866         (gettimeofday): Add libc_hidden_weak.
56867         * sysdeps/mach/gettimeofday.c: Likewise.
56868         * sysdeps/posix/gettimeofday.c: Likewise.
56869         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
56870         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
56871         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
56872         (__gettimeofday_internal): Remove strong_alias.
56873         (__gettimeofday): Add libc_hidden_def.
56874         (gettimeofday): Add libc_hidden_weak.
56875         * sysdeps/unix/syscalls.list (gettimeofday):
56876         Remove __gettimeofday_internal alias.
56878 2012-05-24  Daniel Jacobowitz  <drow@false.org>
56879             H.J. Lu  <hongjiu.lu@intel.com>
56881         [BZ #12495]
56882         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
56883         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
56884         (largebin_index_32_big): New.
56885         (largebin_index): Use it for 16-byte alignment.
56886         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
56887         correction with front_misalign.
56889 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
56891         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
56892         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
56893         Likewise.
56894         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
56895         Likewise.
56896         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
56897         Likewise.
56898         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
56899         Likewise.
56900         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
56901         Likewise.
56902         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
56903         Likewise.
56904         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
56905         Likewise.
56906         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
56907         Likewise.
56908         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
56909         Likewise.
56910         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
56911         Likewise.
56912         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
56913         Likewise.
56914         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
56915         Likewise.
56917         * scripts/data/c++-types-x32-linux-gnu.data: New file.
56918         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
56920 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
56922         [BZ #10846]
56923         [BZ #14036]
56924         * math/libm-test.inc (exp_test): Add test from bug 14036.
56925         (pow_test): Add test from bug 10846.
56927         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
56928         and other flags.
56929         (special_function): Do not include flags in test name.
56930         (parse_args): Likewise.
56931         * sysdeps/i386/fpu/libm-test-ulps: Update.
56932         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
56933         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
56934         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
56935         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56937         * math/gen-libm-test.pl (%beautify): Add entries for underflow
56938         exceptions.
56939         * math/libm-test.inc ("Philosophy"): Update comment about
56940         exception testing.
56941         (UNDERFLOW_EXCEPTION): New macro.
56942         (UNDERFLOW_EXCEPTION_OK): Likewise.
56943         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
56944         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
56945         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
56946         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
56947         (INVALID_EXCEPTION_OK): Update value.
56948         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
56949         (OVERFLOW_EXCEPTION_OK): Likewise.
56950         (IGNORE_ZERO_INF_SIGN): Likewise.
56951         (test_exceptions): Handle underflow exceptions.
56952         (acos_test): Update for underflow exception expectations.
56953         (cexp_test): Likewise.
56954         (clog_test): Likewise.
56955         (clog10_test): Likewise.
56956         (csqrt_test): Likewise.
56957         (ctan_test): Likewise.
56958         (ctanh_test): Likewise.
56959         (exp_test): Likewise.
56960         (exp10_test): Likewise.
56961         (exp2_test): Likewise.
56962         (expm1_test): Likewise.
56963         (fma_test): Likewise.
56964         (j0_test): Likewise.
56965         (jn_test): Likewise.
56966         (nexttoward_test): Likewise.
56967         (pow_test): Likewise.
56968         (scalbn_test): Likewise.
56969         (scalbln_test): Likewise.
56970         (tan_test): Likewise.
56971         (y1_test): Likewise.
56972         * sysdeps/i386/fpu/libm-test-ulps: Update.
56973         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56975 2012-05-23  David S. Miller  <davem@davemloft.net>
56977         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
56978         (__libc_sigaction): Remove unused local variables.
56980 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
56982         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
56984 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
56986         mktime: avoid signed integer overflow
56987         * time/mktime.c (__mktime_internal): Do not mishandle the case
56988         where diff == INT_MIN.
56990         mktime: simplify computation of average
56991         * time/mktime.c (ranged_convert): Use new time_t_avg function
56992         instead of rolling our own (probably-slower) code.
56994         mktime: do not assume signed right shift propagates sign bit
56995         * time/mktime.c (isdst_differ): New static function.
56996         (__mktime_internal): No need to normalize tm_isdst now.
56997         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
56998         tm_isdst values.
57000         mktime: merge another wrapv change from gnulib
57001         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
57002         from some compilers.
57004         mktime: remove incorrect attempt at unusual arithmetics
57005         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
57006         The code didn't really work on such machines anyway.
57007         (TYPE_MINIMUM): Assume two's complement.
57008         (twos_complement_arithmetic): Verify that long_int and time_t
57009         are two's complement (or unsigned, in the latter case).
57011         mktime: check signed shifts on long_int and time_t, too
57012         * time/mktime.c (SHR): Check that shifts work as desired
57013         on the types long_int and time_t too, as SHR is used on
57014         such types.
57016         mktime: do not assume 'long' is wide enough
57017         * time/mktime.c (verify): Move decl up.
57018         (long_int): New type.
57019         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
57020         to remove assumption in the code that 'long' is wide enough to
57021         store year values.  This assumption is not true on x32 and on
57022         some non-glibc platforms.
57024         mktime: merge wrapv change from gnulib
57025         * time/mktime.c (WRAPV): New macro.
57026         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
57027         (guess_time_tm, __mktime_internal): Do not assume that signed
57028         integer overflow wraps around; modern compilers generate code
57029         where this assumption is no longer valid.
57031 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
57033         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
57034         Replace "jmp L(pseudo_end)" with "ret".
57035         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
57036         Likewise.
57038 2012-05-23  Andreas Jaeger  <aj@suse.de>
57040         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
57041         * sysdeps/unix/sysv/linux/poll.c: Remove file.
57043 2012-05-23  Andreas Jaeger  <aj@suse.de>
57044             Maximilian Attems  <max@stro.at>
57046         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
57047         New macros.
57049 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
57051         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
57052         code so that pseudo_end is just ret and the stack pointer is
57053         correct also for static library in error case.
57055 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
57057         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
57058         move to syscalls.list.
57059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
57060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
57061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
57062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
57064         * manual/install.texi (Running make install): Do not mention Linux
57065         kernel version for which pt_chown is not needed.
57066         (Linux): Do not mention problems with nscd with 2.0 kernels.
57067         * INSTALL: Regenerated.
57069 2012-05-23  Andreas Jaeger  <aj@suse.de>
57071         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
57072         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
57073         macro.
57074         * sysdeps/unix/sysv/linux/s390/bits/mman.h
57075         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
57076         * sysdeps/unix/sysv/linux/sh/bits/mman.h
57077         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
57078         * sysdeps/unix/sysv/linux/i386/bits/mman.h
57079         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
57080         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
57081         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
57082         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
57083         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
57084         * sysdeps/unix/sysv/linux/bits/in.h
57085         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
57087 2012-05-22  Roland McGrath  <roland@hack.frob.com>
57089         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
57090         (PREPARE_VERSION): Just use assert instead, it will be elided
57091         under [NDEBUG] anyway.
57093 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
57095         * sysdeps/unix/sysv/linux/Makefile: Include
57096         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
57097         (sysdep_routines): Remove sysctl.
57098         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
57099         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
57100         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
57101         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
57102         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
57104 2012-05-22  Andreas Jaeger  <aj@suse.de>
57106         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
57107         that pseudo_end is just ret and the stack pointer is correct also
57108         for static library in error case.
57110 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
57112         [BZ #14122]
57113         * nss/nsswitch.c (defconfig_entries): New variable.
57114         (__nss_database_lookup): Don't leak defconfig entries.
57115         (nss_parse_service_list): Don't leak on error paths.
57116         (free_database_entries): New function.
57117         (free_defconfig): New function.
57118         (free_mem): Move common code to free_database_entries.
57120 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
57122         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
57123         Add arch_prctl.
57124         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
57126         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
57127         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
57128         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
57129         New macro.
57130         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
57131         (INTERNAL_SYSCALL_TYPES): Likewise.
57132         (LOAD_ARGS_TYPES_[1-6]): Likewise.
57133         (LOAD_REGS_TYPES_[1-6]): Likewise.
57134         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
57135         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
57137 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57139         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
57140         copysignl for GLIBC_2_0.
57141         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
57142         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
57143         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
57144         logbl for GLIBC_2_0.
57145         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
57146         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
57148 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
57150         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
57151         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
57153         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
57154         Use "neg %eax".
57156         * time/mktime.c: Update copyright years.
57158 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
57160         mktime: merge comment-quoting-style change from gnulib
57161         * time/mktime.c: Quote 'like this' in comments.
57162         The GNU coding standards suggest that we no longer quote `like this',
57163         as "`" and "'" are typically rendered asymmetrically nowadays.
57164         The typical gnulib style is to quote 'like this' when quoting
57165         code, and "like this" when quoting English.
57167         * time/mktime.c (compile-command): Add "-I.".
57169         mktime: merge mktime-internal.h change from gnulib
57170         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
57172         mktime: merge time_r change from gnulib
57173         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
57175         mktime: merge DEBUG change from gnulib
57176         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
57177         case system <time.h> has a #define.
57179         mktime: merge <sys/types.h> change from gnulib
57180         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
57181         since <time.t> is now guaranteed to define time_t.
57183         mktime: merge HAVE_CONFIG_H change from gnulib
57184         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
57186 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
57188         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
57189         Use "neg %eax".
57191         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
57192         __rlim_t cast.
57193         (struct rusage): Use anonymous union to pad each field to
57194         __syscall_slong_t.
57196 2012-05-21  David S. Miller  <davem@davemloft.net>
57198         * Makefules (o-iterator): Remove .s cases.
57199         (compile-command.s): Delete.
57200         (COMPILE.s): Delete.
57201         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
57203 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
57205         * configure.in (libc_cv_predef_stack_protector): Only consider
57206         "foobar" and "__stack_chk_fail" lines in libc_undefs.
57207         * configure: Regenerated.
57209 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
57211         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
57212         New macro.  Use R*LP on int and pointer.
57213         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
57214         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
57215         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
57216         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
57218         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
57219         [__WORDSIZE_TIME64_COMPAT32] instead of
57220         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
57221         (struct utmp): Likewise.
57222         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
57223         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
57224         Renamed to ...
57225         (__WORDSIZE_TIME64_COMPAT32): This.
57226         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
57227         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
57228         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
57229         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
57230         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
57231         (__WORDSIZE_TIME64_COMPAT32): New macro.
57233 2012-05-21  Andreas Jaeger  <aj@suse.de>
57235         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
57236         only if [SHARED]. Add prototype for __wcschr_ia32.
57238 2012-05-21  Roland McGrath  <roland@hack.frob.com>
57240         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
57241         of %rbp unmolested in the jmp_buf while mangling the low bits.
57242         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
57243         unmolested high bits of %rbp while demangling the low bits.
57244         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
57246 2012-05-21  Andreas Jaeger  <aj@suse.de>
57248         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
57249         * sunrpc/svc_simple.c: Use it for registerrpc.
57250         * sunrpc/xcrypt.c: Use it for passwd2des.
57252         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
57254 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
57256         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
57257         Don't define if [__SYSCALL_WORDSIZE != 32].
57258         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
57259         New macro.
57261 2012-05-21  Bruno Haible  <bruno@clisp.org>
57262             Andreas Jaeger  <aj@suse.de>
57264         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
57265         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
57266         inptr and inend for must_buffer_ch.
57267         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
57268         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
57269         * stdio-common/Makefile (tests): Remove bug15.
57270         (bug15-ENV): Remove macro.
57271         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
57272         anymore.
57274 2012-05-19  Andreas Jaeger  <aj@suse.de>
57275             Roland McGrath  <roland@hack.frob.com>
57277         * manual/contrib.texi: Completely rewritten. It contains now an
57278         alphabetical list of contributors and their contributions.
57280 2012-05-21  Richard Henderson  <rth@twiddle.net>
57282         * misc/getauxval.c (__getauxval): Use unsigned long int.
57283         * misc/sys/auxv.h: Include <sys/cdefs.h>.
57284         (getauxval): Use unsigned long int.
57286 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
57288         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
57290 2012-05-21  Roland McGrath  <roland@hack.frob.com>
57292         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
57293         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
57294         __alignof__ (long double).
57296 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57298         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57300 2012-05-20  Richard Henderson  <rth@twiddle.net>
57302         * misc/getauxval.c: New file.
57303         * misc/sys/auxv.h: New file.
57304         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
57305         (routines): Add getauxval.
57306         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
57307         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
57308         * elf/dl-sysdep.c (_dl_auxv): Remove.
57309         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
57310         * elf/dl-support.c (_dl_auxv): New variable.
57311         (_dl_aux_init): Initialize it.
57312         * manual/startup.texi (Auxiliary Vector): New node.
57313         * sysdeps/generic/bits/hwcap.h: New file.
57314         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
57315         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
57316         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
57317         * sysdeps/sparc/sysdep.h: ... here.  Include it.
57318         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
57319         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
57320         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
57321         Update.
57322         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
57323         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
57324         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
57325         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
57326         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
57327         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
57328         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
57329         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
57331 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57333         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57335 2012-05-19  David S. Miller  <davem@davemloft.net>
57337         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57339 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
57341         [BZ #14123]
57342         * math/s_ccosh.c: Include <float.h>
57343         (__ccosh): Avoid internal overflow calculating sinh and cosh
57344         values before multiplying by sin and cos values.
57345         * math/s_ccoshf.c: Likewise.
57346         * math/s_ccoshl.c: Likewise.
57347         * math/s_csin.c: Likewise.
57348         * math/s_csinf.c: Likewise.
57349         * math/s_csinl.c: Likewise.
57350         * math/s_csinh.c: Likewise.
57351         * math/s_csinhf.c: Likewise.
57352         * math/s_csinhl.c: Likewise.
57353         * math/libm-test.inc (ccos_test): Add more tests.
57354         (ccosh_test): Likewise.
57355         (csin_test): Likewise.
57356         (csinh_test): Likewise.
57357         * sysdeps/i386/fpu/libm-test-ulps: Update.
57358         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57360 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
57362         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
57363         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
57365         * sysdeps/x86_64/x32/_itoa.h: Add comment.
57367 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
57369         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
57370         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
57371         * sysdeps/powerpc/soft-fp/Versions: Likewise.
57372         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
57373         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
57374         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
57375         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
57376         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
57377         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
57378         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
57379         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
57380         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
57381         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
57382         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
57383         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
57384         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
57385         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
57386         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
57387         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
57388         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
57389         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
57390         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
57391         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
57392         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
57393         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
57394         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
57395         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
57396         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
57397         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
57398         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
57399         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
57401 2012-05-18  Andreas Jaeger  <aj@suse.de>
57403         * csu/.gitignore: Delete.
57405 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
57407         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
57408         (timex): Use __syscall_slong_t.
57410 2012-05-18  Andreas Jaeger  <aj@suse.de>
57411             Carlos O'Donell  <carlos_odonell@mentor.com>
57413         * manual/install.texi (Configuring and compiling): Update
57414         description about files modified in the source directory.
57415         * INSTALL: Regenerated.
57417 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
57419         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
57420         value.  Use "or" to set return value to -1.
57421         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
57422         negate return value.
57424 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
57426         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
57427         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
57428         failure if the compiler has Graphite support disabled.
57429         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
57430         Likewise.
57431         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
57432         (CFLAGS-memmove.c): Likewise.
57433         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
57434         Likewise.
57436 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
57438         * sysdeps/x86_64/x32/_itoa.h: New file.
57440         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
57441         getdents system call only if kernel and user dirents have the
57442         same d_ino and d_off.
57444         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
57445         LLONG_MAX != LONG_MAX.
57446         (_itoa_word): Use _ITOA_WORD_TYPE on value.
57447         (_fitoa_word): Likewise.
57449         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
57450         years.
57451         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
57452         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
57453         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
57455         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
57456         include <bits/wordsize.h>.  Check __x86_64__ instead of
57457         __WORDSIZE.
57458         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
57459         if __x86_64__ is defined.  Use anonymous union on fpstate.
57461         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
57462         anonymous union.
57464 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
57466         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
57467         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
57468         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
57469         Refer to _rtld_local_ro instead of _rtld_global_ro.
57470         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
57471         Likewise.
57472         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
57473         Likewise.
57474         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
57475         Likewise.
57476         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
57477         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
57478         of _rtld_global, and rtld_progname instead of _dl_argv[0].
57480         [BZ #10882]
57481         * sysdeps/powerpc/powerpc32/dl-machine.c
57482         (__elf_machine_runtime_setup) [PROF]: Don't reference
57483         _dl_prof_resolve.
57485 2012-05-18  Andreas Jaeger  <aj@suse.de>
57487         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
57488         function only available for GCCs before 3.4 since GCC 3.4
57489         introduced a builtin.
57490         (lrint): Likewise.
57491         (llrintf): Likewise.
57492         (llrint): Likewise.
57493         (fmaxf): Likewise.
57494         (fmax): Likewise.
57495         (fminf): Likewise.
57496         (fmin): Likewise.
57497         (rint): Likewise.
57498         (rintf): Likewise.
57499         (nearbyint): Likewise.
57500         (nearbyintf): Likewise.
57501         (ceil): Likewise.
57502         (ceilf): Likewise.
57503         (floor): Likewise.
57504         (floorf): Likewise.
57506 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
57508         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
57509         on both fields and cast pointer to __syscall_ulong_t.
57511         * bits/types.h (__fsword_t): New type.
57512         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
57513         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
57514         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
57515         (__FSWORD_T_TYPE): Likewise.
57516         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
57517         (__FSWORD_T_TYPE): Likewise.
57518         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
57519         (__FSWORD_T_TYPE): Likewise.
57520         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
57521         (__FSWORD_T_TYPE): Likewise.
57522         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
57523         __SWORD_TYPE with __fsword_t.
57524         (statfs64): Likewise.
57526 2012-05-17  David S. Miller  <davem@davemloft.net>
57528         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
57530 2012-05-17  Andreas Jaeger  <aj@suse.de>
57532         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
57533         warning.
57535 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
57537         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
57539 2012-05-17  Andreas Jaeger  <aj@suse.de>
57541         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
57542         when it is used.
57544 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
57546         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
57548 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
57550         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
57551         * sysdeps/x86_64/tst-mallocalign1.c: New file.
57553 2012-05-17  Andreas Jaeger  <aj@suse.de>
57554             Carlos O'Donell  <carlos_odonell@mentor.com>
57556         [BZ #14059]
57557         * sysdeps/x86_64/multiarch/init-arch.h
57558         (bit_YMM_Usable): Rename to...
57559         (bit_AVX_Usable): ... this.
57560         (bit_FMA4_Usable): New macro.
57561         (bit_XMM_state): New macro.
57562         (bit_YMM_state): New macro.
57563         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
57564         [__ASSEMBLER__] (index_AVX_Usable): ... this.
57565         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
57566         (CPUID_OSXSAVE): New macro.
57567         (CPUID_AVX): New macro.
57568         (CPUID_FMA4): New macro.
57569         (index_YMM_Usable): Rename to...
57570         (index_AVX_Usable): ... this.
57571         (HAS_AVX): Use HAS_ARCH_FEATURE.
57572         (HAS_FMA4): Likewise.
57573         (HAS_YMM_USABLE): Remove.
57574         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57575         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
57576         are present.
57577         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
57578         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
57579         * sysdeps/x86_64/multiarch/Makefile: Likewise.
57580         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
57581         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
57583 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
57585         * math/libm-test.c: Support platforms without multiple rounding modes.
57586         * math/bug-nextafter.c: Support platforms without FP exceptions.
57587         * math/bug-nexttoward.c: Likewise.
57588         * math/test-fenv.c: Likewise.
57589         * math/test-misc.c: Likewise.
57590         * stdlib/bug-getcontext.c: Likewise.
57592 2012-05-17  Andreas Jaeger  <aj@suse.de>
57594         * manual/examples/search.c (critter_cmp): Change signature to
57595         avoid warnings.
57596         * manual/string.texi (Collation Functions): Likewise.
57598 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
57600         * bits/types.h: Fold copyright years.
57601         * bits/typesizes.h: Likewise.
57602         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
57603         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
57604         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
57605         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
57606         * time/time.h: Likewise.
57608 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
57610         [BZ #208]
57611         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
57612         in instead of returning them.  Return void.
57613         (__libc_mallinfo): Accumulate over all arenas.
57614         (__malloc_stats): Adjust for change in int_mallinfo interface.
57616 2012-05-16  Roland McGrath  <roland@hack.frob.com>
57618         [BZ #10375]
57619         * configure.in (NM): Add AC_CHECK_TOOL for it.
57620         (libc_extra_cflags): New substituted variable.
57621         Check for -fstack-protector being used implicitly.
57622         * configure: Regenerated.
57623         * config.make.in (config-extra-cflags): New variable,
57624         gets @libc_extra_cflags@.
57625         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
57627         [BZ #10375]
57628         * configure.in: Check for _FORTIFY_SOURCE being predefined.
57629         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
57630         * configure: Regenerated.
57631         * config.make.in (CPPUNDEFS): New substituted variable.
57632         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
57633         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
57634         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
57636 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
57638         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
57639         (mq_attr): Use __syscall_slong_t.
57641 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
57643         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
57644         Check __x86_64__ instead of __WORDSIZE.
57645         (_STAT_VER_LINUX): Likewise.
57646         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
57647         __syscall_ulong_t and __syscall_slong_t.
57648         (stat64): Likewise.
57650 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
57652         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
57654 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
57656         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
57658 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
57660         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
57661         __syscall_ulong_t.
57663         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
57664         include <bits/wordsize.h>.  Check __x86_64__ instead of
57665         __WORDSIZE.
57666         (greg_t): Use "__extension__ long long int" if __x86_64__ is
57667         defined.
57668         (mcontext_t): Replace "unsigned long" with "unsigned long long".
57670         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
57671         include <bits/wordsize.h>.  Check __x86_64__ instead of
57672         __WORDSIZE.
57673         (user_regs_struct): Use "__extension__ unsigned long long"
57674         instead of "unsigned long" if __x86_64__ is defined.
57675         (user): Likewise.  Pad after pointer field if __ILP32__ is
57676         defined.
57678 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
57680         * configure.in (makeinfo): Require version 4.5 or later.  Allow
57681         versions 5 to 9.
57682         * configure: Regenerated.
57683         * manual/install.texi (texinfo): Increase version requirement to
57684         4.5 or later.
57685         * INSTALL: Regenerated.
57687         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
57689 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
57691         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
57693         * sysdeps/x86_64/x32/ffs.c: New file.
57695         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
57696         __syscall_ulong_t.
57697         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
57698         defined.  Use __syscall_ulong_t.
57699         (shminfo): Use __syscall_ulong_t.
57700         (shm_info): Likewise.
57702         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
57703         __syscall_ulong_t.
57705         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
57706         <bits/wordsize.h>.
57707         (msgqnum_t): Use __syscall_ulong_t.
57708         (msglen_t): Likewise.
57709         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
57710         __syscall_ulong_t.
57712         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
57713         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
57715         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
57717         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
57718         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
57720         * sysvipc/sys/msg.h (msgbuf): Replace long int with
57721         __syscall_slong_t.
57723         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
57724         include <bits/wordsize.h>.  Check __x86_64__ instead of
57725         __WORDSIZE.
57727         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
57728         "unsigned long long int" if __x86_64__ is defined.
57729         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
57731         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
57732         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
57733         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
57735         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
57736         <stdint.h>.
57737         (GET_PC): Cast to uintptr_t first.
57738         (GET_FRAME): Likewise.
57739         (GET_STACK): Likewise.
57741         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
57742         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
57743         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
57744         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
57745         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
57746         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
57747         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
57748         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
57749         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
57750         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
57751         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
57752         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
57753         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
57754         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
57755         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
57756         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
57757         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
57758         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
57759         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
57760         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
57761         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
57762         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
57763         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
57764         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
57765         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
57766         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
57767         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
57768         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
57769         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
57771 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
57773         * Makerules (+depfiles): Also collect depfiles from .oS in
57774         $(extra-objs).
57775         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
57776         .oS, $(libnldbl-routines)).
57778         * Makerules (native-compile-mkdep-flags): Define.
57779         * sunrpc/Makefile (extra-objs): Add $(addprefix
57780         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
57781         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
57782         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
57783         calling $(make-target-directory).
57785 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57787         * bits/types.h (__snseconds_t): Removed.
57788         * time/time.h (struct timespec): Replace __snseconds_t with
57789         __syscall_slong_t.
57790         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
57791         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
57792         Likewise.
57793         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
57794         (__SNSECONDS_T_TYPE): Likewise.
57795         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
57796         (__SNSECONDS_T_TYPE): Likewise.
57797         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
57798         (__SNSECONDS_T_TYPE): Likewise.
57800 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57802         * sysdeps/mach/hurd/bits/typesizes.h
57803         (__SYSCALL_SLONG_TYPE): New macro.
57804         (__SYSCALL_ULONG_TYPE): Likewise.
57806 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57808         * bits/types.h (__syscall_slong_t): New type.
57809         (__syscall_ulong_t): Likewise.
57811         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
57812         (__SYSCALL_ULONG_TYPE): Likewise.
57813         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
57814         (__SYSCALL_SLONG_TYPE): Likewise.
57815         (__SYSCALL_ULONG_TYPE): Likewise.
57816         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
57817         (__SYSCALL_SLONG_TYPE): Likewise.
57818         (__SYSCALL_ULONG_TYPE): Likewise.
57819         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
57820         (__SYSCALL_SLONG_TYPE): Likewise.
57821         (__SYSCALL_ULONG_TYPE): Likewise.
57823 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57825         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
57826         Add sigaltstack-offsets.sym.
57827         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
57828         <sigaltstack-offsets.h>.
57829         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
57830         longjmp_msg pointer.
57831         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
57832         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
57833         signal stack.
57834         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
57836 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
57838         * elf/stackguard-macros.h: Remove file.
57839         * sysdeps/generic/stackguard-macros.h: New file.
57840         * sysdeps/i386/stackguard-macros.h: Likewise.
57841         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
57842         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
57843         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
57844         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
57845         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
57846         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
57847         * sysdeps/x86_64/stackguard-macros.h: Likewise.
57848         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
57849         <elf/stackguard-macros.h>.
57851         [BZ #14109]
57852         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
57853         __aligned__ in attribute.
57854         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
57855         (gregset_t): Likewise.
57857 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57859         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
57860         * sysdeps/x86_64/64/Implies-after: Here.  New file.
57861         * sysdeps/x86_64/x32/Implies-after: New file.
57863 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57865         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
57866         and access return value for _dl_profile_fixup.  Use R10_LP to
57867         load frame size.
57869 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57871         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
57873 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57875         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
57876         * sysdeps/x86_64/x32/sysdep.h: New file.
57878 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57880         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
57881         * sysdeps/x86_64/setjmp.S: Likewise.
57883 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57885         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
57886         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
57887         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
57888         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
57889         remove unused global constant.
57891 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
57893         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
57894         include of <not-cancel.h>.
57896 2012-05-15  Roland McGrath  <roland@hack.frob.com>
57898         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
57900 2012-05-15  Jeff Law  <law@redhat.com>
57901             Andreas Jaeger  <aj@suse.de>
57903         [BZ #13594]
57904         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
57905         out from...
57906         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
57907         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
57908         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
57909         code changing __hst_map_handle.map.
57911 2012-05-15  Roland McGrath  <roland@hack.frob.com>
57913         * configure.in (sysnames): Look for Implies-before and Implies-after
57914         files.
57915         * configure: Regenerated.
57917 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57919         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
57920         8-byte data alignment with LP_SIZE alignment.
57922 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57924         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
57925         into R10_LP.
57927 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57929         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
57931 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57933         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
57934         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
57935         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
57936         Likewise.
57937         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
57939 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57941         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
57942         (stackinfo_sub_sp): Likewise.
57944 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57946         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
57947         RAX_LP.
57949 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57951         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
57952         into R*_LP.
57954 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57956         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
57957         sizes into R*_LP.
57959 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57961         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
57963 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57965         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
57966         into R11_LP and load __x86_64_shared_cache_size_half into
57967         R8_LP.
57969 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57971         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
57972         R8_LP.
57974 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57976         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
57977         logb for POWER7.
57978         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
57979         logbf for POWER7.
57980         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
57981         logbl for POWER7.
57982         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
57983         powerpc32/power7/fpu/s_logb.c via #include.
57984         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
57985         powerpc32/power7/fpu/s_logbf.c via #include.
57986         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
57987         powerpc32/power7/fpu/s_logbl.c via #include.
57989 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
57991         * README.libm: Remove file.
57993 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
57995         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
57996         count for x32.  Use R*_LP and omit operand-size suffix.
57998 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
58000         * shlib-versions: Move x86_64-.*-linux.* entries to ...
58001         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
58002         * sysdeps/x86_64/x32/shlib-versions: New file.
58004 2012-05-14  Roland McGrath  <roland@hack.frob.com>
58006         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
58007         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
58008         Use _dl_fatal_printf instead.
58010 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
58012         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
58013         set if not set by the user.  Do not allow for being unset.
58014         * sysdeps/unix/sysv/linux/configure: Regenerated.
58016 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
58018         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
58019         the `q' suffix from lea and replace .quad with ASM_ADDR.
58021 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
58023         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
58024         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
58025         instead of $17.
58026         (PTR_DEMANGLE): Likewise.
58028 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
58030         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
58031         (LP_OP): Likewise.
58032         (ASM_ADDR): Likewise.
58033         (RAX_LP): Likewise.
58034         (RBP_LP): Likewise.
58035         (RBX_LP): Likewise.
58036         (RCX_LP): Likewise.
58037         (RDI_LP): Likewise.
58038         (RSI_LP): Likewise.
58039         (RSP_LP): Likewise.
58040         (R8_LP): Likewise.
58041         (R9_LP): Likewise.
58042         (R10_LP): Likewise.
58043         (R10_LP): Likewise.
58044         (R11_LP): Likewise.
58045         (R12_LP): Likewise.
58046         (R13_LP): Likewise.
58047         (R14_LP): Likewise.
58048         (R15_LP): Likewise.
58050 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
58052         * sysdeps/x86_64/x32/dl-machine.h: New file.
58054 2012-05-14  Andreas Jaeger  <aj@suse.de>
58056         * manual/Makefile (subdir): Remove export of subdir.
58057         (all): Remove target.
58058         (.PHONY): Remove all from list.
58059         (mkinstalldirs): Remove.
58060         (.PHONY): Remove installdirs from list.
58061         ($(inst_infodir)/libc.info): Use make-target-directory.
58062         (installdirs): Remove.
58063         (subdir_%): Remove.
58064         (glibc-targets): Remove.
58065         (lib): Remove.
58066         (stubs): Remove.
58067         ($(objpfx)stubs ../po/manual.pot): Remove.
58068         ($(objpfx)stamp%): Remove.
58069         (make-target-directory): Remove.
58070         (subdir_install): Remove.
58071         (routines): Remove.
58072         (aux): Remove.
58073         (sources): Remove.
58074         (objects): Remove.
58075         (headers): Remove.
58077         [BZ #13750]
58078         * manual/.gitignore: Remove, it's not needed anymore.
58079         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
58080         all files in it.
58081         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
58082         directory.
58083         (texis): Renamed to $(objpfx)texis.
58084         (texis-path): New, contains path to generated files.
58085         (chapters.%): Use texis-path for complete path, add extra argument
58086         libc-texinfo.sh.
58087         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
58088         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
58089         (summary,texi, stamp-summary): Use complete path of
58090         files. Generate files in build dir.
58091         (dir-add.texi): Build in build dir.
58092         (libm-err.texi,stamp-libm-err): Likewise.
58093         (version.texi, stamp-version): Likewise.
58094         (.%c.texi): Likewise.
58095         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
58096         (mostlyclean): Remove target.
58097         (realclean): Remove target.
58098         (generated): Add new variable with contents from mostlyclean and
58099         realclean, remove entries duplicated in common-mostlyclean, add
58100         stamp-libm-err and stamp-version.
58101         (generated-dirs): Add libc directory.
58102         ($(inst_infodir)/libc.info): Install files from build dir.
58104         * manual/install.texi (Configuring and compiling): Adjust since
58105         the info files are not part of the tar ball anymore.
58107 2012-05-14  Andreas Jaeger  <aj@suse.de>
58109         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
58110         variable.
58112 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
58114         [BZ #13717]
58115         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
58116         to 2.2.0 where earlier.
58117         * sysdeps/unix/sysv/linux/configure: Regenerated.
58118         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
58119         Remove conditional code.
58120         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
58121         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
58122         Remove conditional code.
58123         [!__NR_lchown]: Likewise.
58124         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
58125         [__NR_lchown]: Likewise.
58126         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
58127         comment referencing __ASSUME_LCHOWN_SYSCALL.
58128         * sysdeps/unix/sysv/linux/i386/sigaction.c
58129         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
58130         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
58131         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
58132         Remove conditional code.
58133         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
58134         (__protocol_available): Remove #if 0 code.
58135         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
58136         conditional code.
58137         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
58138         * sysdeps/unix/sysv/linux/kernel-features.h
58139         (__ASSUME_GETCWD_SYSCALL): Don't define.
58140         (__ASSUME_REALTIME_SIGNALS): Likewise.
58141         (__ASSUME_PREAD_SYSCALL): Likewise.
58142         (__ASSUME_PWRITE_SYSCALL): Likewise.
58143         (__ASSUME_POLL_SYSCALL): Likewise.
58144         (__ASSUME_LCHOWN_SYSCALL): Likewise.
58145         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
58146         non-SPARC.
58147         (__ASSUME_SIOCGIFNAME): Don't define.
58148         (__ASSUME_MSG_NOSIGNAL): Likewise.
58149         (__ASSUME_SENDFILE): Define unconditionally.
58150         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
58151         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
58152         conditional code.
58153         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
58154         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
58155         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
58156         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
58157         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
58158         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
58159         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
58160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
58161         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
58162         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
58163         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
58164         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
58165         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
58166         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
58167         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
58168         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
58169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
58170         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
58171         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
58172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
58173         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
58174         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
58175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
58176         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
58177         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
58178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
58179         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
58180         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
58181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
58182         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
58183         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
58184         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
58185         Remove conditional code.
58186         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
58187         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
58188         Remove conditional code.
58189         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
58190         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
58191         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
58192         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
58193         Remove conditional code.
58194         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
58195         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
58196         Remove conditional code.
58197         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
58198         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
58199         Remove conditional code.
58200         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
58201         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
58202         Remove conditional code.
58203         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
58204         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
58205         Remove conditional code.
58206         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
58207         * sysdeps/unix/sysv/linux/sh/pwrite64.c
58208         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
58209         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
58210         * sysdeps/unix/sysv/linux/sigaction.c
58211         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
58212         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
58213         * sysdeps/unix/sysv/linux/sigpending.c
58214         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
58215         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
58216         * sysdeps/unix/sysv/linux/sigprocmask.c
58217         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
58218         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
58219         * sysdeps/unix/sysv/linux/sigsuspend.c
58220         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
58221         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
58222         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
58223         (__libc_missing_rt_sigs): Remove.
58224         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
58225         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
58226         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
58227         Remove conditional code.
58228         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
58229         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
58230         return 1.
58231         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
58232         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
58233         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
58234         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
58236 2012-05-14  Andreas Jaeger  <aj@suse.de>
58238         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
58239         it's not used in glibc.
58240         (__coshm1): Likewise.
58241         (__acosh1p): Likewise.
58242         (__sgn): Likewise.
58244         * manual/string.texi (Copying and Concatenation): Add missing
58245         variable in concat example.
58246         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
58248 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
58250         [BZ #14103]
58251         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
58252         __builtin_clzl with __builtin_clzll.
58254 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
58256         [BZ #14104]
58257         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
58258         libc_freeres_ptr.
58260 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58262         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
58263         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
58264         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
58265         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
58267 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
58269         * NEWS: Update ia64 info.
58271 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
58273         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
58274         used as bcopy.
58276 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
58278         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
58279         * sysdeps/unix/syscalls.list (dup3): Likewise.
58280         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
58281         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
58283 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
58285         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
58286         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
58288 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
58290         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
58291         thread pointer.
58292         (TLS_IE): Use mov/add instead of movq/addq to load thread
58293         pointer.
58294         (TLS_GD_PREFIX): New.
58295         (TLS_GD): Use it.
58297 2012-05-11  David S. Miller  <davem@davemloft.net>
58299         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
58300         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
58301         (_FPU_SETCW): Likewise.
58303 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
58305         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
58306         is 32-byte aligned.
58308 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
58310         [BZ #11837]
58311         * iconvdata/gb18030.c: Update tables.
58312         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
58313         characters specially.
58314         (BODY for TO_LOOP): Add encoding of missing ranges.
58316 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
58318         [BZ #13673]
58319         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
58320         * sysdeps/mach/hurd/dup3.c: Likewise.
58321         * sysdeps/mach/hurd/readlinkat.c: Likewise.
58322         * sysdeps/powerpc/memmove.c:: Likewise.
58324 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
58326         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
58327         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
58329 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
58331         * elf/elf.h (R_X86_64_RELATIVE64): New.
58332         (R_X86_64_NUM): Updated.
58333         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
58334         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
58335         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
58336         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
58337         tst-quad1pie tst-quad2pie
58338         (modules-names): Add tst-quadmod1 tst-quadmod2.
58339         ($(objpfx)tst-quad1): New dependency.
58340         ($(objpfx)tst-quad2): Likewise.
58341         ($(objpfx)tst-quad1pie): Likewise.
58342         ($(objpfx)tst-quad2pie): Likewise.
58343         * sysdeps/x86_64/tst-quad1.c: New file.
58344         * sysdeps/x86_64/tst-quad1pie.c: New file.
58345         * sysdeps/x86_64/tst-quad2.c: Likewise.
58346         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
58347         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
58348         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
58349         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
58350         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
58352 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58354         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
58355         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
58356         * streams/stropts.h (t_scalar_t): Define type.
58358         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
58359         (_PATH_PRESERVE): Set to "/var/lib".
58360         (_PATH_RWHODIR): Set to "/var/spool/rwho".
58362         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
58363         instead of int.
58365         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
58366         if __dir_mkfile succeeded.
58368         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
58369         checking for _hurd_dtablesize.  Unlock it right after having
58370         finished _hurd_dtable allocation.
58372 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
58374         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
58375         * sysdeps/mach/hurd/configure: Regenerated.
58376         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
58377         special-casing to...
58378         * sysdeps/gnu/configure.in: ... this new file.
58379         * sysdeps/unix/sysv/linux/configure: Regenerated.
58380         * sysdeps/gnu/configure: New generated file.
58382         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
58383         for Linux: use nsec instead of usec, as well as:
58384         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
58385         members of type struct timespec.
58386         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
58387         New macros.
58388         (struct stat64): Likewise.
58389         (_STATBUF_ST_NSEC): New macro.
58390         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
58392         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
58393         __strtoul_internal rather than strtoul.
58395 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
58397         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
58398         and reject them.
58400 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58402         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
58403         which preserves existing values.
58404         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
58406 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
58408         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
58409         TIMEOUT values.  Return EINVAL for NFDS values either negative or
58410         greater than FD_SETSIZE.
58412 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58414         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
58415         allocated, call __vm_protect to finish enabling the existing space, and
58416         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
58417         allocate the remainder.
58419 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
58421         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
58422         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
58424 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58426         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
58427         sysdeps/mach/hurd/readlink.c.
58429         * posix/tst-sysconf.c (posix_options): Only use
58430         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
58431         _POSIX_SYNCHRONIZED_IO when they are defined
58432         * sysdeps/mach/hurd/bits/posix_opt.h:
58433         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
58434         (_XOPEN_REALTIME): Undefine macro.
58435         (_XOPEN_REALTIME_THREADS): Undefine macro.
58436         (_XOPEN_SHM): Undefine macro.
58437         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
58438         macro to -1.
58439         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
58440         macro to -1.
58441         (_POSIX_ASYNC_IO): Undefine macro.
58442         (_POSIX_PRIORITIZED_IO): Undefine macro.
58443         (_POSIX_SPIN_LOCKS): Define macro to -1.
58445         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
58446         SA_NODEFER, SA_RESETHAND.
58447         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
58448         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
58449         F_DUPFD_CLOEXEC.
58451 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
58453         * elf/Makefile (pldd-modules): Define unconditionally.
58455 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
58457         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
58459 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58461         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
58462         Return ENOENT when name is empty.
58463         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
58465 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
58467         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
58469         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
58471 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58473         Fix mlock in all cases except non-readable pages.
58474         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
58475         instead of VM_PROT_ALL as parameter to __vm_wire function.
58477         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
58478         (__mkdir): When path is `/', just fail with EEXIST.
58479         * sysdeps/mach/hurd/mkdirat.c: Likewise.
58481 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
58483         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
58484         <sys/uio.h> (for writev).
58485         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
58486         and <sys/param.h> (for MIN).
58488 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
58490         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
58491         REQUESTED_TIME.  Properly set the remaining time and return EINTR
58492         if interrupted.
58494 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
58496         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
58497         Depend on against $(link-rpcuserlibs).
58499 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58501         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
58502         (__libc_stack_end): Do not use attribute_relro.
58503         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
58504         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
58505         to libthread-provided value.
58506         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
58507         attribute_relro.
58509 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
58511         [BZ #3748]
58512         * bits/libc-lock.h (__libc_once_get): New macro.
58513         * sysdeps/mach/bits/libc-lock.h: Likewise.
58514         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
58515         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
58516         instead of using implementation details.
58518         * libio/fileops.c: Unconditionally include <kernel-features.h>.
58519         * libio/freopen.c: Likewise.
58520         * libio/freopen64.c: Likewise.
58521         * misc/syslog.c: Likewise.
58522         * nscd/connections.c: Likewise.
58523         * nscd/netgroupcache.c: Likewise.
58524         * sysdeps/posix/getcwd.c: Likewise.
58526 2012-05-10  Roland McGrath  <roland@hack.frob.com>
58528         * math/w_ilogbf.c: Add #include <limits.h>.
58530 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58532         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
58533         path instead of returning without unlocking.
58535         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
58536         immediate-write ioctls.
58537         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
58539 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
58541         * sysdeps/mach/hurd/i386/init-first.c (init): Use
58542         __builtin_frame_address instead of making assumptions about the
58543         location of the return address relative to DATA.  Force early load of
58544         the return address.
58545         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
58546         __builtin_frame_address.
58548         dup3 for GNU Hurd.
58549         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
58550         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
58551         implement dup3 and do some further code clean-ups.
58552         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
58553         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
58555 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58557         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
58559         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
58560         HURD_CRITICAL_END around holding _hurd_dtable_lock.
58561         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
58562         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
58563         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
58564         d->port.lock.
58566         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
58567         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
58568         when handler == SIG_ERR, not when handler != SIG_ERR.
58570 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
58572         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
58573         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
58574         definitions.
58576         accept4 for GNU Hurd.
58577         * include/sys/socket.h (__libc_accept4): New prototype.
58578         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
58579         to implement __libc_accept4.
58580         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
58581         __libc_accept4.
58582         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
58584         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
58585         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
58586         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
58587         signal-defines.sym.
58589 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58591         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
58593 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
58595         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
58596         assertion on O_CLOEXEC flag.
58597         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
58598         * hurd/intern-fd.c: Likewise.
58599         * hurd/port2fd.c: Likewise.
58601 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58603         [BZ #3906]
58604         * bits/in.h (IPV6_PKTINFO): Define new macro.
58605         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
58607 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58609         [BZ #13954]
58610         [BZ #13955]
58611         [BZ #13956]
58612         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
58613         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
58614         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
58615         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
58616         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
58617         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
58618         * math/libm-test.inc (logb_test) : Additional logb tests.
58620 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
58621             Andreas Jaeger  <aj@suse.de>
58623         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
58624         * configure: Regenerated.
58625         * config.h.in (LINK_OBSOLETE_RPC): New macro.
58626         * config.make.in (link-obsolete-rpc): New substituted variable.
58627         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
58628         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
58629         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
58630         (shared-only-routines): Don't set it under [link-obsolete-rpc],
58631         so that libc.a contains the symbols.
58632         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
58633         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
58634         * sunrpc/auth_none.c: Likewise.
58635         * sunrpc/auth_unix.c: Likewise.
58636         * sunrpc/authdes_prot.c: Likewise.
58637         * sunrpc/authuxprot.c: Likewise.
58638         * sunrpc/clnt_gen.c: Likewise.
58639         * sunrpc/clnt_perr.c: Likewise.
58640         * sunrpc/clnt_raw.c: Likewise.
58641         * sunrpc/clnt_simp.c: Likewise.
58642         * sunrpc/clnt_tcp.c: Likewise.
58643         * sunrpc/clnt_udp.c: Likewise.
58644         * sunrpc/clnt_unix.c: Likewise.
58645         * sunrpc/des_crypt.c: Likewise.
58646         * sunrpc/des_soft.c: Likewise.
58647         * sunrpc/get_myaddr.c: Likewise.
58648         * sunrpc/key_call.c: Likewise.
58649         * sunrpc/key_prot.c: Likewise.
58650         * sunrpc/netname.c: Likewise.
58651         * sunrpc/pm_getmaps.c: Likewise.
58652         * sunrpc/pm_getport.c: Likewise.
58653         * sunrpc/pmap_clnt.c: Likewise.
58654         * sunrpc/pmap_prot.c: Likewise.
58655         * sunrpc/pmap_prot2.c: Likewise.
58656         * sunrpc/pmap_rmt.c: Likewise.
58657         * sunrpc/publickey.c: Likewise.
58658         * sunrpc/rpc_cmsg.c: Likewise.
58659         * sunrpc/rpc_common.c: Likewise.
58660         * sunrpc/rpc_dtable.c: Likewise.
58661         * sunrpc/rpc_prot.c: Likewise.
58662         * sunrpc/rpc_thread.c: Likewise.
58663         * sunrpc/rtime.c: Likewise.
58664         * sunrpc/svc.c: Likewise.
58665         * sunrpc/svc_auth.c: Likewise.
58666         * sunrpc/svc_raw.c: Likewise.
58667         * sunrpc/svc_run.c: Likewise.
58668         * sunrpc/svc_tcp.c: Likewise.
58669         * sunrpc/svc_udp.c: Likewise.
58670         * sunrpc/svc_unix.c: Likewise.
58671         * sunrpc/svcauth_des.c: Likewise.
58672         * sunrpc/xcrypt.c: Likewise.
58673         * sunrpc/xdr.c: Likewise.
58674         * sunrpc/xdr_array.c: Likewise.
58675         * sunrpc/xdr_float.c: Likewise.
58676         * sunrpc/xdr_intXX_t.c: Likewise.
58677         * sunrpc/xdr_mem.c: Likewise.
58678         * sunrpc/xdr_rec.c: Likewise.
58679         * sunrpc/xdr_ref.c: Likewise.
58680         * sunrpc/xdr_sizeof.c: Likewise.
58681         * sunrpc/xdr_stdio.c: Likewise.
58683 2012-05-10  Roland McGrath  <roland@hack.frob.com>
58685         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
58686         change.  Update copyright years.
58688 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
58690         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
58692 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
58693             Joseph Myers  <joseph@codesourcery.com>
58694             Paul Pluzhnikov  <ppluzhnikov@google.com>
58696         [BZ #14012]
58697         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
58698         requiring rpcgen.
58699         [cross-compiling] (extra-libs): Likewise.
58700         [cross-compiling] (extra-libs-others): Likewise.
58701         [cross-compiling] (librpcsvc-routines): Likewise.
58702         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
58703         [cross-compiling] (omit-deps): Likewise.
58704         (sunrpc-CPPFLAGS): New variable.
58705         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
58706         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
58707         (cross-rpcgen-objs): New variable.
58708         (extra-objs): Append $(cross-rpcgen-objs).
58709         ($(cross-rpcgen-objs)): New rule.
58710         ($(objpfx)cross-rpcgen): Likewise.
58711         (rpcgen-cmd): Define to use $(built-program-file).  Expand
58712         comment.
58713         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
58714         ($(objpfx)x%.stmp): Likewise.
58715         * sunrpc/proto.h [IS_IN_build] (_): Define.
58716         [IS_IN_build] (_libc_intl_domainname): Likewise.
58718 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
58720         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
58721         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
58722         and R_X86_64_TPOFF64.
58724 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
58726         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
58727         sysdeps/unix/sysv/syscalls.list.
58728         (stime): Likewise.
58729         (utime): Likewise.
58730         * sysdeps/unix/sysv/syscalls.list: Remove file.
58732 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
58734         [BZ #3440]
58735         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
58736         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
58737         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
58738         (__LC_IDENTIFICATION): Make these macros useful in #if
58739         expressions, as required by C99.
58741 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
58743         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
58744         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
58745         after this.
58747 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
58749         * stdlib/longlong.h: Updated from GCC.
58751 2012-05-09  Andreas Jaeger  <aj@suse.de>
58753         * nscd/nscd.c (run_modes): Make named enum, reorder so that
58754         default is first entry.
58755         (run_mode): Set type.
58756         (main): Remove informal message about syslog.
58757         (options): Fix typo.
58759         [BZ #14053]
58760         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
58761         to asm.
58762         (lrint): Likewise.
58763         (llrintf): Likewise.
58764         (llrint): Likewise.
58765         (rint): Likewise.
58766         (rintf): Likewise.
58767         (nearbyint): Likewise.
58768         (nearbyintf): Likewise.
58770 2012-05-09  Andreas Jaeger  <aj@suse.de>
58771             Pedro Alves  <palves@redhat.com>
58773         * nscd/nscd.c (run_mode): Use enum.
58774         (main): Cleanup coding style issue.
58776 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
58777             Andreas Jaeger  <aj@suse.de>
58779         * nscd/nscd.c (go_background): Replaced with...
58780         (run_mode): ... this.
58781         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
58782         (options): Add -F --foreground.
58783         (main): Implement it.
58784         (parse_opt): Parse it.
58786 2012-05-09  Andreas Jaeger  <aj@suse.de>
58788         [BZ #14083]
58789         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
58790         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
58791         -Wconversion warning.
58792         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
58793         Likewise.
58795 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
58797         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
58798         == 0.
58799         (LC_ALL): Use macro-int-constant.
58800         (LC_COLLATE): Likewise.
58801         (LC_CTYPE): Likewise.
58802         (LC_MESSAGES): Likewise.
58803         (LC_MONETARY): Likewise.
58804         (LC_NUMERIC): Likewise.
58805         (LC_TIME): Likewise.
58806         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
58807         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
58808         [ISO || ISO99 || ISO11] (*_t): Do not allow.
58809         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
58810         Specify type.
58811         [C99-based standards] (float_t): Expect type.
58812         [C99-based standards] (double_t): Expect type.
58813         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
58814         type.
58815         [C99-based standards] (HUGE_VALL): Likewise.
58816         [C99-based standards] (INFINITY): Likewise.
58817         [C99-based standards] (NAN): Likewise.
58818         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
58819         [C99-based standards] (FP_NAN): Likewise.
58820         [C99-based standards] (FP_NORMAL): Likewise.
58821         [C99-based standards] (FP_SUBNORMAL): Likewise.
58822         [C99-based standards] (FP_ZERO): Likewise.
58823         [C99-based standards] (FP_FAST_FMA): Use
58824         optional-macro-int-constant.  Specify type.  Require == 1.
58825         [C99-based standards] (FP_FAST_FMAF): Likewise.
58826         [C99-based standards] (FP_FAST_FMAL): Likewise.
58827         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
58828         [C99-based standards] (FP_ILOGBNAN): Likewise.
58829         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
58830         Specify type.
58831         [C99-based standards] (MATH_ERREXCEPT): Likewise.
58832         [C99-based standards] (math_errhandling): Specify type.
58833         [ISO99 || ISO11] (signgam): Do not allow.
58834         [non-C99-based standards] (copysignf): Do not allow.
58835         [non-C99-based standards] (exp2f): Likewise.
58836         [non-C99-based standards] (log2f): Likewise.
58837         [non-C99-based standards] (modff): Allow.
58838         [non-C99-based standards] (erff): Do not allow.
58839         [non-C99-based standards] (erfcf): Likewise.
58840         [non-C99-based standards] (gammaf): Likewise.
58841         [non-C99-based standards] (hypotf): Likewise.
58842         [non-C99-based standards] (j0f): Likewise.
58843         [non-C99-based standards] (j1f): Likewise.
58844         [non-C99-based standards] (jnf): Likewise.
58845         [non-C99-based standards] (lgammaf): Likewise.
58846         [non-C99-based standards] (tgammaf): Likewise.
58847         [non-C99-based standards] (y0f): Likewise.
58848         [non-C99-based standards] (y1f): Likewise.
58849         [non-C99-based standards] (ynf): Likewise.
58850         [non-C99-based standards] (isnanf): Likewise.
58851         [non-C99-based standards] (acoshf): Likewise.
58852         [non-C99-based standards] (asinhf): Likewise.
58853         [non-C99-based standards] (atanhf): Likewise.
58854         [non-C99-based standards] (cbrtf): Likewise.
58855         [non-C99-based standards] (expm1f): Likewise.
58856         [non-C99-based standards] (ilogbf): Likewise.
58857         [non-C99-based standards] (log1pf): Likewise.
58858         [non-C99-based standards] (logbf): Likewise.
58859         [non-C99-based standards] (nextafterf): Likewise.
58860         [non-C99-based standards] (remainderf): Likewise.
58861         [non-C99-based standards] (rintf): Likewise.
58862         [non-C99-based standards] (scalbf): Likewise.
58863         [non-C99-based standards] (copysignl): Likewise.
58864         [non-C99-based standards] (exp2l): Likewise.
58865         [non-C99-based standards] (log2l): Likewise.
58866         [non-C99-based standards] (modfl): Allow.
58867         [non-C99-based standards] (erfl): Do not allow.
58868         [non-C99-based standards] (erfcl): Likewise.
58869         [non-C99-based standards] (gammal): Likewise.
58870         [non-C99-based standards] (hypotl): Likewise.
58871         [non-C99-based standards] (j0l): Likewise.
58872         [non-C99-based standards] (j1l): Likewise.
58873         [non-C99-based standards] (jnl): Likewise.
58874         [non-C99-based standards] (lgammal): Likewise.
58875         [non-C99-based standards] (tgammal): Likewise.
58876         [non-C99-based standards] (y0l): Likewise.
58877         [non-C99-based standards] (y1l): Likewise.
58878         [non-C99-based standards] (ynl): Likewise.
58879         [non-C99-based standards] (isnanl): Likewise.
58880         [non-C99-based standards] (acoshl): Likewise.
58881         [non-C99-based standards] (asinhl): Likewise.
58882         [non-C99-based standards] (atanhl): Likewise.
58883         [non-C99-based standards] (cbrtl): Likewise.
58884         [non-C99-based standards] (expm1l): Likewise.
58885         [non-C99-based standards] (ilogbl): Likewise.
58886         [non-C99-based standards] (log1pl): Likewise.
58887         [non-C99-based standards] (logbl): Likewise.
58888         [non-C99-based standards] (nextafterl): Likewise.
58889         [non-C99-based standards] (remainderl): Likewise.
58890         [non-C99-based standards] (rintl): Likewise.
58891         [non-C99-based standards] (scalbl): Likewise.
58892         [ISO || ISO99 || ISO11] (*_t): Do not allow.
58893         [non-C99-based standards] (FP_*): Do not allow.
58894         [C99-based standards] (FP_*): Change to
58895         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
58896         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
58897         allow.
58898         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
58899         (SIG_ERR): Likewise.
58900         [X/Open-based standards] (SIG_HOLD): Likewise.
58901         (SIG_IGN): Likewise.
58902         (SIGABRT): Use macro-int-constant.  Specify type.  Require
58903         positive value.
58904         (SIGFPE): Likewise.
58905         (SIGILL): Likewise.
58906         (SIGINT): Likewise.
58907         (SIGSEGV): Likewise.
58908         (SIGTER): Likewise.
58909         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
58910         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
58911         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
58912         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
58913         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
58914         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
58915         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
58916         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
58917         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
58918         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
58919         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
58920         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
58921         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
58922         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
58923         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
58924         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
58925         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
58926         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
58927         [X/Open-based standards] (SIGTRAP): Likewise.
58928         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
58929         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
58930         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
58931         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
58932         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
58933         allow.
58935 2012-05-08  Ian Wienand  <ianw@vmware.com>
58937         [BZ #14080]
58938         * time/tzset.c (__tzset_parse_tz): Update default rules for
58939         daylight time changes in the Energy Policy Act of 2005.
58941 2012-05-09  Andreas Jaeger  <aj@suse.de>
58943         [BZ #13983]
58944         * elf/ldconfig.c (parse_conf): Change string to make clear that
58945         ldconfig only issued a warning if ld.so.conf does not exist.
58947 2012-05-08  David S. Miller  <davem@davemloft.net>
58949         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
58950         movxtod instead of popping the value on the stack.
58952         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58954 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
58956         * config.h.in: Add HAVE_ARM_PCS_VFP.
58958 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
58960         [BZ #13979]
58961         * include/features.h: Warn if user requests __FORTIFY_SOURCE
58962         checking but the checks are disabled for any reason.
58964 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
58966         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
58967         and ELF64_R_TYPE with ELFW(R_TYPE).
58969 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
58971         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
58972         (ulimit): Likewise.
58974         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
58975         (settimeofday): Likewise.
58977 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
58979         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
58980         a struct th_u2 inside the union, and move tu_block/tu_code into
58981         a new th_u3 union of tu_block/tu_code inside of that.  Move
58982         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
58983         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
58984         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
58985         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
58986         (th_stuff): Change to th_u1.tu_stuff.
58987         (th_data): Define.
58988         (th_msg): Change to th_u1.th_u2.tu_data.
58990 2012-05-07  David S. Miller  <davem@davemloft.net>
58992         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58994         [BZ #14074]
58995         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
58996         (SETUP_PIC_REG): Use it.
58997         (SETUP_PIC_REG_LEAF): Use it.
58999 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
59001         [BZ #13885]
59002         [BZ #13923]
59003         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
59004         USE_AS_EXPM1L.
59005         (EXPL_FINITE): Likewise.
59006         (FLDLOG): Likewise.
59007         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
59008         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
59009         e_expl.S.
59010         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
59011         USE_AS_EXPM1L.
59012         (EXPL_FINITE): Likewise.
59013         (FLDLOG): Likewise.
59014         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
59015         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
59016         e_expl.S.
59017         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
59018         test of -max_value argument for long double.
59019         * sysdeps/i386/fpu/libm-test-ulps: Update.
59020         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59022 2012-05-06  David S. Miller  <davem@davemloft.net>
59024         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
59025         quad soft-float symbols whose references which are compiler
59026         generated.
59027         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
59029 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
59031         [BZ #13884]
59032         [BZ #13914]
59033         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
59034         USE_AS_EXP10L.
59035         (EXPL_FINITE): Likewise.
59036         (FLDLOG): Likewise.
59037         (c0): Likewise.
59038         (c1): Likewise.
59039         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
59040         Adjust comments for base varying.
59041         (__expl_finite): Change alias to EXPL_FINITE.
59042         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
59043         e_expl.S.
59044         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
59045         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
59046         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
59047         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
59048         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
59049         USE_AS_EXP10L.
59050         (EXPL_FINITE): Likewise.
59051         (FLDLOG): Likewise.
59052         (c0): Likewise.
59053         (c1): Likewise.
59054         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
59055         Adjust comments for base varying.
59056         (__expl_finite): Change alias to EXPL_FINITE.
59057         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
59058         tests for bugs.
59059         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59061         [BZ #14064]
59062         * math/libm-test.inc (check_float_internal): Correct ulp
59063         calculation for subnormal expected results.
59065 2012-05-06  Andreas Jaeger  <aj@suse.de>
59067         * Makeconfig (+math-flags): New, set to -frounding-math.
59068         (+cflags): Add +math-flags so that all of glibc gets compiled with
59069         it.
59071         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
59073 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
59075         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
59076         Disable one test.
59078         [BZ #13787]
59079         [BZ #13922]
59080         [BZ #14036]
59081         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
59082         (__ieee754_expl): Allow for and saturate large arguments.
59083         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
59084         (u_threshold): Likewise.
59085         (__exp): Call __ieee754_exp before checking for overflow and
59086         underflow.
59087         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
59088         (u_threshold): Likewise.
59089         (__expf): Call __ieee754_expf before checking for overflow and
59090         underflow.
59091         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
59092         (u_threshold): Likewise.
59093         (__expl): Call __ieee754_expl before checking for overflow and
59094         underflow.
59095         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
59096         (__ieee754_expl): Allow for and saturate large arguments.
59097         * math/libm-test.inc (exp_test): Add another test.  Do not allow
59098         missing overflow exception on overflow.
59099         (expm1_test): Do not allow missing overflow exception on overflow.
59101         * sysdeps/i386/fpu/e_expl.c: Move to ...
59102         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
59103         rather than using inline asm.
59104         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
59105         * sysdeps/x86_64/fpu/e_expl.S: Copy from
59106         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
59108         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
59109         (nice): Likewise.
59110         (poll): Likewise.
59111         (signal): Likewise.
59112         (time): Likewise.
59113         (times): Likewise.
59115 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
59117         * sysdeps/unix/syscalls.list (adjtime): Add entry from
59118         sysdeps/unix/common/syscalls.list.
59119         (fchmod): Likewise.
59120         (fchown): Likewise.
59121         (ftruncate): Likewise.
59122         (getrusage): Likewise.
59123         (gettimeofday): Likewise.
59124         (setpgid): Likewise.
59125         (setregid): Likewise.
59126         (setreuid): Likewise.
59127         (sigaction): Likewise.
59128         (truncate): Likewise.
59129         (vhangup): Likewise.
59130         * sysdeps/unix/common/syscalls.list: Remove file.
59131         * sysdeps/unix/bsd/Implies: Don't include unix/common.
59132         * sysdeps/unix/sysv/linux/Implies: Likewise.
59134 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
59136         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
59137         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
59138         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
59139         Moved to ...
59140         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
59141         Here.
59142         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
59143         to ...
59144         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
59145         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
59146         to ...
59147         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
59148         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
59149         to ...
59150         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
59151         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
59152         to ...
59153         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
59154         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
59155         to ...
59156         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
59157         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
59158         to ...
59159         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
59160         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
59161         to ...
59162         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
59163         Here.
59164         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
59165         to ...
59166         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
59167         Here.
59168         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
59169         to ...
59170         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
59171         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
59172         Moved to ...
59173         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
59174         Here.
59175         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
59176         to ...
59177         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
59179 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
59181         * sysdeps/unix/common/bits/dirent.h: Remove file.
59182         * sysdeps/unix/common/bits/fcntl.h: Likewise.
59184         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
59185         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
59186         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
59187         * sysdeps/unix/bsd/isatty.c: Likewise.
59188         * sysdeps/unix/bsd/tcdrain.c: Likewise.
59189         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
59190         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
59192 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59194         [BZ #13563]
59195         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
59196         long double comparison inaccuracies.
59197         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
59198         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59200 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
59202         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
59203         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
59205 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
59207         [BZ #14049]
59208         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
59209         nonzero digits before rounding a hex value.
59210         * stdlib/tst-strtod.c (tests): Add another test.
59212 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59214         * sysdeps/s390/fpu/libm-test-ulps: Update.
59216 2012-05-03  Andreas Jaeger  <aj@suse.de>
59218         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
59219         does not get optimized out.
59220         (malloc_opt_barrier): New.
59222 2012-05-03  Andreas Jaeger  <aj@suse.de>
59223             Roland McGrath  <roland@hack.frob.com>
59225         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
59226         intermediate file deletion.
59227         (generated): Add .symlist files.
59229 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
59231         [BZ #13775]
59232         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
59233         Redirect under this condition.
59234         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
59235         [__USE_GNU] (__dprintf_chk): Not under this condition.
59236         [__USE_GNU] (__vdprintf_chk): Likewise.
59237         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
59238         under this condition.
59239         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
59240         [__USE_XOPEN2K8] (dprintf): Define under this condition.
59241         [__USE_XOPEN2K8] (vdprintf): Likewise.
59242         [__USE_GNU] (__dprintf_chk): Not under this condition.
59243         [__USE_GNU] (__vdprintf_chk): Likewise.
59244         [__USE_GNU] (dprintf): Likewise.
59245         [__USE_GNU] (vdprintf): Likewise.
59247 2012-05-03  Roland McGrath  <roland@hack.frob.com>
59249         * elf/Makefile (common-generated): Set this instead of generated for
59250         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
59251         $(all-built-dso)-derived lists.
59253 2012-05-03  Andreas Jaeger  <aj@suse.de>
59255         * sysdeps/i386/fpu/libm-test-ulps: Update.
59257         * FAQ: Removed.
59258         * FAQ.in: Likewise.
59259         * scripts/gen-FAQ.pl: Likewise.
59260         * manual/install.texi (Installation): Point to online location of
59261         FAQ.
59262         * Makefile (files-for-dist): Remove FAQ.
59263         (FAQ): Remove.
59265 2012-05-02  Allan McRae  <allan@archlinux.org>
59267         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
59268         (LDFLAGS-reldepmod5.so): Likewise.
59269         (LDFLAGS-reldep6mod1.so): Likewise.
59270         (LDFLAGS-reldep6mod4.so): Likewise.
59271         (LDFLAGS-reldep8mod3.so): Likewise.
59272         (LDFLAGS-unload4mod1.so): Likewise.
59273         (LDFLAGS-unload4mod2.so): Likewise.
59274         (LDFLAGS-tst-initorder): Likewise.
59275         (LDFLAGS-tst-initordera2.so): Likewise.
59276         (LDFLAGS-tst-initordera3.so): Likewise.
59277         (LDFLAGS-tst-initordera4.so): Likewise.
59278         (LDFLAGS-tst-initorderb2.so): Likewise.
59279         (LDFLAGS-noload): Likewise.
59280         (LDFLAGS-next): Likewise.
59281         (LDFLAGS-order2mod1.so): Likewise.
59282         (LDFLAGS-order2mod2.so): Likewise.
59283         (LDFLAGS-tst-initorder2): Likewise.
59284         (LDFLAGS-tst-initorder2a.so): Likewise.
59285         (LDFLAGS-tst-initorder2b.so): Likewise.
59286         (LDFLAGS-tst-initorder2c.so): Likewise.
59287         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
59289 2012-05-02  David S. Miller  <davem@davemloft.net>
59291         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59293 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
59295         [BZ #14055]
59296         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
59298 2012-05-02  Andreas Jaeger  <aj@suse.de>
59300         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
59301         since we manipulate rounding mode.
59302         (CPPFLAGS-test-idouble.c): Likewise.
59303         (CPPFLAGS-test-ifloat.c): Likewise.
59304         (CFLAGS-test-ldouble.c): Likewise.
59305         (CFLAGS-test-double.c): Likewise.
59306         (CFLAGS-test-float.c): Likewise.
59307         (CFLAGS-test-misc.c): Likewise.
59308         (CFLAGS-test-test-fenv.c): Likewise.
59310 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59312         [BZ #2550]
59313         [BZ #2570]
59314         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
59315         comparisons to determine direction to adjust input.
59317 2012-05-01  Roland McGrath  <roland@hack.frob.com>
59319         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
59320         output to the target.
59322         * scripts/localplt.awk: New file.
59323         * elf/Makefile ($(objpfx)check-localplt): Target removed.
59324         (check-localplt-CFLAGS): Variable removed.
59325         ($(all-built-dso:=.jmprel)): New static pattern rule.
59326         (generated): Add those targets.
59327         (localplt-built-dso): New variable.
59328         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
59330         * elf/check-localplt.c: File removed.
59332         * scripts/check-execstack.awk: New file.
59333         * elf/Makefile ($(objpfx)check-execstack): Target removed.
59334         (check-execstack-CFLAGS): Variable removed.
59335         ($(objpfx)check-execstack.h): Target removed.
59336         ($(objpfx)execstack-default): New target.
59337         (generated): Add that instead of check-execstack.h.
59338         ($(all-built-dso:=.phdr)): New static pattern rule.
59339         (generated): Add those targets.
59340         * elf/check-execstack.c: File removed.
59342         * scripts/check-textrel.awk: New file.
59343         * elf/Makefile ($(objpfx)check-textrel): Target removed.
59344         (check-textrel-CFLAGS): Variable removed.
59345         (all-built-dso): Use := to define.o
59346         ($(all-built-dso:=.dyn)): New static pattern rule.
59347         (generated): Add those targets.
59348         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
59349         * config.make.in (READELF): New substituted variable.
59350         * elf/check-textrel.c: File removed.
59352 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
59354         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
59355         allow.
59356         * conform/data/ctype.h-data [C99-based standards] (isblank):
59357         Expect function.
59358         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
59359         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
59360         [ISO || ISO99 || ISO11] (*_t): Do not allow.
59361         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
59362         Specify type.  Require positive value.
59363         (EILSEQ): Likewise.
59364         (ERANGE): Likewise.
59365         [ISO || POSIX] (EILSEQ): Do not expect.
59366         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
59367         Specify type.  Require positive value.
59368         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
59369         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
59370         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
59371         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
59372         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
59373         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
59374         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
59375         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
59376         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
59377         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
59378         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
59379         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
59380         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
59381         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
59382         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
59383         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
59384         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
59385         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
59386         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
59387         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
59388         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
59389         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
59390         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
59391         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
59392         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
59393         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
59394         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
59395         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
59396         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
59397         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
59398         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
59399         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
59400         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
59401         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
59402         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
59403         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
59404         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
59405         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
59406         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
59407         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
59408         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
59409         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
59410         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
59411         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
59412         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
59413         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
59414         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
59415         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
59416         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
59417         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
59418         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
59419         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
59420         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
59421         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
59422         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
59423         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
59424         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
59425         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
59426         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
59427         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
59428         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
59429         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
59430         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
59431         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
59432         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
59433         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
59434         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
59435         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
59436         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
59437         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
59438         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
59439         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
59440         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
59441         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
59442         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
59443         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
59444         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
59445         Require >= 2.
59446         (FLT_ROUNDS): Expect as macro, not constant.
59447         (FLT_MANT_DIG): Use macro-int-constant.
59448         (DBL_MANT_DIG): Likewise.
59449         (LDBL_MANT_DIG): Likewise.
59450         (FLT_DIG): Likewise.
59451         (DBL_DIG): Likewise.
59452         (LDBL_DIG): Likewise.
59453         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
59454         (DBL_MIN_EXP): Likewise.
59455         (LDBL_MIN_EXP): Likewise.
59456         (FLT_MAX_EXP): Use macro-int-constant.
59457         (DBL_MAX_EXP): Likewise.
59458         (LDBL_MAX_EXP): Likewise.
59459         (FLT_MAX_10_EXP): Likewise.
59460         (DBL_MAX_10_EXP): Likewise.
59461         (LDBL_MAX_10_EXP): Likewise.
59462         (FLT_MAX): Use macro-constant.
59463         (DBL_MAX): Likewise.
59464         (LDBL_MAX): Likewise.
59465         (FLT_EPSILON): Use macro-constant.  Give upper bound.
59466         (DBL_EPSILON): Likewise.
59467         (LDBL_EPSILON): Likewise.
59468         (FLT_MIN): Likewise.
59469         (DBL_MIN): Likewise.
59470         (LDBL_MIN): Likewise.
59471         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
59472         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
59473         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
59474         [ISO11] (FLT_HAS_SUBNORM): Likewise.
59475         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
59476         [ISO11] (DBL_DECIMAL_DIG): Likewise.
59477         [ISO11] (FLT_DECIMAL_DIG): Likewise.
59478         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
59479         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
59480         [ISO11] (FLT_TRUE_MIN): Likewise.
59481         [ISO11] (LDBL_TRUE_MIN): Likewise.
59482         [ISO || ISO99 || ISO11] (*_t): Do not allow.
59483         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
59484         (SCHAR_MIN): Use macro-int-constant.  Specify type.
59485         (SCHAR_MAX): Likewise.
59486         (UCHAR_MAX): Likewise.
59487         (CHAR_MIN): Likewise.
59488         (CHAR_MAX): Likewise.
59489         (MB_LEN_MAX): Use macro-int-constant.
59490         (SHRT_MIN): Use macro-int-constant.  Specify type.
59491         (SHRT_MAX): Likewise.
59492         (USHRT_MAX): Likewise.
59493         (INT_MAX): Likewise.
59494         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
59495         bound negative.
59496         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
59497         bound with "U".
59498         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
59499         bound with "L".
59500         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
59501         bound negative.  Suffix upper bound with "L".
59502         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
59503         bound with "UL".
59504         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
59505         Specify type.
59506         [C99-based standards] (LLONG_MAX): Likewise.
59507         [C99-based standards] (ULLONG_MAX): Likewise.
59508         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
59509         == 0.
59510         [ISO11] (max_align_t): Require type.
59511         [ISO || ISO99 || ISO11] (*_t): Do not allow.
59513         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
59514         from $CFLAGS, without defining away __attribute__ calls.
59515         (checknamespace): Use $CFLAGS_namespace.
59517         * conform/conformtest.pl (@keywords): Only include C99 keywords
59518         for standards based on C99 or C11.
59520         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
59521         Disable tests.
59522         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
59523         UNIX98]: Likewise.
59525         * conform/conformtest.pl: Handle "macro-int-constant" and test for
59526         usability of symbols in #if.
59528         * conform/conformtest.pl: If macro or constant types start
59529         "promoted:", expect the symbol to be of the following type
59530         promoted by the integer promotions.
59532         * conform/conformtest.pl: Parse all "constant" and "macro" lines
59533         in one place.  Also handle "macro-constant".
59535         * conform/conformtest.pl: Only accept expected macro values with
59536         "==".  Parse all "macro" lines in one place.
59537         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
59539         * conform/conformtest.pl: Handle braced types on "constant" lines
59540         instead of handling "typed-constant".
59541         * conform/data/signal.h-data: Use "constant" instead of
59542         "typed-constant".
59544         * conform/conformtest.pl: Handle "optional-" at start of lines in
59545         one place rather than duplicating several cases.  Handle each
59546         format of "macro" line with initial "optional-".
59548         * conform/conformtest.pl: Only accept expected constant or
59549         optional-constant values with "==".  Parse all "constant" lines in
59550         one place.  Parse all "optional-constant" lines in one place.
59551         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
59552         * conform/data/fmtmsg.h-data: Likewise.
59553         * conform/data/netinet/in.h-data: Likewise.
59554         * conform/data/tar.h-data: Likewise.
59555         * conform/data/limits.h-data: Use "==" form on "constant" and
59556         "optional-constant" lines.
59558         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
59559         Use -std=c99 for XOPEN2K.
59560         (@knownproblems): Remove.
59561         (newtoken): Don't check %isknown.
59563         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
59564         Do not expect macro.
59565         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
59566         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
59567         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
59568         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
59569         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
59570         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
59571         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
59572         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
59573         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
59574         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
59575         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
59576         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
59577         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
59578         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
59579         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
59580         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
59581         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
59582         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
59583         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
59584         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
59585         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
59586         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
59587         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
59588         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
59589         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
59590         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
59591         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
59592         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
59593         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
59594         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
59595         [XPG3] (acosh): Likewise.
59596         [XPG3] (asinh): Likewise.
59597         [XPG3] (atanh): Likewise.
59598         [XPG3] (cbrt): Likewise.
59599         [XPG3] (expm1): Likewise.
59600         [XPG3] (ilogb): Likewise.
59601         [XPG3] (log1p): Likewise.
59602         [XPG3] (logb): Likewise.
59603         [XPG3] (nextafter): Likewise.
59604         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
59605         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
59606         [XPG3] (remainder): Likewise.
59607         [XPG3] (rint): Likewise.
59608         [XPG3 || XPG4 || UNIX98] (round): Likewise.
59609         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
59610         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
59611         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
59612         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
59613         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
59614         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
59615         [UNIX98 || XOPEN2K] (scalb): Expect.
59616         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
59617         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
59618         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
59619         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
59620         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
59621         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
59622         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
59623         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
59624         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
59625         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
59626         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
59627         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
59628         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
59629         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
59630         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
59631         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
59632         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
59633         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
59634         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
59635         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
59636         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
59637         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
59638         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
59639         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
59640         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
59641         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
59642         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
59643         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
59644         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
59645         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
59646         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
59647         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
59648         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
59649         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
59650         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
59651         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
59652         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
59653         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
59654         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
59655         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
59656         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
59657         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
59658         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
59659         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
59660         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
59661         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
59662         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
59663         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
59664         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
59665         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
59666         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
59667         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
59668         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
59669         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
59670         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
59671         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
59672         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
59673         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
59674         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
59675         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
59676         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
59677         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
59678         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
59679         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
59680         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
59681         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
59682         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
59683         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
59684         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
59685         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
59686         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
59687         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
59688         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
59689         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
59690         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
59691         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
59692         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
59693         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
59694         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
59695         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
59696         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
59697         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
59698         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
59699         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
59700         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
59701         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
59702         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
59703         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
59704         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
59705         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
59706         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
59707         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
59708         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
59709         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
59710         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
59711         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
59712         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
59713         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
59714         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
59715         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
59716         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
59717         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
59718         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
59719         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
59720         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
59721         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
59722         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
59723         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
59724         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
59725         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
59726         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
59727         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
59728         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
59729         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
59730         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
59731         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
59732         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
59733         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
59734         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
59735         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
59736         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
59737         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
59738         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
59739         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
59740         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
59741         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
59742         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
59743         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
59744         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
59745         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
59746         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
59747         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
59748         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
59749         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
59750         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
59751         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
59752         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
59754         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
59755         _XOPEN_SOURCE_EXTENDED for XPG4.
59757         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
59759         * Makeconfig (localtime): Remove variable.
59760         (inst_localtime-file): Likewise.
59762 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
59764         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
59765         Update.
59766         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
59767         Update.
59768         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
59769         Update.
59770         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
59771         Update.
59772         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
59773         Update.
59774         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
59775         Update.
59776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
59777         Update.
59778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
59779         Update.
59780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
59781         Update.
59783 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
59785         [BZ #2550]
59786         [BZ #2570]
59787         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
59788         comparisons to determine direction to adjust input.
59789         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
59790         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
59791         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
59792         Likewise.
59793         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
59794         Likewise.
59795         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
59796         Likewise.
59797         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
59798         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
59799         Likewise.
59800         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
59801         Likewise.
59802         * math/libm-test.inc (nexttoward_test): Add more tests.
59804 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
59806         [BZ #14040]
59807         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
59808         in version GLIBC_2.1, not GLIBC_2.0.
59809         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
59810         Likewise.
59812 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
59814         [BZ #13942]
59815         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
59816         (1 - x) * (1 + x).
59817         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
59818         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
59819         * math/libm-test.inc (acos_test): Add more tests.
59820         (asin_test): Likewise.
59821         * sysdeps/i386/fpu/libm-test-ulps: Update.
59822         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59824         [BZ #14034]
59825         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
59826         of square root.
59827         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
59828         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
59829         * math/libm-test.inc (acos_test_tonearest): New function.
59830         (acos_test_towardzero): Likewise.
59831         (acos_test_downward): Likewise.
59832         (acos_test_upward): Likewise.
59833         (asin_test_tonearest): Likewise.
59834         (asin_test_towardzero): Likewise.
59835         (asin_test_downward): Likewise.
59836         (asin_test_upward): Likewise.
59837         (main): Call the new functions.
59838         * sysdeps/i386/fpu/libm-test-ulps: Update.
59839         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59841         [BZ #13884]
59842         [BZ #13924]
59843         * math/e_exp10.c: Include <float.h>.
59844         (__ieee754_exp10): Handle underflow here rather than multiplying
59845         large negative argument by M_LN10.
59846         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
59847         of __ieee754_expf.
59848         * math/e_exp10l.c: Include <float.h>.
59849         (__ieee754_exp10l): Handle underflow here rather than multiplying
59850         large negative argument by M_LN10l.
59851         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
59852         spurious overflow exception on underflow.
59854 2012-04-29  Marek Polacek  <polacek@redhat.com>
59856         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
59857         (__fortify_function): New macro.
59858         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
59859         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
59860         __extern_always_inline.
59861         * libio/bits/stdio2.h: Likewise.
59862         * libio/bits/stdio.h: Likewise.
59863         * string/string.h: Likewise.
59864         * string/bits/string3.h: Likewise.
59865         * include/stdio.h: Likewise.
59866         * stdlib/bits/stdlib.h: Likewise.
59867         * stdlib/stdlib.h: Likewise.
59868         * rt/bits/mqueue2.h: Likewise.
59869         * rt/mqueue.h: Likewise.
59870         * posix/bits/unistd.h: Likewise.
59871         * posix/unistd.h: Likewise.
59872         * io/bits/poll2.h: Likewise.
59873         * io/bits/fcntl2.h: Likewise.
59874         * io/fcntl.h: Likewise.
59875         * io/sys/poll.h: Likewise.
59876         * misc/bits/syslog.h: Likewise.
59877         * misc/bits/syslog-ldbl.h: Likewise.
59878         * misc/sys/syslog.h: Likewise.
59879         * socket/bits/socket2.h: Likewise.
59880         * socket/sys/socket.h: Likewise.
59881         * debug/tst-chk1.c: Likewise.
59882         * wcsmbs/bits/wchar2.h: Likewise.
59883         * wcsmbs/bits/wchar-ldbl.h: Likewise.
59884         * wcsmbs/wchar.h: Likewise.
59886 2012-04-29  Andreas Jaeger  <aj@suse.de>
59888         * Makerules (tests): Remove enable-check-abi protection.
59889         (check-abi-warn): Remove.
59890         (check-abi-%): Remove check-abi-warn usage.
59892         * configure.in: Remove check-abi configure option.
59893         * configure: Regenerated.
59894         * config.make.in (enable-check-abi): Remove.
59896 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
59898         [BZ #14033]
59899         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
59900         double functions to double *_finite functions.
59902         [BZ #13941]
59903         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
59904         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
59905         LDBL_MIN_EXP.
59906         * stdio-common/Makefile (tests): Add tst-sprintf3.
59907         * stdio-common/tst-sprintf3.c: New file.
59909         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
59910         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
59912 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
59914         * conform/conformtest.pl: Remove duplicate typed-constant
59915         handling.
59917 2012-04-28  David S. Miller  <davem@davemloft.net>
59919         * Makerules (%.abilist): Add vpath on sysdep_dirs.
59920         (check-abi-%): Remove AWK script prerequisite and explicit
59921         abilist directory.
59922         (check-abi): Rewrite to just diff the symlist with the abilist.
59923         (config-tls, config-abi-config): Delete, no longer used.
59924         (update-abi-%): Remove AWK script and explicit abilist directory.
59925         (update-abi): Rewrite to simply compare and conditionally copy the
59926         symlist and the sysdep abilist file.  Remove update-abi-config
59927         checks.
59928         * abilist/ld.abilist: Remove.
59929         * abilist/libBrokenLocale.abilist: Remove.
59930         * abilist/libanl.abilist: Remove.
59931         * abilist/libcrypt.abilist: Remove.
59932         * abilist/libdl.abilist: Remove.
59933         * abilist/librt.abilist: Remove.
59934         * abilist/libthread_db.abilist: Remove.
59935         * abilist/libutil.abilist: Remove.
59936         * scripts/extract-abilist.awk: Remove.
59937         * scripts/merge-abilist.awk: Remove.
59938         * sysdeps/generic/libcidn.abilist: New file.
59939         * sysdeps/generic/libnss_compat.abilist: New file.
59940         * sysdeps/generic/libnss_db.abilist: New file.
59941         * sysdeps/generic/libnss_dns.abilist: New file.
59942         * sysdeps/generic/libnss_files.abilist: New file.
59943         * sysdeps/generic/libnss_hesiod.abilist: New file.
59944         * sysdeps/generic/libnss_nis.abilist: New file.
59945         * sysdeps/generic/libnss_nisplus.abilist: New file.
59946         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
59947         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
59948         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
59949         file.
59950         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
59951         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
59952         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
59953         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
59954         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
59955         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
59956         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
59957         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
59958         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
59959         file.
59960         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
59961         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
59962         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
59963         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
59964         file.
59965         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
59966         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
59967         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
59968         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
59969         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
59970         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
59971         file.
59972         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
59973         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
59974         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
59975         file.
59976         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
59977         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
59978         New file.
59979         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
59980         New file.
59981         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
59982         New file.
59983         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
59984         New file.
59985         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
59986         New file.
59987         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
59988         New file.
59989         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
59990         New file.
59991         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
59992         New file.
59993         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
59994         New file.
59995         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
59996         New file.
59997         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
59998         New file.
59999         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
60000         New file.
60001         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
60002         New file.
60003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
60004         file.
60005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
60006         New file.
60007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
60008         New file.
60009         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
60010         file.
60011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
60012         New file.
60013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
60014         New file.
60015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
60016         file.
60017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
60018         New file.
60019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
60020         New file.
60021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
60022         New file.
60023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
60024         New file.
60025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
60026         New file.
60027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
60028         New file.
60029         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
60030         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
60031         file.
60032         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
60033         New file.
60034         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
60035         file.
60036         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
60037         file.
60038         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
60039         file.
60040         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
60041         file.
60042         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
60043         file.
60044         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
60045         New file.
60046         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
60047         file.
60048         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
60049         file.
60050         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
60051         New file.
60052         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
60053         file.
60054         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
60055         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
60056         file.
60057         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
60058         New file.
60059         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
60060         file.
60061         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
60062         file.
60063         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
60064         file.
60065         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
60066         file.
60067         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
60068         file.
60069         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
60070         New file.
60071         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
60072         file.
60073         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
60074         file.
60075         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
60076         New file.
60077         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
60078         file.
60079         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
60080         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
60081         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
60082         file.
60083         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
60084         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
60085         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
60086         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
60087         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
60088         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
60089         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
60090         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
60091         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
60092         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
60093         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
60094         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
60095         file.
60096         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
60097         New file.
60098         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
60099         file.
60100         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
60101         file.
60102         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
60103         file.
60104         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
60105         file.
60106         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
60107         file.
60108         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
60109         New file.
60110         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
60111         New file.
60112         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
60113         file.
60114         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
60115         New file.
60116         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
60117         file.
60118         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
60119         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
60120         file.
60121         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
60122         New file.
60123         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
60124         file.
60125         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
60126         file.
60127         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
60128         file.
60129         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
60130         file.
60131         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
60132         file.
60133         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
60134         New file.
60135         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
60136         New file.
60137         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
60138         file.
60139         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
60140         New file.
60141         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
60142         file.
60144 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
60146         * conform/conformtest.pl: Fix typo in handling typed-constant from
60147         allow-header.
60149 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
60151         * README: Cut down references to pre-2.6 Linux kernels and
60152         Linuxthreads.  Update lists of configurations in libc and ports
60153         and sort alphabetically.  Say "or newer" with Linux kernel version
60154         requirements.
60156         * config.h.in [IS_IN_build]: Allow compiling without optimization.
60158 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
60160         [BZ #887]
60161         * math/libm-test.inc (logb_test_downward): New test to expose
60162         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
60163         rounding mode.
60165 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
60167         [BZ #14027]
60168         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
60169         to be done.
60170         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
60171         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
60173 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
60175         * sysdeps/unix/i386/brk.S: Remove file.
60176         * sysdeps/unix/i386/dl-brk.S: Likewise.
60177         * sysdeps/unix/i386/pipe.S: Likewise.
60178         * sysdeps/unix/i386/sigreturn.S: Likewise.
60179         * sysdeps/unix/i386/syscall.S: Likewise.
60180         * sysdeps/unix/i386/vfork.S: Likewise.
60181         * sysdeps/unix/i386/wait.S: Likewise.
60183         * sysdeps/unix/common/tcsendbrk.c: Move to ...
60184         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
60186         * configure.in (arm*-none*): Do not allow without
60187         --enable-hacker-mode.
60188         (netbsd*): Remove case setting base_os.
60189         (386bsd*): Likewise.
60190         (freebsd*): Likewise.
60191         (bsdi*): Likewise.
60192         (osf*): Likewise.
60193         (sunos*): Likewise.
60194         (ultrix*): Likewise.
60195         (newsos*): Likewise.
60196         (dynix*): Likewise.
60197         (*bsd*): Likewise.
60198         (sysv*): Likewise.
60199         (isc*): Likewise.
60200         (esix*): Likewise.
60201         (sco*): Likewise.
60202         (minix*): Likewise.
60203         (irix4*): Likewise.
60204         (irix6*): Likewise.
60205         (solaris[2-9]*): Likewise.
60206         (none): Likewise.
60207         * configure: Regenerated.
60209 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60211         [BZ #11521]
60212         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
60213         overflow or cancellation in calculating denominator.
60214         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
60215         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
60216         down expression to avoid unexpected rounding in newer GCCs.
60217         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
60219 2012-04-26  David S. Miller  <davem@davemloft.net>
60221         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
60222         long-double compat symbols.
60223         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
60224         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
60225         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
60226         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
60227         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
60228         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
60229         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
60230         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
60231         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
60232         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
60233         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
60234         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
60235         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
60237 2012-04-25  David S. Miller  <davem@davemloft.net>
60239         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
60240         HWCAP_* values only after the memory barriers have been defined.
60241         (atomic_full_barrier): Define.
60242         (atomic_read_barrier): Define.
60243         (atomic_write_barrier): Define.
60245 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
60247         * shlib-versions: Add libgcc_s version information.
60248         * sysdeps/generic/libgcc_s.h: Remove.
60249         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
60250         libgcc_s.h.
60251         * sysdeps/gnu/unwind-resume.c: Likewise.
60252         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
60254 2012-04-25  David S. Miller  <davem@davemloft.net>
60256         * sysdeps/unix/sparc/brk.S: Delete.
60257         * sysdeps/unix/sparc/dl-brk.S: Delete.
60258         * sysdeps/unix/sparc/pipe.S: Delete.
60259         * sysdeps/unix/sparc/sysdep.S: Delete.
60260         * sysdeps/unix/sparc/sysdep.h: Delete.
60261         * sysdeps/unix/sparc/vfork.S: Delete.
60262         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
60263         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
60264         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
60265         (ret_ERRVAL, r0, r1, MOVE): Define.
60266         (JUMPTARGET): Remove.
60267         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
60268         sysdeps/unix/sparc/sysdep.h
60269         (ENTRY, END): Remove.
60270         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
60272 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
60274         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
60275         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
60276         -DIS_IN_build.
60278         * timezone/README: Update upstream location and email address for
60279         tzcode and tzdata.
60280         * timezone/zdump.c: Update from tzcode 2012b.
60281         * timezone/zic.c: Likewise.
60283         * configure.in (libc_cv_as_needed): Remove test.
60284         * configure: Regenerated.
60285         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
60286         conditional definition.
60287         [$(have-as-needed) != yes] (no-as-needed): Likewise.
60288         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
60289         * config.make.in (have-as-needed): Remove variable.
60291 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
60292             Paul Pluzhnikov  <ppluzhnikov@google.com>
60294         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
60295         strings correctly.
60297 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
60299         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
60300         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
60301         * sysdeps/sh/strlen.S: Likewise.
60303 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
60305         * sysdeps/unix/fork.S: Remove file.
60306         * sysdeps/unix/i386/fork.S: Likewise.
60307         * sysdeps/unix/sparc/fork.S: Likewise.
60309         * sysdeps/unix/system.c: Remove file.
60310         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
60312         * sysdeps/unix/getegid.S: Remove file.
60313         * sysdeps/unix/geteuid.S: Likewise.
60315 2012-04-24  Roland McGrath  <roland@hack.frob.com>
60317         * scripts/check-localplt.awk: New file.
60318         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
60319         of diff.
60320         * scripts/data/localplt-generic.data: Add a comment.
60322         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
60323         NODE when __dir_mkfile failed.
60324         * sysdeps/mach/hurd/symlinkat.c: Likewise.
60325         Reported by Ludovic Courtès <ludo@gnu.org>.
60327 2012-04-24  Andreas Jaeger  <aj@suse.de>
60329         * Makerules (common-clean): Also remove gen-as-const-headers
60330         files.
60332 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
60334         * Makerules (native-compile): Do not change working directory for
60335         build.  Use $(OUTPUT_OPTION) in command.
60336         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
60338 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60340         [BZ #13886]
60341         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
60342         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
60343         * math/libm-test.inc (floor_test): Add more tests.
60344         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
60346 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
60348         * sysdeps/unix/getdents.c: Remove file.
60349         * sysdeps/unix/sysv/getdents.c: Likewise.
60350         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
60352         * sysdeps/unix/syscalls.list (madvise): Add syscall from
60353         sysdeps/unix/mman/syscalls.list.
60354         (mmap): Likewise.
60355         (mprotect): Likewise.
60356         (msync): Likewise.
60357         (munmap): Likewise.
60358         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
60359         * sysdeps/unix/mman/syscalls.list: Remove.
60360         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
60362         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
60363         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
60364         * configure: Regenerated.
60365         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
60366         $(libgcc_s_suffix).
60367         * config.make.in (libgcc_s_suffix): Remove variable.
60369 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
60371         * sysdeps/unix/sysv/gethostname.c: Move to ...
60372         * sysdeps/posix/gethostname.c: ... here.
60374         * sysdeps/unix/execve.S: Remove file.
60376         * sysdeps/unix/_exit.S: Remove file.
60378 2012-04-23  Andreas Jaeger  <aj@suse.de>
60380         [BZ #13739]
60381         * manual/Makefile: Remove make dist support, there's no
60382         need for a stand-alone documentation tar ball.
60383         (TEXI2DVI): Define always, it's not in Makeconfig.
60384         (dist): Removed.
60385         (tar-it): Removed.
60386         (edition): Removed.
60387         (glibc-doc-$(edition).tar): Removed
60388         (%.Z): Removed.
60389         (%.gz): Removed.
60390         (%.uu): Removed.
60391         (ETAGS): Remove, it's in Makeconfig.
60392         (move-if-change): Remove, it's in Makeconfig.
60394 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
60396         [BZ #13970]
60397         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
60398         (strtod, strtof, strtold, strtol, strtoul, strtoq)
60399         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
60400         (strtod_l, strtof_l, strtold_l): Remove __wur.
60401         It is not necessarily an error to ignore strtol's return value.
60402         One can reliably look at the stored endptr to decide whether
60403         the number had valid syntax.
60405 2012-04-21  Andreas Jaeger  <aj@suse.de>
60407         [BZ #13739]
60408         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
60410 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
60412         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
60413         * sysdeps/unix/sysv/Versions: Remove file.
60415 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
60417         [BZ #13927]
60418         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60420 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
60422         [BZ #7064]
60423         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
60424         version from __vm86.
60426 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
60428         * sysdeps/unix/common/lxstat.c: Remove file.
60429         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
60431         * sysdeps/unix/sysv/Makefile: Remove file.
60433         * sysdeps/unix/sysv/direct.h: Remove file.
60435         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
60436         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
60437         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
60438         * sysdeps/unix/sysv/bits/signum.h: Likewise.
60439         * sysdeps/unix/sysv/bits/stat.h: Likewise.
60440         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
60441         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
60443         * sysdeps/unix/sysv/setrlimit.c: Remove file.
60445         * sysdeps/unix/xmknod.c: Remove file.
60446         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
60448         * sysdeps/unix/sysv/settimeofday.c: Remove file.
60450         * sysdeps/unix/sysv/i386/time.S: Remove file.
60452         * sysdeps/unix/fxstat.c: Remove file.
60453         * sysdeps/unix/xstat.c: Likewise.
60454         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
60456         * sysdeps/unix/sysv/sigaction.c: Remove file.
60458         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
60459         (sysdep_headers): Remove variable.
60460         [termio.h not in sysdep_headers] (generated): Likewise.
60461         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
60462         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
60463         * sysdeps/unix/sysv/tcdrain.c: Likewise.
60464         * sysdeps/unix/sysv/tcflow.c: Likewise.
60465         * sysdeps/unix/sysv/tcflush.c: Likewise.
60466         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
60467         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
60468         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
60469         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
60470         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
60472         * sysdeps/unix/siglist.c: Remove file.
60474         * sysdeps/unix/getppid.S: Remove file.
60476         * sysdeps/unix/mkdir.c: Remove file.
60477         * sysdeps/unix/rmdir.c: Likewise.
60479 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
60481         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
60482         ERR_MAX value.
60483         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
60484         errlist-compat value.
60486 2012-04-18  David S. Miller  <davem@davemloft.net>
60488         * sysdeps/generic/memcopy.h (reg_char): Delete.
60489         * debug/strcat_chk.c: Use char, not reg_char.
60490         * debug/strcpy_chk.c: Likewise.
60491         * debug/strncat_chk.c: Likewise.
60492         * debug/strncpy_chk.c: Likewise.
60493         * string/memchr.c: Likewise.
60494         * string/memrchr.c: Likewise.
60495         * string/rawmemchr.c: Likewise.
60496         * string/strcat.c: Likewise.
60497         * string/strchr.c: Likewise.
60498         * string/strchrnul.c: Likewise.
60499         * string/strcmp.c: Likewise.
60500         * string/strcpy.c: Likewise.
60501         * string/strncat.c: Likewise.
60502         * string/strncmp.c: Likewise.
60503         * string/strncpy.c: Likewise.
60505 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
60507         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
60508         __builtin_memcopy is called when src and dest ranges are known to not
60509         overlap.
60511 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
60513         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
60514         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
60515         fwd_align_merge macro call.
60516         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
60517         bwd_align_merge macro call.
60518         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
60520 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
60522         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
60523         bwd_align_merge macros.
60524         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
60525         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
60526         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
60528 2012-04-18  David S. Miller  <davem@davemloft.net>
60530         * sysdeps/sparc/sparc64/memcopy.h: Delete.
60532 2012-04-18  Andreas Jaeger  <aj@suse.de>
60534         [BZ# 6794]
60535         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
60536         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
60537         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
60539         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
60540         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
60541         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
60543         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
60544         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
60545         Adjust for changed ldbl-128 files.
60547         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
60548         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
60549         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
60551 2012-04-17  David S. Miller  <davem@davemloft.net>
60553         * sysdeps/sparc/sparc32/memcopy.h: Delete.
60555 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
60557         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
60558         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
60559         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
60560         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
60561         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
60562         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
60564 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60566         [BZ #6794]
60567         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
60568         * math/libm-test.inc: Add ilogb errno and exception tests.
60569         * math/w_ilogb.c: New file: ilogb wrapper.
60570         * math/w_ilogbf.c: New file: ilogbf wrapper.
60571         * math/w_ilogbl.c: New file: ilogbl wrapper.
60572         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
60573         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
60574         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
60575         exception being thrown with 0.0 as argument.
60576         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
60577         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
60578         exception being thrown with 0.0 as argument.
60579         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
60580         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
60581         exception being thrown with 0.0 as argument.
60582         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
60583         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
60584         exception being thrown with 0.0 as argument.
60585         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
60586         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
60587         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
60588         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
60589         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
60590         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
60591         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
60592         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
60593         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
60595 2012-04-17  Petr Baudis  <pasky@ucw.cz>
60597         * include/sys/uio.h: Change __vector to __iovec to avoid clash
60598         with altivec.
60600 2012-04-16  Marek Polacek  <polacek@redhat.com>
60602         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
60604 2012-04-16  Marek Polacek  <polacek@redhat.com>
60606         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
60607         operands of fdivp instruction.
60609 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
60611         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
60612         * elf/tst-auditmod3b.c: Likewise.
60613         * elf/tst-auditmod4b.c: Likewise.
60614         * elf/tst-auditmod5b.c: Likewise.
60615         * elf/tst-auditmod6b.c: Likewise.
60616         * elf/tst-auditmod6c.c: Likewise.
60617         * elf/tst-auditmod7b.c: Likewise.
60618         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
60619         * sysdeps/x86_64/preconfigure.in: Likewise.
60620         * sysdeps/x86_64/preconfigure: Regenerated.
60622 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
60624         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
60625         __ILP32__.
60627 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
60629         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
60630         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
60632 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
60634         [BZ #13973]
60635         * locale/iso-639.def: Fix gl language name. Spotted by
60636         Yaron Shahrabani.
60638 2012-04-12  Roland McGrath  <roland@hack.frob.com>
60640         [BZ #2074]
60641         * libio/libio.h (__io_write_fn): Update comment.
60643 2012-04-12  Petr Baudis  <pasky@ucw.cz>
60645         [BZ #2074]
60646         * stdio.texi (Hook Functions): The user provided writer function
60647         is not allowed to return -1.
60649 2012-04-11  David S. Miller  <davem@davemloft.net>
60651         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60653 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
60655         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
60656         Add a leading slash to rtkaio.
60658 2012-04-11  Jim Meyering  <meyering@redhat.com>
60660         [BZ #11959]
60661         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
60662         It is not necessarily an error to ignore fwrite's return
60663         value.  One can reliably use ferror to test for errors after
60664         the fact.
60666 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
60668         * bits/types.h (__snseconds_t): New type.
60669         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
60671         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
60672         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
60673         (__SNSECONDS_T_TYPE): Likewise.
60674         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
60675         (__SNSECONDS_T_TYPE): Likewise.
60676         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
60677         (__SNSECONDS_T_TYPE): Likewise.
60679 2012-04-10  Andreas Jaeger  <aj@suse.de>
60681         [BZ #2636]
60682         * manual/time.texi (Processor Time): Return type of times is
60683         elapsed real time since an arbitrary point in the past.
60684         (CPU Time): Move CLK_TCK from here...
60685         (Processor Time): ...to here.  Correct description.
60686         * manual/conf.texi (Constants for Sysconf): Correct description of
60687         _SC_CLK_TCK.
60689 2012-04-10  David S. Miller  <davem@davemloft.net>
60691         [BZ #13967]
60692         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
60693         where the is a gap between DT_REL(A) and DT_JMPREL.
60695 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
60697         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
60698         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
60699         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
60701 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
60703         * elf/dl-support.c (_dl_inhibit_cache): New variable.
60704         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
60705         (dl_main): Handle --inhibit-cache.
60706         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
60707         _dl_inhibit_cache.
60708         * elf/dl-load.c (_dl_map_object): Use it.
60709         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
60711 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
60713         [BZ #13872]
60714         * sysdeps/i386/fpu/e_powl.S (p78): New object.
60715         (__ieee754_powl): Saturate large exponents rather than testing for
60716         overflow of y*log2(x).
60717         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
60718         * math/libm-test.inc (pow_test): Do not permit spurious overflow
60719         exceptions.
60721         [BZ #11521]
60722         * math/s_ctan.c: Include <float.h>.
60723         (__ctan): Avoid internal overflow or cancellation in calculating
60724         denominator.
60725         * math/s_ctanf.c: Likewise.
60726         * math/s_ctanl.c: Likewise.
60727         * math/s_ctanh.c: Likewise.
60728         * math/s_ctanhf.c: Likewise.
60729         * math/s_ctanhl.c: Likewise.
60730         * math/libm-test.inc (ctan_test): Add more tests.
60731         (ctanh_test): Likewise.
60732         * sysdeps/i386/fpu/libm-test-ulps: Update.
60733         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60735 2012-04-09  Andreas Jaeger  <aj@suse.de>
60737         [BZ #6894]
60738         * manual/filesys.texi (Directory Entries): Mention that d_namlen
60739         is an optional BSD extension.
60741         [BZ #10254]
60742         * manual/stdio.texi (Opening Streams): Document additional fopen
60743         parameters.
60745 2012-04-09  Roland McGrath  <roland@hack.frob.com>
60747         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
60748         %eax without telling the compiler.
60750 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
60752         [BZ # 13963]
60753         * manual/install.texi: Use sourceware.org.
60755 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
60757         [BZ #13873]
60758         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
60759         (__ieee754_pow): Generate overflow and underflow using huge*huge
60760         and tiny*tiny rather than just returning constant infinity or zero
60761         for large exponents.
60762         * math/libm-test.inc (pow_test): Require overflow exceptions for
60763         applicable cases of large exponents.
60765         [BZ #706]
60766         * sysdeps/i386/fpu/e_pow.S (p10): New object.
60767         (__ieee754_pow): Use iterative multiplication algorithm only for
60768         integer exponents with absolute value below 1024.  Check for odd
60769         integer exponents when using algorithm for real exponents.
60770         * math/libm-test.inc (pow_test): Add more tests.
60771         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60773 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
60775         [BZ #13705]
60776         * math/libm-test.inc (exp_test): Do not allow overflow exception
60777         on underflow test.
60779 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
60781         [BZ #13705]
60782         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
60783         instead of __kernel_standard_f.
60785 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
60787         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
60788         * sysdeps/x86_64/memset_chk.S: Likewise.
60790 2012-04-08  Andreas Jaeger  <aj@suse.de>
60792         [BZ #10153]
60793         * manual/startup.texi (Environment Access): Describe return value
60794         for putenv and setenv.
60796         [BZ #6895]
60797         * manual/filesys.texi (Directory Entries): Add description for
60798         DT_LNK.
60800         [BZ #6890]
60801         * manual/filesys.texi (Directory Entries): Clarify that it's file
60802         system not operating system in the description of DT_UNKNOWN.
60804         [BZ #6578]
60805         * manual/syslog.texi (closelog): Fix reference, it's openlog.
60807 2012-04-08  Stephen Compall  <s11@member.fsf.org>
60809         [BZ #6649]
60810         * manual/llio.texi (Opening and Closing Files): Add cross
60811         reference to explain mode argument.
60813 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
60815         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
60816         * sysdeps/x86_64/memset_chk.S: Likewise.
60818 2012-04-07  David S. Miller  <davem@davemloft.net>
60820         * elf/elf.h (R_SPARC_WDISP10): Define.
60821         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
60822         R_SPARC_SIZE32.
60823         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
60824         R_SPARC_SIZE64 and R_SPARC_H34.
60826 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
60828         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
60829         conditions and remove no longer applicable assertion.
60831 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
60833         * bits/byteswap.h: Include <features.h>.
60834         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
60835         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
60837 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
60839         * bits/byteswap.h (__bswap_16): Removed.
60840         Include <bits/byteswap-16.h> to get __bswap_16.
60841         * sysdeps/i386/bits/byteswap.h: Likewise.
60842         * sysdeps/s390/bits/byteswap.h: Likewise.
60843         * sysdeps/x86_64/bits/byteswap.h: Likewise.
60844         * bits/byteswap-16.h: New file.
60845         * sysdeps/i386/bits/byteswap-16.h: Likewise.
60846         * sysdeps/s390/bits/byteswap-16.h: Likewise.
60847         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
60848         * string/Makefile (headers): Add bits/byteswap-16.h.
60850 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
60852         [BZ #13895]
60853         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
60854         extra indirection.
60855         * nss/Makefile (tests-static, tests): Add tst-nss-static.
60856         * nss/tst-nss-static.c: New.
60858 2012-04-06  Robert Millan  <rmh@gnu.org>
60860         [BZ #6486]
60861         * manual/llio.texi (File Position Primitive): lseek
60862         refers to WHENCE when it really means OFFSET.
60864 2012-04-06  Andreas Jaeger  <aj@suse.de>
60866         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
60867         strncmp declarations.
60869         * abilist/libc.abilist: Add __poll and __ppoll.
60871 2012-04-05  David S. Miller  <davem@davemloft.net>
60873         * scripts/check-local-headers.sh: Accept a host triplet in the
60874         path matched by the exclude regexp.
60876         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
60877         definition.
60878         * sysdeps/powerpc/powerpc32/dl-machine.h
60879         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
60880         * sysdeps/s390/s390-32/dl-machine.h
60881         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
60882         * sysdeps/sparc/sparc32/dl-machine.h
60883         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
60884         * sysdeps/sparc/sparc64/dl-machine.h
60885         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
60887         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
60888         lazy binding.
60889         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
60890         undefined symbol errors.
60892         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
60893         DT_NEEDED entries.
60895 2012-04-05  Michael Matz  <matz@suse.de>
60897         [BZ #13592]
60898         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
60900 2012-04-05  Andreas Jaeger  <aj@suse.de>
60902         [BZ #13908]
60903         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
60904         comment.
60906 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
60908         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
60909         which ROUND is no valid rounding mode.
60911 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
60913         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
60914         read again.
60915         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
60917 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
60919         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
60920         an exception using FPU order intentionally.
60922 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
60924         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
60925         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
60926         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
60927         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
60929 2012-04-05  Simon Josefsson  <simon@josefsson.org>
60931         [BZ #12340]
60932         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
60933         EINVAL when BUFLEN is too smal.
60935 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
60937         [BZ #13553]
60938         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
60939         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
60941 2012-04-03  Andreas Jaeger  <aj@suse.de>
60943         [BZ #13938]
60944         * manual/setjmp.texi (System V contexts): Fix sentence.
60946         [BZ #13926]
60947         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
60948         New macro for this case.
60949         [!__GNUC__] (__bswap_64): New inline function for this case.
60950         * sysdeps/x86_64/bits/byteswap.h: Likewise.
60951         * bits/byteswap.h: Likewise.
60952         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
60953         ull, guard with __GLIBC_HAVE_LONG_LONG.
60955         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
60956         __GLIBC_HAVE_LONG_LONG.
60958         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
60959         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
60961 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
60963         [BZ #13691]
60964         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
60965         inptr and inend, rather than using last_ch.
60967 2012-04-02  David S. Miller  <davem@davemloft.net>
60969         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
60970         * stdio-common/printf-parse.h (read_int): Change return type to
60971         'int', return -1 on INT_MAX overflow.
60972         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
60973         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
60974         overflows INT_MAX.  Check for overflow of in-format-string precision
60975         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
60976         SIZE_MAX not INT_MAX for integer overflow test.
60977         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
60978         skip the construct in the format string but do not record anything.
60979         * stdio-common/bug22.c: Adjust to test both width/prevision
60980         INT_MAX overflow as well as total length INT_MAX overflow.  Check
60981         explicitly for proper errno values.
60983 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
60985         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
60986         CHAR_MAX.
60987         * string/test-strcmp.c [! WIDE]: Likewise.
60988         * time/tst-mktime2.c: Likewise for INT_MAX.
60989         * string/test-string.h: #include <sys/param.h> for MIN.
60991         * csu/init-first.c (__libc_init_first): Call __ctype_init.
60992         * sysdeps/i386/init-first.c (init): Likewise.
60993         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
60994         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
60995         * sysdeps/sh/init-first.c (init): Likewise.
60997 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
60999         * po/ru.po: Update from translation team.
61000         * po/vi.po: Likewise.
61002 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
61004         * resolv/nss_dns/dns-host.c: Merge copyright years.
61006 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61008         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
61009         Optimize memcpy with prefetch if
61010         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
61011         src, dst pointers have unequal 16 byte alignments.
61013 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
61015         [BZ #13928]
61016         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
61017         from a CNAME entry and return the minimum ttl for the query.
61018         (gaih_getanswer_slice): Likewise.
61020 2012-03-30  Jeff Law  <law@redhat.com>
61022         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
61023         due to long keys.
61024         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
61025         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
61027         * resolv/nss_dns/dns-host.c: Update copyright year.
61029 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
61031         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
61032         requests to save a system call.  Fix check that all bytes are sent.
61034         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
61035         comments for sendmmsg.
61037 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
61039         [BZ #13691]
61040         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
61041         with only 1 character between 0x0041 and 0x01b0.
61042         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
61043         * wcsmbs/tst-mbsnrtowcs.c: New file.
61045 2012-03-29  David S. Miller  <davem@davemloft.net>
61047         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
61048         small copies by hand.
61050 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
61052         [BZ #13761]
61053         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
61054         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
61055         group memberships.
61057 2012-03-28  David S. Miller  <davem@davemloft.net>
61059         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
61060         that branches into memcpy.
61061         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
61062         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
61063         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
61064         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
61065         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
61066         bits.
61067         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
61068         implementation too.
61069         * sysdeps/sparc/mempcpy.S: New file.
61071         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
61072         the IFUNC routine in the libc case.
61073         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
61075         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
61076         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
61077         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
61078         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
61079         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
61080         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
61081         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
61082         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
61084         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
61085         loop to 256 bytes instead of 64 bytes and fix test signedness.
61087         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
61088         * sysdeps/sparc/sparc32/Makefile: rather than here...
61089         * sysdeps/sparc/sparc64/Makefile: and here.
61091 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
61093         * malloc/mallocbug.c: Avoid warnings about unused variables.
61095 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
61097         [BZ #13760]
61098         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
61099         in the right place. Discard and retry query if response is
61100         larger than input buffer size.
61102 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
61104         [BZ #369]
61105         [BZ #2678]
61106         [BZ #3866]
61107         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
61108         x for large integer exponent.
61109         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
61110         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
61111         sign of result as needed afterwards.
61112         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
61113         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
61114         result for underflowing pow the same as for overflow.
61115         (__kernel_standard_l): Handle powl overflow and underflow here
61116         rather than calling __kernel_standard.
61117         * math/libm-test.inc (pow_test): Add more tests.
61119         [BZ #3868]
61120         [BZ #13879]
61121         [BZ #13910]
61122         [BZ #13911]
61123         [BZ #13912]
61124         [BZ #13913]
61125         [BZ #13915]
61126         [BZ #13916]
61127         [BZ #13917]
61128         [BZ #13918]
61129         [BZ #13919]
61130         [BZ #13920]
61131         [BZ #13921]
61132         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
61133         * sysdeps/ieee754/k_standard.c: Include <float.h>.
61134         (__kernel_standard_l): New function.
61135         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
61136         __kernel_standard.
61137         * math/w_acosl.c (__acosl): Likewise.
61138         * math/w_asinl.c (__asinl): Likewise.
61139         * math/w_atan2l.c (__atan2l): Likewise.
61140         * math/w_atanhl.c (__atanhl): Likewise.
61141         * math/w_coshl.c (__coshl): Likewise.
61142         * math/w_exp10l.c (__exp10l): Likewise.
61143         * math/w_exp2l.c (__exp2l): Likewise.
61144         * math/w_fmodl.c (__fmodl): Likewise.
61145         * math/w_hypotl.c (__hypotl): Likewise.
61146         * math/w_j0l.c (__j0l, __y0l): Likewise.
61147         * math/w_j1l.c (__j1l, __y1l): Likewise.
61148         * math/w_jnl.c (__jnl, __ynl): Likewise.
61149         * math/w_lgammal.c (__lgammal): Likewise.
61150         * math/w_log10l.c (__log10l): Likewise.
61151         * math/w_log2l.c (__log2l): Likewise.
61152         * math/w_logl.c (__logl): Likewise.
61153         * math/w_powl.c (__powl): Likewise.
61154         * math/w_remainderl.c (__remainderl): Likewise.
61155         * math/w_scalbl.c (sysv_scalbl): Likewise.
61156         * math/w_sinhl.c (__sinhl): Likewise.
61157         * math/w_sqrtl.c (__sqrtl): Likewise.
61158         * math/w_tgammal.c (__tgammal): Likewise.
61159         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
61160         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
61161         * math/libm-test.inc (acos_test): Add more tests.
61162         (acosh_test): Likewise.
61163         (asin_test): Likewise.
61164         (atanh_test): Likewise.
61165         (exp_test): Likewise.
61166         (exp10_test): Likewise.
61167         (exp2_test): Likewise.
61168         (expm1_test): Likewise.
61169         (lgamma_test): Likewise.
61170         (log_test): Likewise.
61171         (log10_test): Likewise.
61172         (log1p_test): Likewise.
61173         (log2_test): Likewise.
61174         (pow_test): Do not allow some spurious overflow exceptions.
61175         (sqrt_test): Add more tests.
61176         (tgamma_test): Likewise.
61177         (y0_test): Likewise.
61178         (y1_test): Likewise.
61179         (yn_test): Likewise.
61181 2012-03-27  Anton Blanchard  <anton@samba.org>
61183         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
61184         MAP_HUGETLB.
61185         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
61186         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
61187         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
61189 2012-03-27  David S. Miller  <davem@davemloft.net>
61191         * conform/Makefile: Run run-conformtest.sh using $(BASH).
61193         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
61194         have-as-vis3 check.
61196 2012-03-27  Andreas Jaeger  <aj@suse.de>
61198         * sysdeps/x86_64/elf/configure.in: Moved to ...
61199         * sysdeps/x86_64/configure.in: ... here.
61200         * sysdeps/x86_64/elf/start.S: Moved to ...
61201         * sysdeps/x86_64/start.S: ... here.
61202         * sysdeps/x86_64/elf/configure: Delete.
61204         * sysdeps/x86_64/configure.in: Merge contents from
61205         sysdeps/i386/configure.in (without i686 check).
61207         * sysdeps/i386/elf/Versions: Merge into ...
61208         * sysdeps/i386/Versions: ... this.
61209         * sysdeps/i386/elf/Versions: Delete file.
61210         * sysdeps/i386/elf/start.S: Moved to ...
61211         * sysdeps/i386/start.S: ...here.
61212         * sysdeps/i386/elf/configure.in: Merge into...
61213         * sysdeps/i386/configure.in: ...here.
61214         * sysdeps/i386/elf/configure.in: Delete file.
61215         * sysdeps/i386/elf/configure: Delete file.
61217         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
61218         * debug/backtracesyms.c: ... here.
61219         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
61220         * debug/backtracesymsfd.c: ... here.
61221         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
61222         * sysdeps/generic/ifunc-sel.h: ... here.
61224         * sysdeps/unix/i386/start.c: Delete file.
61225         * sysdeps/unix/sparc/start.c: Delete file.
61226         * sysdeps/unix/start.c: Delete file.
61228         * sysdeps/sh/elf/configure.in: Moved to ...
61229         * sysdeps/sh/configure.in: ... here.
61230         * sysdeps/sh/elf/start.S: Moved to ...
61231         * sysdeps/sh/start.S: ... here.
61232         * sysdeps/sh/elf/configure: Delete file.
61234         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
61235         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
61236         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
61237         * sysdeps/powerpc/powerpc64/entry.h: ... here.
61238         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
61239         * sysdeps/powerpc/powerpc64/start.S: here.
61240         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
61241         * sysdeps/powerpc/powerpc64/Makefile: ... this.
61242         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
61243         * sysdeps/powerpc/powerpc64/configure.in: ... this.
61244         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
61246         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
61247         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
61248         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
61249         * sysdeps/powerpc/powerpc32/start.S: ... here.
61250         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
61251         * sysdeps/powerpc/powerpc32/configure.in: ... this.
61252         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
61254         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
61255         * sysdeps/powerpc/ifunc-sel.h: ... here.
61256         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
61257         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
61259         * sysdeps/sparc/elf/configure.in: Moved to ...
61260         * sysdeps/sparc/configure.in: ... here.
61261         * sysdeps/sparc/elf/configure: Delete file.
61262         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
61263         * sysdeps/sparc/sparc32/start.S: ... here.
61264         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
61265         * sysdeps/sparc/sparc64/start.S: ... here.
61266         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
61267         * sysdeps/sparc/sparc32/Makefile: ... this.
61268         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
61269         * sysdeps/sparc/sparc64/Makefile: ... this.
61271         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
61272         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
61273         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
61274         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
61275         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
61276         * sysdeps/s390/s390-32/setjmp.S: ... here.
61277         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
61278         * sysdeps/s390/s390-32/configure.in: ... here.
61279         * sysdeps/s390/s390-32/elf/configure: Delete file.
61280         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
61281         * sysdeps/s390/s390-32/start.S: ... here.
61283         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
61284         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
61285         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
61286         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
61287         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
61288         * sysdeps/s390/s390-64/setjmp.S: ... here.
61289         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
61290         * sysdeps/s390/s390-64/configure.in: ... here
61291         * sysdeps/s390/s390-64/elf/configure: Delete file.
61292         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
61293         * sysdeps/s390/s390-64/start.S: ... here.
61294         * sysdeps/s390/s390-64/elf/configure: Delete.
61296         * configure.in: Remove support for elf directories in sysdeps.
61298         * configure: Regenerated.
61299         * sysdeps/i386/configure: Regenerated.
61300         * sysdeps/powerpc/powerpc32/configure: Regenerated.
61301         * sysdeps/powerpc/powerpc64/configure: Regenerated.
61302         * sysdeps/s390/s390-32/configure: Regenerated.
61303         * sysdeps/s390/s390-64/configure: Regenerated.
61304         * sysdeps/sh/configure: Regenerated.
61305         * sysdeps/sparc/configure: Regenerated.
61306         * sysdeps/x86_64/configure: Regenerated.
61308 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
61310         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61312         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
61313         denormal result into account.
61315 2012-03-25  Roland McGrath  <roland@hack.frob.com>
61317         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
61318         Reported by Allan McRae <allan@archlinux.org>.
61320 2012-03-23  Jeff Law  <law@redhat.com>
61322         * nss/getnssent.c (__nss_getent): Fix typo.
61324 2012-03-23  David S. Miller  <davem@davemloft.net>
61326         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61328 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
61330         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
61331         to pad to uint64_t for each field.
61332         (dl_tls_index): Replace unsigned long with uint64_t.
61334 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
61335         Paul Pluzhnikov  <ppluzhnikov@google.com>
61337         [BZ #6528]
61338         * grp/Makefile (otherlibs): Don't set it.
61339         * inet/Makefile (otherlibs): Likewise.
61340         * login/Makefile (otherlibs): Likewise.
61341         * nscd/Makefile (otherlibs): Likewise.
61342         * posix/Makefile (otherlibs): Likewise.
61343         * pwd/Makefile (otherlibs): Likewise.
61344         * rt/Makefile (otherlibs): Likewise.
61345         * sunrpc/Makefile (otherlibs): Likewise.
61346         * nss/Makefile (otherlibs): Likewise.
61347         Add libnss_files to routines and static-only-routines.
61348         ($(objpfx)getent): Remove rule.
61349         * resolv/Makefile: Add libnss_dns and libresolv to routines and
61350         static-only-routines.
61352 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
61354         [BZ #13892]
61355         * math/s_cexp.c: Include <float.h>.
61356         (__cexp): Handle exp result overflowing not necessarily
61357         overflowing both real and imaginary parts of result.
61358         * math/s_cexpf.c: Likewise.
61359         * math/s_cexpl.c: Likewise.
61360         * math/libm-test.inc (cexp_test): Add more tests.
61361         * sysdeps/i386/fpu/libm-test-ulps: Update.
61362         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61364 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
61366         * include/link.h (ELFW): New macro.
61367         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
61368         Replace ELF64_R_TYPE with ELFW(R_TYPE).
61370 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
61372         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
61373         with uint64_t.
61375 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
61377         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
61378         declaration.
61379         (struct La_x32_retval): Likewise.
61381 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
61383         * sysdeps/x86_64/preconfigure.in: New file.
61384         * sysdeps/x86_64/preconfigure: New generated file.
61386 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
61388         [BZ #13824]
61389         * math/e_exp2l.c: Include <float.h>.
61390         (__ieee754_exp2l): Handle overflow and underflow cases
61391         separately.  Only pass fractional part of argument to
61392         __ieee754_expl.
61393         * math/libm-test.inc (exp2_test): Add more tests.
61395         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
61396         negating x to take absolute value.
61397         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
61398         Likewise.
61399         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
61400         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
61401         Likewise.
61402         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
61403         computing low part if x was negated.
61404         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
61406 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
61408         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
61409         la_x32_gnu_pltexit.
61410         (pltexit): Cast int_retval to ptrdiff_t.
61411         * elf/tst-auditmod3b.c: Likewise.
61412         * elf/tst-auditmod4b.c: Likewise.
61413         * elf/tst-auditmod5b.c: Likewise.
61414         * elf/tst-auditmod6b.c: Likewise.
61415         * elf/tst-auditmod6c.c: Likewise.
61416         * elf/tst-auditmod7b.c: Likewise.
61418         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
61419         and x32_gnu_pltexit.
61421         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
61422         __ELF_NATIVE_CLASS.
61423         (La_x32_regs): New macro.
61424         (La_x32_retval): Likewise.
61425         (la_x32_gnu_pltenter): New function prototype.
61426         (la_x32_gnu_pltexit): Likewise.
61428 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
61430         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
61431         exponent.
61433         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61435         * configure.in (libc_cv_cc_nofma): Check for option to disable
61436         generation of FMA instructions.
61437         * configure: Regenerate.
61438         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
61439         * sysdeps/ieee754/dbl-64/Makefile: New file.
61440         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
61441         Remove brandred-fma4.
61442         (CFLAGS-brandred-fma4.c): Remove.
61443         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
61444         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
61445         define.
61446         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
61447         define.
61449 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
61451         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
61452         LLONG_MAX != LONG_MAX.
61453         (_itoa_word): Use _ITOA_WORD_TYPE on value.
61454         (_fitoa_word): Likewise.
61455         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
61456         LLONG_MAX != LONG_MAX.
61457         * stdio-common/_itowa.h: Include <_itoa.h>.
61458         (_itowa_word): Use _ITOA_WORD_TYPE on value.
61459         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
61460         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
61461         only if not defined.
61462         (_ITOA_WORD_TYPE): Likewise.
61463         (_itoa_word): Use _ITOA_WORD_TYPE on value.
61464         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
61466 2012-03-21  David S. Miller  <davem@davemloft.net>
61468         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61470 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
61472         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
61473         of x86_64 when setting libc_cv_slibdir, libdir and
61474         libc_cv_localedir.
61475         * sysdeps/unix/sysv/linux/configure: Regenerated.
61477 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
61479         * manual/lang.texi (Old Varargs): Remove section.
61480         (How Variadic): Update menu.
61481         (va_start): Do not mention varargs.h.
61483 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
61484             Joseph Myers  <joseph@codesourcery.com>
61486         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
61487         link test.
61488         * configure: Regenerated.
61490 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
61492         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
61493         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
61494         conformtest.pl
61496 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
61498         * NOTES: Remove.
61499         * Makefile (files-for-dist): Remove NOTES.
61500         (NOTES): Remove rule.
61501         * README: Don't refer to NOTES.
61502         * manual/creature.texi: Don't include macros.texi.
61503         * manual/intro.texi (creature.texi): Remove comment referring to
61504         NOTES.
61506         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
61507         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
61508         * configure: Regenerated.
61509         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
61510         LIBC_TRY_CC_OPTION.
61511         (libc_cv_as_i686): Likewise.
61512         (libc_cv_cc_avx): Likewise.
61513         (libc_cv_cc_sse2avx): Likewise.
61514         (libc_cv_cc_fma4): Likewise.
61515         (libc_cv_cc_novzeroupper): Likewise.
61516         * sysdeps/i386/configure: Regenerated.
61518         [BZ #13883]
61519         * sysdeps/i386/fpu/s_cexp.S: Remove.
61520         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
61521         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
61522         * math/libm-test.inc (cexp_test): Add more tests.
61523         * sysdeps/i386/fpu/libm-test-ulps: Update.
61524         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61526 2012-03-21  Allan McRae  <allan@archlinux.org>
61528         * timezone/Makefile: Do not install iso3166.tab and zone.tab
61530 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
61532         [BZ #13871]
61533         * math/w_exp2.c: Do not include <float.h>.
61534         (o_threshold, u_threshold): Remove.
61535         (__exp2): Calculate result before checking finiteness and calling
61536         __kernel_standard.
61537         * math/w_exp2f.c: Likewise.
61538         * math/w_exp2l.c: Likewise.
61539         * math/libm-test.inc (exp2_test): Require overflow exception for
61540         1e6 input.
61542         [BZ #3866]
61543         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
61544         range of signed 64-bit integers before using fistpll.  Remove
61545         checks for whether integers fit in mantissa bits.
61546         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
61547         the range of signed 32-bit integers before using fistpl.  Remove
61548         checks for whether integers fit in mantissa bits.
61549         * sysdeps/i386/fpu/e_powl.S (p64): New object.
61550         (__ieee754_powl): Test for y outside the range of signed 64-bit
61551         integers before using fistpll.  Reduce 64-bit values to 63-bit
61552         ones as needed.
61553         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
61554         divide-by-zero is raised for zero to large negative powers.
61555         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
61556         (__ieee754_powl): Test for y outside the range of signed 64-bit
61557         integers before using fistpll.  Reduce 64-bit values to 63-bit
61558         ones as needed.
61559         * math/libm-test.inc (pow_test): Add more tests.
61561 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
61563         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
61564         <stdio-common/_itoa.h>.
61565         * debug/segfault.c: Likewise.
61566         * elf/dl-cache.c: Likewise.
61567         * elf/dl-minimal.c: Likewise.
61568         * elf/dl-misc.c: Likewise.
61569         * elf/dl-sysdep.c: Likewise.
61570         * elf/dl-version.c: Likewise.
61571         * elf/rtld.c: Likewise.
61572         * hurd/hurdsock.c: Likewise.
61573         * hurd/lookup-retry.c: Likewise.
61574         * malloc/malloc.c: Likewise.
61575         * malloc/mtrace.c: Likewise.
61576         * nscd/nscd_getgr_r.c: Likewise.
61577         * nscd/nscd_getpw_r.c: Likewise.
61578         * nscd/nscd_getserv_r.c: Likewise.
61579         * posix/getopt_init.c: Likewise.
61580         * posix/wordexp.c: Likewise.
61581         * stdio-common/_itoa.c: Likewise.
61582         * stdio-common/printf_fphex.c: Likewise.
61583         * stdio-common/vfprintf.c: Likewise.
61584         * string/_strerror.c: Likewise.
61585         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
61586         * sysdeps/i386/i686/hp-timing.h: Likewise.
61587         * sysdeps/mach/_strerror.c: Likewise.
61588         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
61589         * sysdeps/mach/hurd/sethostid.c: Likewise.
61590         * sysdeps/mach/hurd/xmknodat.c: Likewise.
61591         * sysdeps/mach/xpg-strerror.c: Likewise.
61592         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
61593         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
61594         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
61595         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
61596         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
61597         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
61598         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
61599         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
61600         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
61601         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
61602         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
61603         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
61604         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
61605         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
61606         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
61607         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
61608         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
61609         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
61610         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
61611         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
61612         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
61614         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
61616         * stdio-common/_itoa.h: Moved to ...
61617         * sysdeps/generic/_itoa.h: Here.
61619         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
61621         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
61622         instead of "_itoa.h" and "_itowa.h".
61623         * stdio-common/vfprintf.: Likewise.
61625 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
61627         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
61628         <bits/wordsize.h>.
61629         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
61630         (__signbit): Likwise.
61631         (llrintf): Likwise.
61632         (llrint): Likwise.
61634 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
61636         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
61637         __WORDSIZE != 64.
61639 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
61641         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
61642         OVERFLOW_EXCEPTION_OK.
61643         * math/libm-test.inc ("Philosophy"): Update comment about
61644         exception testing.
61645         (OVERFLOW_EXCEPTION): Define.
61646         (OVERFLOW_EXCEPTION_OK): Likewise.
61647         (INVALID_EXCEPTION_OK): Renumber.
61648         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
61649         (IGNORE_ZERO_INF_SIGN): Likewise.
61650         (test_exceptions): Handle FE_OVERFLOW.
61651         (exp10_test): Expect overflow exceptions.
61652         (exp2_test): Likewise.
61653         (expm1_test): Likewise.
61654         (nextafter_test): Likewise.
61655         (pow_test): Likewise.
61656         (scalbn_test): Likewise.
61657         (scalbln_test): Likewise.
61659 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
61661         * sysdeps/x86_64/bits/atomic.h
61662         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
61663         64bit integer.
61664         (atomic_exchange_acq): Likewise.
61665         (__arch_exchange_and_add_body): Likewise.
61666         (__arch_add_body): Likewise.
61667         (atomic_add_negative): Likewise.
61668         (atomic_add_zero): Likewise.
61670 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
61672         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
61673         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
61675 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
61677         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
61678         Check __x86_64__ instead of __WORDSIZE.
61680 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
61682         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
61684 2012-03-19  David S. Miller  <davem@davemloft.net>
61686         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61688         * sysdeps/sparc/fpu/fenv_private.h: New file.
61689         * sysdeps/sparc/fpu/math_private.h: Use it.
61690         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
61691         Remove.
61692         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
61693         (libc_feholdexcept_setroundl): Remove.
61694         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
61695         Remove.
61696         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
61697         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
61699 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
61701         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
61702         int64_t instead of long int.
61703         (INSERT_WORDS64): Likwise.
61705 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
61707         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
61708         _Unwind_GetCFA return to _Unwind_Ptr first.
61710 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
61712         [BZ #13629]
61713         * math/s_clog.c: Include <float.h>.
61714         (__clog): Scale large or subnormal inputs.
61715         * math/s_clogf.c: Likewise.
61716         * math/s_clogl.c: Likewise.
61717         * math/s_clog10.c: Include <float.h>.
61718         (M_LOG10_2): Define.
61719         (__clog10): Scale large or subnormal inputs.
61720         * math/s_clog10f.c: Likewise.
61721         * math/s_clog10l.c: Likewise.
61722         * math/libm-test.inc (clog_test): Add more tests.
61723         (clog10_test): Likewise.
61724         * sysdeps/i386/fpu/libm-test-ulps: Update.
61725         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61727         [BZ #11451]
61728         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
61729         x and y.
61730         * math/libm-test.inc (atan2_test): Add another test.
61732         * Makerules (common-objdir-compile): Remove.
61733         * sysdeps/unix/Makefile (config-generated): Do not add
61734         $(unix-generated) to variable.
61735         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
61736         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
61737         Remove rule.
61738         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
61739         Likewise.
61740         [generic bits/local_lim.h] (before-compile): Do not append to
61741         variable.
61742         [generic bits/local_lim.h] (common-generated): Likewise.
61743         [generic sys/param.h] (before-compile): Do not append to variable.
61744         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
61745         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
61746         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
61747         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
61748         include.
61749         [generic sys/param.h] (sys/param.h-includes): Remove variable.
61750         [generic sys/param.h] (sys/param.h-includes): Remove rule.
61751         [generic sys/param.h] ($(addprefix
61752         $(common-objpfx),$(sys/param.h-includes))): Likewise.
61753         [generic sys/param.h] (common-generated): Do not append to
61754         variable.
61755         [generic sys/param.h] (sysdep_headers): Likewise.
61756         [generic bits/errno.h] (before-compile): Do not append to
61757         variable.
61758         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
61759         rule.
61760         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
61761         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
61762         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
61763         [generic bits/errno.h] (common-generated): Do not append to
61764         variable.
61765         [generic bits/ioctls.h] (before-compile): Do not append to
61766         variable.
61767         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
61768         rule.
61769         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
61770         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
61771         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
61772         rule.
61773         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
61774         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
61775         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
61776         [generic bits/ioctls.h] (common-generated): Do not append to
61777         variable.
61778         [generic sys/syscall.h] (syscall.h): Remove variable.
61779         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
61780         rule.
61781         [generic sys/syscall.h] (before-compile): Do not append to
61782         variable.
61783         [generic sys/syscall.h] (common-generated): Likewise.
61784         * sysdeps/unix/errnos-tmpl.c: Remove file.
61785         * sysdeps/unix/errnos.awk: Likewise.
61786         * sysdeps/unix/ioctls-tmpl.c: Likewise.
61787         * sysdeps/unix/ioctls.awk: Likewise.
61788         * sysdeps/unix/mk-local_lim.c: Likewise.
61789         * sysdeps/unix/snarf-ioctls: Likewise.
61791 2012-03-19  Richard Henderson  <rth@twiddle.net>
61793         * sysdeps/i386/fpu/fenv_private.h: New file.
61794         * sysdeps/i386/fpu/math_private.h: Use it.
61795         (math_opt_barrier, math_force_eval): Remove.
61796         (libc_feholdexcept_setround_53bit): Remove.
61797         (libc_feupdateenv_53bit): Remove.
61798         * sysdeps/x86_64/fpu/math_private.h: Likewise.
61799         (math_opt_barrier, math_force_eval): Remove.
61800         (libc_feholdexcept): Remove.
61801         (libc_feholdexcept_setround): Remove.
61802         (libc_fetestexcept, libc_fesetenv): Remove.
61803         (libc_feupdateenv_test): Remove.
61804         (libc_feupdateenv, libc_feholdsetround): Remove.
61805         (libc_feresetround): Remove.
61807         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
61808         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
61810         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
61811         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
61812         (libc_feupdateenv_testl): New.
61813         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
61814         (libc_feupdateenv_testf): New.
61815         (libc_feupdateenv): Use libc_feupdateenv_test.
61816         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
61817         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
61819         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
61820         (libc_feholdsetroundf, libc_feholdsetroundl): New.
61821         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
61822         (libc_feresetround_noex): New.
61823         (libc_feresetround_noexf): New.
61824         (libc_feresetround_noexl): New.
61825         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
61826         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
61827         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
61828         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
61829         SET_RESTORE_ROUND.
61830         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
61831         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
61832         (__cos): Likewise.
61833         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
61834         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
61835         SET_RESTORE_ROUND_NOEX.
61836         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
61837         SET_RESTORE_ROUND_NOEXF.
61838         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
61839         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
61840         (libc_feholdsetroundf): New.
61841         (libc_feresetround, libc_feresetroundf): New.
61843         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
61844         (libc_feholdexcept_setround_53bit): Convert from macro to function.
61845         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
61847         * sysdeps/generic/math_private.h: Include <fenv.h>.
61848         (default_libc_feholdexcept): New.
61849         (default_libc_feholdexcept_setround): New.
61850         (default_libc_fesetenv, default_libc_feupdateenv): New.
61851         (libc_feholdexcept): Only define if undefined.
61852         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
61853         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
61854         (libc_feholdexcept_setroundl): Likewise.
61855         (libc_feholdexcept_setround_53bit): Likewise.
61856         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
61857         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
61858         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
61859         (libc_feupdateenv_53bit): Likewise.
61860         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
61861         (libc_feholdexcept): Convert from macro to inline function.
61862         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
61863         (libc_fesetenv, libc_feupdateenv): Likewise.
61865         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
61866         not previously defined.
61867         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
61868         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
61869         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
61870         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
61871         * sysdeps/ieee754/flt-32/math_private.h: New file.
61872         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
61873         math_private.h below SET_FLOAT_WORD.
61874         (__isnan, __isinf_ns, __finite): Remove.
61875         (__isnanf, __isinf_nsf, __finitef): Remove.
61877 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
61879         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61881 2012-03-17  David S. Miller  <davem@davemloft.net>
61883         [BZ #6471]
61884         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
61885         for 2.16.
61887 2012-03-16  David S. Miller  <davem@davemloft.net>
61889         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
61890         warnings.
61892         [BZ #6471]
61893         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
61894         properly.
61895         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
61896         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
61897         sysdep_routines when subdir is sysvipc.
61898         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
61899         __getshmlba helper.
61901         * sysdeps/sparc/fpu/libm-test/ulps: Update.
61903 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
61905         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
61906         [__LP64__].
61908 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
61910         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
61911         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
61912         (__lround): Renamed to ...
61913         (__llround): This.  Replace long int with long long int.
61914         Define lround functions as aliases of llround functions.
61915         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
61917 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
61919         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
61920         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
61921         adresses to uintptr_t.  Replace "long int" and "unsigned long
61922         int" with "greg_t" on va_arg.
61924 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
61926         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
61927         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
61929         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
61930         Move e_machine check before EI_CLASS check.  Handle x32
61931         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
61932         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
61933         SKIP_EM_IA_64 and include
61934         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
61936         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
61937         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
61938         (add_system_dir): New macro.
61940         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
61941         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
61943 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
61945         [BZ #2551]
61946         [BZ #2552]
61947         [BZ #2553]
61948         [BZ #2554]
61949         [BZ #2562]
61950         [BZ #2563]
61951         [BZ #2565]
61952         [BZ #2566]
61953         [BZ #2576]
61954         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
61955         (y0): Likewise.
61956         * math/w_j0f.c (j0f): Likewise.
61957         (y0f): Likewise.
61958         * math/w_j0l.c (__j0l): Likewise.
61959         (__y0l): Likewise.
61960         * math/w_j1.c (j1): Likewise.
61961         (y1): Likewise.
61962         * math/w_j1f.c (j1f): Likewise.
61963         (y1f): Likewise.
61964         * math/w_j1l.c (__j1l): Likewise.
61965         (__y1l): Likewise.
61966         * math/w_jn.c (jn): Likewise.
61967         (yn): Likewise.
61968         * math/w_jnf.c (jnf): Likewise.
61969         (ynf): Likewise.
61970         * math/w_jnl.c (__jnl): Likewise.
61971         (__ynl): Likewise.
61972         * math/libm-test.inc (j0_test): Add more tests.
61973         (j1_test): Likewise.
61974         (jn_test): Likewise.  Add trailing semicolon to existing test.
61975         (y0_test): Likewise.
61976         (y1_test): Likewise.
61977         * sysdeps/i386/fpu/libm-test-ulps: Update.
61978         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61980         [BZ #13851]
61981         [BZ #13854]
61982         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
61983         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
61984         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
61985         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
61986         (__tanl): Set errno for infinite argument.
61987         * sysdeps/i386/fpu/mptan.c: Remove.
61988         * sysdeps/i386/fpu/s_tan.S: Likewise.
61989         * sysdeps/i386/fpu/s_tanl.S: Likewise.
61990         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
61991         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
61992         * math/libm-test.inc (tan_test): Add more tests and enable more
61993         tests for double and long double.
61994         * sysdeps/i386/fpu/libm-test-ulps: Update.
61995         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61997 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
61999         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
62000         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
62002 2012-03-16  Roland McGrath  <roland@hack.frob.com>
62004         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
62005         * configure.in: Use it for both main tree and add-ons.
62006         * configure: Regenerated.
62008 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
62010         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
62012 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
62014         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
62015         in comment.
62017         [BZ #13851]
62018         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
62019         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
62020         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
62021         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
62022         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
62023         infinite argument.
62024         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
62025         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
62026         != 0 for prec == 2.
62027         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
62028         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
62029         * sysdeps/i386/fpu/s_cosl.S: Likewise.
62030         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
62031         * sysdeps/i386/fpu/s_sinl.S: Likewise.
62032         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
62033         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
62034         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
62035         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
62036         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
62037         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
62038         * math/libm-test.inc (cos_test): Add more tests and enable more
62039         tests for long double.
62040         (sin_test): Likewise.
62041         (sincos_test): Likewise.
62042         * sysdeps/i386/fpu/libm-test-ulps: Update.
62043         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62045 2012-03-16  David S. Miller  <davem@davemloft.net>
62047         * sysdeps/sparc/fpu/math_private.h: New file.
62049 2012-03-15  David S. Miller  <davem@davemloft.net>
62051         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
62052         file.
62053         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
62054         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
62055         file.
62056         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
62057         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
62058         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
62059         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
62060         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
62061         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
62062         sysdep routines.
62063         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
62065         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
62066         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
62068         * sysdeps/sparc/sparc-ifunc.h: New file.
62069         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
62070         sparc-ifunc.h
62071         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
62072         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
62073         Likewise.
62074         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
62075         Likewise.
62076         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
62077         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
62078         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
62079         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
62080         Likewise.
62081         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
62082         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
62083         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
62084         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
62085         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
62086         Likewise.
62087         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
62088         Likewise.
62089         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
62090         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
62091         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
62092         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
62093         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
62094         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
62095         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
62096         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
62097         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
62098         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
62099         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
62100         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
62101         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
62102         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
62103         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
62104         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
62105         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
62106         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
62107         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
62108         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
62109         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
62110         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
62111         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
62112         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
62114 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
62116         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
62117         scaling.
62118         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62120 2012-03-15  Andreas Jaeger  <aj@suse.de>
62122         [BZ #13852]
62123         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
62124         ieee754/flt-32 implementation for sin, cos and sincos.
62125         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
62126         * sysdeps/i386/fpu/s_cosf.S: Likewise.
62127         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
62128         * sysdeps/i386/fpu/s_sinf.S: Likewise.
62129         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
62130         ieee754/flt-32 implementation for tan.
62132         * math/libm-test.inc (cos_test): Enable some large input tests for
62133         float as well
62134         (sin_test): Likewise.
62135         (sincos_test): Likewise.
62136         (tan_test): Add tests for large input.
62138         * sysdeps/i386/fpu/libm-test-ulps: Update.
62140 2012-03-15  Andreas Jaeger  <aj@suse.de>
62142         [BZ #13658]
62143         * math/libm-test.inc (cos_test): Add more test cases.
62144         (sin_test): Likewise.
62145         (sincos_test): Likewise.
62147 2012-03-15  Andreas Jaeger  <aj@suse.de>
62149         [BZ #13837]
62150         * math/libm-test.inc (cos_test): Add a test case for large input
62151         value.
62152         (sin_test): Likewise.
62153         (sincos_test): Likewise.
62155 2012-03-15  Andreas Jaeger  <aj@suse.de>
62156             Joseph Myers  <joseph@codesourcery.com>
62158         [BZ #13658]
62159         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
62160         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
62161         * sysdeps/i386/fpu/branred.c: Likewise.
62162         * sysdeps/i386/fpu/dosincos.c: Likewise.
62163         * sysdeps/i386/fpu/mpa.c: Likewise.
62164         * sysdeps/i386/fpu/s_cos.S: Likewise.
62165         * sysdeps/i386/fpu/s_sin.S: Likewise.
62166         * sysdeps/i386/fpu/s_sincos.S: Likewise.
62167         * sysdeps/i386/fpu/sincos32.c: Likewise.
62169         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
62170         Define.
62171         (libc_feupdateenv_53bit): Define.
62172         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
62173         Define.
62174         (libc_feupdateenv_53bit): Define.
62176         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
62177         53 bit (without extend i386 double precision).
62179         * math/libm-test.inc (sincos_test): Add tests for large input.
62180         (sin): Likewise.
62181         (cos): Likewise.
62183         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
62185 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
62187         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62189 2012-03-15  David S. Miller  <davem@davemloft.net>
62191         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
62192         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
62193         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
62194         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
62195         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
62196         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
62197         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
62198         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
62199         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
62200         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
62201         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
62202         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
62203         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
62204         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
62205         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
62206         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
62207         file.
62208         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
62209         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
62210         file.
62211         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
62212         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
62213         file.
62214         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
62215         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
62216         file.
62217         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
62218         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
62219         fmin/fmax sysdep routines.
62220         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
62222 2012-03-14  David S. Miller  <davem@davemloft.net>
62224         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
62225         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
62226         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
62227         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
62228         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
62229         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
62230         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
62231         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
62232         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
62233         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
62234         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
62235         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
62236         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
62237         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
62238         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
62239         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
62240         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
62241         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
62242         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
62243         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
62244         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
62245         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
62246         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
62247         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
62248         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
62249         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
62250         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
62251         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
62252         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
62253         routines.
62254         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
62255         file.
62256         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
62257         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
62258         file.
62259         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
62260         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
62261         file.
62262         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
62263         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
62264         file.
62265         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
62266         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
62267         file.
62268         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
62269         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
62270         file.
62271         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
62272         file.
62273         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
62274         file.
62275         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
62276         file.
62277         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
62278         New file.
62279         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
62280         file.
62281         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
62282         file.
62283         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
62284         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
62285         file.
62286         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
62287         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
62288         file.
62289         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
62290         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
62291         file.
62292         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
62293         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
62294         VIS3 routines.
62296         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
62297         New file.
62299         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62301         * sysdeps/sparc/configure.in: New file.
62302         * sysdeps/sparc/configure: Generate.
62303         * configure.in (libc_cv_sparc_as_vis3): Substitute.
62304         * configure: Regenerate.
62305         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
62306         * config.make.in (have-as-vis3): New.
62307         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
62308         available use -Av9d instead of -Av9a.
62309         * sysdeps/sparc/sparc64/Makefile: Likewise.
62310         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
62311         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
62312         New file.
62313         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
62314         file.
62315         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
62316         New file.
62317         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
62318         file.
62319         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
62320         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
62321         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
62322         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
62323         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
62325         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
62326         fzeros/fnegs to load 0x80000000 into a float register instead of
62327         using the stack.
62328         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
62330 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
62332         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62333         bits/syscall.h.
62334         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
62335         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
62336         ($(inst_includedir)/bits/syscall.h): Remove rule.
62337         ($(objpfx)bits/syscall.d): Include instead of
62338         $(objpfx)syscall-list.d.
62339         (generated): Change syscall-list.h and syscall-list.d to
62340         bits/syscall.h and bits/syscall.d.
62342 2012-03-14  Roland McGrath  <roland@hack.frob.com>
62344         [BZ #13846]
62345         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
62347 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
62349         [BZ #13841]
62350         * math/s_csqrt.c: Include <float.h>.
62351         (__csqrt): Scale large or subnormal inputs.
62352         * math/s_csqrtf.c: Likewise.
62353         * math/s_csqrtl.c: Likewise.
62354         * math/libm-test.inc (csqrt_test): Add more tests.
62355         * sysdeps/i386/fpu/libm-test-ulps: Update.
62356         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62358         [BZ #13840]
62359         * math/libm-test.inc (hypot_test): Add more tests.
62361 2012-03-13  David S. Miller  <davem@davemloft.net>
62363         [BZ #13840]
62364         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
62365         double-precision for the calculation instead of scaling.
62367 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
62369         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
62370         manipulate bits before adding and subtracting TWO52[sx].
62371         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
62372         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
62373         Likewise.
62374         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
62376 2012-03-13  David S. Miller  <davem@davemloft.net>
62378         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
62379         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
62380         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
62381         rtld-global-offsets.h
62382         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
62384         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
62385         large parameters.
62387         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
62389         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
62390         'err' in the ifdef scope in which it is actually used.
62392         * nss/nss_db/db-init.c: Include string.h
62394 2012-03-12  David S. Miller  <davem@davemloft.net>
62396         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
62397         masking out of the most significant byte of random value used.
62398         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
62399         Fix coding style in previous change.
62401         * sysdeps/unix/sysv/linux/kernel-features.h
62402         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
62403         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
62404         expression.
62405         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
62406         later.
62408 2012-03-11  David S. Miller  <davem@davemloft.net>
62410         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
62411         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
62412         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
62413         for 'resultvar' otherwise things get truncated on 64-bit.
62415         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
62416         Fix masking out of the most significant byte of random value used.
62418         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62420 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
62422         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62424 2012-03-09  David S. Miller  <davem@davemloft.net>
62426         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
62427         variables with appropriate CPP guards.
62428         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
62429         from the frame pointer, not the stack pointer.  Correct layout
62430         comments.  Fix test on resulting framesize and the management of
62431         the outregs buffer for pltexit.  Preserve floating point return
62432         values across _dl_call_pltexit call.
62433         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
62434         framesize and the management of the outregs buffer for pltexit.
62435         Preserve floating point return values across _dl_call_pltexit
62436         call.
62437         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
62438         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
62439         (la_sparc64_gnu_pltexit): New functions.
62440         (print_exit): Fix format string for return register value.
62442 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
62444         * sunrpc/Makefile (others): Add rpcgen.
62445         ($(objpfx)rpcgen): Remove special build rule and dependency on
62446         libc.
62447         * sunrpc/rpcgen.c: New file.
62449 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
62451         [BZ #13673]
62452         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
62453         * stdio-common/bug-vfprintf-nargs.c: Likewise.
62454         * sysdeps/i386/crti.S: Likewise.
62455         * sysdeps/i386/crtn.S: Likewise.
62456         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
62457         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
62458         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
62459         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
62460         * sysdeps/sh/crti.S: Likewise.
62461         * sysdeps/sh/crtn.S: Likewise.
62462         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
62464         [BZ #13673]
62465         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
62466         with URL.
62467         * locale/programs/locfile-kw.gperf: Likewise.
62468         * locale/programs/charmap-kw.h: Regenerated.
62469         * locale/programs/locfile-kw.h: Likewise.
62471         [BZ #13673]
62472         * intl/plural.y: Replace FSF snail mail address with URL.
62473         * intl/plural.c: Regenerated.
62475 2012-03-09  Richard Henderson  <rth@twiddle.net>
62477         * include/math_private.h: Remove file.
62478         * math/math_private.h: Move file ...
62479         * sysdeps/generic/math_private.h: ... here.
62481         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
62482         * sysdeps/powerpc/fpu/math_private.h: Likewise.
62483         * sysdeps/x86_64/fpu/math_private.h: Likewise.
62485         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
62486         and <math_private.h>.
62487         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
62488         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
62489         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
62490         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
62491         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
62492         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
62493         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
62494         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
62495         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
62496         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
62497         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
62498         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
62499         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
62500         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
62501         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
62502         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
62503         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
62504         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
62505         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
62506         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
62507         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
62508         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
62509         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
62510         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
62511         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
62512         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
62513         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
62514         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
62515         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
62516         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
62517         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
62518         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
62519         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
62520         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
62521         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
62522         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
62523         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
62524         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
62525         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
62526         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
62527         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
62528         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
62529         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
62530         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
62531         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
62532         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
62533         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
62534         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
62535         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
62536         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
62537         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
62538         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
62539         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
62540         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
62541         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
62542         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
62543         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
62544         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
62545         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
62546         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
62547         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
62548         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
62549         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
62550         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
62551         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
62552         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
62553         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
62554         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
62555         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
62556         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
62557         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
62558         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
62559         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
62560         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
62561         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
62562         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
62563         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
62564         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
62565         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
62566         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
62567         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
62568         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
62569         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
62570         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
62571         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
62572         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
62573         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
62574         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
62575         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
62576         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
62577         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
62578         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
62579         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
62580         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
62581         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
62582         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
62583         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
62584         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
62585         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
62586         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
62587         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
62588         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
62589         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
62590         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
62591         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
62592         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
62593         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
62594         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
62595         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
62596         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
62597         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
62598         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
62599         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
62600         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
62601         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
62602         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
62603         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
62604         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
62605         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
62606         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
62607         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
62608         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
62609         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
62610         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
62611         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
62612         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
62613         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
62614         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
62615         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
62616         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
62617         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
62618         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
62619         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
62620         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
62621         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
62622         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
62623         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
62624         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
62625         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
62626         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
62627         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
62628         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
62629         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
62630         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
62631         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
62632         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
62633         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
62634         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
62635         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
62636         * sysdeps/ieee754/k_standard.c: Likewise.
62637         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
62638         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
62639         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
62640         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
62641         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
62642         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
62643         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
62644         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
62645         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
62646         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
62647         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
62648         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
62649         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
62650         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
62651         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
62652         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
62653         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
62654         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
62655         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
62656         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
62657         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
62658         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
62659         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
62660         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
62661         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
62662         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
62663         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
62664         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
62665         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
62666         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
62667         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
62668         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
62669         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
62670         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
62671         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
62672         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
62673         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
62674         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
62675         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
62676         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
62677         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
62678         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
62679         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
62680         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
62681         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
62682         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
62683         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
62684         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
62685         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
62686         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
62687         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
62688         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
62689         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
62690         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
62691         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
62692         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
62693         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
62694         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
62695         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
62696         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
62697         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
62698         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
62699         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
62700         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
62701         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
62702         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
62703         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
62704         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
62705         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
62706         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
62707         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
62708         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
62709         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
62710         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
62711         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
62712         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
62713         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
62714         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
62715         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
62716         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
62717         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
62718         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
62719         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
62720         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
62721         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
62722         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
62723         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
62724         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
62725         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
62726         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
62727         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
62728         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
62729         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
62730         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
62731         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
62732         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
62733         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
62734         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
62735         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
62736         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
62737         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
62738         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
62739         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
62740         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
62741         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
62742         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
62743         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
62744         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
62745         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
62746         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
62747         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
62748         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
62749         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
62750         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
62751         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
62752         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
62753         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
62754         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
62755         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
62756         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
62757         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
62758         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
62759         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
62760         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
62761         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
62762         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
62763         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
62764         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
62765         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
62766         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
62767         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
62768         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
62769         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
62770         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
62771         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
62772         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
62773         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
62774         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
62775         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
62776         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
62777         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
62778         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
62779         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
62780         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
62781         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
62782         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
62783         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
62784         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
62785         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
62786         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
62787         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
62788         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
62789         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
62790         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
62791         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
62792         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
62793         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
62794         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
62795         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
62796         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
62797         * sysdeps/ieee754/s_lib_version.c: Likewise.
62798         * sysdeps/ieee754/s_matherr.c: Likewise.
62799         * sysdeps/ieee754/s_signgam.c: Likewise.
62800         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
62801         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
62802         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
62803         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
62804         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
62805         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
62806         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
62807         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
62808         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
62809         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
62810         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
62811         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
62812         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
62813         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
62814         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
62815         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
62816         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
62817         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
62818         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
62819         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
62820         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
62822 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
62824         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
62825         * sunrpc/rpc_main.c: Likewise.
62826         * sunrpc/rpc_svcout.c: Likewise.
62828 2012-03-09  David S. Miller  <davem@davemloft.net>
62830         * include/math_private.h: New file.
62832 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
62834         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
62835         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
62836         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
62837         from <bits/socket_type.h>.
62838         (enum __socket_type): Don't define here.
62839         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
62840         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62841         bits/socket_type.h.
62843         [BZ #13566]
62844         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
62845         checking __USE_GNU.
62847         * Makerules ($(inst_includedir)/%.h): New rule.
62848         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
62849         (install-others): Remove variable setting.
62850         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
62852 2012-03-08  Richard Henderson  <rth@twiddle.net>
62854         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
62855         from macro to inline function; merge with the
62856         !__LIBC_INTERNAL_MATH_INLINES version.
62857         (__ieee754_sqrtf): Likewise.
62859         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
62860         to inline function.
62861         (__rintf, __floor, __floorf): Likewise.
62863         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
62864         macro to inline function.
62865         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
62867         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
62868         not <math/math_private.h>.
62870 2012-03-08  David S. Miller  <davem@davemloft.net>
62872         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
62873         copyright year.
62874         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
62876 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
62878         * resolv/gai_misc.c (handle_requests): Fix struct timespec
62879         normalization.
62880         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
62881         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
62883 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
62885         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
62886         be defined individually, they must be defined as a block.  Define
62887         S for printing a string instead of hidint the different by using a
62888         macro for adding the 'l'.
62889         * stdio-common/tst-fphex-wide.c: Adjust.
62891 2012-03-07  Marek Polacek  <polacek@redhat.com>
62893         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
62895 2012-03-08  Marek Polacek  <polacek@redhat.com>
62897         [BZ #13806]
62898         * stdio-common/Makefile (tests): Add tst-fphex-wide.
62899         * stdio-common/tst-fphex.c: Define a few macros to make the
62900         test reusable.  Use them.
62901         * stdio-common/tst-fphex-wide.c: New file.
62903 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
62905         [BZ #6911]
62906         * manual/macros.texi (gnusystems): New macro.
62907         (nongnusystems): Likewise.
62908         (gnulinuxhurdsystems): Likewise.
62909         (gnuhurdsystems): Likewise..
62910         (gnulinuxsystems): Likewise.
62911         * manual/charset.texi: Use new macros or @theglibc{} to refer to
62912         variants of the GNU system, not "GNU system".
62913         * manual/conf.texi: Likewise.
62914         * manual/errno.texi: Likewise.  Update example of errno macro
62915         expansion.
62916         * manual/filesys.texi: Likewise.
62917         (getumask): Document as specific to GNU/Hurd.
62918         * manual/install.texi: Likewise.  Reword some references to
62919         GNU/Linux.
62920         * manual/intro.texi: Likewise.
62921         * manual/io.texi: Likewise.
62922         (File Name Portability): Detail which constraints are inapplicable
62923         to all GNU systems and which are only inapplicable to GNU/Hurd.
62924         * manual/job.texi: Likewise.
62925         * manual/llio.texi: Likewise.
62926         (O_NOCTTY): Document as present on GNU/Linux.
62927         * manual/maint.texi: Likewise.
62928         * manual/memory.texi: Likewise.
62929         * manual/pattern.texi: Likewise.
62930         * manual/pipe.texi: Likewise.
62931         * manual/process.texi: Likewise.
62932         * manual/resource.texi: Likewise.
62933         (RUSAGE_CHILDREN): Remove statement about specifying a particular
62934         child on GNU/Hurd.
62935         * manual/setjmp.texi: Likewise.
62936         * manual/signal.texi: Likewise.
62937         * manual/startup.texi: Likewise.
62938         * manual/stdio.texi: Likewise.
62939         * manual/terminal.texi: Likewise.
62940         (ONLCR): Document as POSIX.
62941         (OXTABS): Document availability on GNU/Linux as XTABS.
62942         (ONOEOT): Document availability separately from other bits.
62943         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
62944         * manual/time.texi: Likewise.
62945         * manual/users.texi: Likewise.
62946         * INSTALL: Regenerated.
62947         * sysdeps/gnu/errlist.c: Regenerated.
62949         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
62950         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
62951         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
62952         puts.
62953         * configure: Regenerated.
62955 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
62957         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
62958         default includes instead of AC_HEADER_CHECK.
62959         * sysdeps/i386/configure: Regenerated.
62961         [BZ #10716]
62962         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
62963         * math/s_cacoshf.c (__cacoshf): Likewise.
62964         * math/s_cacoshl.c (__cacoshl): Likewise.
62965         * math/s_casinh.c (__casinh): Set signs of result from argument.
62966         * math/s_casinhf.c (__casinhf): Likewise.
62967         * math/s_casinhl.c (__casinhl): Likewise.
62968         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
62969         (casinh_test): Add more tests.
62970         * sysdeps/i386/fpu/libm-test-ulps: Update.
62971         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62973 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
62975         * po/zh_TW.po: Update from translation team.
62977         * login/Makefile (distribute): Remove variable.
62978         * catgets/Makefile: Likewise.
62979         * mach/Makefile: Likewise.
62980         * malloc/Makefile: Likewise.
62981         * misc/Makefile: Likewise.
62982         * iconv/Makefile: Likewise.
62983         * nscd/Makefile: Likewise.
62984         * hurd/Makefile: Likewise.
62985         * manual/Makefile: Likewise.
62986         * locale/Makefile: Likewise.
62987         * intl/Makefile: Likewise.
62988         * conform/Makefile: Likewise.
62989         * nss/Makefile: Likewise.
62990         * time/Makefile: Likewise.
62991         * soft-fp/Makefile: Likewise.
62992         * dirent/Makefile: Likewise.
62993         * gmon/Makefile: Likewise.
62994         * po/Makefile: Likewise.
62995         * rt/Makefile: Likewise.
62996         * socket/Makefile: Likewise.
62997         * math/Makefile: Likewise.
62998         * signal/Makefile: Likewise.
62999         * debug/Makefile: Likewise.
63000         * elf/Makefile: Likewise.
63001         * timezone/Makefile: Likewise.
63002         * stdlib/Makefile: Likewise.
63003         * iconvdata/Makefile: Likewise.
63004         * sunrpc/Makefile: Likewise.
63005         * io/Makefile: Likewise.
63006         * argp/Makefile: Likewise.
63007         * inet/Makefile: Likewise.
63008         * hesiod/Makefile: Likewise.
63009         * grp/Makefile: Likewise.
63010         * csu/Makefile: Likewise.
63011         * wctype/Makefile: Likewise.
63012         * crypt/Makefile: Likewise.
63013         * libio/Makefile: Likewise.
63014         * string/Makefile: Likewise.
63015         * nis/Makefile: Likewise.
63016         * resolv/Makefile: Likewise.
63017         * stdio-common/Makefile: Likewise.
63018         * wcsmbs/Makefile: Likewise.
63019         * dlfcn/Makefile: Likewise.
63020         * posix/Makefile: Likewise.
63022         [BZ #6959]
63023         * timezone/Makefile: Don't install timezone files, just the programs
63024         and scripts.
63026 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
63028         * nss/databases.def: Add missing gshadow entry.
63030         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
63032 2012-03-06  Marek Polacek  <polacek@redhat.com>
63034         [BZ #13726]
63035         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
63036         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
63037         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
63038         * stdio-common/tst-long-dbl-fphex.c: New file.
63040 2012-03-06  David S. Miller  <davem@davemloft.net>
63042         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
63043         (set_obp_int): New function.
63044         (get_obp_int): New function.
63045         (__get_clockfreq_via_dev_openprom): Likewise.
63046         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
63047         Avoid unused variable warnings on 'val' and use builtin_expect.
63048         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
63049         __builtin_expect.
63050         (INLINE_CLONE_SYSCALL): Likewise.
63052 2012-03-05  David S. Miller  <davem@davemloft.net>
63054         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63056 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
63058         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63060         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
63061         only for |x| >= 40.
63062         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
63064 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
63066         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
63067         Replace gettimeofday with __vdso_gettimeofday.
63069         * sysdeps/unix/sysv/linux/x86_64/init-first.c
63070         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
63071         __vdso_clock_gettime and __vdso_getcpu.
63073         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
63074         time with __vdso_time.
63076 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
63078         * manual/lang.texi (size_t): Note types to which size_t may be
63079         equivalent with the GNU C Library, but do not describe when
63080         differences between them are significant.
63082 2012-03-05  Andreas Jaeger  <aj@suse.de>
63084         * sysdeps/i386/fpu/libm-test-ulps: Update.
63086 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
63088         [BZ #3976]
63089         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
63090         (__ieee754_pow): Save and restore rounding mode and use
63091         round-to-nearest for main computations.
63092         * math/libm-test.inc (pow_test_tonearest): New function.
63093         (pow_test_towardzero): Likewise.
63094         (pow_test_downward): Likewise.
63095         (pow_test_upward): Likewise.
63096         (main): Call the new functions.
63097         * sysdeps/i386/fpu/libm-test-ulps: Update.
63098         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63100         [BZ #3976]
63101         * math/libm-test.inc (cosh_test_tonearest): New function.
63102         (cosh_test_towardzero): Likewise.
63103         (cosh_test_downward): Likewise.
63104         (cosh_test_upward): Likewise.
63105         (sinh_test_tonearest): Likewise.
63106         (sinh_test_towardzero): Likewise.
63107         (sinh_test_downward): Likewise.
63108         (sinh_test_upward): Likewise.
63109         (main): Call the new functions.
63110         * sysdeps/i386/fpu/libm-test-ulps: Update.
63111         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63113 2012-03-05  Tom de Vries  <tom@codesourcery.com>
63115         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
63116         default stack guard is set in last bytes.
63117         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
63119 2012-03-05  Kees Cook  <keescook@chromium.org>
63121         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
63123         [BZ #13656]
63124         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
63125         possibly allocate from heap instead of stack.
63126         * stdio-common/bug-vfprintf-nargs.c: New file.
63127         * stdio-common/Makefile (tests): Add nargs overflow test.
63129 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
63131         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63133 2012-03-03  Marek Polacek  <polacek@redhat.com>
63135         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
63136         * math/math_private.h: Likewise.
63137         * stdlib/tst-strtod.c: Likewise.
63138         * sysdeps/i386/i486/bits/atomic.h: Likewise.
63139         * sysdeps/x86_64/bits/atomic.h: Likewise.
63141 2012-03-02  David S. Miller  <davem@davemloft.net>
63143         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
63144         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
63145         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
63146         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
63147         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
63148         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
63149         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
63150         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
63152 2012-03-02  Roland McGrath  <roland@hack.frob.com>
63154         [BZ #13792]
63155         * manual/examples/README: New file, says the example source files
63156         can be used under GPL>=2.
63157         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
63158         line containing just "*/".
63159         * manual/examples/add.c: Add copyright header (GPL>=2).
63160         * manual/examples/argp-ex1.c: Likewise.
63161         * manual/examples/argp-ex2.c: Likewise.
63162         * manual/examples/argp-ex3.c: Likewise.
63163         * manual/examples/argp-ex4.c: Likewise.
63164         * manual/examples/atexit.c: Likewise.
63165         * manual/examples/db.c: Likewise.
63166         * manual/examples/dir.c: Likewise.
63167         * manual/examples/dir2.c: Likewise.
63168         * manual/examples/execinfo.c: Likewise.
63169         * manual/examples/filecli.c: Likewise.
63170         * manual/examples/filesrv.c: Likewise.
63171         * manual/examples/fmtmsgexpl.c: Likewise.
63172         * manual/examples/genpass.c: Likewise.
63173         * manual/examples/inetcli.c: Likewise.
63174         * manual/examples/inetsrv.c: Likewise.
63175         * manual/examples/isockad.c: Likewise.
63176         * manual/examples/longopt.c: Likewise.
63177         * manual/examples/memopen.c: Likewise.
63178         * manual/examples/memstrm.c: Likewise.
63179         * manual/examples/mkfsock.c: Likewise.
63180         * manual/examples/mkisock.c: Likewise.
63181         * manual/examples/mygetpass.c: Likewise.
63182         * manual/examples/pipe.c: Likewise.
63183         * manual/examples/popen.c: Likewise.
63184         * manual/examples/rprintf.c: Likewise.
63185         * manual/examples/search.c: Likewise.
63186         * manual/examples/select.c: Likewise.
63187         * manual/examples/setjmp.c: Likewise.
63188         * manual/examples/sigh1.c: Likewise.
63189         * manual/examples/sigusr.c: Likewise.
63190         * manual/examples/stpcpy.c: Likewise.
63191         * manual/examples/strdupa.c: Likewise.
63192         * manual/examples/strftim.c: Likewise.
63193         * manual/examples/strncat.c: Likewise.
63194         * manual/examples/subopt.c: Likewise.
63195         * manual/examples/swapcontext.c: Likewise.
63196         * manual/examples/termios.c: Likewise.
63197         * manual/examples/testopt.c: Likewise.
63198         * manual/examples/testpass.c: Likewise.
63199         * manual/examples/timeval_subtract.c: Likewise.
63201         [BZ #13792]
63202         * manual/time.texi (Elapsed Time): Move timeval_subtract example
63203         function to ...
63204         * manual/timeval_subtract.c.texi: ... here, new file.
63206 2012-03-02  David S. Miller  <davem@davemloft.net>
63208         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
63210 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
63212         [BZ #3976]
63213         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
63214         (__sin): Save and restore rounding mode and use round-to-nearest
63215         for all computations.
63216         (__cos): Save and restore rounding mode and use round-to-nearest
63217         for all computations.
63218         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
63219         <fenv.h>.
63220         (tan): Save and restore rounding mode and use round-to-nearest for
63221         all computations.
63222         * math/libm-test.inc (cos_test_tonearest): New function.
63223         (cos_test_towardzero): Likewise.
63224         (cos_test_downward): Likewise.
63225         (cos_test_upward): Likewise.
63226         (sin_test_tonearest): Likewise.
63227         (sin_test_towardzero): Likewise.
63228         (sin_test_downward): Likewise.
63229         (sin_test_upward): Likewise.
63230         (tan_test_tonearest): Likewise.
63231         (tan_test_towardzero): Likewise.
63232         (tan_test_downward): Likewise.
63233         (tan_test_upward): Likewise.
63234         (main): Call the new functions.
63235         * sysdeps/i386/fpu/libm-test-ulps: Update.
63236         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63238         [BZ #10135]
63239         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
63240         small n, then large n, before computing and testing k+n.
63241         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
63242         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
63243         Likewise.
63244         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
63245         Likewise.
63246         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
63247         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
63248         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
63249         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
63250         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
63251         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
63252         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
63253         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
63254         * math/libm-test.inc (scalbn_test): Add more tests.
63255         (scalbln_test): Likewise.
63257         * manual/filesys.texi (mode_t): Describe constraints on size and
63258         signedness, not exact equivalence to a particular type.
63259         (ino_t): Likewise.
63260         (ino64_t): Likewise.
63261         (dev_t): Likewise.
63262         (nlink_t): Likewise.
63263         (blkcnt_t): Likewise.
63264         (blkcnt64_t): Likewise.
63265         * manual/llio.texi (off_t): Likewise.
63267         [BZ #3976]
63268         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
63269         (__ieee754_exp): Save and restore rounding mode and use
63270         round-to-nearest for all computations.
63271         * math/libm-test.inc (exp_test_tonearest): New function.
63272         (exp_test_towardzero): Likewise.
63273         (exp_test_downward): Likewise.
63274         (exp_test_upward): Likewise.
63275         (main): Call the new functions.
63276         * sysdeps/i386/fpu/libm-test-ulps: Update.
63277         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63279 2012-03-01  Chris Demetriou  <cgd@google.com>
63281         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
63282         have predictable order.
63284 2012-03-01  David S. Miller  <davem@davemloft.net>
63286         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
63288         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
63289         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
63290         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
63291         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
63293         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
63294         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
63295         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
63296         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
63297         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
63298         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
63299         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
63300         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
63301         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
63303         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63305         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
63306         * sysdeps/sparc/fpu/libm-test-ulps: to here.
63307         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
63309         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
63310         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
63311         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
63312         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
63313         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
63314         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
63315         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
63316         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
63317         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
63318         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
63319         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
63320         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
63321         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
63322         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
63323         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
63324         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
63325         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
63326         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
63327         * sysdeps/sparc/elf/configure: Regenerated.
63329 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
63331         * configure.in (AS, LD): Require binutils 2.20 or later.
63332         * configure: Regenerated.
63333         * manual/install.texi (Tools for Compilation): Give binutils 2.20
63334         as required minimum version.
63335         * INSTALL: Regenerated.
63337         [BZ #2541]
63338         [BZ #4108]
63339         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
63340         before squaring exponent.
63341         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
63342         bottom long double and 27 bits of top long double before squaring
63343         exponent.
63344         * math/libm-test.inc (erfc_test): Add more tests.
63345         * sysdeps/i386/fpu/libm-test-ulps: Update.
63346         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
63347         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63349 2012-03-01  Kai Tietz  <ktietz@redhat.com>
63351         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
63352         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
63353         containing bit-fields.
63354         * soft-fp/extended.h (_FP_UNION_E): Likewise.
63355         * soft-fp/single.h (_FP_UNION_S): Likewise.
63356         * soft-fp/double.h (_FP_UNION_D): Likewise.
63358 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
63360         [BZ #13786]
63361         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
63362         not include ../strcmp.S.
63363         [USE_AS_STRNCASECMP_L]: Likewise.
63364         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
63365         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
63366         * sysdeps/i386/i686/multiarch/strncase_l-c.c
63367         (__strncasecmp_l_ia32): Define as alias to
63368         __strncasecmp_l_nonascii.
63370         [BZ #5794]
63371         * math/libm-test.inc (expm1_test): Add test for bug 5794.
63372         * sysdeps/i386/fpu/libm-test-ulps: Update.
63373         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63375         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
63376         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63378 2012-02-29  Jeff Law  <law@redhat.com>
63380         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
63381         out of bounds read.
63383 2012-02-29  Marek Polacek  <polacek@redhat.com>
63385         [BZ #13706]
63386         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
63387         * elf/Makefile: Add rules to run tst-unused-dep.out.
63389 2012-02-28  David S. Miller  <davem@davemloft.net>
63391         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
63392         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
63393         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
63394         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
63395         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
63396         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
63398 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
63400         * math/libm-test.inc (llround_test): Move one test from
63401         lround_test.  Use TEST_f_L in moved test.
63402         (lround_test): Move misplaced test to llround_test.  Add testcase
63403         from bug 2561.
63405 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
63407         * sysdeps/x86_64/fpu/e_expf.S: New file.
63408         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
63410 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
63412         [BZ #13637]
63413         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
63414         of remain_len that may cause incomplete multi-byte character and
63415         false match.
63416         * posix/bug-regex33.c: New file.
63417         * posix/Makefile (tests): Add bug-regex33.
63419 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
63421         * manual/macros.texi: New file.
63422         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
63423         * manual/libc.texinfo: Include macros.texi.
63424         * manual/creatute.texi: Likewise.
63425         * manual/install.texi: Likewise.
63426         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
63427         @glibcadj{} in references to the GNU C Library.
63428         * manual/charset.texi: Likewise.
63429         * manual/conf.texi: Likewise.
63430         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
63431         when not using those macros.
63432         * manual/creature.texi: Likewise.
63433         * manual/crypt.texi: Likewise.
63434         * manual/errno.texi: Likewise.
63435         * manual/filesys.texi: Likewise.
63436         * manual/header.texi: Likewise.
63437         * manual/install.texi: Likewise.
63438         * manual/intro.texi: Likewise.
63439         * manual/io.texi: Likewise.
63440         * manual/job.texi: Likewise.
63441         * manual/lang.texi: Likewise.
63442         * manual/libc.texiinfo: Likewise.
63443         * manual/llio.texi: Likewise.
63444         * manual/locale.texi: Likewise.
63445         * manual/maint.texi: Likewise.
63446         * manual/math.texi: Likewise.
63447         * manual/memory.texi: Likewise.
63448         * manual/message.texi: Likewise.
63449         * manual/nss.texi: Likewise.
63450         * manual/pattern.texi: Likewise.
63451         * manual/process.texi: Likewise.
63452         * manual/resource.texi: Likewise.
63453         * manual/search.texi: Likewise.
63454         * manual/setjmp.texi: Likewise.
63455         * manual/signal.texi: Likewise.
63456         * manual/socket.texi: Likewise.
63457         * manual/startup.texi: Likewise.
63458         * manual/stdio.texi: Likewise.
63459         * manual/string.texi: Likewise.
63460         * manual/sysinfo.texi: Likewise.
63461         * manual/syslog.texi: Likewise.
63462         * manual/terminal.texi: Likewise.
63463         * manual/time.texi: Likewise.
63464         * manual/users.texi: Likewise.
63465         * INSTALL: Regenerated.
63466         * NOTES: Regenerated.
63467         * sysdeps/gnu/errlist.c: Regenerated.
63469 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
63471         * include/dirent.h: Include <dirstream.h> before
63472         <dirent/dirent.h>.
63474 2012-02-28  David S. Miller  <davem@davemloft.net>
63476         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
63477         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
63478         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
63479         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
63481 2012-02-27  David S. Miller  <davem@davemloft.net>
63483         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
63484         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
63485         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
63486         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
63488         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
63489         frame pointer instead of stack pointer relative arg slot.
63490         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
63491         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
63492         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
63494 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
63496         [BZ #3992]
63497         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
63499 2012-02-27  David S. Miller  <davem@davemloft.net>
63501         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
63502         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
63503         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
63504         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
63505         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
63506         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
63507         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
63508         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
63510 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
63512         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
63513         later.  Allow versions 5-9.
63514         * configure: Regenerated.
63515         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
63516         required minimum version and 4.6 as recommended version.  Do not
63517         mention bugs in GCC 2.7 and 2.8.
63518         * INSTALL: Regenerated.
63520 2012-02-27  David S. Miller  <davem@davemloft.net>
63522         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
63523         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
63524         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
63525         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
63526         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
63527         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
63528         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
63529         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
63531         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
63532         manipulate bits before adding and subtracting TWO112[sx].
63533         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
63535 2012-02-27  Roland McGrath  <roland@hack.frob.com>
63537         [BZ #13775]
63538         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
63539         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
63540         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
63541         being in POSIX, because they are in 1003.1-2008.
63543         * rt/tst-aio.c: Include <fcntl.h>.
63544         * rt/tst-aio7.c: Likewise.
63545         * rt/tst-aio64.c: Likewise.
63547         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
63549 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
63551         * manual/install.texi (--with-headers): Describe headers as
63552         interface headers, not private headers.
63553         (Specific advice for GNU/Linux systems): Describe use of headers
63554         from "make headers_install", not private headers from older
63555         kernels.
63556         * INSTALL: Regenerated.
63557         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
63558         Change to 2.6.19.
63559         * sysdeps/unix/sysv/linux/configure: Regenerated.
63561         * manual/llio.texi (fclean): Remove documentation.
63563         * manual/Makefile (libc-texi-generated): New variable.  Include
63564         version.texi.
63565         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
63566         $(libc-texi-generated), not duplicated list of files.
63567         (version.texi, stamp-version): New rules.
63568         (realclean): Remove $(libc-texi-generated), not individual files
63569         from that list.  Do not remove dir-add.texinfo.
63570         * manual/libc.texinfo: Comment out uses of edition numbers and
63571         references to printed manual.  Remove last-updated dates.
63572         (EDITION): Comment out.
63573         (ISBN): Likewise.
63574         (VERSION, UPDATED): Remove.
63575         (version.texi): Include.
63577 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
63579         * sysdeps/posix/spawni.c: Include <signal.h>.
63580         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
63581         * sysdeps/pthread/aio_fsync.c: Likewise.
63583 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
63585         * conform/Makefile (tests): Run only when not cross-compiling and
63586         when fast-check is not defined.
63588         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
63589         * conform/data/limits.h-data: Fixes for POSIX2008.
63590         * conform/run-conformtest.sh: Run all tests.
63591         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
63592         headers.
63593         * include/bits/dlfcn.h: Likewise.
63594         * include/langinfo.h: Likewise.
63595         * include/monetary.h: Likewise.
63596         * include/sys/poll.h: Likewise.
63598         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
63599         for __USE_GNU.
63600         * posix/spawn.h: Define __need_sigset_t.
63601         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
63602         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
63603         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
63604         to get sigevent_t only.
63605         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
63606         only for __USE_GNU.
63607         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
63608         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
63609         process_vm_writev only for __USE_GNU.
63610         * termios/termios.h: Declare tcgetsid also for POSIX2008.
63612         * conform/Makefile: For now ignore errors from run-conformtest.
63613         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
63614         POSIX to avoid namespace pollution.  Don't prepend headers.
63615         * conform/data/aio.h-data: Fixes for POSIX testing.
63616         * conform/data/fcntl.h-data: Likewise.
63617         * conform/data/glob.h-data: Likewise.
63618         * conform/data/grp.h-data: Likewise.
63619         * conform/data/pthread.h-data: Likewise.
63620         * conform/data/pwd.h-data: Likewise.
63621         * conform/data/signal.h-data: Likewise.
63622         * conform/data/spawn.h-data: Likewise.
63623         * conform/data/stdio.h-data: Likewise.
63624         * conform/data/stdlib.h-data: Likewise.
63625         * conform/data/stropts.h-data: Likewise.
63626         * conform/data/sys/mman.h-data: Likewise.
63627         * conform/data/sys/stat.h-data: Likewise.
63628         * conform/data/sys/types.h-data: Likewise.
63629         * conform/data/sys/wait.h-data: Likewise.
63630         * conform/data/time.h-data: Likewise.
63631         * conform/data/unistd.h-data: Likewise.
63632         * conform/data/utime.h-data: Likewise.
63634         * io/sys/stat.h: fchmod was always in POSIX.
63635         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
63636         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
63637         * rt/aio.h: Define __need_timespec before including <time.h>.
63638         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
63639         struct.  Add forward declaration of pthread_attr_t and use it in
63640         sigevent.
63641         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
63642         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
63643         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
63644         always remove CLK_TCK definition.
63646 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
63648         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
63650 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
63652         * conform/run-conformtest.sh: New file.
63653         * conform/Makefile: Run run-conformtest for tests.
63654         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
63655         support.
63657         * conform/data/uchar.h-data: New file.
63658         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
63659         * conform/data/arpa/inet.h-data: Likewise.
63660         * conform/data/assert.h-data: Likewise.
63661         * conform/data/complex.h-data: Likewise.
63662         * conform/data/cpio.h-data: Likewise.
63663         * conform/data/ctype.h-data: Likewise.
63664         * conform/data/dirent.h-data: Likewise.
63665         * conform/data/dlfcn.h-data: Likewise.
63666         * conform/data/errno.h-data: Likewise.
63667         * conform/data/fcntl.h-data: Likewise.
63668         * conform/data/float.h-data: Likewise.
63669         * conform/data/fmtmsg.h-data: Likewise.
63670         * conform/data/fnmatch.h-data: Likewise.
63671         * conform/data/ftw.h-data: Likewise.
63672         * conform/data/glob.h-data: Likewise.
63673         * conform/data/grp.h-data: Likewise.
63674         * conform/data/iconv.h-data: Likewise.
63675         * conform/data/inttypes.h-data: Likewise.
63676         * conform/data/langinfo.h-data: Likewise.
63677         * conform/data/libgen.h-data: Likewise.
63678         * conform/data/limits.h-data: Likewise.
63679         * conform/data/locale.h-data: Likewise.
63680         * conform/data/math.h-data: Likewise.
63681         * conform/data/monetary.h-data: Likewise.
63682         * conform/data/mqueue.h-data: Likewise.
63683         * conform/data/ndbm.h-data: Likewise.
63684         * conform/data/net/if.h-data: Likewise.
63685         * conform/data/netdb.h-data: Likewise.
63686         * conform/data/netinet/in.h-data: Likewise.
63687         * conform/data/nl_types.h-data: Likewise.
63688         * conform/data/poll.h-data: Likewise.
63689         * conform/data/pthread.h-data: Likewise.
63690         * conform/data/pwd.h-data: Likewise.
63691         * conform/data/regex.h-data: Likewise.
63692         * conform/data/sched.h-data: Likewise.
63693         * conform/data/search.h-data: Likewise.
63694         * conform/data/semaphore.h-data: Likewise.
63695         * conform/data/setjmp.h-data: Likewise.
63696         * conform/data/signal.h-data: Likewise.
63697         * conform/data/spawn.h-data: Likewise.
63698         * conform/data/stdarg.h-data: Likewise.
63699         * conform/data/stdio.h-data: Likewise.
63700         * conform/data/stdlib.h-data: Likewise.
63701         * conform/data/string.h-data: Likewise.
63702         * conform/data/strings.h-data: Likewise.
63703         * conform/data/stropts.h-data: Likewise.
63704         * conform/data/sys/ipc.h-data: Likewise.
63705         * conform/data/sys/mman.h-data: Likewise.
63706         * conform/data/sys/msg.h-data: Likewise.
63707         * conform/data/sys/resource.h-data: Likewise.
63708         * conform/data/sys/select.h-data: Likewise.
63709         * conform/data/sys/sem.h-data: Likewise.
63710         * conform/data/sys/shm.h-data: Likewise.
63711         * conform/data/sys/socket.h-data: Likewise.
63712         * conform/data/sys/stat.h-data: Likewise.
63713         * conform/data/sys/statvfs.h-data: Likewise.
63714         * conform/data/sys/time.h-data: Likewise.
63715         * conform/data/sys/timeb.h-data: Likewise.
63716         * conform/data/sys/times.h-data: Likewise.
63717         * conform/data/sys/types.h-data: Likewise.
63718         * conform/data/sys/uio.h-data: Likewise.
63719         * conform/data/sys/un.h-data: Likewise.
63720         * conform/data/sys/utsname.h-data: Likewise.
63721         * conform/data/sys/wait.h-data: Likewise.
63722         * conform/data/syslog.h-data: Likewise.
63723         * conform/data/tar.h-data: Likewise.
63724         * conform/data/termios.h-data: Likewise.
63725         * conform/data/utime.h-data: Likewise.
63726         * conform/data/utmpx.h-data: Likewise.
63727         * conform/data/varargs.h-data: Likewise.
63728         * conform/data/wchar.h-data: Likewise.
63729         * conform/data/wctype.h-data: Likewise.
63730         * conform/data/wordexp.h-data: Likewise.
63732         * include/stropts.h: New file.
63733         * include/uchar.h: New file.
63734         * include/aio.h: Changes to allow conformtest.pl to use the headers.
63735         * include/assert.h: Likewise.
63736         * include/ctype.h: Likewise.
63737         * include/dirent.h: Likewise.
63738         * include/dlfcn.h: Likewise.
63739         * include/fcntl.h: Likewise.
63740         * include/fnmatch.h: Likewise.
63741         * include/glob.h: Likewise.
63742         * include/grp.h: Likewise.
63743         * include/libio.h: Likewise.
63744         * include/locale.h: Likewise.
63745         * include/math.h: Likewise.
63746         * include/net/if.h: Likewise.
63747         * include/netdb.h: Likewise.
63748         * include/netinet/in.h: Likewise.
63749         * include/pthread.h: Likewise.
63750         * include/pwd.h: Likewise.
63751         * include/regex.h: Likewise.
63752         * include/sched.h: Likewise.
63753         * include/search.h: Likewise.
63754         * include/setjmp.h: Likewise.
63755         * include/signal.h: Likewise.
63756         * include/stdio.h: Likewise.
63757         * include/stdlib.h: Likewise.
63758         * include/string.h: Likewise.
63759         * include/sys/cdefs.h: Likewise.
63760         * include/sys/mman.h: Likewise.
63761         * include/sys/msg.h: Likewise.
63762         * include/sys/resource.h: Likewise.
63763         * include/sys/select.h: Likewise.
63764         * include/sys/socket.h: Likewise.
63765         * include/sys/stat.h: Likewise.
63766         * include/sys/statvfs.h: Likewise.
63767         * include/sys/time.h: Likewise.
63768         * include/sys/times.h: Likewise.
63769         * include/sys/uio.h: Likewise.
63770         * include/sys/utsname.h: Likewise.
63771         * include/sys/wait.h: Likewise.
63772         * include/termios.h: Likewise.
63773         * include/time.h: Likewise.
63774         * include/ulimit.h: Likewise.
63775         * include/unistd.h: Likewise.
63776         * include/utime.h: Likewise.
63777         * include/wchar.h: Likewise.
63778         * include/wctype.h: Likewise.
63779         * include/wordexp.h: Likewise.
63781         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
63783         * time/time.h: TIME_UTC must be a macro.
63784         Make timespec_get available for ISO C11 only as well.
63786 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
63788         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
63789         Reported by Peng Haitao <penght@cn.fujitsu.com>.
63791 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
63793         * configure.in: Use -o not -a in test for unsupported multi-arch.
63795 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
63797         * manual/texinfo.tex: Update to version 2012-01-19.16.
63799 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
63801         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
63803 2012-02-24  Roland McGrath  <roland@hack.frob.com>
63805         [BZ #13738]
63806         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
63807         * manual/fdl-1.3.texi: New file.
63808         * manual/fdl-1.1.texi: File removed.
63810         [BZ #13738]
63811         * manual/libc.texinfo (FDL_VERSION): New @set.
63812         Use it for mention of FDL in cover text.
63813         (Documentation License): Use it in @include file name.
63815 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
63816             Roland McGrath  <roland@hack.frob.com>
63818         [BZ #5461]
63819         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
63820         (not LONG_LONG_MAX and LONG_LONG_MIN.
63821         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
63822         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
63823         name.
63824         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
63826 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
63828         [BZ #2547]
63829         [BZ #11365]
63830         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
63831         manipulate bits before adding and subtracting TWO23[sx].
63832         * math/libm-test.inc (nearbyint_test): Add more tests.
63834 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
63836         [BZ #2548]
63837         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
63838         bits before adding and subtracting TWO23[sx].
63839         * math/libm-test.inc (rint_test): Add more tests.
63840         (rint_test_tonearest): Likewise.
63841         (rint_test_towardzero): Likewise.
63842         (rint_test_downward): Likewise.
63843         (rint_test_upward: Likewise.
63845 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
63847         [BZ #10110]
63848         * include/stdc-predef.h: New file.  Extracted from features.h.
63849         * include/features.h: Include stdc-predef.h.
63850         * Makefile (headers): Add stdc-predef.h.
63851         * CONFORMANCE (Compiler limitations): Update.
63853 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
63855         * manual/libc.texinfo (VERSION, UPDATED): Revert.
63857 2012-02-21  David S. Miller  <davem@davemloft.net>
63859         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
63860         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
63862 2012-02-20  David S. Miller  <davem@davemloft.net>
63864         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
63865         using a normal save/restore sequence, rather than allocating a
63866         dummy stack frame just to store a frame pointer and restore.
63867         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
63869 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
63871         * manual/install.texi: Fix stray word in line-wrapped comment.
63873 2012-02-20  David S. Miller  <davem@davemloft.net>
63875         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
63876         both binutils and gcc support GOTDATA.
63878         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
63879         "rd %pc" in the PIC register setup sequences.
63881         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
63882         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
63883         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
63884         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
63885         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
63886         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
63887         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
63888         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
63889         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
63890         (SYSCALL_ERROR_HANDLER): Likewise.
63891         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
63892         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
63893         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
63894         (SYSCALL_ERROR_HANDLER): Likewise.
63896         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
63897         (HAVE_GCC_GOTDATA): New.
63898         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
63899         relocation support in both binutils and gcc.
63900         * sysdeps/sparc/elf/configure: Regenerate.
63902         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
63903         * sysdeps/sparc/sparc32/elf/configure: Delete.
63904         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
63905         * sysdeps/sparc/sparc64/elf/configure: Delete.
63906         * sysdeps/sparc/elf/configure.in: New file.
63907         * sysdeps/sparc/elf/configure: Generate.
63909         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
63910         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
63911         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
63912         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
63913         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
63915 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
63917         * manual/install.texi: Do not mention specific glibc version
63918         numbers.
63919         * manual/libc.texinfo (VERSION, UPDATED): Update.
63920         (@copying): Use @copyright{} and range of years.
63922 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
63924         [BZ #13695]
63925         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
63926         [crti.S not in sysdirs] (generated): Do not append.
63927         [crti.S not in sysdirs] (omit-deps): Likewise.
63928         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
63929         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
63930         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
63931         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
63932         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
63933         Likewise.
63934         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
63935         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
63936         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
63937         * csu/defs.awk: Remove file.
63938         * sysdeps/generic/initfini.c: Likewise.
63939         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
63940         variable.
63941         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
63942         Likewise.
63944 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
63946         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
63947         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
63948         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
63949         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
63950         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
63951         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
63952         <bits/epoll.h>.
63953         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
63954         (__EPOLL_PACKED): Define to empty if not defined by
63955         <bits/epoll.h>.
63956         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
63957         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63958         bits/epoll.h.
63960 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
63962         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
63963         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
63964         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
63965         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
63966         <bits/timerfd.h>.
63967         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
63968         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63969         bits/timerfd.h.
63971 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
63973         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
63974         in C locale.
63975         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
63976         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
63977         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
63978         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63980 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
63982         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
63983         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
63985 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
63987         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
63988         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
63989         defined.
63990         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
63991         Likewise.
63992         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
63993         entry for 2.16.
63995 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
63997         * math/w_acos.c: Use non-signaling floating-point comparisons.
63998         * math/w_acosf.c: Likewise.
63999         * math/w_acosh.c: Likewise.
64000         * math/w_acoshf.c: Likewise.
64001         * math/w_acoshl.c: Likewise.
64002         * math/w_acosl.c: Likewise.
64003         * math/w_asin.c: Likewise.
64004         * math/w_asinf.c: Likewise.
64005         * math/w_asinl.c: Likewise.
64006         * math/w_atanh.c: Likewise.
64007         * math/w_atanhf.c: Likewise.
64008         * math/w_atanhl.c: Likewise.
64009         * math/w_exp2.c: Likewise.
64010         * math/w_exp2f.c: Likewise.
64011         * math/w_exp2l.c: Likewise.
64012         * math/w_j0.c: Likewise.
64013         * math/w_j0f.c: Likewise.
64014         * math/w_j0l.c: Likewise.
64015         * math/w_j1.c: Likewise.
64016         * math/w_j1f.c: Likewise.
64017         * math/w_j1l.c: Likewise.
64018         * math/w_jn.c: Likewise.
64019         * math/w_jnf.c: Likewise.
64020         * math/w_log.c: Likewise.
64021         * math/w_log10.c: Likewise.
64022         * math/w_log10f.c: Likewise.
64023         * math/w_log10l.c: Likewise.
64024         * math/w_log2.c: Likewise.
64025         * math/w_log2f.c: Likewise.
64026         * math/w_log2l.c: Likewise.
64027         * math/w_logf.c: Likewise.
64028         * math/w_logl.c: Likewise.
64029         * math/w_sqrt.c: Likewise.
64030         * math/w_sqrtf.c: Likewise.
64031         * math/w_sqrtl.c: Likewise.
64032         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
64033         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
64034         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
64035         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
64036         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
64038 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
64040         [BZ #9739]
64041         * manual/string.texi (strnlen): Use correct parameter name in
64042         equivalent expression.
64044 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
64046         [BZ #11174]
64047         * manual/users.texi (seteuid): Consistently use neweuid for
64048         argument name.
64050 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
64052         [BZ #13704]
64053         * manual/nss.texi (Services in the NSS configuration): Correct
64054         list of services in example configuration file.
64056 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
64058         [BZ #11322]
64059         * manual/arith.texi: Remove statements about negative zero
64060         behaving identically to zero.
64062 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
64064         [BZ #5993]
64065         * manual/install.texi: Do not document upgrading from libc5.
64067 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
64069         [BZ #4596]
64070         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
64072 2012-02-18  David S. Miller  <davem@davemloft.net>
64074         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
64075         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
64076         %o7 across the call.
64077         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
64078         instead.
64079         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
64080         SETUP_PIC_REG_LEAF.
64081         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
64082         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
64083         * sysdeps/sparc/crtn.S: Likewise.
64085 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
64087         * aout/Makefile: Remove.
64089 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
64091         [BZ #13058]
64092         * manual/examples/argp-ex1.c (main): Format definition in GNU
64093         style.
64094         * manual/examples/argp-ex2.c (main): Likewise.
64095         * manual/examples/argp-ex3.c (main): Likewise.
64096         * manual/examples/argp-ex4.c (main): Likewise.
64097         * manual/examples/longopt.c (main): Use new-style prototype
64098         definition.
64099         * manual/examples/strncat.c (main): Specify return type and use
64100         (void) for arguments.
64101         * manual/examples/subopt.c (main): Use char **argv argument.
64103 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
64105         [BZ #5077]
64106         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
64107         rounding modes.
64109 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
64111         [BZ #6907]
64112         * manual/string.texi (strchr): Change when strchrnul is
64113         recommended.
64115 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
64117         [BZ #174]
64118         * manual/locale.texi (setlocale): Document LOCPATH.
64120 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
64122         [BZ #10210]
64123         * manual/process.texi (execle): Move @dots{} before last argument.
64125 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
64127         [BZ #12047]
64128         * manual/charset.texi (Generic Charset Conversion): Fix typo
64129         (LC_TYPE -> LC_CTYPE).
64131 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
64133         [BZ #5805]
64134         * manual/arith.texi (scalbn): Use @var{} on parameter names.
64135         (scalbnf): Likewise.
64136         (scalbnl): Likewise.
64137         (scalbln): Likewise.
64138         (scalblnf): Likewise.
64139         (scalblnl): Likewise.
64140         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
64141         (vwarnx): Likewise.
64142         (verr): Likewise.
64143         (verrx): Likewise.
64144         * manual/filesys.texi (telldir): Use braces around return type.
64145         * manual/llio.texi (mmap): Add space after comma.
64146         (mmap64): Likewise.
64147         * manual/math.texi (jn): Use @var{} on parameter names.
64148         (jnf): Likewise.
64149         (jnl): Likewise.
64150         (yn): Likewise.
64151         (ynf): Likewise.
64152         (ynl): Likewise.
64153         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
64154         line.
64155         * manual/resource.texi (ulimit): Use @dots{} instead of literal
64156         "...".
64157         (sched_get_priority_min): Remove semicolon on @deftypefun line.
64158         (sched_get_priority_max): Likewise.
64159         * manual/signal.texi (sigvec): Add space after comma.
64160         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
64161         names.
64162         (if_indextoname): Likewise.
64163         (if_freenameindex): Likewise.
64164         (sendto): Use ',' instead of '.' in prototype.
64165         * manual/startup.texi (syscall): Use @dots{} instead of literal
64166         "...".
64167         * manual/stdio.texi (__fpending): Separate initial words of
64168         paragraph from @deftypefun line.
64169         * manual/syslog.texi (syslog): Use @dots{} instead of literal
64170         "...".
64171         (vsyslog): Use @var{} on parameter names.
64172         * manual/terminal.texi (stty): Use @var{} on parameter names.
64173         * manual/users.texi (getutmp): Use @var{} on parameter names.
64174         (getutmpx): Likewise.
64176 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
64178         [BZ #6884]
64179         * manual/stdio.texi (fopen): Fix typos in description of
64180         ",ccs=STRING".
64182 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
64184         [BZ #4026]
64185         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
64186         get clock_id definition.
64188 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
64190         [BZ #4822]
64191         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
64192         (madvise): Cast every argument to void on its own.
64194 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
64196         [BZ #9902]
64197         * manual/startup.texi (Exit Status): Fix typo.
64199 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
64201         [BZ #10140]
64202         * manual/examples/argp-ex1.c: Include <stdlib.h>.
64203         * manual/examples/argp-ex2.c: Likewise.
64204         * manual/examples/argp-ex3.c: Likewise.
64206 2012-02-16  Richard Henderson  <rth@redhat.com>
64208         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
64209         * sysdeps/s390/s390-32/initfini.c: Remove.
64210         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
64211         * sysdeps/s390/s390-64/initfini.c: Remove.
64213 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
64215         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
64216         compiler output for sysdeps/generic/initfini.c.
64217         * sysdeps/sh/elf/initfini.c: Remove file.
64219 2012-02-16  David S. Miller  <davem@davemloft.net>
64221         [BZ #11494]
64222         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
64224         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
64225         * sysdeps/sparc/crti.S: New file.
64226         * sysdeps/sparc/crtn.S: New file.
64227         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
64228         * sysdeps/sparc/sparc64/Makefile: Likewise.
64230 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
64232         [BZ #3335]
64233         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
64235 2012-02-15  Roland McGrath  <roland@hack.frob.com>
64237         [BZ #4822]
64238         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
64240         * mach/devstream.c (cookie_io_functions_t): Macro removed.
64241         (write, read, close): Likewise.
64242         Patch by Aurelien Jarno <aurelien@aurel32.net>.
64244 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
64246         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
64247         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
64248         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
64249         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
64250         <bits/signalfd.h>.
64251         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
64252         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64253         bits/signalfd.h.
64255 2012-02-14  Marek Polacek  <polacek@redhat.com>
64257         * sysdeps/x86_64/crti.S: New file.
64258         * sysdeps/x86_64/crtn.S: New file.
64259         * sysdeps/x86_64/elf/initfini.c: Remove file.
64261 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
64263         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
64264         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
64265         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
64266         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
64267         <bits/inotify.h>.
64268         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
64269         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64270         bits/inotify.h.
64272 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
64274         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
64275         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
64276         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
64277         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
64278         <bits/eventfd.h>.
64279         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
64280         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64281         bits/eventfd.h.
64283 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
64285         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
64286         __feraiseexcept instead of feraiseexcept.
64288         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
64289         nanosleep invocations.
64290         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
64291         strings, and add error checking for a nanosleep invocations.
64293 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
64295         Replace FSF snail mail address with URLs, as per GNU coding standards.
64296         Most of the snail mail addresses were wrong anyway, and omitting
64297         them makes the source code easier to maintain.  Almost all of the
64298         changes are to license notices and to locale LC_IDENTIFICATION
64299         addresses, except for this one:
64300         * manual/libc.texinfo: In "Published by", give the FSF's URL,
64301         not its snail mail address.
64303 2012-02-09  Richard Henderson  <rth@twiddle.net>
64305         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
64306         of kernel-features.h.
64308         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
64310 2012-02-08  Marek Polacek  <polacek@redhat.com>
64312         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
64313         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
64314         * sysdeps/gnu/_G_config.h: Likewise.
64315         * sysdeps/generic/_G_config.h: Likewise.
64317 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
64319         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
64320         tests.
64321         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64323         * sysdeps/powerpc/powerpc32/crti.S: New file.
64324         * sysdeps/powerpc/powerpc32/crtn.S: New file.
64325         * sysdeps/powerpc/powerpc64/crti.S: New file.
64326         * sysdeps/powerpc/powerpc64/crtn.S: New file.
64328         * Makeconfig (have-initfini): Don't set.
64329         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
64330         * configure.in (nopic_initfini): Don't substitute.
64331         * config.h.in (HAVE_INITFINI): Don't #undef.
64332         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
64333         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
64335 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
64337         Support crti.S and crtn.S provided directly by architectures.
64338         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
64339         [crti.S in sysdirs] (omit-deps): Likewise.
64340         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
64341         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
64342         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
64343         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
64344         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
64345         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
64346         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
64347         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
64348         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
64349         compiler output for sysdeps/generic/initfini.c.
64350         * sysdeps/i386/elf/Makefile: Remove file.
64351         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
64353 2012-02-07  Marek Polacek  <polacek@redhat.com>
64355         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
64356         * sysdeps/gnu/_G_config.h: Likewise.
64357         * sysdeps/mach/hurd/_G_config.h: Likewise.
64359 2012-02-07  Marek Polacek  <polacek@redhat.com>
64361         * math/Makefile (tests): Add tst-CMPLX2.
64362         * math/tst-CMPLX2.c: New file.
64364 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
64366         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
64368         * math/libm-test.inc (jn_test): Add missing L suffix.
64370 2012-02-06  Marek Polacek  <polacek@redhat.com>
64372         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
64373         * sysdeps/i386/fpu/e_powf.S: Likewise.
64374         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
64375         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
64376         * sysdeps/i386/fpu/e_acosh.S: Likewise.
64377         * sysdeps/i386/fpu/e_pow.S: Likewise.
64378         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
64379         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
64380         * sysdeps/i386/fpu/s_expm1.S: Likewise.
64381         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
64382         * sysdeps/i386/fpu/e_log2.S: Likewise.
64383         * sysdeps/i386/fpu/e_log2l.S: Likewise.
64384         * sysdeps/i386/fpu/e_scalb.S: Likewise.
64385         * sysdeps/i386/fpu/e_powl.S: Likewise.
64386         * sysdeps/i386/fpu/s_log1p.S: Likewise.
64387         * sysdeps/i386/fpu/e_log10f.S: Likewise.
64388         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
64389         * sysdeps/i386/fpu/e_logl.S: Likewise.
64390         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
64391         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
64392         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
64393         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
64394         * sysdeps/i386/fpu/e_log2f.S: Likewise.
64395         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
64396         * sysdeps/i386/fpu/e_log.S: Likewise.
64397         * sysdeps/i386/fpu/s_cexp.S: Likewise.
64398         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
64399         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
64400         * sysdeps/i386/fpu/e_logf.S: Likewise.
64401         * sysdeps/i386/fpu/e_log10l.S: Likewise.
64402         * sysdeps/i386/fpu/e_atanh.S: Likewise.
64403         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
64404         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
64405         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
64406         * sysdeps/i386/fpu/e_log10.S: Likewise.
64407         * sysdeps/i386/fpu/s_frexp.S: Likewise.
64408         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
64409         * sysdeps/i386/fpu/s_asinh.S: Likewise.
64410         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
64411         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
64412         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
64413         * sysdeps/i386/asm-syntax.h: Likewise.
64414         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
64415         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
64416         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
64417         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
64418         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
64419         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
64420         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
64421         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
64422         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
64423         * sysdeps/powerpc/sysdep.h: Likewise.
64424         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
64425         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
64427 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
64429         [BZ #411]
64430         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
64432 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
64434         * sysdeps/i386/sysdep.h: Include <features.h>.
64435         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
64436         version.
64438 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
64440         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
64441         Define.
64442         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
64443         LOAD_PIC_REG_STR.
64445 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
64447         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
64448         (SETUP_PIC_REG): Use GET_PC_THUNK.
64449         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
64450         macro.
64452 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
64454         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
64455         for non-PIC compilation.
64456         (SETUP_PIC_REG): Add .p2align directive.
64457         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
64458         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
64459         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
64460         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
64461         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
64462         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
64463         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
64464         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
64465         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
64466         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
64467         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
64468         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
64469         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
64470         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
64471         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
64472         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
64473         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
64474         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
64475         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
64476         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
64477         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
64478         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
64479         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
64480         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
64481         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
64482         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
64483         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
64484         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
64485         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
64486         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
64487         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
64488         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
64489         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
64490         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
64491         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
64492         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
64493         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
64494         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
64495         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
64496         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
64497         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
64499 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
64501         * math/tst-CMPLX.c: Include <stdio.h>.
64503 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
64505         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
64506         float.
64507         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
64508         * sysdeps/sparc/bits/mathdef.h: Likewise.
64510 2012-01-31  Marek Polacek  <polacek@redhat.com>
64512         * libio/libio.h: Don't define _PARAMS.
64513         * locale/programs/config.h: Don't define PARAMS.
64514         * stdlib/strtol_l.c: Likewise.
64515         (__strtol_l): Remove PARAMS from the prototype.
64517 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
64519         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
64520         names.  Just use the correct names.  Remove unnecessary wrapper
64521         functions.
64522         * malloc/arena.c: Likewise.
64523         * malloc/hooks.c: Likewise.
64525         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
64526         ARENA_TEST says not to.  Simplify test for creation of a new arena.
64527         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
64529 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
64531         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
64532         into tail calls.
64533         (update_get_addr): New function.
64534         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
64535         GET_ADDR_MODULE parameter.
64537 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
64539         * crypt/cert.c: Remove __STDC__ conditionals.
64540         * crypt/crypt-entry.c: Likewise.
64541         * crypt/crypt_util.c: Likewise.
64542         * libio/filedoalloc.c: Likewise.
64543         * libio/fileops.c: Likewise.
64544         * libio/genops.c: Likewise.
64545         * libio/iofclose.c: Likewise.
64546         * libio/iofdopen.c: Likewise.
64547         * libio/iofopen.c: Likewise.
64548         * libio/iofopen64.c: Likewise.
64549         * libio/iogetdelim.c: Likewise.
64550         * libio/iopopen.c: Likewise.
64551         * libio/obprintf.c: Likewise.
64552         * libio/oldfileops.c: Likewise.
64553         * libio/oldiofclose.c: Likewise.
64554         * libio/oldiofdopen.c: Likewise.
64555         * libio/oldiofopen.c: Likewise.
64556         * libio/oldiopopen.c: Likewise.
64557         * libio/wfiledoalloc.c: Likewise.
64558         * libio/wgenops.c: Likewise.
64559         * locale/programs/xmalloc.c: Likewise.
64560         * misc/syslog.c: Likewise.
64561         * stdio-common/xbug.c: Likewise.
64562         * string/memchr.c: Likewise.
64563         * string/memcmp.c: Likewise.
64564         * string/memrchr.c: Likewise.
64565         * string/rawmemchr.c: Likewise.
64566         * sysdeps/posix/getcwd.c: Likewise.
64567         * time/strftime_l.c: Likewise.
64569 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
64571         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
64572         * config.make.in (config-cflags-sse2avx): Define.
64573         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
64574         Fix typo.
64576 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
64578         * scripts/config.guess: Update from upstream config git repository.
64579         * scripts/config.sub: Likewise.
64581 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
64583         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
64584         (EM_NUM): Update.
64585         (R_TILEPRO_*, R_TILEGX_*): New macros.
64587         * scripts/firstversions.awk: Fix bug in version range handling.
64589         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
64591         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
64593         * include/sys/epoll.h: New file.
64594         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
64595         libc_hidden_def.
64597 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
64599         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
64600         Avoid unnecessary __WORDSIZE == 64 test.
64601         (fmaxf): Use VEX format if possible.
64602         (fmax): Likewise.
64603         (fminf): Likewise.
64604         (fmin): Likewise.
64606         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
64607         * math/math_private.h: Remove libc_fegetround* and
64608         libc_fesetround*.
64609         * sysdeps/i386/configure.in: Check for -msse2avx.
64610         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
64611         also if SSE2AVX is defined.
64612         Remove libc_fegetround* and libc_fesetround*.
64613         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
64614         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
64615         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
64616         of HAS_YMM_USABLE.
64617         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
64618         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
64619         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
64620         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
64621         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
64623         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
64625 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64627         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
64628         size is not set.
64629         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
64631 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
64633         [BZ #13618]
64634         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
64635         relocation.
64636         * Makeconfig (libm): Define.
64637         * elf/Makefile: Add rules to build and run tst-relsort1.
64638         * elf/tst-relsort1.c: New file.
64639         * elf/tst-relsort1mod1.c: New file.
64640         * elf/tst-relsort1mod2.c: New file.
64642 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
64644         * math/s_ldexp.c: Remove __STDC__ conditionals.
64645         * math/s_ldexpf.c: Likewise.
64646         * math/s_ldexpl.c: Likewise.
64647         * math/s_nextafter.c: Likewise.
64648         * math/s_nexttowardf.c: Likewise.
64649         * math/s_significand.c: Likewise.
64650         * math/s_significandf.c: Likewise.
64651         * math/s_significandl.c: Likewise.
64652         * math/w_jnl.c: Likewise.
64653         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
64654         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
64655         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
64656         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
64657         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
64658         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
64659         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
64660         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
64661         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
64662         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
64663         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
64664         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
64665         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
64666         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
64667         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
64668         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
64669         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
64670         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
64671         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
64672         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
64673         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
64674         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
64675         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
64676         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
64677         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
64678         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
64679         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
64680         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
64681         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
64682         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
64683         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
64684         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
64685         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
64686         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
64687         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
64688         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
64689         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
64690         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
64691         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
64692         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
64693         * sysdeps/ieee754/k_standard.c: Likewise.
64694         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
64695         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
64696         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
64697         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
64698         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
64699         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
64700         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
64701         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
64702         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
64703         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
64704         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
64705         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
64706         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
64707         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
64708         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
64709         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
64710         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
64711         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
64712         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
64713         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
64714         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
64715         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
64716         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
64717         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
64718         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
64719         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
64720         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
64721         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
64722         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
64723         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
64724         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
64725         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
64726         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
64727         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
64728         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
64729         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
64730         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
64731         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
64732         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
64733         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
64734         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
64735         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
64736         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
64737         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
64738         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
64739         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
64740         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
64741         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
64742         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
64743         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
64744         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
64745         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
64746         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
64747         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
64748         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
64749         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
64750         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
64751         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
64752         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
64753         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
64754         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
64755         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
64756         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
64757         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
64758         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
64759         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
64760         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
64761         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
64762         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
64763         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
64764         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
64765         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
64766         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
64767         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
64768         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
64769         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
64770         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
64771         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
64772         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
64773         * sysdeps/ieee754/s_matherr.c: Likewise.
64774         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
64775         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
64776         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
64777         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
64779 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
64781         * crypt/md5.h: Remove __STDC__ conditionals.
64782         * libio/libioP.h: Likewise.
64783         * locale/programs/config.h: Likewise.
64784         * sysdeps/generic/sysdep.h: Likewise.
64785         * sysdeps/i386/asm-syntax.h: Likewise.
64786         * sysdeps/s390/asm-syntax.h: Likewise.
64787         * sysdeps/unix/sysdep.h: Likewise.
64788         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
64789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
64791 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
64793         * libio/libio.h: Remove __STDC__ conditionals.
64794         * malloc/obstack.h: Likewise.
64795         * math/complex.h: Likewise.
64796         * math/math.h: Likewise.
64797         * sysdeps/generic/_G_config.h: Likewise.
64798         * sysdeps/gnu/_G_config.h: Likewise.
64799         * sysdeps/mach/hurd/_G_config.h: Likewise.
64800         * sysdeps/powerpc/bits/mathdef.h: Likewise.
64801         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
64802         * sysdeps/sparc/bits/mathdef.h: Likewise.
64804 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
64806         [BZ #13583]
64807         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
64808         Clean up HAS_* macros.
64809         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
64810         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
64811         possible.
64812         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
64813         HAS_AVX.
64814         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
64815         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
64816         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
64817         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
64818         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
64820 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
64822         * elf/tst-unique3.cc (gets): Remove declaration.
64823         * elf/tst-unique3lib.cc (gets): Likewise.
64824         * elf/tst-unique3lib2.cc (gets): Likewise.
64825         * elf/tst-unique4.cc (gets): Likewise.
64827 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
64829         * include/stdio.h: Add C++ protection.  Add gets declarations and
64830         definitions.
64831         * debug/tst-chk1.c: Don't declare gets here.
64832         * stdio-common/tst-gets.c: Likewise.
64834 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
64836         * posix/glob: Remove directory.
64838 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
64840         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
64842 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
64844         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
64845         of the non-standard EPFNOSUPPORT.
64847 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64849         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
64850         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
64851         ANYWHERE set to 1 only on KERN_NO_SPACE error.
64853 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
64855         * wcsmbs/uchar.h: Test __STDC_VERSION__.
64857 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
64859         * nscd/aicache.c (addhstaiX): Do not cache negative results of
64860         transient errors.
64861         * nscd/grpcache.c (cache_addgr): Likewise.
64862         * nscd/hstcache.c (cache_addhst): Likewise.
64863         * nscd/initgrcache.c (addinitgroupsX): Likewise.
64864         * nscd/pwdcache.c (cache_addpw): Likewise.
64865         * nscd/servicescache.c (cache_addserv): Likewise.
64867 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
64869         * malloc/malloc.c: Various cleanups.
64870         * malloc/hooks.c: Likewise.
64872         * stdlib/Makefile (tests): Add bug-fmtmsg1.
64873         * stdlib/bug-fmtmsg1.c: New file.
64875         * stdlib/fmtmsg.c (init): Add missing unlock.
64876         Patch by Peng Haitao <penght@cn.fujitsu.com>.
64878 2012-01-12  Marek Polacek  <polacek@redhat.com>
64880         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
64881         and _GNU_SOURCE.
64883 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
64885         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
64886         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
64887         macro to ensure uniqueness of label name.
64888         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
64889         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
64891 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
64893         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
64895         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
64896         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
64897         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
64898         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
64900 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
64902         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
64904         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
64905         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
64906         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
64908         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
64910         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
64911         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
64912         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
64913         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
64915         * math/bits/math-finite.h: Add ldexp support.
64917 2012-01-10  Marek Polacek  <polacek@redhat.com>
64919         * locale/programs/localedef.h (show_archive_content): Add noreturn
64920         attribute.
64922 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
64924         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
64926 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
64928         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
64930         * io/Makefile (headers): Add bits/poll2.h.
64932 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
64934         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
64935         typo #include statement.
64937 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
64939         * include/sys/cdefs.h: Define __attribute_alloc_size.
64940         * catgets/gencat.c: Add alloc_size attribute and apply consistently
64941         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
64942         * elf/pldd.c: Likewise.
64943         * iconv/iconv_charmap.c: Likewise.
64944         * iconv/iconvconfig.c: Likewise.
64945         * iconv/strtab.c: Likewise.
64946         * locale/programs/locale.c: Likewise.
64947         * locale/programs/localedef.h: Likewise.
64948         * locale/programs/simple-hash.c: Likewise.
64949         * nscd/nscd.h: Likewise.
64950         * nss/makedb.c: Likewise.
64951         * sysdeps/generic/ldconfig.h: Likewise.
64952         * locale/programs/localedef.c: Remove xmalloc prototype.
64953         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
64955 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
64957         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
64958         appropriate.
64960 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
64962         * math/Makefile (tests): Add tst-CMPLX.
64963         * math/tst-CMPLX.c: New file.
64965         * math/complex.h (CMPLXL): Fix typo.
64967         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
64968         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
64969         GLIBC_2.16.
64970         * debug/tst-chk1.c: Add poll and ppoll tests.
64971         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
64972         * include/sys/poll.h: Add hidden proto for ppoll.
64973         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
64974         * sysdeps/mach/hurd/ppoll.c: Likewise.
64975         * io/ppoll.c: Likewise.
64976         * debug/poll_chk.c: New file.
64977         * debug/ppoll_chk.c: New file.
64978         * include/bits/poll2.h: New file.
64979         * io/bits/poll2.h: New file.
64981         [BZ #1350]
64982         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
64984         * configure.in: static is always set to yes.  Remove.
64985         * config.make.in: Don't set build-static.
64986         * Makeconfig: Remove use of build-static.
64987         * dlfcn/Makefile: Likewise.
64988         * elf/Makefile: Likewise.
64989         * math/Makefile: Likewise.
64990         * misc/Makefile: Likewise.
64991         * nptl/Makefile: Likewise.
64992         * sysdeps/mach/hurd/Makefile: Likewise.
64994         * configure.in: PWD_P is not used anymore.
64995         * config.make.in: Remove PWD_P entry.
64997         * configure.in: Remove last remnants of RANLIB.
64998         No need to check for signed size_t anymore.
64999         Don't set libc_commonpagesize and libc_relro_required here for Alpha
65000         and IA-64.
65001         Remove __builtin_expect test because we require at least gcc 3.4.
65002         * aclocal.m4: Likewise.
65004         * wcsmbs/mbrtoc16.c: Implement using towc function.
65005         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
65006         * wcsmbs/wcsmbsload.c: Likewise.
65007         * iconv/gconv_simple.c: Likewise.
65008         * iconv/gconv_int.h: Likewise.
65009         * iconv/gconv_builtin.h: Likewise.
65010         * iconv/iconv_prog.c: Remove CHAR16 handling.
65012         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
65014         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
65016         * configure.in: Remove --with-elf and --enable-bounded options.
65017         Dont set base_machine for ia64.  More non-ELF conditions removed.
65018         Remove testing and setting of leading underscore information.
65019         * config.make.in (build-bounded): Set to no.
65020         * config.h.in: Remove NO_UNDERSCORES entry.
65021         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
65022         them.
65023         * csu/start.c: Remove !NO_UNDERSCORE code.
65024         * locale/localeinfo.h: Likewise.
65025         * sysdeps/generic/machine-gmon.h: Likewise.
65026         * sysdeps/generic/sysdep.h: Likewise.
65027         * sysdeps/i386/sysdep.h: Likewise.
65028         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
65029         * sysdeps/mach/sysdep.h: Likewise.
65030         * sysdeps/s390/s390-32/sysdep.h: Likewise.
65031         * sysdeps/s390/s390-64/sysdep.h: Likewise.
65032         * sysdeps/sh/sysdep.h: Likewise.
65033         * sysdeps/sparc/sparc32/alloca.S: Likewise.
65034         * sysdeps/unix/i386/sysdep.S: Likewise.
65035         * sysdeps/unix/sparc/start.c: Likewise.
65036         * sysdeps/unix/sparc/sysdep.S: Likewise.
65037         * sysdeps/unix/sparc/sysdep.h: Likewise.
65038         * sysdeps/unix/start.c: Likewise.
65039         * sysdeps/unix/x86_64/sysdep.S: Likewise.
65040         * sysdeps/x86_64/sysdep.h: Likewise.
65042 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
65044         [BZ #13553]
65045         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
65046         for non-gcc.
65047         * argp/argp-fmtstream.h: Use const instead __const.
65048         * argp/argp.h: Likewise.
65049         * assert/assert.h: Likewise.
65050         * bits/fenv.h: Likewise.
65051         * bits/sched.h: Likewise.
65052         * bits/sigset.h: Likewise.
65053         * bits/sigthread.h: Likewise.
65054         * catgets/nl_types.h: Likewise.
65055         * conform/data/pthread.h-data: Likewise.
65056         * crypt/crypt-private.h: Likewise.
65057         * crypt/crypt.h: Likewise.
65058         * crypt/crypt_util.c: Likewise.
65059         * ctype/ctype.h: Likewise.
65060         * debug/execinfo.h: Likewise.
65061         * debug/mbsnrtowcs_chk.c: Likewise.
65062         * debug/mbsrtowcs_chk.c: Likewise.
65063         * debug/wcsnrtombs_chk.c: Likewise.
65064         * debug/wcsrtombs_chk.c: Likewise.
65065         * debug/wcstombs_chk.c: Likewise.
65066         * dirent/dirent.h: Likewise.
65067         * dlfcn/dlfcn.h: Likewise.
65068         * elf/neededtest4.c: Likewise.
65069         * grp/grp.h: Likewise.
65070         * gshadow/gshadow.h: Likewise.
65071         * iconv/gconv.h: Likewise.
65072         * iconv/gconv_int.h: Likewise.
65073         * iconv/gconv_simple.c: Likewise.
65074         * iconv/iconv.h: Likewise.
65075         * iconv/loop.c: Likewise.
65076         * iconv/skeleton.c: Likewise.
65077         * include/aio.h: Likewise.
65078         * include/aliases.h: Likewise.
65079         * include/argz.h: Likewise.
65080         * include/arpa/inet.h: Likewise.
65081         * include/assert.h: Likewise.
65082         * include/dirent.h: Likewise.
65083         * include/dlfcn.h: Likewise.
65084         * include/execinfo.h: Likewise.
65085         * include/fcntl.h: Likewise.
65086         * include/fenv.h: Likewise.
65087         * include/glob.h: Likewise.
65088         * include/grp.h: Likewise.
65089         * include/libintl.h: Likewise.
65090         * include/mntent.h: Likewise.
65091         * include/netdb.h: Likewise.
65092         * include/pwd.h: Likewise.
65093         * include/rpc/netdb.h: Likewise.
65094         * include/sched.h: Likewise.
65095         * include/search.h: Likewise.
65096         * include/shadow.h: Likewise.
65097         * include/signal.h: Likewise.
65098         * include/stdio.h: Likewise.
65099         * include/stdlib.h: Likewise.
65100         * include/string.h: Likewise.
65101         * include/sys/socket.h: Likewise.
65102         * include/sys/stat.h: Likewise.
65103         * include/sys/statfs.h: Likewise.
65104         * include/sys/statvfs.h: Likewise.
65105         * include/sys/syslog.h: Likewise.
65106         * include/sys/time.h: Likewise.
65107         * include/sys/uio.h: Likewise.
65108         * include/time.h: Likewise.
65109         * include/unistd.h: Likewise.
65110         * include/utmp.h: Likewise.
65111         * include/wchar.h: Likewise.
65112         * include/wctype.h: Likewise.
65113         * inet/aliases.h: Likewise.
65114         * inet/arpa/inet.h: Likewise.
65115         * inet/netinet/ether.h: Likewise.
65116         * inet/netinet/in.h: Likewise.
65117         * intl/libintl.h: Likewise.
65118         * io/bits/fcntl2.h: Likewise.
65119         * io/fcntl.h: Likewise.
65120         * io/ftw.h: Likewise.
65121         * io/sys/poll.h: Likewise.
65122         * io/sys/stat.h: Likewise.
65123         * io/sys/statfs.h: Likewise.
65124         * io/sys/statvfs.h: Likewise.
65125         * io/utime.h: Likewise.
65126         * libio/bits/stdio.h: Likewise.
65127         * libio/bits/stdio2.h: Likewise.
65128         * libio/libio.h: Likewise.
65129         * libio/libioP.h: Likewise.
65130         * libio/stdio.h: Likewise.
65131         * locale/lc-ctype.c: Likewise.
65132         * locale/locale.h: Likewise.
65133         * login/utmp.h: Likewise.
65134         * malloc/arena.c: Likewise.
65135         * malloc/malloc.c: Likewise.
65136         * malloc/malloc.h: Likewise.
65137         * malloc/mcheck.c: Likewise.
65138         * malloc/mtrace.c: Likewise.
65139         * math/bits/mathcalls.h: Likewise.
65140         * math/fenv.h: Likewise.
65141         * math/math_private.h: Likewise.
65142         * misc/bits/error.h: Likewise.
65143         * misc/bits/syslog.h: Likewise.
65144         * misc/err.h: Likewise.
65145         * misc/error.h: Likewise.
65146         * misc/fstab.h: Likewise.
65147         * misc/mntent.h: Likewise.
65148         * misc/regexp.h: Likewise.
65149         * misc/search.h: Likewise.
65150         * misc/sgtty.h: Likewise.
65151         * misc/sys/mman.h: Likewise.
65152         * misc/sys/syslog.h: Likewise.
65153         * misc/sys/uio.h: Likewise.
65154         * misc/sys/xattr.h: Likewise.
65155         * misc/ttyent.h: Likewise.
65156         * nis/rpcsvc/ypclnt.h: Likewise.
65157         * nss/nss.h: Likewise.
65158         * posix/bits/unistd.h: Likewise.
65159         * posix/fnmatch.h: Likewise.
65160         * posix/glob.h: Likewise.
65161         * posix/sched.h: Likewise.
65162         * posix/spawn.h: Likewise.
65163         * posix/sys/wait.h: Likewise.
65164         * posix/unistd.h: Likewise.
65165         * posix/wordexp.h: Likewise.
65166         * pwd/pwd.h: Likewise.
65167         * resolv/netdb.h: Likewise.
65168         * resource/sys/resource.h: Likewise.
65169         * rt/aio.h: Likewise.
65170         * rt/bits/mqueue2.h: Likewise.
65171         * rt/mqueue.h: Likewise.
65172         * shadow/shadow.h: Likewise.
65173         * signal/signal.h: Likewise.
65174         * socket/send.c: Likewise.
65175         * socket/sendto.c: Likewise.
65176         * socket/sys/socket.h: Likewise.
65177         * stdio-common/printf.h: Likewise.
65178         * stdlib/bits/stdlib.h: Likewise.
65179         * stdlib/fmtmsg.h: Likewise.
65180         * stdlib/monetary.h: Likewise.
65181         * stdlib/stdlib.h: Likewise.
65182         * stdlib/ucontext.h: Likewise.
65183         * streams/stropts.h: Likewise.
65184         * string/argz.h: Likewise.
65185         * string/bits/string2.h: Likewise.
65186         * string/string.h: Likewise.
65187         * string/strings.h: Likewise.
65188         * sunrpc/rpc/auth.h: Likewise.
65189         * sunrpc/rpc/auth_des.h: Likewise.
65190         * sunrpc/rpc/clnt.h: Likewise.
65191         * sunrpc/rpc/netdb.h: Likewise.
65192         * sunrpc/rpc/pmap_clnt.h: Likewise.
65193         * sunrpc/rpc/xdr.h: Likewise.
65194         * sysdeps/generic/inttypes.h: Likewise.
65195         * sysdeps/generic/net/if.h: Likewise.
65196         * sysdeps/generic/sys/swap.h: Likewise.
65197         * sysdeps/gnu/net/if.h: Likewise.
65198         * sysdeps/gnu/utmpx.h: Likewise.
65199         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
65200         * sysdeps/i386/i486/bits/string.h: Likewise.
65201         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
65202         * sysdeps/s390/bits/string.h: Likewise.
65203         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
65204         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
65205         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
65206         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
65207         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
65208         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
65209         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
65210         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
65211         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
65212         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
65213         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
65214         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
65215         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
65216         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
65217         * sysdeps/unix/sysv/linux/readv.c: Likewise.
65218         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
65219         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
65220         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
65221         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
65222         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
65223         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
65224         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
65225         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
65226         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
65227         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
65228         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
65229         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
65230         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
65231         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
65232         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
65233         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
65234         * sysvipc/sys/ipc.h: Likewise.
65235         * sysvipc/sys/msg.h: Likewise.
65236         * sysvipc/sys/sem.h: Likewise.
65237         * sysvipc/sys/shm.h: Likewise.
65238         * termios/termios.h: Likewise.
65239         * time/sys/time.h: Likewise.
65240         * time/time.h: Likewise.
65241         * wcsmbs/bits/wchar2.h: Likewise.
65242         * wcsmbs/uchar.h: Likewise.
65243         * wcsmbs/wchar.h: Likewise.
65244         * wctype/wctype.h: Likewise.
65246         [BZ #13551]
65247         * Makeconfig: Remove all but ELF support including AIX support.
65248         * Makerules: Likewise.
65249         * config.h.in: Likewise.
65250         * config.make.in: Likewise.
65251         * configure: Likewise.
65252         * configure.in: Likewise.
65253         * csu/Makefile: Likewise.
65254         * csu/version.c: Likewise.
65255         * debug/Makefile: Likewise.
65256         * dlfcn/Makefile: Likewise.
65257         * elf/Makefile: Likewise.
65258         * extra-lib.mk: Likewise.
65259         * iconv/Makefile: Likewise.
65260         * include/libc-symbols.h: Likewise.
65261         * include/shlib-compat.h: Likewise.
65262         * resolv/Makefile: Likewise.
65263         * resolv/res_libc.c: Likewise.
65264         * rt/Makefile: Likewise.
65265         * sysdeps/i386/asm-syntax.h: Likewise.
65266         * sysdeps/i386/sysdep.h: Likewise.
65267         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
65268         * sysdeps/mach/sysdep.h: Likewise.
65269         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
65270         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
65271         * sysdeps/s390/asm-syntax.h: Likewise.
65272         * sysdeps/s390/s390-32/sysdep.h: Likewise.
65273         * sysdeps/s390/s390-64/sysdep.h: Likewise.
65274         * sysdeps/sh/sysdep.h: Likewise.
65275         * sysdeps/unix/sparc/sysdep.h: Likewise.
65276         * sysdeps/wordsize-32/divdi3.c: Likewise.
65277         * sysdeps/x86_64/sysdep.h: Likewise.
65279         * argp/Versions: Remove _argp_unlock_xxx.
65281         [BZ #13559]
65282         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
65283         * abilist/libBrokenLocale.abilist: Likewise.
65284         * abilist/libanl.abilist: Likewise.
65285         * abilist/libc.abilist: Likewise.
65286         * abilist/libcrypt.abilist: Likewise.
65287         * abilist/libdl.abilist: Likewise.
65288         * abilist/libm.abilist: Likewise.
65289         * abilist/libnsl.abilist: Likewise.
65290         * abilist/libpthread.abilist: Likewise.
65291         * abilist/libresolv.abilist: Likewise.
65292         * abilist/librt.abilist: Likewise.
65293         * abilist/libthread_db.abilist: Likewise.
65294         * abilist/libutil.abilist: Likewise.
65295         * abilist/libnss_db.abilist: New file.
65297         * scripts/abilist.awk: Add support for indirect functions.
65299         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
65301         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
65303         * shlib-versions: Remove entries for ports architectures.
65305         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
65306         files in ports.
65307         * elf/stackguard-macros.h: Remove support for IA-64.
65308         * elf/tst-auditmod1.c: Likewise.
65309         * sysdeps/generic/ldsodefs.h: Likewise.
65311         * sysdeps/unix/sysv/linux/configure.in: Ports should define
65312         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
65313         configure files.
65315         [BZ #13552]
65316         * configure.in: Remove --enable-omitfp support.
65317         * FAQ.in: Adjust.
65318         * config.make.in: Likewise.
65319         * Makeconfig: Likewise.
65320         * manual/install.texi: Likewise.
65322         In case anyone cares, the IA-64 architecture could move to ports.
65323         * sysdeps/ia64/*: Removed.
65324         * sysdeps/unix/sysv/linux/ia64/*: Removed.
65325         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
65327         [BZ #13555]
65328         * configure.in: Remove entries for unsupported architectures.
65330         [BZ #13533]
65331         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
65332         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
65333         routines.
65334         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
65335         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
65336         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
65337         fall back to using wcrtomb.
65338         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
65339         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
65340         renaming.
65341         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
65342         * wcsmbs/tst-c16c32-1.c: New file.
65344         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
65345         local variable.
65347         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
65349         * elf/tst-unique3.cc: Add explicit declaration of gets.
65350         * elf/tst-unique3lib.cc: Likewise.
65351         * elf/tst-unique3lib2.cc: Likewise.
65352         * elf/tst-unique4.cc: Likewise.
65354         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
65356 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
65358         [BZ #13566]
65359         * assert/assert.h (static_assert): Don't define for C++.
65360         * libio/stdio.h (gets): Do declare for C++ <= C++11.
65361         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
65363 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
65365         * iconv/loop.c (single loop): Fix assertion in storing of
65366         remaining bytes.
65368         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
65370 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
65372         * posix/getconf.c: Update copyright year.
65373         * nss/getent.c: Likewise.
65374         * nss/makedb.c: Likewise.
65375         * iconv/iconvconfig.c: Likewise.
65376         * iconv/iconv_prog.c: Likewise.
65377         * elf/ldconfig.c: Likewise.
65378         * elf/pldd.c: Likewise.
65379         * elf/sotruss.ksh: Likewise.
65380         * catgets/gencat.c: Likewise.
65381         * csu/version.c: Likewise.
65382         * elf/ldd.bash.in: Likewise.
65383         * elf/sprof.c (print_version): Likewise.
65384         * locale/programs/locale.c: Likewise.
65385         * locale/programs/localedef.c: Likewise.
65386         * login/programs/pt_chown.c: Likewise.
65387         * nscd/nscd.c (print_version): Likewise.
65388         * debug/xtrace.sh: Likewise.
65389         * malloc/memusage.sh: Likewise.
65390         * malloc/mtrace.pl: Likewise.
65391         * debug/catchsegv.sh: Likewise.
65393 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
65395         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
65396         pure attribute.
65398 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
65400         [BZ #13533]
65401         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
65402         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
65403         transformations.
65404         * iconv/gconv_int.h: Likewise.
65405         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
65406         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
65407         from libc for GLIBC_2.16.
65408         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
65409         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
65410         * wcsmbs/uchar.h: Really define mbstate_t.
65411         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
65412         * wcsmbs/c16rtomb.c: New file.
65413         * wcsmbs/mbrtoc16.c: New file.
65414         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
65415         for C/POSIX locale.
65416         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
65417         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
65419         * wcsmbs/wchar.h: Add missing __restrict.
65421 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
65423         [BZ #13532]
65424         * time/Makefile (routines): Add timespec_get.
65425         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
65426         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
65427         timespec for ISO C11.
65428         * time/timespec_get.c: New file.
65429         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
65430         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
65432         [BZ #13531]
65433         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
65434         * stdlib/stdlib.h: Declare aligned_alloc.
65435         * Versions.def: Add GLIBC_2.16 for libc.
65436         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
65438         [BZ 13527]
65439         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
65440         ISO C11.
65442         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
65443         code.
65445         [BZ #13528]
65446         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
65448         [BZ #13529]
65449         * assert/assert.h (static_assert): Define.
65451         * version.h: Update for 2.16 development version.
65453         [BZ #13526]
65454         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
65455         _ISOC11_SOURCE.
65457         * version.h (RELEASE): Bump for 2.15 release.
65458         * include/features.h (__GLIBC_MINOR__): Bump to 15.
65460         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
65461         Patch by Marek Polacek <mpolacek@redhat.com>.
65463         * bits/byteswap.h: Protect long long constants with __extension__.
65464         * sysdeps/i386/bits/byteswap.h: Likewise.
65465         * sysdeps/ia64/bits/byteswap.h: Likewise.
65466         * sysdeps/s390/bits/byteswap.h: Likewise.
65467         * sysdeps/x86_64/bits/byteswap.h: Likewise.
65469 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65471         [BZ #13540]
65472         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
65473         destination buffer.
65474         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
65476 2011-12-23  Marek Polacek  <polacek@redhat.com>
65478         * elf/dl-addr.c (determine_info): Add inline keyword.
65479         * elf/tst-auditmod4b.c (check_avx): Likewise.
65480         * elf/tst-auditmod6b.c (check_avx): Likewise.
65481         * elf/tst-auditmod6c.c (check_avx): Likewise.
65482         * elf/tst-auditmod7b.c (check_avx): Likewise.
65484 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
65486         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
65487         !__SSE_MATH__.
65489 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65491         [BZ #13540]
65492         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
65493         processing for last bytes.
65495 2011-08-06  Bruno Haible  <bruno@clisp.org>
65497         [BZ #13061]
65498         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
65499         U+0385, not to U+1FEE.
65501         [BZ #13062]
65502         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
65503         entry for U+00A5 U+0301.
65505 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
65507         [BZ #13166]
65508         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
65509         buffer for the output is too small.
65511         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
65512         optimization.
65514         [BZ #13185]
65515         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
65516         SSE flags if possible.
65518 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65520         [BZ #13540]
65521         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
65522         processing for last bytes.
65524 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
65526         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
65527         (syscall-list-default-options, syscall-list-default-condition)
65528         (syscall-list-includes): Define.
65529         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
65530         list of ABIs and options and #if conditions for each ABI.  Do not
65531         handle common syscalls between ABIs specially.
65532         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
65533         Remove.
65534         (syscall-list-variants, syscall-list-32bit-options)
65535         (syscall-list-32bit-condition, syscall-list-64bit-options)
65536         (syscall-list-64bit-condition): Define.
65537         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
65538         (syscall-list-variants, syscall-list-32bit-options)
65539         (syscall-list-32bit-condition, syscall-list-64bit-options)
65540         (syscall-list-64bit-condition): Define.
65541         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
65542         Remove.
65543         (syscall-list-variants, syscall-list-32bit-options)
65544         (syscall-list-32bit-condition, syscall-list-64bit-options)
65545         (syscall-list-64bit-condition): Define.
65546         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
65547         Remove.
65548         (syscall-list-variants, syscall-list-32bit-options)
65549         (syscall-list-32bit-condition, syscall-list-64bit-options)
65550         (syscall-list-64bit-condition): Define.
65552 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
65554         * locale/iso-639.def: Add brx entry.
65556         [BZ #13328]
65557         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
65558         Proposed by Mariusz_Cukr <marcukr@op.pl>.
65560         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
65561         __feraiseexcept_renamed.
65563 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
65565         [BZ #13538]
65566         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
65567         EPOLLET with unsigned values.
65568         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
65569         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
65571         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
65572         to large cancellation.
65573         * math/s_cacoshf.c: Likewise.
65574         * math/s_cacoshl.c: Likewise.
65576 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
65578         [BZ #13305]
65579         [BZ #12786]
65580         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
65581         * math/s_cacoshf.c: Likewise.
65582         * math/s_cacoshl.c: Likewise.
65584 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
65586         [BZ #13439]
65587         * iconv/gconv.h: Define __GCONV_SWAP.
65588         * iconvdata/unicode.c: The swap bit must be stored in __flags.
65589         * iconvdata/utf-16.c: Likewise.
65590         * iconvdata/utf-32.c: Likewise.
65592 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
65594         [BZ #13524]
65595         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
65596         numerator after shifting it by one limb.
65598 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
65600         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
65601         under [__USE_EXTERN_INLINES].
65603 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
65605         [BZ #13446]
65606         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
65608 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65610         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
65611         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
65612         optimized code.
65613         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
65614         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
65615         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
65616         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
65617         for strncasecmp/strncasecmp_l compilation.
65618         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
65619         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
65621 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
65623         [BZ #13484]
65624         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
65625         of __asm__.
65627 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
65629         [BZ #13506]
65630         * time/tzfile.c (__tzfile_read): Check values from file header.
65632 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
65634         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
65635         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
65636         * powerpc/powerpc32/dl-start.S: Likewise.
65637         * powerpc/powerpc32/elf/start.S: Likewise.
65638         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
65639         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
65640         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
65641         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
65642         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
65643         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
65644         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
65645         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
65646         * powerpc/powerpc32/fpu/s_round.S: Likewise.
65647         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
65648         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
65649         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
65650         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
65651         * powerpc/powerpc32/memset.S: Likewise.
65652         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
65653         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
65654         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
65655         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
65656         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
65657         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
65658         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
65659         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
65660         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
65661         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
65662         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
65663         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
65664         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
65666 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65668         * math/libm-test.inc: Added more nearbyint tests.
65669         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
65670         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
65671         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
65672         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
65674 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
65676         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
65677         FD_CLOEXEC.
65679 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65681         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
65682         Add wcscpy-ssse3 wcscpy-c.
65683         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
65684         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
65685         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
65686         * sysdeps/x86_64/wcschr.S: New file.
65687         * sysdeps/x86_64/wcsrchr.S: New file.
65688         * string/test-strcmp.c: Remove checking of wcscmp function for
65689         wrong alignments.
65690         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
65691         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
65692         wcsrchr-sse2 wcsrchr-c.
65693         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
65694         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
65695         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
65696         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
65697         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
65698         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
65699         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
65700         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
65701         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
65702         * wcsmbc/wcschr.c (WCSCHR): New macro.
65704 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65706         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
65707         * wcsmbs/test-wcsrchr.c: New file.
65708         * string/test-strrchr.c: Add wcsrchr support.
65709         (WIDE): New macro.
65710         * wcsmbs/test-wcscpy.c: New file.
65711         * string/test-strcpy.c: Add wcscpy support.
65712         (WIDE): New macro.
65714 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
65716         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
65717         the inner loop.
65719 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
65721         [BZ #13472]
65722         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
65724 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
65726         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
65727         Minor optimizations.
65729         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
65730         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
65731         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
65733 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
65735         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
65736         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
65737         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
65738         for gcc to avoid warnings.
65739         * inet/Makefile (tests): Add tst-checks.
65740         * inet/tst-checks.c: New file.
65742         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
65743         warning.
65745         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
65746         __wmemcmp_sse2.
65748         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
65749         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
65751         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
65753 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
65755         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
65756         problem.
65758         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
65760 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
65762         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
65763         conditional on GCC version.
65764         (__arch_compare_and_exchange_val_8_acq)
65765         (__arch_compare_and_exchange_val_16_acq)
65766         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
65767         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
65768         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
65770 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
65772         * sysdeps/sh/backtrace.c: New file.
65774 2011-12-02  Andreas Schwab  <schwab@redhat.com>
65776         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
65777         parenthesis.
65779 2011-12-01  Andreas Schwab  <schwab@redhat.com>
65781         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
65782         falling back to utime.
65784 2011-11-30  Andreas Schwab  <schwab@redhat.com>
65786         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
65787         expectations for float.
65789 2011-11-29  Andreas Schwab  <schwab@redhat.com>
65791         * locale/weight.h (findidx): Add parameter len.
65792         * locale/weightwc.h (findidx): Likewise.
65793         * posix/fnmatch_loop.c (FCT): Adjust caller.
65794         * posix/regcomp.c (build_equiv_class): Likewise.
65795         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
65796         * posix/regexec.c (check_node_accept_bytes): Likewise.
65797         * string/strcoll_l.c (STRCOLL): Likewise.
65798         * string/strxfrm_l.c (STRXFRM): Likewise.
65800 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
65802         * Makefile.in: Remove CVSOPT handling.
65803         * configure.in: Remove use of AC_REVISION.
65804         * iconvdata/Makefile (distribute): No need to filter out CVS.
65805         * scripts/list-sources.sh: Remove CVS, subversion and monotone
65806         handling.
65808 2011-11-16  Andreas Schwab  <schwab@redhat.com>
65810         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
65811         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
65812         [USE_AS_STRNCASECMP_L]: Likewise.
65813         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
65814         NO_TLS_DIRECT_SEG_REFS.
65815         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
65816         Fix argument offsets for non-PIC.
65817         [USE_AS_STRNCASECMP_L]: Likewise.
65818         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
65819         NO_TLS_DIRECT_SEG_REFS.
65821 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
65823         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
65824         O_CLOEXEC.
65825         * locale/loadlocale.c (_nl_load_locale): Likewise.
65827 2011-11-15  Andreas Schwab  <schwab@redhat.com>
65829         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
65830         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
65831         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
65832         (SYSCALL_GETTIME): Set errno on error.
65834         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
65835         count references to noai6ai_cached.
65837 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
65839         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
65841         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
65842         FD_CLOEXEC for /proc/self/maps.
65844         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
65845         FD_CLOEXEC for /proc/meminfo.
65847         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
65848         gai.conf.
65850         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
65851         FD_CLOEXEC for given file.
65853         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
65855         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
65856         FD_CLOEXEC for /etc/hosts.
65857         (_gethtent): Likewise.
65859         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
65861         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
65862         cancellation and set FD_CLOEXEC for /etc/netgroup.
65864         * nss/nss_files/files-key.c (search): Don't allow cancellation when
65865         reading /etc/publickey.
65867         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
65868         allow cancellation when reading /etc/group.
65870         * nss/nss_files/files-alias.c (internal_setent): Don't allow
65871         cancellation.
65872         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
65874         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
65875         when using data file.
65877         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
65879         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
65880         (write_nis_obj): Use "c" and "e" in fopen.
65882         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
65884         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
65886         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
65888         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
65890         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
65891         locale.alias.
65893         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
65895         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
65897         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
65899         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
65900         file parsing and set FD_CLOEXEC.
65902 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
65904         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
65906 2011-11-14  Andreas Schwab  <schwab@redhat.com>
65908         * malloc/arena.c (arena_get2): Don't call reused_arena when
65909         _int_new_arena failed.
65911 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
65913         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
65914         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
65915         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
65916         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
65917         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
65918         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
65919         to compile strcasecmp and strncasecmp.
65920         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
65921         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
65923         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
65925 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
65927         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
65928         locale-defines.sym to gen-as-const-headers.
65929         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
65930         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
65931         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
65932         to compile strcasecmp and strncasecmp.
65933         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
65934         strcasecmp_l and strncasecmp_l.
65935         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
65936         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
65937         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
65938         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
65939         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
65940         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
65941         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
65942         * sysdeps/i386/i686/multiarch/strncase.S: New file.
65943         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
65944         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
65945         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
65947 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
65949         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
65950         result of SYSDEP_GETTIME_CPU to retval.
65951         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
65952         parameter list to macro.  Remove trailing semicolon.  Adjust users.
65954         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
65955         variable.
65957         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
65958         mantissa words.
65959         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
65961         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
65962         from unused variable.
65964         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
65965         DWARF definitions.
65966         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
65967         for assembling.
65969         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
65970         over namespaces.
65972         * sunrpc/rpc_prot.c (rejected): Fix case value.
65974         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
65975         unsigned long long int to avoid warnings in shift.
65977         * posix/regex_internal.c (re_string_reconstruct): Actually use result
65978         of use of trans.
65979         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
65980         variable tmp.
65982         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
65983         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
65984         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
65986         * nis/nis_table.c (nis_list): Use variable of correct type for
65987         result of __follow_path call.
65989 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65991         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
65992         of math functions ceil, trunc, floor, round, and sqrt, when
65993         avaliable on the platform.
65994         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
65995         name clash.
65996         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
65997         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
65998         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
66000 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
66002         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
66003         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
66005 2011-11-11  Roland McGrath  <roland@hack.frob.com>
66007         * include/unistd.h: Fix __readlink return type.
66008         Reported by Chris Metcalf <cmetcalf@tilera.com>.
66010 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
66012         * stdlib/ucontext.h: Undo last change for makecontext.
66014 2011-11-11  Andreas Schwab  <schwab@redhat.com>
66016         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
66018         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
66019         * setjmp/setjmp.h: Mark functions as non-leaf.
66020         * setjmp/bits/setjmp2.h: Likewise.
66021         * stdlib/ucontext.h: Likewise.
66023 2011-11-10  Andreas Schwab  <schwab@redhat.com>
66025         * malloc/arena.c (_int_new_arena): Don't increment narenas.
66026         (reused_arena): Don't check arena limit.
66027         (arena_get2): Atomically check arena limit.
66029 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
66031         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
66032         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
66034         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
66035         instructions.
66037 2011-11-07  Andreas Schwab  <schwab@redhat.com>
66039         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
66040         handler when locking.
66042         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
66043         Fix size of allocated buffer.
66045 2011-11-04  Andreas Schwab  <schwab@redhat.com>
66047         [BZ #10103]
66048         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
66049         declarations for long double functions.
66050         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
66052         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
66054 2011-11-03  Andreas Schwab  <schwab@redhat.com>
66056         * nscd/nscd.c (main): Don't start AVC thread until credentials are
66057         installed.
66059         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
66060         is disabled.
66062 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66064         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
66066 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
66068         * include/alloca.h (stackinfo_alloca_round): Define.
66069         (extend_alloca): Use it.
66070         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
66071         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
66072         here.
66074         * scripts/check-local-headers.sh: Ignore libaudit.h.
66076         * nscd/Makefile (extra-objs): Make recursively expanded.
66078 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
66080         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
66081         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
66083         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
66084         * posix/tst-rfc3484-2.c: Likewise.
66085         * posix/tst-rfc3484-3.c: Likewise.
66087         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
66088         process_vm_writev.
66089         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
66090         process_vm_writev.
66091         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
66092         process_vm_writev from libc using GLIBC_2.15 version.
66094         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
66096 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
66098         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
66099         stack usage.
66101 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
66103         [BZ #13367]
66104         * nss/getent.c (initgroups_keys): Show error message in case no group
66105         names are given.
66107         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
66108         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
66109         __bump_nl_timestamp.
66110         * nscd/connections (nscd_init): When host database is served open
66111         netlink socket and request notification about configuration changes.
66112         (main_loop_poll): Track netlink file descriptor and bump timestamp
66113         in case data becomes available.
66114         (main_loop_epoll): Likewise.
66115         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
66116         (database_pers_head): Add extra_data fileds.
66117         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
66118         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
66119         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
66120         Adjust caller.
66121         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
66122         in6ai data, call __free_in6ai.
66123         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
66124         Add -DHAVE_NETLINK.
66125         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
66126         interface information.  Reuse previous data if netlink timestamp
66127         is not changed.
66128         (__bump_nl_timestamp): New function.
66129         (__free_in6ai): New function.
66131 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
66133         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
66134         close_not_cancel_no_status here.
66135         (__check_pf): Reorganize code a bit to not call close twice if OOM.
66137 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
66139         [BZ #13276]
66140         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
66141         return value.
66143         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
66144         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
66145         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
66147 2011-07-03  Andreas Jaeger  <aj@suse.de>
66149         [BZ #10709]
66150         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
66151         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
66152         * math/libm-test.inc (sin_test): Add test case.
66154 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
66156         [BZ #13337]
66157         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
66158         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
66160         * elf/chroot_canon.c (chroot_canon): Cleanups.
66162         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
66164         [BZ #13335]
66165         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
66166         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
66168         * string/test-strchr.c: Make usable for strchrnul testing.
66169         * string/test-strchrnul.c: New file.
66170         * string/Makefile (strop-tests): Add strchrnul.
66172         * po/it.po: Update from translation team.
66173         * po/es.po: Likewise.
66175 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
66177         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
66178         the three constants needed as parameters.  Drop the others.
66179         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
66180         __m128i_strloadu_tolower.
66181         Create and initialize variable zero and use it in all the places
66182         where _mm_setzero_si128 was used.
66184         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
66185         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
66186         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
66187         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
66188         anymore.
66189         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
66190         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
66191         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
66192         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
66193         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
66194         __mpranred, __mptan.
66195         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
66196         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
66197         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
66198         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
66199         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
66200         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
66201         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
66202         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
66203         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
66205 2011-10-28  Andreas Schwab  <schwab@redhat.com>
66207         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
66208         redefine if SHARED.
66209         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
66211         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
66212         wide char related routines to wcsmbs subdir.
66214 2011-10-27  Andreas Schwab  <schwab@redhat.com>
66216         [BZ #13344]
66217         * misc/sys/cdefs.h (__THROWNL): Define.
66218         * posix/unistd.h: Use __THREADNL instead of __THREAD
66219         for memory synchronization functions.
66221 2011-10-26  Roland McGrath  <roland@hack.frob.com>
66223         [BZ #13349]
66224         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
66225         doesn't exist.
66226         * manual/stdio.texi (Obstack Streams): Node removed.
66228 2011-10-26  Andreas Schwab  <schwab@redhat.com>
66230         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
66231         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
66232         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
66234         * math/math_private.h (math_force_eval): Allow non-addressable
66235         arguments.
66236         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
66238 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
66240         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
66241         file is not needed.
66243         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
66244         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
66245         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
66246         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
66247         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
66248         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
66249         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
66250         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
66251         Add AVX variants.
66252         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
66253         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
66254         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
66255         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
66256         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
66257         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
66258         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
66259         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
66260         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
66261         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
66262         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
66263         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
66264         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
66265         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
66266         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
66267         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
66268         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
66269         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
66270         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
66272         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
66273         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
66275         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
66276         place.  Use VEX encoding when compiling for AVX.
66278 2011-10-25  Andreas Schwab  <schwab@redhat.com>
66280         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
66281         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
66283         * string/test-strchr.c (do_test): Don't generate NUL bytes.
66285 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
66287         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
66288         useless if() expression.
66289         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
66290         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
66291         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
66292         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
66293         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
66294         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
66295         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
66296         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
66297         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
66298         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
66299         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
66300         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
66301         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
66302         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
66303         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
66304         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
66305         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
66306         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
66307         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
66309         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
66311 2011-10-25  Andreas Schwab  <schwab@redhat.com>
66313         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
66314         condition.
66315         * elf/dl-fini.c (_dl_sort_fini): Likewise.
66317 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
66319         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
66320         .text section.  Avoid duplicate constants.
66321         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
66322         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
66323         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
66324         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
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/halfulp.c: Likewise.
66329         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
66330         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
66331         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
66332         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
66333         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
66334         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
66335         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
66336         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
66337         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
66338         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
66339         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
66340         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
66341         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
66342         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
66343         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
66344         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
66345         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
66346         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
66347         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
66348         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
66349         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
66350         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
66351         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
66352         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
66353         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
66354         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
66355         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
66356         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
66357         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
66358         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
66359         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
66360         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
66361         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
66362         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
66363         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
66364         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
66365         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
66367 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
66369         * sysdeps/x86_64/dla.h: Move to ...
66370         * sysdeps/x86_64/fpu/dla.h: ...here.
66371         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
66372         situations.  Use __builtin_fma only for gcc 4.6 and up.
66374         * config.make.in: Add have-mfma4 entry.
66375         * configure.in: Substitute libc_cv_cc_fma4.
66376         * math/Makefile (dbl-only-routines): Add sincostab.
66377         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
66378         Use __sincostab not sincos.
66379         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
66380         name is a macro.
66381         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
66382         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
66383         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
66384         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
66385         using __copysign.
66386         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
66387         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
66388         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
66389         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
66390         and __inv.
66391         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
66392         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
66393         __copysign.
66394         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
66395         define aliases when function name is a macro.
66396         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
66397         sysdeps/ieee754/dbl-64/sincos.tbl.
66398         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
66399         fma4-enabled routines.
66400         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
66401         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
66402         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
66403         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
66404         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
66405         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
66406         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
66407         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
66408         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
66409         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
66410         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
66411         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
66412         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
66413         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
66414         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
66415         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
66416         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
66417         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
66418         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
66419         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
66420         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
66421         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
66422         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
66423         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
66424         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
66425         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
66426         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
66427         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
66428         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
66429         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
66431         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
66432         rename.
66433         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
66434         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
66435         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
66436         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
66437         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
66438         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
66439         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
66440         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
66442 2011-10-24  Andreas Schwab  <schwab@redhat.com>
66444         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
66446 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
66448         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
66450         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
66451         prediction.
66452         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
66454         * string/strnlen.c: Don't define STRNLEN, reverse logic.
66455         Remove unused variable magic_bits.
66456         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
66458         * string/strnlen.c: Define and use STRNLEN macro.
66459         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
66460         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
66461         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
66462         * wcsmbs/wcslen.c: Define and use WCSLEN.
66463         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
66464         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
66465         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
66466         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
66467         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
66468         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
66469         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
66471 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66473         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
66474         strnlen-sse2-no-bsf.
66475         Rename strlen-no-bsf to strlen-sse2-no-bsf.
66476         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
66477         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
66478         Add strnlen support.
66479         (USE_AS_STRNLEN): New macro.
66480         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
66481         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
66482         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
66483         * sysdeps/x86_64/wcslen.S: New file.
66485 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
66487         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
66488         XMM-moves are used for copying on small sizes.
66490 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66492         * wcsmbs/Makefile (strop-tests): Add wcschr.
66493         * wcsmbs/test-wcschr.c: New file.
66494         * string/test-strchr.c: Update.
66495         Add wcschr support.
66496         (WIDE): New macro.
66498 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66500         * wcsmbs/Makefile (strop-tests): Add wcslen.
66501         * wcsmbs/test-wcslen.c: New file.
66502         * string/test-strlen.c: Update.
66503         Add wcslen support.
66504         (WIDE): New macro.
66506 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
66508         * po/it.po: Update from translation team.
66510 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66512         * sysdeps/x86_64/wcscmp.S: Update.
66513         Fix wrong comparison semantics.
66514         wcscmp shall use signed comparison not unsigned.
66515         Don't use substraction to avoid overflow bug.
66516         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
66517         * wcsmbc/wcscmp.c: Likewise.
66518         * string/test-strcmp.c: Likewise.
66519         Add new tests to check cases with negative values.
66521 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
66523         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
66524         * sysdeps/x86_64/dla.h: ...here.  New file.
66525         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
66526         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
66527         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
66528         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
66529         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
66530         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
66531         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
66532         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
66533         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
66535 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
66537         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
66538         __ynl_finite aliases.
66540 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
66542         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66544         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
66545         define DLA_FMA.
66546         [DLA_FMA] (EMULV): Use DLA_FMA.
66547         [DLA_FMA] (MUL12): Use EMULV.
66548         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
66549         that are not needed.
66550         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
66551         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
66552         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
66553         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
66554         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
66555         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
66556         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
66558 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
66560         * math/s_nan.c: Undef __nan.
66561         * math/s_nanf.c: Undef __nanf.
66562         * math/s_nanl.c: Undef __nanl.
66563         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
66564         "math_private.h".
66566 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
66568         * math/s_catan.c: Add branch predictions.
66569         * math/s_catanf.c: Likewise.
66570         * math/s_catanh.c: Likewise.
66571         * math/s_catanhf.c: Likewise.
66572         * math/s_catanhl.c: Likewise.
66573         * math/s_catanl.c: Likewise.
66574         * math/s_cexp.c: Likewise.
66575         * math/s_cexpf.c: Likewise.
66576         * math/s_cexpl.c: Likewise.
66577         * math/s_clog.c: Likewise.
66578         * math/s_clog10.c: Likewise.
66579         * math/s_clog10f.c: Likewise.
66580         * math/s_clog10l.c: Likewise.
66581         * math/s_clogf.c: Likewise.
66582         * math/s_clogl.c: Likewise.
66583         * math/s_csqrt.c: Likewise.
66584         * math/s_csqrtf.c: Likewise.
66585         * math/s_csqrtl.c: Likewise.
66586         * math/s_ctanf.c: Likewise.
66587         * math/s_ctanh.c: Likewise.
66588         * math/s_ctanhf.c: Likewise.
66589         * math/s_ctanhl.c: Likewise.
66590         * math/s_ctanl.c: Likewise.
66592         * math/math_private.h: Define __nan, __nanf, __nanl.
66593         * math/s_cacosh.c: Include <math_private.h>.
66594         * math/s_cacoshl.c: Likewise.
66595         * math/s_casinh.c: Likewise.
66596         * math/s_casinhf.c: Likewise.
66597         * math/s_casinhl.c: Likewise.
66598         * math/s_ccos.c: Rely entire on ccosh.
66599         * math/s_ccosf.c: Rely entire on ccoshf.
66600         * math/s_ccosl.c: Rely entirely on ccoshl.
66601         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
66602         Remove tests for FE_INVALID.
66603         * math/s_ccoshf.c: Likewise.
66604         * math/s_ccoshl.c: Likewise.
66605         * math/s_csin.c: Likewise.
66606         * math/s_csinf.c: Likewise.
66607         * math/s_csinh.c Likewise.
66608         * math/s_csinhf.c: Likewise.
66609         * math/s_csinhl.c: Likewise.
66610         * math/s_csinl.c: Likewise.
66611         * math/s_ctan.c: Likewise.
66612         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
66613         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
66614         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
66616 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
66618         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
66619         compilation problems.
66621         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
66622         __builtin_expect.
66624 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
66626         * sysdeps/i386/configure.in: Test for -mfma4 option.
66627         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
66628         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
66629         COMMON_CPUID_INDEX_80000001.
66630         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
66631         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
66632         use it if FMA3 is not supported.
66633         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
66635         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
66636         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
66638 2011-10-20  Andreas Schwab  <schwab@redhat.com>
66640         [BZ #12892]
66641         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
66642         it would create a cycle with a link time dependency.
66644 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
66646         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
66647         instruction.
66648         * string/Makefile (strop-tests): Add rawmemchr.
66649         * string/test-rawmemchr.c: New file.
66651         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
66652         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
66653         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
66654         when compiling str{,n}casecmp and when AVX is available.  Hook up
66655         new optimized code in initializers.
66657 2011-10-19  Andreas Schwab  <schwab@redhat.com>
66659         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
66660         __feraiseexcept instead of feraiseexcept.
66662 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
66664         * math/math_private.h: Define defaults for libc_fetestexcept and
66665         libc_feupdateenv.
66666         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
66667         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
66668         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
66669         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
66670         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
66671         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
66672         libc_fetestexcept and libc_feupdateenv.
66674         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
66675         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
66676         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
66677         * sysdeps/x86_64/fpu/math_private.h: Define special version of
66678         libc_feholdexcept_setround.
66680         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
66681         Add s_nearbyint-c and s_nearbyintf-c.
66682         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
66683         nearbyintf inlines.
66684         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
66685         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
66686         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
66687         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
66689         * math/math_private.h: Define defaults for libc_fegetround,
66690         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
66691         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
66692         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
66693         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
66694         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
66695         standard functions.
66696         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
66697         Remove comments and hacks for old compiler versions.
66698         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
66699         libc_fegetround, libc_fesetround, libc_feholdexcept, and
66700         libc_feholdexceptl.
66702 2011-10-18  Andreas Schwab  <schwab@redhat.com>
66704         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
66705         (__feraiseexcept_renamed): Add __NTH.
66706         (feraiseexcept): Add __NTH.  Rename local variables to fix
66707         namespace violations.
66709 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
66711         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
66713         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
66715         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
66716         recently added interfaces.
66717         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
66719         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
66720         about macro parameter expansion.
66722         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
66723         __NO_MATH_INLINES is defined.  Cleanups.
66725         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
66726         and __floorf is target has SSE4.1.
66727         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
66728         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
66729         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
66730         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
66732         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
66733         name.
66734         (floorf): Likewise.
66736         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
66738 2011-10-17  Andreas Schwab  <schwab@redhat.com>
66740         * misc/sys/cdefs.h: Fix last change.
66742         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
66743         database lookup.
66745 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
66747         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
66749         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
66750         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
66751         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
66752         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
66753         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
66754         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
66755         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
66756         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
66757         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
66758         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
66759         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
66760         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
66761         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
66762         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
66763         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
66764         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
66765         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
66766         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
66767         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
66768         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
66769         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
66770         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
66772         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
66773         ceil, ceilf, floor, floorf.
66775         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
66776         Perform IRELATIVE relocations last.
66778         * elf/do-rel.h: Add another parameter nrelative, replacing the
66779         local variable with the same name.  Change name of the function
66780         to end in Rel or Rela (uppercase).
66781         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
66782         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
66783         elf_dynamic_do_##reloc function.
66785 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
66787         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
66788         is sufficient, at least on modern CPUs.
66790         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
66792         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
66793         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
66795         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
66796         __expl_finite.
66797         * math/bits/math-finite.h: Add entries for exp.
66798         * math/e_expl.c: Add __*_finite alias.
66799         * sysdeps/i386/fpu/e_exp.S: Likewise.
66800         * sysdeps/i386/fpu/e_expf.S: Likewise.
66801         * sysdeps/i386/fpu/e_expl.c: Likewise.
66802         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
66803         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
66804         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
66805         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
66806         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
66807         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
66808         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
66810         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
66811         is sufficient, at least on modern CPUs.
66813         * ctype/ctype-info.c (__ctype_init): Define.
66814         * include/ctype.h (__ctype_init): Declare.
66815         (__ctype_b_loc): The variable is always initialized.
66816         (__ctype_toupper_loc): Likewise.
66817         (__ctype_tolower_loc): Likewise.
66818         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
66819         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
66821 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
66823         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
66825         * configure.in: Also look in $cxxmachine/include for C++ system
66826         headers.
66828 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66830         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
66831         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
66832         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
66833         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
66834         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
66835         (USE_AS_WMEMCMP): New macro.
66836         Fixing indents.
66837         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
66838         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
66839         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
66840         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
66841         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
66842         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
66843         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
66844         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
66845         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
66846         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
66847         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
66848         (USE_AS_WMEMCMP): New macro.
66849         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
66850         * sysdeps/string/test-memcmp.c: Update.
66851         Fix simple_wmemcmp.
66852         Add new tests.
66853         * wcsmbs/wmemcmp.c: Update.
66854         (WMEMCMP): New macro.
66855         Fix overflow bug.
66857 2011-10-12  Andreas Jaeger  <aj@suse.de>
66859         [BZ #13268]
66860         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
66862 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
66864         * libio/iofwide.c (do_length): Avoid warning.
66866         * ctype/ctype.h (__isctype_f): Add missing __THROW.
66868 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
66870         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
66872         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
66873         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
66874         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
66875         * sysdeps/i386/i686/fpu/e_log.S: New file.
66876         * sysdeps/i386/i686/fpu/e_logf.S: New file.
66877         * sysdeps/i386/i686/fpu/e_logl.S: New file.
66879         * ctype/ctype.h: Add support for inlined isXXX functions when
66880         compiling C++ code.
66882 2011-10-14  Andreas Schwab  <schwab@redhat.com>
66884         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
66886         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
66888 2011-10-13  Roland McGrath  <roland@hack.frob.com>
66890         [BZ #13291]
66891         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
66893 2011-10-13  Andreas Schwab  <schwab@redhat.com>
66895         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
66896         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
66897         feraiseexcept.
66899         * sysdeps/x86_64/memrchr.S: Check for zero size.
66901         * string/stratcliff.c: Add memrchr tests.
66903 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66905         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
66906         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
66907         rawmemchr-sse2 rawmemchr-sse2-bsf.
66908         * sysdeps/i386/i686/multiarch/memchr.S: New file.
66909         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
66910         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
66911         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
66912         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
66913         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
66914         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
66915         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
66916         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
66917         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
66918         * string/memrchr.c (MEMRCHR): New macro.
66920 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
66922         Add integration with gcc's -ffinite-math-only and optimize wrapper
66923         functions in libm.
66924         * Versions.def: Define GLIBC_2.15 version for libm.
66925         * math/Makefile (headers): Add bits/math-finite.h.
66926         * math/bits/math-finite.h: New file.
66927         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
66928         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
66929         * math/e_acoshl.c: Add __*_finite alias.
66930         * math/e_acosl.c: Likewise.
66931         * math/e_asinl.c: Likewise.
66932         * math/e_atan2l.c: Likewise.
66933         * math/e_atanhl.c: Likewise.
66934         * math/e_coshl.c: Likewise.
66935         * math/e_exp10.c: Likewise.
66936         * math/e_exp10f.c: Likewise.
66937         * math/e_exp10l.c: Likewise.
66938         * math/e_exp2l.c: Likewise.
66939         * math/e_fmodl.c: Likewise.
66940         * math/e_gammal_r.c: Likewise.
66941         * math/e_hypotl.c: Likewise.
66942         * math/e_j0l.c: Likewise.
66943         * math/e_j1l.c: Likewise.
66944         * math/e_jnl.c: Likewise.
66945         * math/e_lgammal_r.c: Likewise.
66946         * math/e_log10l.c: Likewise.
66947         * math/e_log2l.c: Likewise.
66948         * math/e_logl.c: Likewise.
66949         * math/e_powl.c: Likewise.
66950         * math/e_sinhl.c: Likewise.
66951         * math/e_sqrtl.c: Likewise.
66952         * math/e_scalb.c: Completely rewritten and optimized.
66953         * math/e_scalbf.c: Likewise.
66954         * math/e_scalbl.c: Likewise.
66955         * math/w_acos.c: Likewise.
66956         * math/w_acosf.c: Likewise.
66957         * math/w_acosl.c: Likewise.
66958         * math/w_acosh.c: Likewise.
66959         * math/w_acoshf.c: Likewise.
66960         * math/w_acoshl.c: Likewise.
66961         * math/w_asin.c: Likewise.
66962         * math/w_asinf.c: Likewise.
66963         * math/w_asinl.c: Likewise.
66964         * math/w_atan2.c: Likewise.
66965         * math/w_atan2f.c: Likewise.
66966         * math/w_atan2l.c: Likewise.
66967         * math/w_atanh.c: Likewise.
66968         * math/w_atanhf.c: Likewise.
66969         * math/w_atanhl.c: Likewise.
66970         * math/w_exp10.c: Likewise.
66971         * math/w_exp10f.c: Likewise.
66972         * math/w_exp10l.c: Likewise.
66973         * math/w_fmod.c: Likewise.
66974         * math/w_fmodf.c: Likewise.
66975         * math/w_fmodl.c: Likewise.
66976         * math/w_j0.c: Likewise.
66977         * math/w_j0f.c: Likewise.
66978         * math/w_j0l.c: Likewise.
66979         * math/w_j1.c: Likewise.
66980         * math/w_j1f.c: Likewise.
66981         * math/w_j1l.c: Likewise.
66982         * math/w_jn.c: Likewise.
66983         * math/w_jnf.c: Likewise.
66984         * math/w_log.c: Likewise.
66985         * math/w_logf.c: Likewise.
66986         * math/w_logl.c: Likewise.
66987         * math/w_log10.c: Likewise.
66988         * math/w_log10f.c: Likewise.
66989         * math/w_log10l.c: Likewise.
66990         * math/w_log2.c: Likewise.
66991         * math/w_log2f.c: Likewise.
66992         * math/w_log2l.c: Likewise.
66993         * math/w_pow.c: Likewise.
66994         * math/w_powf.c: Likewise.
66995         * math/w_powl.c: Likewise.
66996         * math/w_remainder.c: Likewise.
66997         * math/w_remainderf.c: Likewise.
66998         * math/w_remainderl.c: Likewise.
66999         * math/w_scalb.c: Likewise.
67000         * math/w_scalbf.c: Likewise.
67001         * math/w_scalbl.c: Likewise.
67002         * math/w_sqrt.c: Likewise.
67003         * math/w_sqrtf.c: Likewise.
67004         * math/w_sqrtl.c: Likewise.
67005         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
67006         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
67007         used.
67008         * math/math_private.h: Declare __kernel_standard_f.
67009         * math/w_cosh.c: Remove cruft and optimize a bit.
67010         * math/w_coshf.c: Likewise.
67011         * math/w_coshl.c: Likewise.
67012         * math/w_exp2.c: Likewise.
67013         * math/w_exp2f.c: Likewise.
67014         * math/w_exp2l.c: Likewise.
67015         * math/w_hypot.c: Likewise.
67016         * math/w_hypotf.c: Likewise.
67017         * math/w_hypotl.c: Likewise.
67018         * math/w_lgamma.c: Likewise.
67019         * math/w_lgamma_r.c: Likewise.
67020         * math/w_lgammaf.c: Likewise.
67021         * math/w_lgammaf_r.c: Likewise.
67022         * math/w_lgammal.c: Likewise.
67023         * math/w_lgammal_r.c: Likewise.
67024         * math/w_sinh.c: Likewise.
67025         * math/w_sinhf.c: Likewise.
67026         * math/w_sinhl.c: Likewise.
67027         * math/w_tgamma.c: Likewise.
67028         * math/w_tgammaf.c: Likewise.
67029         * math/w_tgammal.c: Likewise.
67030         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
67031         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
67032         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
67033         Minor optimizations.  Pretty printing.  Remove cruft.
67034         * sysdeps/i386/fpu/e_acosf.S: Likewise.
67035         * sysdeps/i386/fpu/e_acosh.S: Likewise.
67036         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
67037         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
67038         * sysdeps/i386/fpu/e_acosl.c: Likewise.
67039         * sysdeps/i386/fpu/e_asin.S: Likewise.
67040         * sysdeps/i386/fpu/e_asinf.S: Likewise.
67041         * sysdeps/i386/fpu/e_atan2.S: Likewise.
67042         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
67043         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
67044         * sysdeps/i386/fpu/e_atanh.S: Likewise.
67045         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
67046         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
67047         * sysdeps/i386/fpu/e_exp10.S: Likewise.
67048         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
67049         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
67050         * sysdeps/i386/fpu/e_exp2.S: Likewise.
67051         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
67052         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
67053         * sysdeps/i386/fpu/e_fmod.S: Likewise.
67054         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
67055         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
67056         * sysdeps/i386/fpu/e_hypot.S: Likewise.
67057         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
67058         * sysdeps/i386/fpu/e_log.S: Likewise.
67059         * sysdeps/i386/fpu/e_log10.S: Likewise.
67060         * sysdeps/i386/fpu/e_log10f.S: Likewise.
67061         * sysdeps/i386/fpu/e_log10l.S: Likewise.
67062         * sysdeps/i386/fpu/e_log2.S: Likewise.
67063         * sysdeps/i386/fpu/e_log2f.S: Likewise.
67064         * sysdeps/i386/fpu/e_log2l.S: Likewise.
67065         * sysdeps/i386/fpu/e_logf.S: Likewise.
67066         * sysdeps/i386/fpu/e_logl.S: Likewise.
67067         * sysdeps/i386/fpu/e_pow.S: Likewise.
67068         * sysdeps/i386/fpu/e_powf.S: Likewise.
67069         * sysdeps/i386/fpu/e_powl.S: Likewise.
67070         * sysdeps/i386/fpu/e_remainder.S: Likewise.
67071         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
67072         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
67073         * sysdeps/i386/fpu/e_scalb.S: Likewise.
67074         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
67075         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
67076         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
67077         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
67078         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
67079         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
67080         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
67081         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
67082         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
67083         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
67084         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
67085         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
67086         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
67087         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
67088         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
67089         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
67090         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
67091         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
67092         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
67093         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
67094         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
67095         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
67096         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
67097         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
67098         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
67099         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
67100         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
67101         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
67102         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
67103         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
67104         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
67105         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
67106         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
67107         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
67108         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
67109         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
67110         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
67111         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
67112         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
67113         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
67114         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
67115         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
67116         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
67117         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
67118         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
67119         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
67120         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
67121         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
67122         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
67123         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
67124         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
67125         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
67126         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
67127         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
67128         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
67129         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
67130         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
67131         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
67132         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
67133         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
67134         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
67135         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
67136         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
67137         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
67138         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
67139         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
67140         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
67141         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
67142         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
67143         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
67144         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
67145         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
67146         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
67147         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
67148         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
67149         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
67150         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
67151         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
67152         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
67153         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
67154         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
67155         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
67156         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
67157         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
67158         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
67159         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
67160         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
67161         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
67162         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
67163         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
67164         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
67165         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
67166         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
67167         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
67168         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
67169         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
67170         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
67171         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
67172         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
67173         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
67174         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
67175         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
67176         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
67177         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
67178         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
67179         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
67180         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
67181         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
67182         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
67183         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
67184         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
67185         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
67186         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
67187         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
67188         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
67189         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
67190         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
67191         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
67192         (__isnanf): Likewise.
67193         (__isinf_ns): Likewise.
67194         (__isinf_nsf): Likewise.
67195         (__finite): Likewise.
67196         (__finitef): Likewise.
67197         (__ieee754_sqrt): Define as macro.
67198         (__ieee754_sqrtf): Define as macro.
67199         (__ieee754_sqrtl): Define as macro.
67200         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
67201         inlined copy.
67202         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
67203         __FINITE_MATH_ONLY__ consistent.
67204         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
67206 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
67208         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
67209         of rawmemchr.
67211         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
67213 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
67215         * po/ja.po: Update from translation team.
67217 2011-10-08  Roland McGrath  <roland@hack.frob.com>
67219         * locale/programs/locarchive.c (prepare_address_space): New function.
67220         (create_archive, enlarge_archive, open_archive): Use it.
67222         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
67223         inside [SHARED], where it is used.
67225         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
67227         * nss/getent.c (netgroup_keys): Remove unused variable.
67228         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
67230 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
67232         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
67233         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
67234         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
67235         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
67236         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
67237         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
67238         * math/Makefile (libm-calls): Add s_isinf_ns.
67239         * math/divtc3.c: Use __isinf_nsl instead of isinf.
67240         * math/multc3.c: Likewise.
67241         * math/s_casin.c: Likewise.
67242         * math/s_casinf.c: Likewise.
67243         * math/s_casinl.c: Likewise.
67244         * math/s_ccos.c: Likewise.
67245         * math/s_ccosf.c: Likewise.
67246         * math/s_ccosl.c: Likewise.
67247         * math/s_ctan.c: Likewise.
67248         * math/s_ctanf.c: Likewise.
67249         * math/s_ctanh.c: Likewise.
67250         * math/s_ctanhf.c: Likewise.
67251         * math/s_ctanhl.c: Likewise.
67252         * math/s_ctanl.c: Likewise.
67253         * math/w_fmod.c: Likewise.
67254         * math/w_fmodf.c: Likewise.
67255         * math/w_fmodl.c: Likewise.
67256         * math/w_remainder.c: Likewise.
67257         * math/w_remainderf.c: Likewise.
67258         * math/w_remainderl.c: Likewise.
67259         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
67260         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
67261         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
67262         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
67263         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
67264         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
67265         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
67266         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
67268         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
67269         of the number.
67270         * stdio-common/printf_fphex.c: Likewise.
67271         * stdio-common/printf_size.c: Likewise.
67273         * math/e_exp10.c: Include math_private.h using <...> not "...".
67274         * math/e_exp10f.c: Likewise.
67275         * math/e_exp10l.c: Likewise.
67276         * math/e_exp2l.c: Likewise.
67277         * math/e_j0l.c: Likewise.
67278         * math/e_j1l.c: Likewise.
67279         * math/e_jnl.c: Likewise.
67280         * math/e_lgammal_r.c: Likewise.
67281         * math/e_rem_pio2l.c: Likewise.
67282         * math/e_scalb.c: Likewise.
67283         * math/e_scalbf.c: Likewise.
67284         * math/e_scalbl.c: Likewise.
67285         * math/k_cosl.c: Likewise.
67286         * math/k_sinl.c: Likewise.
67287         * math/k_tanl.c: Likewise.
67288         * math/s_cacoshf.c: Likewise.
67289         * math/s_catan.c: Likewise.
67290         * math/s_catanf.c: Likewise.
67291         * math/s_catanh.c: Likewise.
67292         * math/s_catanhf.c: Likewise.
67293         * math/s_catanhl.c: Likewise.
67294         * math/s_catanl.c: Likewise.
67295         * math/s_ccosh.c: Likewise.
67296         * math/s_ccoshf.c: Likewise.
67297         * math/s_ccoshl.c: Likewise.
67298         * math/s_cexp.c: Likewise.
67299         * math/s_cexpf.c: Likewise.
67300         * math/s_cexpl.c: Likewise.
67301         * math/s_clog.c: Likewise.
67302         * math/s_clog10.c: Likewise.
67303         * math/s_clog10f.c: Likewise.
67304         * math/s_clog10l.c: Likewise.
67305         * math/s_clogf.c: Likewise.
67306         * math/s_clogl.c: Likewise.
67307         * math/s_csin.c: Likewise.
67308         * math/s_csinf.c: Likewise.
67309         * math/s_csinh.c: Likewise.
67310         * math/s_csinhf.c: Likewise.
67311         * math/s_csinhl.c: Likewise.
67312         * math/s_csinl.c: Likewise.
67313         * math/s_csqrt.c: Likewise.
67314         * math/s_csqrtf.c: Likewise.
67315         * math/s_csqrtl.c: Likewise.
67316         * math/s_ctan.c: Likewise.
67317         * math/s_ctanf.c: Likewise.
67318         * math/s_ctanh.c: Likewise.
67319         * math/s_ctanhf.c: Likewise.
67320         * math/s_ctanhl.c: Likewise.
67321         * math/s_ctanl.c: Likewise.
67322         * math/s_ldexp.c: Likewise.
67323         * math/s_ldexpf.c: Likewise.
67324         * math/s_ldexpl.c: Likewise.
67325         * math/s_significand.c: Likewise.
67326         * math/s_significandf.c: Likewise.
67327         * math/s_significandl.c: Likewise.
67328         * math/w_acos.c: Likewise.
67329         * math/w_acosf.c: Likewise.
67330         * math/w_acosh.c: Likewise.
67331         * math/w_acoshf.c: Likewise.
67332         * math/w_acoshl.c: Likewise.
67333         * math/w_acosl.c: Likewise.
67334         * math/w_asin.c: Likewise.
67335         * math/w_asinf.c: Likewise.
67336         * math/w_asinl.c: Likewise.
67337         * math/w_atan2.c: Likewise.
67338         * math/w_atan2f.c: Likewise.
67339         * math/w_atan2l.c: Likewise.
67340         * math/w_atanh.c: Likewise.
67341         * math/w_atanhf.c: Likewise.
67342         * math/w_atanhl.c: Likewise.
67343         * math/w_cosh.c: Likewise.
67344         * math/w_coshf.c: Likewise.
67345         * math/w_coshl.c: Likewise.
67346         * math/w_dremf.c: Likewise.
67347         * math/w_exp10.c: Likewise.
67348         * math/w_exp10f.c: Likewise.
67349         * math/w_exp10l.c: Likewise.
67350         * math/w_exp2.c: Likewise.
67351         * math/w_exp2f.c: Likewise.
67352         * math/w_fmod.c: Likewise.
67353         * math/w_fmodf.c: Likewise.
67354         * math/w_fmodl.c: Likewise.
67355         * math/w_hypot.c: Likewise.
67356         * math/w_hypotf.c: Likewise.
67357         * math/w_hypotl.c: Likewise.
67358         * math/w_j0.c: Likewise.
67359         * math/w_j0f.c: Likewise.
67360         * math/w_j0l.c: Likewise.
67361         * math/w_j1.c: Likewise.
67362         * math/w_j1f.c: Likewise.
67363         * math/w_j1l.c: Likewise.
67364         * math/w_jn.c: Likewise.
67365         * math/w_jnf.c: Likewise.
67366         * math/w_jnl.c: Likewise.
67367         * math/w_lgamma.c: Likewise.
67368         * math/w_lgamma_r.c: Likewise.
67369         * math/w_lgammaf.c: Likewise.
67370         * math/w_lgammaf_r.c: Likewise.
67371         * math/w_lgammal.c: Likewise.
67372         * math/w_lgammal_r.c: Likewise.
67373         * math/w_log.c: Likewise.
67374         * math/w_log10.c: Likewise.
67375         * math/w_log10f.c: Likewise.
67376         * math/w_log10l.c: Likewise.
67377         * math/w_log2.c: Likewise.
67378         * math/w_log2f.c: Likewise.
67379         * math/w_log2l.c: Likewise.
67380         * math/w_logf.c: Likewise.
67381         * math/w_logl.c: Likewise.
67382         * math/w_pow.c: Likewise.
67383         * math/w_powf.c: Likewise.
67384         * math/w_powl.c: Likewise.
67385         * math/w_remainder.c: Likewise.
67386         * math/w_remainderf.c: Likewise.
67387         * math/w_remainderl.c: Likewise.
67388         * math/w_scalb.c: Likewise.
67389         * math/w_scalbf.c: Likewise.
67390         * math/w_scalbl.c: Likewise.
67391         * math/w_sinh.c: Likewise.
67392         * math/w_sinhf.c: Likewise.
67393         * math/w_sinhl.c: Likewise.
67394         * math/w_sqrt.c: Likewise.
67395         * math/w_sqrtf.c: Likewise.
67396         * math/w_sqrtl.c: Likewise.
67397         * math/w_tgamma.c: Likewise.
67398         * math/w_tgammaf.c: Likewise.
67399         * math/w_tgammal.c: Likewise.
67401         * po/ja.po: Update from translation team.
67403 2011-09-29  Andreas Jaeger  <aj@suse.de>
67405         [BZ #13179]
67406         * sunrpc/netname.c (netname2host): Fix logic.
67408         [BZ #6779]
67409         [BZ #6783]
67410         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
67411         correctly.
67412         * math/w_remainder.c (__remainder): Likewise.
67413         * math/w_remainderf.c (__remainderf): Likewise.
67414         * math/libm-test.inc (remainder_test): Add test cases.
67416 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67418         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
67419         sdiv_qrnnd.
67421 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
67423         * string/test-memcmp.c: Avoid unncessary #defines.
67424         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
67426 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67428         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
67429         Use new sse2 version for core i3 - i7 as it's faster
67430         than sse42 version.
67431         (bit_Prefer_PMINUB_for_stringop): New.
67432         * sysdeps/x86_64/rawmemchr.S: Update.
67433         Replace with faster SSE2 version.
67434         * sysdeps/x86_64/memrchr.S: New file.
67435         * sysdeps/x86_64/memchr.S: Update.
67436         Replace with faster SSE2 version.
67438 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
67440         * elf/dl-load.c (lose): Add cast to avoid warning.
67442 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
67444         * po/ca.po: Update from translation team.
67446         * inet/getnetgrent_r.c: Hook up nscd.
67447         * nscd/Makefile (routines): Add nscd_netgroup.
67448         (nscd-modules): Add netgroupcache.
67449         (CFLAGS-netgroupcache.c): Define.
67450         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
67451         (cache_search): Add const to second parameter.
67452         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
67453         INNETGR.
67454         (dbs): Add netgrdb entry.
67455         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
67456         (verify_persistent_db): Handle netgrdb.
67457         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
67458         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
67459         GETFDNETGR.
67460         (netgroup_response_header): Define.
67461         (innetgroup_response_header): Define.
67462         (datahead): Add netgroup_response_header and innetgroup_response_header
67463         elements.
67464         * nscd/nscd.conf: Add entries for netgroup cache.
67465         * nscd/nscd.h (dbtype): Add netgrdb.
67466         (_PATH_NSCD_NETGROUP_DB): Define.
67467         (netgroup_iov_disabled): Declare.
67468         (xmalloc, xcalloc, xrealloc): Move declarations here.
67469         (cache_search): Adjust prototype.
67470         Add netgroup-related prototypes.
67471         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
67472         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
67473         (__nscd_innetgr): Declare.
67474         * nscd/selinux.c (perms): Use access_vector_t as element type and
67475         add netgroup-related initializers.
67476         * nscd/netgroupcache.c: New file.
67477         * nscd/nscd_netgroup.c: New file.
67478         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
67479         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
67480         For four parameters use innetgr.
67481         * nss/nss_files/files-init.c: Add definition and callback for netgr.
67482         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
67483         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
67484         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
67486         * nscd/connections.c (register_traced_file): Don't register file
67487         for disabled databases.
67489 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
67491         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
67493         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
67494         from tree and freeing node.
67496 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
67498         * nss/nsswitch.c (__nss_database_lookup): Handle
67499         nss_parse_service_list out of memory case.
67501 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
67503         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
67504         out of memory case.
67506 2011-10-04  Andreas Schwab  <schwab@redhat.com>
67508         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
67509         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
67510         pass it down.
67511         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
67512         elf_machine_rela, elf_machine_lazy_rel.
67513         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
67514         (ELF_DYNAMIC_DO_REL): Likewise.
67515         (ELF_DYNAMIC_DO_RELA): Likewise.
67516         (ELF_DYNAMIC_RELOCATE): Likewise.
67517         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
67518         to ELF_DYNAMIC_DO_REL.
67519         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
67520         (dl_main): In trace mode always set __RTLD_NOIFUNC.
67521         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
67522         elf_machine_rela.
67523         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
67524         skip_ifunc, don't call ifunc function if non-zero.
67525         (elf_machine_rela): Likewise.
67526         (elf_machine_lazy_rel): Likewise.
67527         (elf_machine_lazy_rela): Likewise.
67528         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
67529         (elf_machine_lazy_rel): Likewise.
67530         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
67531         Likewise.
67532         (elf_machine_lazy_rel): Likewise.
67533         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
67534         Likewise.
67535         (elf_machine_lazy_rel): Likewise.
67536         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
67537         (elf_machine_lazy_rel): Likewise.
67538         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
67539         (elf_machine_lazy_rel): Likewise.
67540         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
67541         (elf_machine_lazy_rel): Likewise.
67542         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
67543         (elf_machine_lazy_rel): Likewise.
67544         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
67545         (elf_machine_lazy_rel): Likewise.
67546         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
67547         (elf_machine_lazy_rel): Likewise.
67549 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
67551         * nss/nss_files/files-init.c (_nss_files_init): Use static
67552         initialization for all the *_traced_file variables.
67554 2011-09-28  Andreas Schwab  <schwab@redhat.com>
67556         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
67558 2011-09-27  Roland McGrath  <roland@hack.frob.com>
67560         [BZ #13226]
67561         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
67563 2011-09-27  Andreas Schwab  <schwab@redhat.com>
67565         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
67566         Reread the line before reparsing it.
67568 2011-09-26  Andreas Schwab  <schwab@redhat.com>
67570         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
67572 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
67573             Maxim Kuvyrkov  <maxim@codesourcery.com>
67574             Joseph Myers  <joseph@codesourcery.com>
67576         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
67577         if needed for __stack_chk_guard.
67579 2011-09-19  Roland McGrath  <roland@hack.frob.com>
67581         * sysdeps/posix/spawni.c (script_execute): Always define it.
67582         It will be optimized away if unused.
67583         (maybe_script_execute): New function.
67584         (__spawni): Call it.
67586         * Makerules: Don't include tls.make.
67587         (config-tls): Always set to thread.
67588         * tls.make.c: File removed.
67590 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
67592         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
67593         * config.make.in (CPPFLAGS-config): New substituted variable.
67595 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
67597         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
67599         [BZ #13192]
67600         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
67601         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
67603 2011-09-15  Roland McGrath  <roland@hack.frob.com>
67605         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
67606         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
67607         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
67608         (CALL_FAIL): Likewise.
67609         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
67610         (CALL_FAIL): Macro removed.
67611         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
67613 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
67615         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
67616         for __FINITE_MATH_ONLY__ == 1.
67618 2011-09-15  Andreas Schwab  <schwab@redhat.com>
67620         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
67621         __ieee754_sqrt instead of sqrt.
67622         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
67623         __ieee754_sqrtf instead of sqrtf.
67624         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
67625         __floorf instead of floorf.
67626         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
67627         __floorf, __truncf instead of floorf, truncf.
67629 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
67631         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
67633         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
67634         __extern_always_inline.
67635         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
67636         32-bit.
67638 2011-09-14  Andreas Schwab  <schwab@redhat.com>
67640         * elf/rtld.c (dl_main): Also relocate in dependency order when
67641         doing symbol dependency testing.
67643 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
67645         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
67646         Always define `refsym'.
67648 2011-09-13  Andreas Schwab  <schwab@redhat.com>
67650         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
67651         (__FD_ELT): Renamed from __FDELT.
67652         * misc/bits/select2.h (__FD_ELT): Likewise.
67653         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
67654         __FD_MASK instead of __FDELT, __FDMASK.
67655         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
67656         Likewise.
67657         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
67658         Likewise.
67660         * elf/Makefile (gen-ldd): Fix pattern.
67662         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
67663         (init_tls): Likewise.
67665 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
67667         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
67669 2011-09-12  Andreas Schwab  <schwab@redhat.com>
67671         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
67672         `struct cmsghdr *' instead of `void *'.
67673         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
67674         Likewise.
67676 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
67678         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
67679         if non-absolute.
67680         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
67681         ldd_rewrite_script.
67683 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
67685         * configure.in: Remove --with-tls option.
67686         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
67687         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
67688         out in case it is missing.
67689         * sysdeps/ia64/elf/configure.in: Likewise.
67690         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
67691         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
67692         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
67693         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
67694         * sysdeps/sh/elf/configure.in: Likewise.
67695         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
67696         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
67697         * sysdeps/x86_64/elf/configure.in: Likewise.
67698         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
67699         * sysdeps/mach/hurd/tls.h: Likewise.
67701         [BZ #13067]
67702         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
67704         [BZ #13090]
67705         * configure.in: Fix use of AC_INIT.
67707         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
67709 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
67711         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
67712         __set_errno.
67713         * malloc/hooks.c: Likewise.
67715         [BZ #11929]
67716         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
67717         variables statically.
67718         (narenas): Initialize.
67719         (list_lock): Initialize.
67720         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
67721         initializtion of main_arena and list_lock.  Small cleanups.
67722         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
67723         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
67724         Add initializers to main_arena and mp_.
67725         (malloc_state): Remove pagesize member.  Change all users to use
67726         GLRO(dl_pagesize).
67728         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
67729         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
67730         is always initialized.
67732         * malloc/malloc.c: Removed unused configurations and dead code.
67733         * malloc/arena.c: Likewise.
67734         * malloc/hooks.c: Likewise.
67735         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
67737         * include/tls.h: Removed.  USE___THREAD must always be defined.
67738         * bits/libc-tsd.h: Don't handle !USE___THREAD.
67739         * elf/dl-libc.c: Likewise.
67740         * elf/dl-tsd.c: Likewise.
67741         * include/errno.h: Likewise.
67742         * include/netdb.h: Likewise.
67743         * include/resolv.h: Likewise.
67744         * inet/herrno-loc.c: Likewise.
67745         * inet/herrno.c: Likewise.
67746         * malloc/arena.c: Likewise.
67747         * malloc/hooks.c: Likewise.
67748         * malloc/malloc.c: Likewise.
67749         * resolv/res-state.c: Likewise.
67750         * resolv/res_libc.c: Likewise.
67751         * sysdeps/i386/dl-machine.h: Likewise.
67752         * sysdeps/ia64/dl-machine.h: Likewise.
67753         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
67754         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
67755         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
67756         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
67757         * sysdeps/sh/dl-machine.h: Likewise.
67758         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
67759         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
67760         * sysdeps/unix/i386/sysdep.S: Likewise.
67761         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
67762         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
67763         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
67764         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
67765         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
67766         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
67767         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
67768         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
67769         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
67770         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
67771         * sysdeps/unix/x86_64/sysdep.S: Likewise.
67772         * sysdeps/x86_64/dl-machine.h: Likewise.
67773         * tls.make.c: Likewise.
67775         * configure.in: Remove --with-__thread option.  Make tests for
67776         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
67777         tls_model attribute fail if no support is available.  Remove
67778         USE_IN_LIBIO.
67779         * Makeconfig: Adjust for dropped configure option.  All features are
67780         now mandatory.
67781         * Makerules: Likewise.
67782         * Versions.def: Likewise.
67783         * argp/argp-fmtstream.c: Likewise.
67784         * argp/argp-fmtstream.h: Likewise.
67785         * argp/argp-help.c: Likewise.
67786         * assert/assert.c: Likewise.
67787         * config.h.in: Likewise.
67788         * config.make.in: Likewise.
67789         * configure: Likewise.
67790         * configure.in: Likewise.
67791         * csu/Versions: Likewise.
67792         * csu/init.c: Likewise.
67793         * elf/tst-audit2.c: Likewise.
67794         * elf/tst-tls10.c: Likewise.
67795         * elf/tst-tls10.h: Likewise.
67796         * elf/tst-tls11.c: Likewise.
67797         * elf/tst-tls12.c: Likewise.
67798         * elf/tst-tls14.c: Likewise.
67799         * elf/tst-tlsmod11.c: Likewise.
67800         * elf/tst-tlsmod12.c: Likewise.
67801         * elf/tst-tlsmod13.c: Likewise.
67802         * elf/tst-tlsmod13a.c: Likewise.
67803         * elf/tst-tlsmod14a.c: Likewise.
67804         * elf/tst-tlsmod15b.c: Likewise.
67805         * elf/tst-tlsmod16a.c: Likewise.
67806         * elf/tst-tlsmod16b.c: Likewise.
67807         * elf/tst-tlsmod7.c: Likewise.
67808         * elf/tst-tlsmod8.c: Likewise.
67809         * elf/tst-tlsmod9.c: Likewise.
67810         * gmon/gmon.c: Likewise.
67811         * grp/fgetgrent_r.c: Likewise.
67812         * grp/putgrent.c: Likewise.
67813         * hurd/fopenport.c: Likewise.
67814         * include/libc-symbols.h: Likewise.
67815         * include/tls.h: Likewise.
67816         * intl/gettextP.h: Likewise.
67817         * intl/loadinfo.h: Likewise.
67818         * locale/global-locale.c: Likewise.
67819         * locale/localeinfo.h: Likewise.
67820         * mach/devstream.c: Likewise.
67821         * malloc/arena.c: Likewise.
67822         * malloc/set-freeres.c: Likewise.
67823         * misc/err.c: Likewise.
67824         * misc/getttyent.c: Likewise.
67825         * misc/mntent_r.c: Likewise.
67826         * posix/getopt.c: Likewise.
67827         * posix/wordexp.c: Likewise.
67828         * pwd/fgetpwent_r.c: Likewise.
67829         * resolv/Versions: Likewise.
67830         * resolv/res_hconf.c: Likewise.
67831         * shadow/fgetspent_r.c: Likewise.
67832         * shadow/putspent.c: Likewise.
67833         * stdio-common/printf_fphex.c: Likewise.
67834         * stdio-common/tmpfile.c: Likewise.
67835         * stdlib/abort.c: Likewise.
67836         * stdlib/fmtmsg.c: Likewise.
67837         * sunrpc/auth_unix.c: Likewise.
67838         * sunrpc/clnt_perr.c: Likewise.
67839         * sunrpc/clnt_tcp.c: Likewise.
67840         * sunrpc/clnt_udp.c: Likewise.
67841         * sunrpc/clnt_unix.c: Likewise.
67842         * sunrpc/openchild.c: Likewise.
67843         * sunrpc/svc_simple.c: Likewise.
67844         * sunrpc/svc_tcp.c: Likewise.
67845         * sunrpc/svc_udp.c: Likewise.
67846         * sunrpc/svc_unix.c: Likewise.
67847         * sunrpc/xdr.c: Likewise.
67848         * sunrpc/xdr_array.c: Likewise.
67849         * sunrpc/xdr_rec.c: Likewise.
67850         * sunrpc/xdr_ref.c: Likewise.
67851         * sunrpc/xdr_stdio.c: Likewise.
67853 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
67855         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
67857 2011-07-03  Andreas Jaeger  <aj@suse.de>
67859         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
67860         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
67861         regenerate with gen-libm-tests.pl.
67863 2010-05-12  Petr Baudis  <pasky@suse.cz>
67865         [BZ #11589]
67866         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
67867         around j0() zero points by switching to j1().
67868         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
67869         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
67870         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
67871         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
67873 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
67875         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
67876         instead of 0.
67877         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
67878         instead of 0.
67879         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
67880         Patch in part by Pavel Roskin <proski@gnu.org>.
67882         [BZ #13138]
67883         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
67884         realloc.
67885         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
67886         Free memory block if necessary.
67888         [BZ #12847]
67889         * libio/genops.c (INTDEF): For string streams the _lock pointer can
67890         be NULL.  Don't lock in this case.
67892 2011-09-09  Roland McGrath  <roland@hack.frob.com>
67894         * elf/elf.h (ELFOSABI_GNU): New macro.
67895         (ELFOSABI_LINUX): Define to that.
67897 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
67899         * string/strncat.c (strncat): Undef the symbol in case it has been
67900         defined in bits/string.h.
67902 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
67904         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
67906         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
67907         link map.
67909 2011-08-17  Andreas Jaeger  <aj@suse.de>
67911         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
67913 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
67914             Ian Lance Taylor  <iant@google.com>
67916         * math/libm-test.inc (lround_test): New testcase.
67917         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
67919 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
67921         * Makefile: Remove support for automatic cvs check-ins.
67922         * Makerules: Likewise.
67923         * config.make.in: Likewise.
67924         * configure.in: Likewise.
67925         * intl/Makefile: Likewise.
67926         * locale/Makefile: Likewise.
67927         * po/Makefile: Likewise.
67928         * posix/Makefile: Likewise.
67929         * sysdeps/gnu/Makefile: Likewise.
67930         * sysdeps/mach/hurd/Makefile: Likewise.
67931         * sysdeps/sparc/sparc32/Makefile: Likewise.
67933         [BZ #13118]
67934         * posix/Makefile (bug-regex32-ENV): Define.
67935         Patch by John Stanley <jpsinthemix@verizon.net>.
67937         * misc/Makefile (headers): Add bits/select2.h.
67938         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
67939         * misc/bits/select2.h: New file.
67940         * include/bits/select2.h: New file.
67941         * debug/Makefile (routines): Add fdelt_chk.
67942         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
67943         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
67944         FD_ISSET.
67945         * debug/fdelt_chk.c: New file.
67947         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
67948         * wcsmbs/test-wmemcmp.c: Likewise.
67949         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
67950         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
67952 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67954         * string/Makefile (strop-tests): Add memcmp.
67955         * string/test-wmemcmp.c: New file.
67956         * string/test-memcmp.c: Add wmemcmp support.
67958 2011-09-08  Roland McGrath  <roland@hack.frob.com>
67960         [BZ #13153]
67961         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
67962         2011-07-19 change.
67964         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
67965         garbage value in a __mach_port_mod_refs call in the cases of the
67966         task-self and thread-self ports.
67968 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67970         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
67972 2011-09-08  Andreas Schwab  <schwab@redhat.com>
67974         * elf/dl-load.c (lose): Check for non-null L.
67976 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
67978         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
67980         * elf/dl-libc.c (dlerror_run): Pass back error code from
67981         dl_catch_error.
67983         [BZ #13123]
67984         * elf/dl-load.c (lose): Free l_origin if it is valid.
67986         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
67987         names.
67988         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
67989         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
67990         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
67991         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
67992         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
67993         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
67995 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67997         * sysdeps/powerpc/fpu/e_hypot.c: New file.
67998         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
67999         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
68000         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
68001         * sysdeps/powerpc/fpu/k_cosf.c: New file.
68002         * sysdeps/powerpc/fpu/k_sinf.c: New file.
68003         * sysdeps/powerpc/fpu/s_cosf.c: New file.
68004         * sysdeps/powerpc/fpu/s_sinf.c: New file.
68005         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
68006         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
68008 2011-08-15  Alan Modra  <amodra@gmail.com>
68010         [BZ #13092]
68011         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
68012         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
68013         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
68014         ppc_mcount to static-only-routines.
68015         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
68016         __mcount_internal.
68017         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
68018         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
68020 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
68022         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
68023         for finite and infinity parameters.
68025 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
68027         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
68028         and add nop instructions for throughput optimization.
68029         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
68031 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
68033         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
68034         aligned copy for power7 with vector-scalar instructions.
68035         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
68037 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
68039         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
68040         AVX check.
68042 2011-09-07  Andreas Schwab  <schwab@redhat.com>
68044         [BZ #13144]
68045         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
68046         last change.
68048 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
68050         * sysdeps/unix/sysv/linux/x86_64/init-first.c
68051         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
68052         syscall wrapper around clock_gettime in __vdso_clock_gettime.
68053         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
68054         clock_gettime.
68056 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
68058         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
68059         Forgot to demangle the pointer.
68061         * sysdeps/i386/sysdep.h: Define atom_text_section.
68062         * sysdeps/x86_64/sysdep.h: Likewise.
68063         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
68064         section with atom_text_section.
68065         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
68066         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
68067         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
68068         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
68069         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
68071         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
68072         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
68073         already be defined.  Change to take two parameters and don't assign
68074         result to variable.  Adjust all users.
68075         Define INTERNAL_GETTIME if not already defined.
68076         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
68077         call.
68078         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
68079         HAVE_CLOCK_GETTIME_VSYSCALL.
68080         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
68082         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
68083         gettimeofday vsyscall, just use time.
68085 2011-09-06  Andreas Schwab  <schwab@redhat.com>
68087         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
68088         <errno.h>.
68090 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
68092         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
68093         syscall on x86-64.
68094         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
68095         syscall.
68096         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
68097         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
68098         syscall if possible.
68100 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
68102         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
68103         e_ident.  Don't pass to find_mapsXX.
68104         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
68106 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
68108         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
68109         strchr-sse2-no-bsf strrchr-sse2-no-bsf
68110         * sysdeps/x86_64/multiarch/strchr.S: Update.
68111         Check bit_slow_BSF bit.
68112         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
68113         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
68114         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
68116 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
68118         [BZ #13134]
68119         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
68120         before glibc 2.15.
68121         (tryshell): Define.
68122         (__spawni): Change last parameter to be flag.  Test
68123         SPAWN_XFLAGS_USE_PATH flag to use path or not.
68124         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
68125         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
68126         * posix/spawni.c: Likewise.
68127         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
68128         * posix/spawnp.c: Likewise.  Change normal version to use
68129         SPAWN_XFLAGS_USE_PATH.
68130         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
68131         SPAWN_XFLAGS_TRY_SHELL.
68133         [BZ #13150]
68134         * posix/glob.h: Remove gcc 1.x support.
68136         [BZ #13068]
68137         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
68139 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
68141         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
68142         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
68143         strrchr-sse2-bsf
68144         * sysdeps/i386/i686/multiarch/strchr.S: New file.
68145         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
68146         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
68147         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
68148         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
68149         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
68151 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68153         * sysdeps/x86_64/wcscmp.S: New file.
68155         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
68156         wcscmp-c wcscmp-sse2
68157         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
68158         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
68159         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
68160         * wcsmbs/wcscmp.c: Allow renaming.
68162 2011-09-05  David S. Miller  <davem@davemloft.net>
68164         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
68165         stack slot, rather than the struct return pointer slot.
68166         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
68167         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
68168         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
68169         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
68171 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
68173         * po/ja.po: Update from translation team.
68175         [BZ #13144]
68176         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
68177         kernel in 64-bit binaries.
68179 2011-09-01  David S. Miller  <davem@davemloft.net>
68181         * elf/elf.h (HWCAP_SPARC_*): Move to..
68182         * sysdeps/sparc/sysdep.h: this new file and add new values.
68183         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
68184         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
68185         _DL_HWCAP_COUNT to 24.
68186         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
68187         entries.
68188         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
68189         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
68190         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
68191         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
68192         instead of magic constants.
68193         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
68195 2011-08-31  David S. Miller  <davem@davemloft.net>
68197         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
68198         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
68199         Reimplement to do errno handling inline.
68200         (SYSCALL_ERROR_HANDLER): New macro.
68201         (__SYSCALL_STRING): Do not do errno handling in asm.
68202         (__CLONE_SYSCALL_STRING): Delete.
68203         (__INTERNAL_SYSCALL_STRING): Delete.
68204         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
68205         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
68206         (PSEUDO): Reimplement to do errno handling inline.
68207         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
68208         (SYSCALL_ERROR_HANDLER): New macro.
68209         (__SYSCALL_STRING): Do not do errno handling in asm.
68210         (__CLONE_SYSCALL_STRING): Delete.
68211         (__INTERNAL_SYSCALL_STRING): Delete.
68212         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
68213         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
68214         i386.
68215         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
68216         (inline_syscall*): Add 'err' argument.
68217         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
68218         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
68219         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
68220         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
68222         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
68223         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
68225 2011-08-30  Andreas Schwab  <schwab@redhat.com>
68227         * elf/rtld.c (dl_main): Relocate objects in dependency order.
68229 2011-08-29  Jiri Olsa <jolsa@redhat.com>
68231         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
68232         directive.
68234 2011-08-24  David S. Miller  <davem@davemloft.net>
68236         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
68238 2011-08-24  Andreas Schwab  <schwab@redhat.com>
68240         * elf/Makefile: Add rules to build and run unload8 test.
68241         * elf/unload8.c: New file.
68242         * elf/unload8mod1.c: New file.
68243         * elf/unload8mod1x.c: New file.
68244         * elf/unload8mod2.c: New file.
68245         * elf/unload8mod3.c: New file.
68247         * elf/dl-close.c (_dl_close_worker): Reset private search list if
68248         it wasn't used.
68250 2011-08-23  David S. Miller  <davem@davemloft.net>
68252         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
68253         subtract stack bias.
68254         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
68255         %sp not %fp in calculations.
68256         (_JMPBUF_UNWINDS_ADJ): Likewise.
68258         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
68259         (aio_suspend): Call it to force an exception region around the
68260         AIO_MISC_WAIT() invocation.
68262 2011-08-23  Andreas Schwab  <schwab@redhat.com>
68264         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
68265         backslash.
68267 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
68269         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
68270         protection macro.
68271         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
68272         and <dl-machine.h>.
68273         (Elf64_FuncDesc): Remove.
68275 2011-08-22  David S. Miller  <davem@davemloft.net>
68277         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
68278         sigaltstack check, add missing cfi directives.
68279         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
68280         missing cfi directives, and sigaltstack handling.
68282 2011-08-16  Andreas Schwab  <schwab@redhat.com>
68284         [BZ #11724]
68285         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
68286         object is seen twice.
68287         * elf/dl-fini.c (_dl_sort_fini): Likewise.
68289         * elf/Makefile (distribute): Add tst-initorder2.c.
68290         (tests): Add tst-initorder2.
68291         (modules-names): Add tst-initorder2a tst-initorder2b
68292         tst-initorder2c tst-initorder2d.  Add rules to build them.
68293         ($(objpfx)tst-initorder2.out): New rule.
68294         * elf/tst-initorder2.c: New file.
68295         * elf/tst-initorder2.exp: New file.
68297 2011-08-22  Andreas Schwab  <schwab@redhat.com>
68299         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
68301         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
68302         dependencies back to end of function.
68304         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
68305         $(elfobjdir)/ld.so.
68307 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
68309         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
68310         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
68311         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
68312         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
68313         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
68314         of __vdso_gettimeofday.
68315         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
68316         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
68317         attribute_hidden.
68318         (_libc_vdso_platform_setup): Remove initialization of
68319         __vdso_gettimeofday and __vdso_time.
68321 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
68323         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
68324         and fgetc_unlocked.
68325         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
68326         getc_unlocked.
68328         * elf/dl-open.c (add_to_global): Report additions to the global scope
68329         for LD_DEBUG=scopes.
68330         (dl_open_worker): Also print scope of newly loaded dependencies.
68331         (_dl_show_scope): Indicate if there is no scope.
68333         [BZ #13114]
68334         * stdio-common/Makefile (tests): Add bug24.
68335         * stdio-common/bug24.c: New file.
68337 2011-08-19  Andreas Jaeger  <aj@suse.de>
68339         [BZ #13114]
68340         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
68341         non-existant file when using close-on-exec mode.
68343 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
68345         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
68346         the very first instruction.
68348         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
68349         the CFI state in the end.
68350         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
68351         inclusion of dl-trampoline.h.
68352         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
68354 2011-08-19  Andreas Schwab  <schwab@redhat.com>
68356         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
68357         expectations for long double.
68359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
68360         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
68362 2011-08-14  David S. Miller  <davem@davemloft.net>
68364         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
68365         artificual limit depends upon the system page size.
68367 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
68369         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
68370         * resolv/Makefile: Define CFLAGS-libresolv.
68372 2011-08-17  Andreas Schwab  <schwab@redhat.com>
68374         * nss/makedb.c (compute_tables): Make variables used in nested
68375         function static.
68377 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
68379         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
68380         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
68381         if buffer was too small.
68383         * elf/pldd.c (main): Attach to all threads in the process.
68384         Rewrite /proc handling to use *at functions.
68386 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
68388         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
68389         specifies first scope to show.
68390         (dl_open_worker): Update callers.  Move printing scope of new
68391         object to before the relocation.
68392         * elf/rtld.c (dl_main): Update _dl_show_scope call.
68393         * sysdeps/generic/ldsodefs.h: Update declaration.
68395         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
68396         string for the scope number.
68398 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
68400         * nscd/servicescache.c (cache_addserv): Make sure written is always
68401         initialized.
68403 2011-08-14  Roland McGrath  <roland@hack.frob.com>
68405         * sysdeps/i386/i486/bits/atomic.h
68406         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
68407         statement expression, so as to suppress "set but not used" warning.
68408         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
68410         * string/strncat.c (STRNCAT): Use prototype definition.
68412         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
68413         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
68414         -Iprograms here.
68415         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
68416         (localedef-modules): Add localedef.
68417         (locale-modules): Add locale.
68419         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
68420         * elf/rtld.c (dl_main): Invert order of assignment in last change,
68421         to avoid a warning.
68423 2011-08-14  David S. Miller  <davem@davemloft.net>
68425         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
68426         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
68428 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
68430         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
68431         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
68432         * elf/rtld.c (dl_main): Set l_name of vDSO.
68433         Call _dl_show_scope when DL_DEBUG_SCOPES.
68434         (process_dl_debug): Recognize scopes flag and also set it for all.
68435         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
68436         Declare _dl_show_scope.
68438         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
68439         (do_dlopen): Pass caller_dlopen to dl_open.
68440         (__libc_dlopen_mode): Initialize caller_dlopen.
68442         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
68443         of libc.  Make tolower call locale-independent.  Optimize a bit by
68444         using isdigit instead of isalnum.
68445         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
68447 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
68449         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
68450         was a dependency or dynamically loaded.
68452 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
68454         * intl/l10nflist.c: Allow architecture-specific pop function.
68455         * sysdeps/x86_64/l10nflist.c: New file.
68457         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
68458         classification.
68460 2011-08-10  Andreas Schwab  <schwab@redhat.com>
68462         * include/dirent.h: Add libc_hidden_proto for scandirat and
68463         scandirat64.  Don't declare __scandirat64.
68464         * dirent/scandirat.c: Add libc_hidden_def.
68465         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
68466         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
68468 2011-08-10  David S. Miller  <davem@davemloft.net>
68470         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
68471         enum.
68472         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
68473         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
68474         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
68476 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
68478         * Versions.def [libc]: Add GLIBC_2.15.
68479         * dirent/Makefile (routines): Add scandirat and scandirat64.
68480         * dirent/Versions [libc]: Export scandirat and scandirat64 for
68481         GLIBC_2.15.
68482         * dirent/dirent.h: Declare scandirat and scandirat64.
68483         * dirent/scandirat.c: New file.
68484         * dirent/scandirat64.c: New file.
68485         * sysdeps/wordsize-64/scandirat.c: New file.
68486         * sysdeps/wordsize-64/scandirat64.c: New file.
68487         * dirent/opendir.c: Define opendirat.
68488         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
68489         using scandirat.
68490         * dirent/scandir64.c: Adjust for scandir.c change.
68491         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
68492         __scandirat64, and __scandir_cancel_handler.
68493         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
68494         additional parameter and use openat instead of open (outside of ld.so).
68495         Add new __opendir as wrapper around __opendirat.
68496         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
68497         here without requiring old scandirat implementation.
68499 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
68501         * dirent/scandir.c (cancel_handler): Renamed to
68502         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
68503         defined.  Adjust users.
68504         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
68505         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
68507 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
68509         * string/test-string.h (IMPL): Use __STRING to expand name and then
68510         stringify it.
68512         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
68513         of cleanups.
68515 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68517         * string/Makefile: Update.
68518         (strop-tests): Append strncat.
68519         * string/test-wcscmp.c: New file.
68520         New comprehensive test for wcscmp.
68521         * string/test-strcmp.c: Update.
68522         (WIDE): New define.
68524 2011-07-22  Andreas Schwab  <schwab@redhat.com>
68526         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
68527         line.
68529 2011-07-26  Andreas Schwab  <schwab@redhat.com>
68531         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
68532         encoding to ACE if AI_IDN.
68534 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
68536         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
68537         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
68539 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
68541         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
68542         Fix overflow bug in strncat.
68543         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
68545         * string/test-strncat.c: Update.
68546         Add new tests for checking overflow bugs.
68548 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
68550         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
68551         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
68552         * sysdeps/i386/i686/multiarch/strcat.S: New file.
68553         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
68554         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
68555         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
68556         * sysdeps/i386/i686/multiarch/strncat.S: New file.
68557         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
68558         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
68560         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
68561         (USE_AS_STRCAT): Define.
68562         Add strcat and strncat support.
68563         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
68565 2011-07-25  Andreas Schwab  <schwab@redhat.com>
68567         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
68568         __n bigger than INT_MAX+1.
68569         (__strncmp_g): Likewise.
68571 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
68573         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
68574         * libio/stido.h: Likewise.
68576         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
68577         (AF_NFC): Define.
68578         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
68579         (AF_NFC): Define.
68581         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
68582         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
68583         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
68584         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
68585         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
68587         [BZ #13021]
68588         * scripts/test-installation.pl: Don't expect libnss_test1 to be
68589         installed.
68591         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
68592         typo.
68593         (_dl_x86_64_save_sse): Likewise.
68595 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
68597         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
68598         OSXSAVE.
68599         (_dl_x86_64_save_sse): Likewise.
68601         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
68603         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
68605 2011-07-21  Andreas Schwab  <schwab@redhat.com>
68607         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
68608         change.
68609         (_dl_x86_64_save_sse): Use correct AVX check.
68611 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68613         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
68614         bug in strncpy/strncat.
68615         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
68617 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
68619         * string/tester.c (test_strcat): Add tests for different alignments
68620         of source and destination.
68621         (test_strncat): Likewise.
68623 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
68625         [BZ #12852]
68626         * posix/glob.c (glob): Check passed in values before using them in
68627         expressions to avoid some overflows.
68628         (glob_in_dir): Likewise.
68630         [BZ #13007]
68631         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
68632         check for AVX enablement so that we don't crash with old kernels and
68633         new hardware.
68634         * elf/tst-audit4.c: Add same checks here.
68635         * elf/tst-audit6.c: Likewise.
68637         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
68639 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
68641         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
68643 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
68645         * po/cs.po: Update from translation team.
68646         * po/bg.po: Likewise.
68648 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
68650         * misc/sys/cdefs.h: Add support for const attribute.
68651         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
68652         to gnu_dev_{major,minor,makedev} functions.
68654 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
68656         * intl/dcigettext.c (get_output_charset): Add missing bracket.
68658 2011-07-20  Andreas Schwab  <schwab@redhat.com>
68660         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
68661         strlen results.
68663 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68665         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
68666         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
68667         register in order to avoid conflicts with the soft frame pointer
68668         being held in r11 when necessary.
68669         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
68670         (INTERNAL_VSYSCALL_NCS): Likewise.
68672 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
68674         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
68675         * elf/dl-fini.c (_dl_fini): Adjust caller.
68676         * elf/dl-close.c (_dl_close_worker): Likewise.
68677         * sysdeps/generic/ldsodefs.h: Adjust declaration.
68679 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
68681         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
68682         "aux_cache->nlibs < 0".
68684         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
68685         in the reload-count case.
68687 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
68689         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
68690         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
68691         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
68692         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
68693         * sysdeps/x86_64/multiarch/strcat.S: New file.
68694         * sysdeps/x86_64/multiarch/strncat.S: New file.
68695         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
68696         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
68697         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
68698         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
68699         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
68700         (USE_AS_STRCAT): Define.
68701         Add strcat and strncat support.
68702         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
68703         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
68704         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
68705         * string/strncat.c: Update.
68706         (USE_AS_STRNCAT): Define.
68707         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
68708         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
68709         and i7.
68710         * sysdeps/x86_64/multiarch/init-arch.h
68711         (bit_Prefer_PMINUB_for_stringop): New.
68712         (index_Prefer_PMINUB_for_stringop): Likewise.
68713         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
68714         bit_Prefer_PMINUB_for_stringop.
68716 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
68718         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
68719         buffer64.
68720         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
68721         of casting of buffer.
68722         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
68723         buffer32 and buffer64.
68724         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
68725         writes instead of casting of buffer.
68726         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
68727         buffer32.
68728         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
68729         casting of buffer.
68731 2011-07-19  Andreas Schwab  <schwab@redhat.com>
68733         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
68735 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
68737         * nscd/nscd.c (termination_handler): Don't do anything for a database
68738         if it has not yet been initialized.
68740 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
68742         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
68744 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
68746         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
68748 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
68750         * po/nl.po: Update from translation team.
68751         * po/sv.po: Likewise.
68753 2011-07-16  Roland McGrath  <roland@hack.frob.com>
68755         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
68756         now disallowed by GCC.
68758         * configure.in (use-default-link): Default to yes if a test -shared
68759         link meets our qualifications.
68760         * configure: Regenerated.
68762         * config.make.in (output-format): New variable.
68763         * configure.in: Check for ld --print-output-format support.
68764         * configure: Regenerated.
68765         * Makerules ($(common-objpfx)format.lds)
68766         [$(output-format) != unknown]: Just use $(output-format),
68767         instead of the linker-script munging.
68769 2011-07-14  Roland McGrath  <roland@hack.frob.com>
68771         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
68772         of $(common-objpfx)shlib.lds.
68773         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
68775         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
68776         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
68778         * configure.in (-z relro check): Adjust test code to add a large
68779         writable data section after it.
68780         * configure: Regenerated.
68782 2011-07-11  Roland McGrath  <roland@hack.frob.com>
68784         * configure.in (-z relro check): Fix test code to make the variable
68785         truly const.
68786         * configure: Regenerated.
68788 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
68790         * nscd/nscd.h (struct traced_file): Define.
68791         (struct database_dyn): Remove inotify_descr, reset_res, and filename
68792         elements.  Add traced_files.
68793         (inotify_fd): Declare.
68794         (register_traced_file): Declare.
68795         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
68796         (inotify_fd): Export.
68797         (resolv_conf_descr): Remove.
68798         (nscd_init): Move inotify descriptor creation to main.
68799         Don't register files for notification here.
68800         (register_traced_file): New function.
68801         (invalidate_cache): Don't use reset_res to determine whether to call
68802         res_init, go through the list of registered files.
68803         (main_loop_poll): The inotify descriptors are now stored in the
68804         structures for the traced files.
68805         (main_loop_epoll): Likewise
68806         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
68807         to __nss_disable_nscd.
68808         * nscd/cache.c (prune_cache): There is no single inotify descriptor
68809         for a database anymore.  Check the records for all the registered
68810         files instead.
68811         * nss/Makefile (libnss_files-routines): Add files-init.
68812         (libnss_db-routines): Add db-init.
68813         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
68814         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
68815         * nss/nss_db/db-init.c: New file.
68816         * nss/nss_files/files-init.c: New file.
68817         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
68818         __nss_lookup_function.
68819         (__nss_lookup_function): Call nss_load_library.
68820         (nss_load_all_libraries): New function.
68821         (__nss_disable_nscd): Take parameter with callback function for files
68822         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
68823         used for the cached services.
68824         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
68825         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
68826         options for features to all the files in nscd.
68828         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
68830 2011-07-10  Roland McGrath  <roland@hack.frob.com>
68832         * csu/elf-init.c (__libc_csu_init): Comment typo.
68834 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
68836         * po/pl.po: Update from translation team.
68837         * po/ja.po: Likewise.
68838         * po/ru.po: Likewise.
68839         * po/ko.po: Likewise.
68840         * po/fr.po: Likewise.
68842 2011-07-09  Roland McGrath  <roland@hack.frob.com>
68844         * configure.in (.ctors/.dtors header and trailer check):
68845         Use an empirical test on a built program.
68846         * configure: Regenerated.
68848         * configure.in (-z relro check): Use an empirical test on a built DSO.
68849         Detect, but do not require, on ia64.
68850         * configure: Regenerated.
68852         * configure.in (READELF): Find it with AC_CHECK_TOOL.
68853         Update tests that use readelf to use $READELF instead.
68854         * configure: Regenerated.
68856 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
68858         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
68859         if the result is not used.
68861 2011-07-05  Andreas Jaeger  <aj@suse.de>
68863         [BZ#9696]
68864         * stdlib/tst-strtod.c: Add testcase.
68866 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
68868         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
68869         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
68870         The latter has a higher limit.  Take additional parameter to pass to
68871         the new function.
68872         (__pathconf): Pass file to __statfs_link_max.
68873         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
68874         __statfs_link_max.
68875         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
68876         __statfs_link_max.
68878         [BZ #12868]
68879         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
68880         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
68881         Handle Lustre.
68882         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
68883         (__statfs_filesize_max): Likewise.
68884         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
68886 2011-07-05  Andreas Jaeger  <aj@suse.de>
68888         * resolv/res_comp.c (dn_skipname): Remove unused variable.
68890 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
68892         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
68893         `status' variable.
68894         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
68895         Likewise.
68897 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
68899         * Makefile (strop-tests): Add strncat.
68900         * string/test-strncat.c: New file.
68902 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
68904         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
68906 2011-06-21  Andreas Jaeger  <aj@suse.de>
68908         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
68909         Copy rule from iconvdata/Makefile.
68911 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
68913         [BZ #12922]
68914         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
68915         but no long options are defined, just return 'W'.
68917 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
68919         [BZ #9696]
68920         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
68922 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
68924         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
68925         netgroups to read.
68926         (innetgr): Likewise.
68928 2011-07-05  Roland McGrath  <roland@hack.frob.com>
68930         * config.make.in (install_root): Default to $(DESTDIR).
68932 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
68934         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
68936 2011-07-02  Roland McGrath  <roland@hack.frob.com>
68938         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
68940         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
68941         containing directory rather than embedding absolute directory names.
68943         * scripts/check-local-headers.sh: Rewritten using awk.
68944         Match by word, not by line.  Print error messages for matches.
68945         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
68947         * Makerules [shlib-lds-flags empty]:
68948         ($(common-objpfx)libc_pic.opts): New target.
68949         ($(common-objpfx)libc_pic.os.clean): New target.
68950         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
68952         * config.make.in (OBJCOPY): New variable.
68953         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
68954         * configure: Regenerated.
68956         * config.make.in (use-default-link): New variable.
68957         * configure.in (use_default_link): Grok --with-default-link to set it.
68958         * configure: Regenerated.
68959         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
68960         (shlib-lds, shlib-lds-flags): Define to empty.
68962         * Makerules (shlib-lds): New variable.
68963         (shlib-lds-flags): New variable.
68964         (build-shlib, build-moduile, build-module-asneeded): Use it.
68965         ($(common-objpfx)libc.so): Use $(shlib-lds).
68966         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
68967         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
68969         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
68970         DT_FLAGS/DT_FLAGS_1 with zero flags.
68972         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
68973         linker script munging.
68975 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
68977         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
68978         as 128-bit value.
68979         * crypt/sha512.c (sha512_process_block): Perform total addition using
68980         128-bit if possible.
68981         (__sha512_finish_ctx): Likewise.
68982         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
68983         as 64-bit value.
68984         * crypt/sha256.c (SWAP64): Define.
68985         (sha256_process_block): Perform total addition using 64-bit if
68986         possible.
68987         (__sha256_finish_ctx): Likewise.
68989 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
68991         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
68992         * nscd/initgrcache.c (addinitgroupsX): Likewise.
68993         * nscd/hstcache.c (cache_addhst): Likewise.
68994         * nscd/grpcache.c (cache_addgr): Likewise.
68995         * nscd/aicache.c (addhstaiX): Likewise
68996         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
68998 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
69000         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
69001         * nscd/initgrcache.c (addinitgroupsX): Likewise.
69002         * nscd/hstcache.c (cache_addhst): Likewise.
69003         * nscd/grpcache.c (cache_addgr): Likewise.
69004         * nscd/aicache.c (addhstaiX): Likewise
69006 2011-07-01  Andreas Schwab  <schwab@redhat.com>
69008         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
69009         domain only when needed.
69011 2011-06-30  Andreas Schwab  <schwab@redhat.com>
69013         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
69014         is always restored.
69016 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
69018         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
69019         are re-adding the entry.
69020         * nscd/servicescache.c (cache_addserv): Likewise.
69022 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
69024         * sysdeps/generic/dl-irel.h: fix protection against multiple
69025         inclusions.
69026         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
69028 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
69030         [BZ #12935]
69031         * malloc/memusage.sh: Fix quoting in message.
69032         * debug/xtrace.sh: Likewise.
69034         * configure.in: Remove support for --experimental-malloc option, make
69035         it the default.
69036         * config.make.in: Likewise.
69037         * malloc/Makefile: Likewise.
69039 2011-06-27  Andreas Schwab  <schwab@redhat.com>
69041         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
69042         two-byte characters.
69044 2011-06-27  Roland McGrath  <roland@hack.frob.com>
69046         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
69047         AC_CACHE_CHECK invocation.
69048         * configure: Regenerated.
69050         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
69052 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
69054         [BZ #12350]
69055         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
69056         bit from old_res_options.
69058         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
69060         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
69061         value type for setfct.
69063 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
69065         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
69066         __gettimeofday instead of gettimeofday.
69068 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
69070         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
69072 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
69074         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
69076         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
69077         info.
69079 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
69081         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
69082         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
69083         strcpy-sse2-unaligned strncpy-sse2-unaligned
69084         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
69085         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
69086         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
69087         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
69088         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
69089         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
69090         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
69091         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
69092         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
69093         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
69094         (STRCPY): Support SSE2 and SSSE3 versions.
69096 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
69098         [BZ #12874]
69099         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
69100         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
69101         kernels which artificially limit size of requests.
69103 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
69105         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
69106         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
69107         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
69108         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
69109         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
69110         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
69111         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
69112         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
69113         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
69114         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
69115         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
69116         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
69117         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
69118         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
69119         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
69120         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
69121         Enable unaligned load optimization for Intel Core i3, i5 and i7
69122         processors.
69123         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
69124         Define.
69125         (index_Fast_Unaligned_Load): Define.
69126         (HAS_FAST_UNALIGNED_LOAD): Define.
69128 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
69130         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
69132 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
69134         [BZ #12907]
69135         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
69136         until it is clear that the information is realy needed.
69137         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
69139 2011-06-22  Andreas Schwab  <schwab@redhat.com>
69141         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
69143 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
69145         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
69146         /sys/devices/system/cpu/online if it is usable.
69148         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
69149         reading the information from the /proc filesystem to once a second.
69151 2011-06-21  Andreas Jaeger  <aj@suse.de>
69153         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
69154         NULL after inclusion of kernel headers.
69156 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
69158         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
69159         calls to internal_setent.
69161         [BZ #12885]
69162         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
69163         addresses using gethostbyname4_r ignore IPv4 addresses.
69165         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
69166         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
69168         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
69170 2011-06-20  David S. Miller  <davem@davemloft.net>
69172         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
69173         inclusions.
69174         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
69176         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
69177         (elf_irel): Use it.
69178         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
69179         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
69180         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
69181         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
69182         * sysdeps/x86_64/dl-irel.h: Likewise.
69184         * elf/dl-runtime.c: Use elf_ifunc_invoke.
69185         * elf/dl-sym.c: Likewise.
69187 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
69189         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
69190         need to dereference resplen2.
69192 2011-06-14  Andreas Schwab  <schwab@redhat.com>
69194         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
69196 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
69198         * Makeconfig: Define vardbdir and inst_vardbdir.
69199         * nss/Makefile: Add rules to install db-Makefile.
69201         * nss/nss_db/db-XXX.c: Cleanup.
69203         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
69204         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
69205         GLIBC_PRIVATE.
69206         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
69207         * nss/makedb.c: Implement -g option to specify that value strings
69208         are generated and should not be added to table iterated over for
69209         get*ent calls.
69210         * nss/nss_db/db-initgroups.c: New file.
69212         * nss/getent.c: Add support for initgroups lookups through getgrouplist
69213         interface.
69215         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
69216         (internal_getgrouplist): Adjust to name change.
69217         Update use_initgroups_entry if this is not the first call.
69218         * nss/databases.def: Add initgroups entry.
69220         * nss/makedb.c (compute_tables): Check result of multiple hash table
69221         sizes to minimize maximum chain length.
69223 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
69225         * Versions.def: Add entry for libnss_db.
69226         * shlib-versions: Likewise.
69227         * nss/Makefile: Add rules to build libnss_db.
69228         * nss/Versions: Add libnss_db information.  Organize libnss_files
69229         entries better.
69230         * nss/db-Makefile: Add gshadow support.  Change rules for the new
69231         makedb progra.  Some minor improvements to generate smaller files.
69232         * nss/nss_db/nss_db.h: Move NSS database header data structures to
69233         here from...
69234         * nss/makedb.c: ...here.
69235         Improve database format to be smaller and require less memory at
69236         runtime.
69237         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
69238         db anymore.
69239         * nss/nss_db/db-netgrp.c: Likewise.
69240         * nss/nss_db/db-open.c: Likewise.
69241         * nss/nss_files/flies-XXX.x: Adjust comments.
69242         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
69243         * nss/nss_files/files-grp.c: Likewise.
69244         * nss/nss_files/files-hosts.c: Likewise.
69245         * nss/nss_files/files-network.c: Likewise.
69246         * nss/nss_files/files-proto.c: Likewise.
69247         * nss/nss_files/files-pwd.c: Likewise.
69248         * nss/nss_files/files-rpc.c: Likewise.
69249         * nss/nss_files/files-service.c: Likewise.
69250         * nss/nss_files/files-sgrp.c: Likewise.
69251         * nss/nss_files/files-spwd.c: Likewise.
69252         * nss/nss_db/db-alias.c: Removed.
69253         * nss/nss_db/dummy-db.h: Removed.
69255 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
69257         * nss/makedb.c: Rewritten to not use database library.
69258         * nss/Makefile: Update to build new makedb program.
69260 2011-06-14  Andreas Jaeger  <aj@suse.de>
69262         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
69263         memset declaration.
69265 2011-06-10  Andreas Schwab  <schwab@redhat.com>
69267         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
69268         tmpbuf.
69270 2011-06-10  Roland McGrath  <roland@hack.frob.com>
69272         * Makerules (shlib.lds): Fail if the linker script comes out empty.
69273         * elf/Makefile ($(objpfx)ld.so): Likewise.
69275         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
69276         Don't list ld.so twice in dependencies.
69278         * posix/bug-regex31.c: Include <stdlib.h>.
69280         * nscd/hstcache.c (cache_addhst): Remove unused variable.
69282         * nis/nss_compat/compat-spwd.c
69283         (getspent_next_nss_netgr): Remove unused variable.
69284         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
69286         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
69287         nonmembers" output to use the right array.
69289         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
69291         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
69293         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
69294         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
69295         * catgets/gencat.c (read_input_file): Likewise.
69296         * locale/programs/locarchive.c (enlarge_archive): Likewise.
69298         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
69299         variable definition inside #if's controlling its use.
69301         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
69303         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
69305         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
69307         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
69308         unreachable code.
69310         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
69312         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
69313         * configure: Regenerated.
69315         * Makerules: Revert last change.
69316         * elf/Makefile: Likewise.
69318 2011-06-09  Roland McGrath  <roland@hack.frob.com>
69320         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
69321         * elf/Makefile ($(objpfx)librtld.os): Likewise.
69322         (reloc-link): Likewise.
69324 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
69326         * elf/Makefile: Add rules to build pldd.
69327         * elf/pldd.c: New file.
69328         * elf/pldd-xx.c: New file.
69330 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
69332         * version.h: Update for 2.15 development version.
69334 2011-06-07  David S. Miller  <davem@davemloft.net>
69336         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
69337         ifuncs.
69338         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
69339         elf_machine_lazy_rel): Likewise.
69340         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
69341         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
69342         elf_machine_lazy_rel): Likewise.
69343         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
69344         dl_hwcap via passed in argument.
69345         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
69346         Likewise.
69348 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69350         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
69352 2011-06-06  Roland McGrath  <roland@hack.frob.com>
69354         [BZ #12849]
69355         * manual/fdl-1.1.texi: New file, verbatim from:
69356         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
69357         * manual/lgpl-2.1.texi: New file, verbatim from:
69358         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
69359         * manual/Makefile (licenses): New variable, list those new file names.
69360         (texis): Use it.
69361         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
69363         * manual/fdl.texi: File removed.
69364         * manual/lesser.texi: File removed.
69365         * manual/libc.texinfo (Copying, Documentation License):
69366         Use new @include file names, put @appendix directive before @include.
69368 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
69370         [BZ #12841]
69371         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
69372         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
69373         (mq_open): Add __NTH.
69375 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
69377         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
69378         Assume Intel Core i3/i5/i7 processor if AVX is available.
69380 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
69382         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
69383         typo.
69385 2011-05-31  Andreas Schwab  <schwab@redhat.com>
69387         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
69388         memory.  Use alloca_account.  Fix memory leak when retrying.
69390 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
69392         * version.h (RELEASE): Bump for 2.14 release.
69393         * include/features.h (__GLIBC_MINOR__): Bump to 14.
69395         * config.make.in (RANLIB): Remove entry.
69397 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
69399         * po/Makefile (po-sed-cmd): Add ksh to extensions.
69400         (libc.pot): Work around missing support for .ksh extension in xgettext.
69402         [BZ #12684]
69403         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
69404         if both request failed.
69405         (send_dg): In case of server errors clear resplen or *resplen2.
69407         [BZ #12454]
69408         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
69409         when there are multiple maps.
69410         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
69411         (_dl_fini): Remove test here.
69413         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
69415 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
69417         [BZ #12350]
69418         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
69419         bit from old_res_options.
69420         (gaih_inet): Likewise.
69422         [BZ #11099]
69423         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
69424         as signed.
69426         * resolv/res_init.c (res_setoptions): Make the code more compact.
69428         [BZ #11558]
69429         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
69430         set RES_USEVC.
69432         [BZ #11634]
69433         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
69435         * malloc/malloc.h: Mark malloc hook variables as deprecated.
69437         [BZ #11781]
69438         * malloc/malloc.h: Declare malloc hook variables as volatile.
69440         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
69441         in last patch.
69443         [BZ #11799]
69444         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
69445         raise in the comment.
69446         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
69447         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
69448         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
69450 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
69452         [BZ #12811]
69453         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
69454         grow the buffers more if it already has to be sufficient.
69455         (build_wcs_upper_buffer): Likewise.
69456         * posix/regexec.c (check_matching): Likewise.
69457         (clean_state_log_if_needed): Likewise.
69458         (extend_buffers): Don't enlarge buffers beyond size of the input
69459         buffer.
69460         Patches mostly by Emil Wojak <emil@wojak.eu>.
69461         * posix/bug-regex32.c: New file.
69462         * posix/Makefile (tests): Add bug-regex32.
69464         * locale/findlocale.c (_nl_find_locale): Return right away if
69465         _nl_explode_name failed.
69466         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
69468         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
69470         * debug/xtrace.sh: Unify messages.
69471         * malloc/memusage.sh: Likewise.
69473         [BZ #12813]
69474         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
69475         time symbol from vDSO.  Substitute with vsyscall if not available.
69476         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
69477         __vdso_time.
69479         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
69480         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
69481         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
69482         Add sendmmsg and internal_sendmmsg.
69483         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
69484         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
69485         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
69487         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
69488         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
69489         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
69491 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
69493         [BZ #12813]
69494         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
69495         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
69496         available.
69497         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
69498         __vdso_getcpu.
69500         [BZ #12814]
69501         * iconvdata/Makefile (tests): Add bug-iconv9.
69502         * iconvdata/bug-iconv9.c: New file.
69504 2011-05-27  Andreas Schwab  <schwab@redhat.com>
69506         [BZ #12814]
69507         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
69509 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
69511         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
69512         (struct user_regs_struct): Change intcs field back to cs.
69514 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
69516         * po/ja.po: Update from translation team.
69518 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
69520         [BZ #12795]
69521         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
69522         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
69524 2011-05-20  Andreas Schwab  <schwab@redhat.com>
69526         * stdlib/longlong.h: Update from GCC.
69528 2011-05-23  Andreas Schwab  <schwab@redhat.com>
69530         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
69531         parameter name.
69532         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
69533         Add parameter name.
69534         (__sysconf): Pass it down.
69536 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
69538         [BZ #12671]
69539         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
69540         some situations.
69541         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
69542         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
69543         add in in __libc_use_alloca calls.  Adjust callers.
69544         (glob): Use malloc in some situations.
69546         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
69547         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
69548         pltexit.
69550 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
69552         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
69553         and CLOCK_BOOTTIME_ALARM.
69555         [BZ #12782]
69556         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
69557         is returned.
69559         * string/_strerror.c (__strerror_r): Print negative errors as signed
69560         numbers.
69562         [BZ #12777]
69563         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
69564         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
69565         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
69567         * configure.in: Fix typo in redirection and correct removal of test
69568         files in two cases.
69570         [BZ #12788]
69571         * locale/setlocale.c (new_composite_name): Fix test to check for
69572         identical name of all categories.
69574         [BZ #12792]
69575         * libio/filedoalloc.c (local_isatty): New function.
69576         (_IO_file_doallocate): Use local_isatty.
69577         * stdio-common/perror.c (perror): In case a new stream is used
69578         forward the stream error.
69579         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
69580         error flag.
69582 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
69584         [BZ #11884]
69585         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
69586         alloca.
69587         * include/alloca.h (extend_alloca_account): Define.
69589         [BZ #11857]
69590         * posix/regex.h: Fix comments with documentation of user-accessible
69591         fields after compilation and describe correct free'ing of pattern
69592         after re_compile_pattern.
69593         Patch by Reuben Thomas <rrt@sc3d.org>.
69595 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
69597         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
69598         and -mno-altivec to prevent the compiler from using Altivec and/or
69599         VSX instructions when the corresponding registers are not available.
69601 2011-05-19  Andreas Schwab  <schwab@redhat.com>
69603         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
69605 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
69607         * libio/freopen.c (freopen): Use __dup2, not dup2.
69608         * libio/freopen64.c (freopen64): Likewise.
69610 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
69612         [BZ #12775]
69613         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
69614         * math/Makefile (tests): Add test-powl.
69615         (CFLAGS-test-powl.c): Define.
69616         * math/test-powl.c: New file.
69618 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
69620         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
69622 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
69624         [BZ #11837]
69625         * iconvdata/gb18030.c: Update to GB18020-2005.
69627 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
69629         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
69630         RE_SYNTAX_POSIX_AWK): Update to match recent development.
69631         Patch by Aharon Robbins <arnold@skeeve.com>.
69633         [BZ #11892]
69634         * stdlib/putenv.c (putenv): Don't always create copy of the variable
69635         on the stack.
69637         [BZ #11895]
69638         * misc/pselect.c (__pselect): Handle timeout value errors hidden
69639         through underflows.
69641         [BZ #12766]
69642         * misc/error.c (error_at_line): Ensure file_name and old_file_name
69643         point to strings before performing equality test for error_one_per_line
69644         mode.
69646         [BZ #11697]
69647         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
69649         [BZ #11820]
69650         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
69651         (struct user_fpregs_struct): Avoid __uint*_t types.
69653         [BZ #6420]
69654         * malloc/mtrace.c (tr_where): Add additional parameter to point to
69655         symbol info.  Use it instead of calling _dl_addr locally.
69656         (lock_and_info): New function.
69657         (tr_freehook): Call lock_and_info and pass symbol info as additional
69658         parameter to tr_where.
69659         (tr_mallochook): Likewise.
69660         (tr_reallochook): Likewise.
69661         (tr_memalignhook): Likewise.
69663         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
69664         used and couldn't be at all thread-safe.
69666 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
69668         * libio/freopen.c (freopen): Don't close old file descriptor
69669         before the new one is opened.  Instead dup the new file descriptor
69670         to the old one after the new stream is created.
69671         * libio/freopen64.c (freopen64): Likewise.
69672         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
69673         * libio/fileops.c (_IO_new_file_close_it): Handle new
69674         _IO_FLAGS2_NOCLOSE flag.
69675         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
69676         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
69677         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
69678         _IO_FLAGS2_NOCLOSE flag.
69679         * include/unistd.h: Add hidden_proto for dup3.
69680         Define __have_dup3.
69681         * io/dup3.c: Define hidden symbol.
69682         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
69684         [BZ #7101]
69685         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
69686         when an incomplete long option is used.
69687         * posix/tst-getopt_long1.c: New file.
69688         * posix/Makefile (tests): Add tst-getopt_long1.
69690         [BZ #10138]
69691         * scripts/config.guess: Update from autoconf-2.68.
69692         * scripts/config.sub: Likewise.
69694         [BZ #10157]
69695         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
69696         tests into ...
69697         (has_cpuclock): ...this.  New function.
69698         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
69699         macro here based on has_cpuclock code.
69701         [BZ #10149]
69702         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
69703         First byte (not low byte) is now always NUL.
69704         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
69706         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
69707         Use non-cancelable interfaces.
69709         [BZ #9809]
69710         * locale/iso-639.def: Add entry for Sorani.
69712         [BZ #11901]
69713         * include/stdlib.h: Move include protection to the right place.
69714         Define abort_msg_s.  Declare __abort_msg with it.
69715         * stdlib/abort.c (__abort_msg): Adjust type.
69716         * assert/assert.c (__assert_fail_base): New function.  Majority
69717         of code from __assert_fail.  Allocate memory for __abort_msg with
69718         mmap.
69719         (__assert_fail): Now call __assert_fail_base.
69720         * assert/assert-perr.c: Remove bulk of implementation.  Use
69721         __assert_fail_base.
69722         * include/assert.hL Declare __assert_fail_base.
69723         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
69724         mmap.
69725         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
69727 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
69729         [BZ #11952]
69730         [BZ #12453]
69731         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
69732         until all modules are registered in the DTV.
69733         * elf/Makefile: Add rules to build and run tst-tls19.
69734         * elf/tst-tls19.c: New file.
69735         * elf/tst-tls19mod1.c: New file.
69736         * elf/tst-tls19mod2.c: New file.
69737         * elf/tst-tls19mod3.c: New file.
69738         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
69740         [BZ #12083]
69741         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
69742         correctly.
69744         [BZ #12601]
69745         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
69746         two-byte sequence errors.
69747         * iconvdata/Makefile (tests): Add bug-iconv8.
69748         * iconvdata/bug-iconv8.c: New file.
69750         [BZ #12626]
69751         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
69752         buf2 definition.
69754         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
69756         [BZ #12432]
69757         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
69758         (dummy_getcfa): New function.
69759         (init): Get _Unwind_GetCFA address, use dummy if not found.
69760         (backtrace_helper): In recursion check, also check whether CFA changes.
69761         (__backtrace): Completely initialize arg.
69763         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
69764         storing incomplete byte sequence in state object.  Avoid testing for
69765         guaranteed too small input if we know there is enough data available.
69767 2011-05-11  Andreas Schwab  <schwab@redhat.com>
69769         * Makeconfig (+link-pie): Indent.
69770         * Rules (binaries-pie): Define if $(have-fpie) and
69771         $(build-shared).
69772         (binaries-shared): Also filter out $(binaries-pie).
69773         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
69774         * nscd/Makefile (others-pie): Add nscd.
69775         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
69776         ($(objpfx)nscd): Remove command override.
69777         * login/Makefile (others-pie): Add pt_chown.
69778         ($(objpfx)pt_chown): Remove command override.
69779         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
69780         remove command overrides.
69782 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
69784         * libio/tst_putwc.c: Fix error messages.
69786         [BZ #12724]
69787         * libio/fileops.c (_IO_new_file_close_it): Always flush when
69788         currently writing and seek to current position when not.
69789         * libio/Makefile (tests): Add bug-fclose1.
69790         * libio/bug-fclose1.c: New file.
69792 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
69794         [BZ #12511]
69795         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
69796         don't set DF_1_NODELETE here.
69797         (do_lookup_x): When entering new entry test for copy relocation
69798         and if necessary set DF_1_NODELETE flag.
69799         * elf/tst-unique4.cc: New file.
69800         * elf/tst-unique4.h: New file.
69801         * elf/tst-unique4lib.cc: New file.
69802         * elf/Makefile: Add rules to build and run tst-unique4.
69803         Patch by Piotr Bury <pbury@goahead.com>.
69805 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
69807         [BZ #12052]
69808         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
69810         [BZ #12625]
69811         * misc/mntent_r.c (addmntent): Flush the stream after the output
69813         [BZ #12393]
69814         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
69815         (is_trusted_path_normalize): Skip initial colon.  Append slash
69816         to empty buffer.  Duplicate is_trusted_path code but allow
69817         constructed patch to be prefix.
69818         (is_dst): Allow $ORIGIN followed by /.
69819         (_dl_dst_substitute): Correct clearing of check_for_trusted.
69820         Correct testing of result of is_trusted_path_normalize
69821         (decompose_rpath): Fix warning.
69823 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
69825         [BZ #11257]
69826         * grp/initgroups.c (internal_getgrouplist): When we found the service
69827         list through the initgroups entry in nsswitch.conf do not always
69828         continue on a successful lookup.  Don't always use the
69829         __nss_group_database value if it is set.
69830         * nss/nsswitch.conf (initgroups): Change action for successful db
69831         lookup to continue for compatibility.
69833 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
69835         [BZ #11532]
69836         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
69837         and CP774 modules.
69838         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
69839         and CP774 modules.
69840         * iconvdata/tst-tables.sh: Likewise.
69841         * iconvdata/cp770.c: New file.
69842         * iconvdata/cp771.c: New file.
69843         * iconvdata/cp772.c: New file.
69844         * iconvdata/cp773.c: New file.
69845         * iconvdata/cp774.c: New file.
69846         * iconvdata/testdata/CP770: New file.
69847         * iconvdata/testdata/CP770..UTF8: New file.
69848         * iconvdata/testdata/CP771: New file.
69849         * iconvdata/testdata/CP771..UTF8: New file.
69850         * iconvdata/testdata/CP772: New file.
69851         * iconvdata/testdata/CP772..UTF8: New file.
69852         * iconvdata/testdata/CP773: New file.
69853         * iconvdata/testdata/CP773..UTF8: New file.
69854         * iconvdata/testdata/CP774: New file.
69855         * iconvdata/testdata/CP774..UTF8: New file.
69857         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
69858         END CHARMAP line.
69859         * iconvdata/gen-8bit-gap.sh: Likewise.
69860         * iconvdata/gen-8bit.sh: Likewise.
69862         * locale/iso-639.def: Add ary entry.
69864         [BZ #11258]
69865         * locale/C-translit.h.in: Add U20A1 transliteration.
69867         [BZ #12178]
69868         * locale/iso-639.def: Add wae entry.
69869         Patch by Kevin Bortis <bortis@translate-wae.ch>.
69871         [BZ #12545]
69872         * locale/programs/localedef.c (construct_output_path): Use ssize_t
69873         for n.
69875         [BZ #12711]
69876         * locale/C-translit.h.in: Add entry for U20B9.
69877         Patch by pravin.d.s@gmail.com.
69879 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
69881         [BZ #12713]
69882         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
69883         ENAMETOOLONG use generic getcwd.
69884         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
69885         in rtld.  Use *stat64.
69886         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
69887         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
69888         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
69889         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
69890         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
69891         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
69892         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
69893         __fstatat64 macros.
69894         * include/dirent.h: Add libc_hidden_proto for rewinddir.
69895         * dirent/rewinddir.c: Add libc_hidden_def.
69896         * sysdeps/mach/hurd/rewinddir.c: Likewise.
69897         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
69899         * include/dirent.h (__alloc_dir): Add flags parameter.
69900         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
69901         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
69902         __alloc_dir.
69903         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
69904         from fdopendir if O_CLOEXEC is already set.
69906 2011-03-15  Alan Modra  <amodra@gmail.com>
69908         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
69909         l_tls_firstbyte_offset non-zero.  Save padding offset in
69910         l_tls_firstbyte_offset for later use.
69911         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
69912         freeing static tls block.
69914 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
69916         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
69917         where #ifdef was intended.  The intent is to prevent ARG_MAX from
69918         being defined by the kernel headers.
69920 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
69922         [BZ #12734]
69923         * resolv/resolv.h: Define RES_NOTLDQUERY.
69924         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
69925         no-tld-query and set RES_NOTLDQUERY.
69926         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
69927         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
69928         modern BIND to search name as TLD unless forbidden.
69930 2011-05-07  Petr Baudis  <pasky@suse.cz>
69931             Ulrich Drepper  <drepper@gmail.com>
69933         [BZ #12393]
69934         * elf/dl-load.c (fillin_rpath): Move trusted path check...
69935         (is_trusted_path): ...to here.
69936         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
69937         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
69938         using is_trusted_path_normalize() in setuid scripts.
69940 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
69942         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
69943         __BEGIN/__END_DECLS.
69945 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
69947         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
69948         NSS_STATUS_NOTFOUND if no record was found.
69950 2011-05-05  Andreas Schwab  <schwab@redhat.com>
69952         * sunrpc/Makefile (headers): Add rpc/netdb.h.
69953         (headers-not-in-tirpc): Remove rpc/netdb.h
69954         * resolv/netdb.h: Revert last change.
69956 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
69958         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
69959         circular dependency between libgcc.a and libc.a.
69961 2011-05-05  Andreas Schwab  <schwab@redhat.com>
69963         * resolv/netdb.h: Don't include <rpc/netdb.h>.
69964         * nis/Makefile: Don't install rpcsvc/*.
69965         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
69966         instead of <rpc/types.h>.
69967         (MAXHOSTNAMELEN): Define.
69969 2011-05-03  Andreas Schwab  <schwab@redhat.com>
69971         * elf/ldconfig.c (add_dir): Don't crash on empty path.
69973 2011-04-28  Maciej Babinski  <mbabinski@google.com>
69975         [BZ #12714]
69976         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
69977         gethostbyname4_r when IPv6 results are possible.
69979 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
69981         [BZ #12723]
69982         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
69983         _PC_PIPE_BUF handling.
69985 2011-04-30  Bruno Haible  <bruno@clisp.org>
69987         [BZ #12717]
69988         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
69989         * resolv/netdb.h (getnameinfo): Change type of flags parameter
69990         to 'int'.
69991         * inet/getnameinfo.c (getnameinfo): Likewise.
69993 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
69995         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
69996         to groups setting in database lookup.
69997         * nss/nsswitch.conf: Add initgroups entry.
69999 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
70001         [BZ #12685]
70002         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
70003         mode string.
70004         Patch by Eric Blake <eblake@redhat.com>.
70006 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
70008         * sunrpc/Makefile (need-export-routines): Add svc_run.
70009         (routines): Remove svc_run.
70010         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
70011         * sunrpc/clnt_perr.c (clnt_perrno): Export.
70012         * sunrpc/svc_run.c (svc_run): Likewise.
70013         * sunrpc/svc_udp.c (svcudp_create): Likewise.
70015 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
70017         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
70018         problem in reallocation in last patch.
70020 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
70022         * sunrpc/Makefile: Move inclusion of Rules.
70024 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
70026         * nss/nss_files/files-initgroups.c: New file.
70027         * nss/Makefile (libnss_files-routines): Add files-initgroups.
70028         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
70029         _nss_files_initgroups_dyn.
70031 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
70033         * elf/elf.h (R_ARM_IRELATIVE): Define.
70035 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
70037         * po/ru.po: Update from translation team.
70039 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
70041         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
70042         dependencies.
70044 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
70046         [BZ #12653]
70047         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
70048         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
70049         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
70050         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
70051         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
70053 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
70055         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
70056         differing bytes.
70057         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
70058         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
70059         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
70061 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
70063         [BZ #12420]
70064         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
70065         storing it.
70066         * stdlib/bug-getcontext.c: New file.
70067         * stdlib/Makefile: Add rules to build and run bug-getcontext.
70069 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70071         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
70072         instructions into .machine "z9-109".
70073         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
70074         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
70076 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70078         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
70079         between environment variables and auxiliary vector.
70081 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
70083         * Makefile: Add rules to build linkobj/libc.so.
70084         * include/libc-symbols.h: Define libc_hidden_nolink.
70085         * include/rpc/auth.h: Mark functions which are to be hidden.
70086         * include/rpc/auth_des.h: Likewise.
70087         * include/rpc/auth_unix.h: Likewise.
70088         * include/rpc/clnt.h: Likewise.
70089         * include/rpc/des_crypt.h: Likewise.
70090         * include/rpc/key_prot.h: Likewise.
70091         * include/rpc/pmap_clnt.h: Likewise.
70092         * include/rpc/pmap_prot.h: Likewise.
70093         * include/rpc/pmap_rmt.h: Likewise.
70094         * include/rpc/rpc_msg.h: Likewise.
70095         * include/rpc/svc.h: Likewise.
70096         * include/rpc/svc_auth.h: Likewise.
70097         * include/rpc/xdr.h: Likewise.
70098         * nis/Makefile: Link all DSOs against linkobj/libc.so.
70099         * nss/Makefile: Likewise.
70100         * sunrpc/Makefile: Don't install headers.  Build library with normal
70101         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
70102         * sunrpc/auth_des.c: Hide exported symbols by default, export some
70103         for the compat linking library.  Remove use of INTDEF/INTUSE.
70104         * sunrpc/auth_none.c: Likewise.
70105         * sunrpc/auth_unix.c: Likewise.
70106         * sunrpc/authdes_prot.c: Likewise.
70107         * sunrpc/authuxprot.c: Likewise.
70108         * sunrpc/clnt_gen.c: Likewise.
70109         * sunrpc/clnt_perr.c: Likewise.
70110         * sunrpc/clnt_raw.c: Likewise.
70111         * sunrpc/clnt_simp.c: Likewise.
70112         * sunrpc/clnt_tcp.c: Likewise.
70113         * sunrpc/clnt_udp.c: Likewise.
70114         * sunrpc/clnt_unix.c: Likewise.
70115         * sunrpc/des_crypt.c: Likewise.
70116         * sunrpc/des_soft.c: Likewise.
70117         * sunrpc/get_myaddr.c: Likewise.
70118         * sunrpc/key_call.c: Likewise.
70119         * sunrpc/key_prot.c: Likewise.
70120         * sunrpc/netname.c: Likewise.
70121         * sunrpc/pm_getmaps.c: Likewise.
70122         * sunrpc/pm_getport.c: Likewise.
70123         * sunrpc/pmap_clnt.c: Likewise.
70124         * sunrpc/pmap_prot.c: Likewise.
70125         * sunrpc/pmap_prot2.c: Likewise.
70126         * sunrpc/pmap_rmt.c: Likewise.
70127         * sunrpc/publickey.c: Likewise.
70128         * sunrpc/rpc_cmsg.c: Likewise.
70129         * sunrpc/rpc_common.c: Likewise.
70130         * sunrpc/rpc_dtable.c: Likewise.
70131         * sunrpc/rpc_prot.c: Likewise.
70132         * sunrpc/rpc_thread.c: Likewise.
70133         * sunrpc/rtime.c: Likewise.
70134         * sunrpc/svc.c: Likewise.
70135         * sunrpc/svc_auth.c: Likewise.
70136         * sunrpc/svc_authux.c: Likewise.
70137         * sunrpc/svc_raw.c: Likewise.
70138         * sunrpc/svc_run.c: Likewise.
70139         * sunrpc/svc_simple.c: Likewise.
70140         * sunrpc/svc_tcp.c: Likewise.
70141         * sunrpc/svc_udp.c: Likewise.
70142         * sunrpc/svc_unix.c: Likewise.
70143         * sunrpc/svcauth_des.c: Likewise.
70144         * sunrpc/xcrypt.c: Likewise.
70145         * sunrpc/xdr.c: Likewise.
70146         * sunrpc/xdr_array.c: Likewise.
70147         * sunrpc/xdr_float.c: Likewise.
70148         * sunrpc/xdr_intXX_t.c: Likewise.
70149         * sunrpc/xdr_mem.c: Likewise.
70150         * sunrpc/xdr_rec.c: Likewise.
70151         * sunrpc/xdr_ref.c: Likewise.
70152         * sunrpc/xdr_sizeof.c: Likewise.
70153         * sunrpc/xdr_stdio.c: Likewise.
70155 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
70157         [BZ #12650]
70158         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
70159         * sysdeps/ia64/dl-tls.h: Likewise.
70160         * sysdeps/powerpc/dl-tls.h: Likewise.
70161         * sysdeps/s390/dl-tls.h: Likewise.
70162         * sysdeps/sh/dl-tls.h: Likewise.
70163         * sysdeps/sparc/dl-tls.h: Likewise.
70164         * sysdeps/x86_64/dl-tls.h: Likewise.
70165         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
70167 2011-03-14  Andreas Schwab  <schwab@redhat.com>
70169         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
70170         rpath element also skip the following colon.
70171         (expand_dynamic_string_token): Add is_path parameter and pass
70172         down to DL_DST_REQUIRED and _dl_dst_substitute.
70173         (decompose_rpath): Call expand_dynamic_string_token with
70174         non-zero is_path.  Ignore empty rpaths.
70175         (_dl_map_object_from_fd): Call expand_dynamic_string_token
70176         with zero is_path.
70178 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
70180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
70181         Make cancelable.
70183 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
70185         [BZ #12655]
70186         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
70187         Patch by Filipe David Manana <fdmanana@apache.org>.
70189 2011-04-07  Andreas Schwab  <schwab@redhat.com>
70191         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
70192         Maintain aligned stack.
70193         (CHECK_RSP): Remove unused macro.
70195 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
70197         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
70198         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
70200 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
70202         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
70204         * include/features.h: Mention __USE_XOPEN2K8 in comment.
70206 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
70208         [BZ #12518]
70209         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
70210         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
70211         * sysdeps/x86_64/memmove.c: New file.
70212         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
70213         (memcpy): Renamed to ...
70214         (__new_memcpy): This.
70215         (memcpy): Provide GLIBC_2_14 memcpy.
70216         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
70217         (memcpy): Provide GLIBC_2_2_5 memcpy.
70219 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
70221         [BZ #12631]
70222         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
70224 2011-03-30  Andreas Schwab  <schwab@redhat.com>
70226         * misc/syncfs.c: New file.
70227         * misc/Makefile (routines): Add syncfs.
70228         * posix/unistd.h: Declare syncfs.
70229         * sysdeps/unix/syscalls.list: Add syncfs.
70231 2011-04-01  Andreas Schwab  <schwab@redhat.com>
70233         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
70234         open_by_handle_at.
70235         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
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/syscalls.list: Likewise.
70241         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
70243 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
70245         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
70246         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
70247         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
70248         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
70249         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
70250         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
70251         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
70253         * io/Makefile: Compile fallocate.c, fallocate64.c, and
70254         sync_file_range.c with -fexceptions.
70255         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
70256         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
70257         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
70258         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
70259         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
70260         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
70261         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
70262         sync_file_range as cancellation point
70263         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
70264         now a wrapper around __call_sync_file_range with cancellation handling.
70265         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
70266         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
70267         function name to __call_sync_file_range.
70268         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
70269         Add call_sync_file_range.
70271 2011-04-01  Andreas Schwab  <schwab@redhat.com>
70273         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
70274         bits/timex.h.
70276 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
70278         * iconv/iconv.h: Fix typo in comment.
70279         * io/fcntl.h: Likewise.
70280         * libio/stdio.h: Likewise.
70281         * posix/spawn.h: Likewise.
70282         * posix/unistd.h: Likewise.
70283         * stdlib/stdlib.h: Likewise.
70284         * time/time.h: Likewise.
70285         * wcsmbs/wchar.h: Likewise.
70287         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
70288         open_by_handle): Add.
70289         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
70290         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
70291         Augment a few comments.
70292         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
70293         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
70294         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
70295         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
70296         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
70297         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
70298         open_by_handle.
70300         * io/fcntl.h (AT_EMPTY_PATH): Define.
70302 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
70304         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
70305         * sysdeps/unix/sysv/linux/bits/time.h: New file.
70306         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
70307         to...
70308         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
70309         * Versions.def: Add GLIBC_2.14.
70310         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
70311         Export.
70313 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
70315         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
70316         round counter.
70317         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
70319 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
70321         [BZ #12597]
70322         * string/test-strncmp.c (do_page_test): New function.
70323         (check2): Likewise.
70324         (test_main): Call check2.
70325         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
70327 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
70329         [BZ #12587]
70330         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
70331         Handle cache information in CPU leaf 4.
70332         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
70334 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
70336         [BZ #12583]
70337         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
70338         character representation.
70339         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
70341 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
70343         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
70344         END(__isnan) to END(__isnanf) to match function entry point/label
70345         EALIGN(__isnanf,...).
70347 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
70349         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
70351 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
70353         [BZ #12510]
70354         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
70355         copy from the symbol referenced in the relocation to initialize the
70356         used variable.
70357         Patch by Piotr Bury <pbury@goahead.com>.
70358         * elf/Makefile: Add rules to build and tst-unique3.
70359         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
70360         * elf/tst-unique3.cc: New file.
70361         * elf/tst-unique3.h: New file.
70362         * elf/tst-unique3lib.cc: New file.
70363         * elf/tst-unique3lib2.cc: New file.
70365         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
70367 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
70369         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
70370         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
70371         to _start.
70373 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
70375         * elf/dl-load.c (_dl_map_object): If we are looking for the first
70376         to-be-loaded object along a path to loader is ld.so.
70378 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
70379             Ulrich Drepper  <drepper@gmail.com>
70381         * sysdeps/x86_64/memset.S: After aligning destination, code
70382         branches to different locations depending on the value of
70383         misalignment, when multiarch is enabled. Fix this.
70385 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
70387         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
70388         Set _x86_64_preferred_memory_instruction for AMD processsors.
70389         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
70390         Set bit_Prefer_SSE_for_memop for AMD processors.
70392 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
70394         * libio/fmemopen.c (fmemopen): Optimize a bit.
70396 2011-03-03  Andreas Schwab  <schwab@redhat.com>
70398         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
70400 2011-03-03  Roland McGrath  <roland@redhat.com>
70402         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
70404 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
70406         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
70407         __bzero_ultra1 instead of __memset_ultra1.
70409 2011-02-23  Andreas Schwab  <schwab@redhat.com>
70410             Ulrich Drepper  <drepper@gmail.com>
70412         [BZ #12509]
70413         * include/link.h (struct link_map): Add l_orig_initfini.
70414         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
70415         returning unsuccessfully.
70416         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
70417         close of a file loaded at startup, restore the original l_initfini
70418         list.
70419         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
70420         list, store the pointer.
70421         * elf/Makefile ($(objpfx)noload-mem): New rule.
70422         (noload-ENV): Define.
70423         (tests): Add $(objpfx)noload-mem.
70424         * elf/noload.c: Include <memcheck.h>.
70425         (main): Call mtrace.  Close all opened handles.
70427 2011-02-17  Andreas Schwab  <schwab@redhat.com>
70429         [BZ #12454]
70430         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
70431         dependencies are missing.
70433 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70435         Fix __if_freereq crash: Unlike the generic version which uses free,
70436         Hurd needs munmap.
70437         * sysdeps/mach/hurd/ifreq.h: New file.
70439 2011-01-27  Petr Baudis  <pasky@suse.cz>
70440             Ulrich Drepper  <drepper@gmail.com>
70442         [BZ 12445]#
70443         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
70444         to extend_alloca().
70445         * stdio-common/bug23.c: New file.
70446         * stdio-common/Makefile (tests): Add bug23.
70448 2010-09-28  Andreas Schwab  <schwab@redhat.com>
70449             Ulrich Drepper  <drepper@gmail.com>
70451         [BZ #12489]
70452         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
70453         before performing relro protection.  At old place add assertion
70454         to make sure nothing changed.
70456 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
70457             Glauber de Oliveira Costa  <glommer@gmail.com>
70459         * elf/elf.h: Add new ARM TLS relocs.
70461 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
70463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
70464         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
70465         cast from r3.
70466         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
70467         'tests' variable.
70468         * sysdeps/wordsize-64/tst-writev.c: New file.
70470 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
70472         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
70473         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
70474         insns in _dl_start to prevent a TOC reference before relocs are
70475         resolved.
70477 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
70479         [BZ #12469]
70480         * Makeconfig: Remove RANLIB definition.
70481         * Makerules: Don't use RANLIB.
70482         * aclocal.m4: Remove ranlib test.
70483         * configure.in: No need to check for ranlib.
70484         * elf/rtld-Rules: Don't use RANLIB.
70486 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70488         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
70489         protection macro.
70490         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
70491         inclusion protection macro.
70493         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
70494         SIGRTMIN and SIGRTMAX and print information in that case only when
70495         SIGRTMIN is defined.
70497 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
70499         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
70500         arginfo fn returning -1.
70502         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
70503         and thousands string is zero terminated.
70505 2011-02-03  Andreas Schwab  <schwab@redhat.com>
70507         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
70508         sysdeps/unix/sysv/linux/bits/socket.h.
70510 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70512         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
70513         (__CPU_COUNT): Remove old macros.
70514         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
70515         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
70516         (__CPU_ALLOC, __CPU_FREE): Add macros.
70517         (__sched_cpualloc, __sched_cpufree): Add declarations.
70519 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
70521         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
70522         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
70523         * nscd/aicache.c (addhstaiX): Return timeout of added value.
70524         (readdhstai): Return value of addhstaiX call.
70525         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
70526         (addgrbyX): Return value returned by cache_addgr.
70527         (readdgrbyname): Return value returned by addgrbyX.
70528         (readdgrbygid): Likewise.
70529         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
70530         (addpwbyX): Return value returned by cache_addpw.
70531         (readdpwbyname): Return value returned by addhstbyX.
70532         (readdpwbyuid): Likewise.
70533         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
70534         (addservbyX): Return value returned by cache_addserv.
70535         (readdservbyname): Return value returned by addservbyX:
70536         (readdservbyport): Likewise.
70537         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
70538         (addhstbyX): Return value returned by cache_addhst.
70539         (readdhstbyname): Return value returned by addhstbyX.
70540         (readdhstbyaddr): Likewise.
70541         (readdhstbynamev6): Likewise.
70542         (readdhstbyaddrv6): Likewise.
70543         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
70544         (readdinitgroups): Return value returned by addinitgroupsX.
70545         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
70546         (prune_cache): Keep track of timeout value of re-added entries.
70547         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
70548         * nscd/nscd.h: Adjust prototypes of readd* functions.
70550 2011-02-04  Roland McGrath  <roland@redhat.com>
70552         * nis/nis_server.c (nis_servstate): Use the right name for 0.
70553         (nis_stats): Likewise.
70554         * nis/nis_modify.c (nis_modify): Likewise.
70555         * nis/nis_remove.c (nis_remove): Likewise.
70556         * nis/nis_add.c (nis_add): Likewise.
70558         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
70560         * posix/fnmatch_loop.c: Add some consts.
70562         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
70564 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
70566         [BZ #12460]
70567         * config.make.in (config-cflags-novzeroupper): Define.
70568         * configure.in: Substitute libc_cv_cc_novzeroupper.
70569         * elf/Makefile (AVX-CFLAGS): Define.
70570         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
70571         (CFLAGS-tst-auditmod4a.c): Likewise.
70572         (CFLAGS-tst-auditmod4b.c): Likewise.
70573         (CFLAGS-tst-auditmod6b.c): Likewise.
70574         (CFLAGS-tst-auditmod6c.c): Likewise.
70575         (CFLAGS-tst-auditmod7b.c): Likewise.
70576         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
70578 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
70580         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
70581         function to the callback.
70582         Patch partly by Jiri Olsa <jolsa@redhat.com>.
70584 2011-02-02  Andreas Schwab  <schwab@redhat.com>
70586         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
70587         of errno.
70589 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
70591         [BZ #11724]
70592         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
70593         of constructors.
70594         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
70595         of destructors.
70596         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
70598         [BZ #11724]
70599         * elf/Makefile: Add rules to build and run new test.
70600         * elf/tst-initorder.c: New file.
70601         * elf/tst-initorder.exp: New file.
70602         * elf/tst-initordera1.c: New file.
70603         * elf/tst-initordera2.c: New file.
70604         * elf/tst-initordera3.c: New file.
70605         * elf/tst-initordera4.c: New file.
70606         * elf/tst-initorderb1.c: New file.
70607         * elf/tst-initorderb2.c: New file.
70608         * elf/tst-order-a1.c: New file.
70609         * elf/tst-order-a2.c: New file.
70610         * elf/tst-order-a3.c: New file.
70611         * elf/tst-order-a4.c: New file.
70612         * elf/tst-order-b1.c: New file.
70613         * elf/tst-order-b2.c: New file.
70614         * elf/tst-order-main.c: New file.
70615         New test case by George Gensure <werkt0@gmail.com>.
70617 2010-10-01  Andreas Schwab  <schwab@redhat.com>
70619         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
70620         decoding ACE if AI_CANONIDN.
70622 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
70624         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
70626 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
70628         * version.h (RELEASE): Bump for 2.13 release.
70629         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
70631         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
70633         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
70634         MADV_NOHUGEPAGE.
70635         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
70636         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
70637         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
70638         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
70639         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
70640         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
70642         * posix/getconf.c: Update copyright year.
70643         * catgets/gencat.c: Likewise.
70644         * csu/version.c: Likewise.
70645         * debug/catchsegv.sh: Likewise.
70646         * debug/xtrace.sh: Likewise.
70647         * elf/ldconfig.c: Likewise.
70648         * elf/ldd.bash.in: Likewise.
70649         * elf/sprof.c (print_version): Likewise.
70650         * iconv/iconv_prog.c: Likewise.
70651         * iconv/iconvconfig.c: Likewise.
70652         * locale/programs/locale.c: Likewise.
70653         * locale/programs/localedef.c: Likewise.
70654         * malloc/memusage.sh: Likewise.
70655         * malloc/mtrace.pl: Likewise.
70656         * nscd/nscd.c (print_version): Likewise.
70657         * nss/getent.c: Likewise.
70659         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
70660         PF_CAIF, and PF_ALG.
70661         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
70663 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
70665         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
70666         (modules-names): Use them.
70667         (ifunc-test-modules, ifunc-pie-tests): Define.
70668         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
70669         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
70670         (test-extras): Likewise.
70671         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
70672         $(compile-command.c).
70673         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
70674         (all-built-dso): Define.
70675         (check-textrel.out, check-execstack.out): Depend on it.
70677         * configure.in: Don't override --enable-multi-arch.
70679 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
70681         [BZ #6812]
70682         * nscd/hstcache.c (tryagain): Define.
70683         (cache_addhst): Return tryagain not notfound for temporary errors.
70684         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
70685         failed.
70687 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
70689         [BZ #10563]
70690         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
70691         to make the syscall.
70692         * sysdeps/unix/sysv/linux/setgroups.c: New file.
70694         [BZ #12378]
70695         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
70696         and fall back to matching as normal character if the string ends before
70697         the matching ']' is found.  This is what POSIX requires.
70698         * posix/testfnm.c: Adjust test result.
70699         * posix/globtest.sh: Adjust test result.  Add new test.
70700         * posix/tst-fnmatch.input: Likewise.
70701         * posix/tst-fnmatch2.c: Add new test.
70703 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
70705         * elf/Makefile (check-execstack): Revert last change.  Depend on
70706         check-execstack.h.
70707         (check-execstack.h): New target.
70708         (generated): Add check-execstack.h.
70709         * elf/check-execstack.c: Include "check-execstack.h".
70710         (main): Revert last change.
70711         (handle_file): Return zero if GNU_STACK is absent and
70712         DEFAULT_STACK_PERMS doesn't include PF_X.
70714 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
70716         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
70717         in child fails because the descriptor is already closed.
70718         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
70719         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
70720         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
70722         [BZ #12397]
70723         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
70724         syscall.
70726         [BZ #10484]
70727         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
70728         temporary buffer used to handle multi lookups locally.
70729         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
70731 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
70733         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
70734         loader is ld.so.
70736 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
70738         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
70739         alignment for SSE2.
70741 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
70743         [BZ #12394]
70744         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
70745         characters.  When rounding increased number of integer digits recompute
70746         number of groups.
70747         * stdio-common/tst-grouping.c: New file.
70748         * stdio-common/Makefile: Add rules to build and run tst-grouping.
70750 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
70752         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
70753         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
70755         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
70756         void.
70757         * bits/select.h: Likewise.
70759 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
70761         * po/ja.po: Update from translation team.
70763 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
70765         [BZ #11155]
70766         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
70767         implementation just like for lxstat, fxstatat, et al.
70769 2010-12-27  Jim Meyering  <meyering@redhat.com>
70771         [BZ #12348]
70772         * posix/regexec.c (build_trtable): Return failure indication upon
70773         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
70775 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
70777         [BZ #12201]
70778         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
70779         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
70780         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
70781         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
70783         [BZ #12207]
70784         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
70786         [BZ #12204]
70787         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
70788         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
70790 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
70792         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
70793         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
70794         script has SORT_BY_INIT_PRIORITY.
70795         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
70796         NO_CTORS_DTORS_SECTIONS is defined.
70797         * elf/soinit.c: Likewise.
70798         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
70799         NO_CTORS_DTORS_SECTIONS is defined.
70800         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
70801         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
70802         * sysdeps/sh/init-first.c: Likewise.
70803         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
70805 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
70807         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
70808         always use the slow path.
70810 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
70812         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
70813         similar rule which adds the sysdep directories to the header search in
70814         order to pick up the correct platform stackinfo.h.
70815         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
70816         perform test if it is, otherwise return successfully without testing.
70817         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
70818         DEFAULT_STACK_PERMS define in stackinfo.h.
70819         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
70820         defined in stackinfo.h.
70821         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
70822         DEFAULT_STACK_PERMS defined in stackinfo.h.
70823         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
70824         * sysdeps/ia64/stackinfo.h: Likewise.
70825         * sysdeps/s390/stackinfo.h: Likewise.
70826         * sysdeps/sh/stackinfo.h: Likewise.
70827         * sysdeps/sparc/stackinfo.h: Likewise.
70828         * sysdeps/x86_64/stackinfo.h: Likewise.
70829         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
70830         PF_X for powerpc64.  Retain PF_X for powerpc32.
70832 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
70834         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
70835         accurately.
70836         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
70837         GETDENTS_64BIT_ALIGNED.
70839 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
70841         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
70843 2010-12-10  Andreas Schwab  <schwab@redhat.com>
70845         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
70846         _GNU_SOURCE.
70848         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
70849         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
70850         Remove __restrict.
70851         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
70852         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
70854 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
70856         [BZ #11655]
70857         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
70858         are initialized.
70860 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
70862         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
70864 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
70866         * po/it.po: Update from translation team.
70868 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
70870         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
70871         unused codes.
70873 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
70875         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
70877 2010-11-24  Andreas Schwab  <schwab@redhat.com>
70879         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
70880         specially.
70881         (gaih_getanswer_slice): Likewise.
70883 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
70885         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
70887 2010-05-31  Petr Baudis  <pasky@suse.cz>
70889         [BZ #11149]
70890         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
70891         silently even in the chroot mode.
70893 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
70895         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
70896         last patch a bit.  Pretty printing
70898 2010-05-31  Petr Baudis <pasky@suse.cz>
70900         [BZ #10085]
70901         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
70902         initialization of skip_initgroups_dyn.
70904 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
70906         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
70907         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
70909 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
70911         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
70913 2010-11-11  Andreas Schwab  <schwab@redhat.com>
70915         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
70916         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
70917         (tst-fnmatch-ENV): Set MALLOC_TRACE.
70918         ($(objpfx)tst-fnmatch-mem): New rule.
70919         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
70920         * posix/tst-fnmatch.c (main): Call mtrace.
70922 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
70924         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
70925         Support Intel processor model 6 and model 0x2c.
70927 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
70929         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
70930           signed comparison.
70932 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
70934         [BZ #12205]
70935         * string/test-strncasecmp.c (check_result): New function.
70936         (do_one_test): Use it.
70937         (check1): New function.
70938         (test_main): Use it.
70939         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
70940         Support strcasecmp and strncasecmp.
70942 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
70944         [BZ #12194]
70945         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
70946         * sysdeps/x86_64/bits/byteswap.h: Likewise.
70948 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
70950         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
70951         IFUNC support.
70952         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
70953         memset-x86-64.
70954         * sysdeps/x86_64/multiarch/bzero.S: New file.
70955         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
70956         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
70957         * sysdeps/x86_64/multiarch/memset.S: New file.
70958         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
70959         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
70960         Set bit_Prefer_SSE_for_memop for Intel processors.
70961         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
70962         Define.
70963         (index_Prefer_SSE_for_memop): Define.
70964         (HAS_PREFER_SSE_FOR_MEMOP): Define.
70966 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
70968         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
70969         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
70971 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
70973         [BZ #12191]
70974         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
70975         (__x86_64_raw_data_cache_size_half): Likewise.
70976         (__x86_64_raw_shared_cache_size): Likewise.
70977         (__x86_64_raw_shared_cache_size_half): Likewise.
70979         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
70980         (__x86_64_raw_data_cache_size_half): Likewise.
70981         (__x86_64_raw_shared_cache_size): Likewise.
70982         (__x86_64_raw_shared_cache_size_half): Likewise.
70983         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
70984         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
70985         and __x86_64_raw_shared_cache_size_half.  Round
70986         __x86_64_data_cache_size_half, __x86_64_data_cache_size
70987         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
70988         to multiple of 256 bytes.
70990 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
70992         [BZ #12167]
70993         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
70994         of inacessible symlinks.  Verify result of symlink before returning it.
70995         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
70996         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
70998 2010-10-28  Erich Ritz  <erichritz@gmail.com>
71000         * math/math.h (isinf): Fix typo in comment.
71002 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
71004         * po/da.po: Update from translation team.
71006 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
71008         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
71009         is added to the list.
71011 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71012             Ulrich Drepper  <drepper@gmail.com>
71014         * elf/dl-object.c (_dl_new_object): Don't append the new object to
71015         the global list here.  Move code to...
71016         (_dl_add_to_namespace_list): ...here.  New function.
71017         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
71018         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
71019         * elf/dl-load.c (lose): Don't remove the element from the list.
71020         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
71021         (_dl_map_object): Likewise.
71023 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
71025         [BZ #12159]
71026         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
71027         into all bytes of SSE register.
71028         Patch by Richard Li <richardpku@gmail.com>.
71030 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
71032         [BZ #12140]
71033         * malloc/malloc.c (_int_free): Fill correct number of bytes when
71034         perturbing.
71036 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
71038         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
71039         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
71040         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
71041         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
71042         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
71043         submachine.
71044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
71046 2010-10-22  Andreas Schwab  <schwab@redhat.com>
71048         * include/dlfcn.h (__RTLD_SECURE): Define.
71049         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
71050         mode & __RTLD_SECURE instead.
71051         (open_path): Rename preloaded parameter to secure.
71052         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
71053         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
71054         * elf/dl-deps.c (openaux): Likewise.
71055         * elf/rtld.c (struct map_args): Remove is_preloaded.
71056         (map_doit): Don't use it.
71057         (dl_main): Likewise.
71058         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
71059         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
71061 2010-09-09  Andreas Schwab  <schwab@redhat.com>
71063         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
71064         (sysd-rules-targets): Remove duplicates.
71065         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
71066         rtld-%.$o dependency.
71068 2010-10-18  Andreas Schwab  <schwab@redhat.com>
71070         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
71071         _dl_map_object do it.
71073 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
71075         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
71076         fast fma builtins, define the macros in the C99 standard.
71077         (FP_FAST_FMAF): Likewise.
71078         (FP_FAST_FMAL): Likewise.
71079         * sysdeps/x86_64/bits/mathdef.h: Likewise.
71081         * bits/mathdef.h: Update copyright year.
71082         * sysdeps/powerpc/bits/mathdef.h: Likewise.
71084 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
71086         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
71087         builtins, define the macros in the C99 standard.
71088         (FP_FAST_FMAF): Likewise.
71089         (FP_FAST_FMAL): Likewise.
71090         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
71091         multiply/add.
71092         (FP_FAST_FMAF): Likewise.
71094 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
71096         [BZ #3268]
71097         * math/libm-test.inc (fma_test): Some new testcases.
71098         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
71099         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
71100         y and infinite z.  Do multiplication by C already in long double.
71101         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
71102         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
71103         y and infinite z.  Do bitwise or of inexact bit into u.d.
71104         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
71105         * sysdeps/i386/fpu/s_fmaf.S: Removed.
71106         * sysdeps/i386/fpu/s_fma.S: Removed.
71107         * sysdeps/i386/fpu/s_fmal.S: Removed.
71109 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
71111         [BZ #3268]
71112         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
71113         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
71114         computation is not scheduled after fetestexcept.  Fix value
71115         of minimum denormal long double.
71117 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
71119         [BZ #3268]
71120         * math/libm-test.inc (fma_test): Add some more tests.
71121         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
71122         correctly.
71124 2010-10-15  Andreas Schwab  <schwab@redhat.com>
71126         * scripts/data/localplt-s390-linux-gnu.data: New file.
71127         * scripts/data/localplt-s390x-linux-gnu.data: New file.
71129 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
71131         [BZ #3268]
71132         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
71133         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
71134         instead of dbl-64.
71135         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
71136         inlines.
71137         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
71138         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
71139         if one of x and y is very large and the other is subnormal.
71140         * sysdeps/s390/fpu/s_fmaf.c: New file.
71141         * sysdeps/s390/fpu/s_fma.c: New file.
71142         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
71143         * sysdeps/powerpc/fpu/s_fma.S: New file.
71144         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
71145         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
71146         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
71148 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
71150         [BZ #3268]
71151         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
71152         fma tests.
71153         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
71154         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
71155         * sysdeps/i386/i686/multiarch/s_fma.c: Include
71156         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
71157         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
71158         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
71159         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
71161 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
71163         [BZ #12078]
71164         * posix/regcomp.c (parse_branch): One more memory leak plugged.
71165         * posix/bug-regex31.input: Add test case.
71167 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
71169         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
71170         * posix/bug-regex31.input: New file.
71172         [BZ #12078]
71173         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
71174         (parse_sub_exp): Fix last change, use postorder.
71176         * posix/bug-regex31.c: New file.
71177         * posix/Makefile: Add rules to build and run bug-regex31.
71179         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
71181         [BZ #12078]
71182         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
71184         [BZ #12108]
71185         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
71186         to have entries in sys_siglist.
71188         [BZ #12093]
71189         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
71190         be NULL.
71192 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
71194         [BZ #3268]
71195         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
71196         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
71197         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
71198         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
71199         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
71200         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
71201         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
71202         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
71203         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
71204         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
71205         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
71206         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
71207         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
71208         * math/ftestexcept.c (fetestexcept): Likewise.
71209         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
71210         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
71211         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
71212         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
71213         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
71214         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
71215         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
71217 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
71219         [BZ #12107]
71220         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
71221         newline.
71223 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
71225         * string/bug-strstr1.c: New file.
71226         * string/Makefile: Add rules to build and run bug-strstr1.
71228 2010-10-05  Eric Blake  <eblake@redhat.com>
71230         [BZ #12092]
71231         * string/str-two-way.h (two_way_long_needle): Always clear memory
71232         when skipping input due to the shift table.
71234 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
71236         [BZ #12005]
71237         * malloc/mcheck.c: Handle large requests.
71239         [BZ #12077]
71240         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
71241         for strncmp and strncasecmp.
71242         * string/stratcliff.c: Add tests for strcmp and strncmp.
71243         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
71245 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
71247         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
71248         __set_fpscr.
71250 2010-09-30  Andreas Jaeger  <aj@suse.de>
71252         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
71253         (CGROUP_SUPER_MAGIC): Define.
71254         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
71255         Handle btrfs and cgroup file systems.
71256         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
71257         Likewise.
71259 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
71261         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
71262         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
71264 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71266         [BZ #12067]
71267         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
71268         trying to locate the ELF header.
71270 2010-09-27  Andreas Schwab  <schwab@redhat.com>
71272         [BZ #11611]
71273         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
71274         Mask out sign-bit copies when constructing f_fsid.
71276 2010-09-24  Petr Baudis <pasky@suse.cz>
71278         * debug/stack_chk_fail_local.c: Add missing licence exception.
71279         * debug/warning-nop.c: Likewise.
71281 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
71283         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
71284         implementing getdents64 using getdents syscall, set d_type if
71285         __ASSUME_GETDENTS32_D_TYPE.
71287 2010-09-16  Andreas Schwab  <schwab@redhat.com>
71289         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
71290         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
71292 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
71294         [BZ #12037]
71295         * posix/unistd.h: Undo change of feature selection for ftruncate from
71296         2010-01-11.
71298 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
71300         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
71301         detection.
71303 2010-09-20  Andreas Schwab  <schwab@redhat.com>
71305         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
71306         fanotify_mark.
71307         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
71309 2010-09-14  Andreas Schwab  <schwab@redhat.com>
71311         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
71312         variables after CHECK_SP call.
71313         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
71315 2010-09-13  Andreas Schwab  <schwab@redhat.com>
71316             Ulrich Drepper  <drepper@redhat.com>
71318         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
71319         re-relocationg ld.so.
71320         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
71321         _dl_init_paths call.
71322         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
71323         here anymore.
71325 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
71327         * resolv/res_init.c (__res_vinit): Count the default server we added.
71329 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
71330             Ulrich Drepper  <drepper@redhat.com>
71332         [BZ #11968]
71333         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
71334         (____longjmp_chk): Use %ebx for saving value across system call.
71335         Add unwind info.
71337 2010-09-06  Andreas Schwab  <schwab@redhat.com>
71339         * manual/Makefile: Don't mix pattern rules with normal rules.
71341 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
71343         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
71344         operation.
71345         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
71346         * libio/iofopncook.c (_IO_cookie_init): Likewise.
71347         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
71348         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
71349         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
71350         Likewise.
71352 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
71354         [BZ #11979]
71355         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
71356         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
71358 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
71360         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
71361         * sysdeps/x86_64/addmul_1.S: Likewise.
71362         * sysdeps/x86_64/lshift.S: Likewise.
71363         * sysdeps/x86_64/mul_1.S: Likewise.
71364         * sysdeps/x86_64/rshift.S: Likewise.
71365         * sysdeps/x86_64/sub_n.S: Likewise.
71366         * sysdeps/x86_64/submul_1.S: Likewise.
71368 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71370         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
71371         Define __sched_param instead of SCHED_* and sched_param when
71372         <bits/sched.h> is included with __need_schedparam defined.
71373         * bits/sched.h [__need_schedparam]
71374         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
71375         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
71376         (__defined_schedparam): Define to 1.
71377         (__sched_param): New structure, identical to sched_param.
71378         (__need_schedparam): Undefine.
71380 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
71382         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
71383         (epoll_create1): Declare.
71385         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
71387 2010-08-31  Andreas Schwab  <schwab@redhat.com>
71389         [BZ #7066]
71390         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
71391         shifting retval into place.
71393 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
71395         * nis/rpcsvc/nis.h: Update copyright notice.
71396         * nis/rpcsvc/nis.x: Likewise.
71397         * nis/rpcsvc/nis_callback.h: Likewise.
71398         * nis/rpcsvc/nis_callback.x: Likewise.
71399         * nis/rpcsvc/nis_object.x: Likewise.
71400         * nis/rpcsvc/nis_tags.h: Likewise.
71401         * nis/rpcsvc/yp.h: Likewise.
71402         * nis/rpcsvc/yp.x: Likewise.
71403         * nis/rpcsvc/ypupd.h: Likewise.
71404         * nis/yp_xdr.c: Likewise.
71405         * nis/ypupdate_xdr.c: Likewise.
71407         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
71408         mainly the body of pmap_getport.  Add parameters to specify timeouts.
71409         (pmap_getport): Use __libc_rpc_getport.
71410         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
71411         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
71412         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
71414 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
71416         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
71417         fanotify_mark.
71419 2010-08-27  Roland McGrath  <roland@redhat.com>
71421         * sysdeps/i386/i686/multiarch/Makefile
71422         (CFLAGS-varshift.c): New variable.
71424 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
71426         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
71427         * sysdeps/i386/i686/multiarch/varshift.c: New file.
71429         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
71431         * sysdeps/x86_64/strlen.S: Minimal code improvement.
71433 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
71435         * sysdeps/x86_64/strlen.S: Unroll the loop.
71436         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
71437         strlen-sse2 strlen-sse2-bsf.
71438         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
71439         __strlen_no_bsf if bit_Slow_BSF is set.
71440         (__strlen_sse42): Removed.
71441         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
71442         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
71444 2010-08-25  Roland McGrath  <roland@redhat.com>
71446         * sysdeps/x86_64/multiarch/varshift.S: File removed.
71447         * sysdeps/x86_64/multiarch/varshift.c: New file.
71448         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
71449         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
71450         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
71451         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
71453 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
71455         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
71456         strlen-sse2 strlen-sse2-bsf.
71457         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
71458         __strlen_sse2_bsf if bit_Slow_BSF is unset.
71459         (__strlen_sse2): Removed.
71460         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
71461         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
71462         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
71463         bit_Slow_BSF for Atom.
71464         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
71465         (index_Slow_BSF): Define.
71466         (HAS_SLOW_BSF): Define.
71468 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
71470         [BZ #10851]
71471         * resolv/res_init.c (__res_vinit): When no server address at all
71472         is given default to loopback.
71474 2010-08-24  Roland McGrath  <roland@redhat.com>
71476         * configure.in: Remove config-name.h generation.
71477         * configure: Regenerated.
71478         * config-name.in: File removed.
71479         * scripts/config-uname.sh: New file.
71480         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
71481         ($(objdir)config-name.h): New target.
71483         * sunrpc/rpc_parse.h: Avoid nested comment.
71485 2010-08-24  Richard Henderson  <rth@redhat.com>
71486             Ulrich Drepper  <drepper@redhat.com>
71487             H.J. Lu  <hongjiu.lu@intel.com>
71489         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
71490         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
71491         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
71492         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
71493         _mm_alignr_epi8 with _mm_loadu_si128.
71494         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
71495         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
71496         (__m128i_shift_right): Removed.
71497         * sysdeps/i386/i686/multiarch/varshift.h: New file.
71498         * sysdeps/i386/i686/multiarch/varshift.S: New file.
71499         * sysdeps/x86_64/multiarch/varshift.h: New file.
71500         * sysdeps/x86_64/multiarch/varshift.S: New file.
71502 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
71504         * configure.in: Move assembler checks to before sysdep dir checking.
71506 2010-08-20  Petr Baudis  <pasky@suse.cz>
71508         * LICENSES: Sync the sunrpc license.
71510 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
71512         * sunrpc/auth_des.c: Update copyright notice once again.
71513         * sunrpc/auth_none.c: Likewise.
71514         * sunrpc/auth_unix.c: Likewise.
71515         * sunrpc/authdes_prot.c: Likewise.
71516         * sunrpc/authuxprot.c: Likewise.
71517         * sunrpc/bindrsvprt.c: Likewise.
71518         * sunrpc/clnt_gen.c: Likewise.
71519         * sunrpc/clnt_perr.c: Likewise.
71520         * sunrpc/clnt_raw.c: Likewise.
71521         * sunrpc/clnt_simp.c: Likewise.
71522         * sunrpc/clnt_tcp.c: Likewise.
71523         * sunrpc/clnt_udp.c: Likewise.
71524         * sunrpc/clnt_unix.c: Likewise.
71525         * sunrpc/des_crypt.c: Likewise.
71526         * sunrpc/des_soft.c: Likewise.
71527         * sunrpc/get_myaddr.c: Likewise.
71528         * sunrpc/getrpcport.c: Likewise.
71529         * sunrpc/key_call.c: Likewise.
71530         * sunrpc/key_prot.c: Likewise.
71531         * sunrpc/openchild.c: Likewise.
71532         * sunrpc/pm_getmaps.c: Likewise.
71533         * sunrpc/pm_getport.c: Likewise.
71534         * sunrpc/pmap_clnt.c: Likewise.
71535         * sunrpc/pmap_prot.c: Likewise.
71536         * sunrpc/pmap_prot2.c: Likewise.
71537         * sunrpc/pmap_rmt.c: Likewise.
71538         * sunrpc/rpc/auth.h: Likewise.
71539         * sunrpc/rpc/auth_unix.h: Likewise.
71540         * sunrpc/rpc/clnt.h: Likewise.
71541         * sunrpc/rpc/des_crypt.h: Likewise.
71542         * sunrpc/rpc/key_prot.h: Likewise.
71543         * sunrpc/rpc/netdb.h: Likewise.
71544         * sunrpc/rpc/pmap_clnt.h: Likewise.
71545         * sunrpc/rpc/pmap_prot.h: Likewise.
71546         * sunrpc/rpc/pmap_rmt.h: Likewise.
71547         * sunrpc/rpc/rpc.h: Likewise.
71548         * sunrpc/rpc/rpc_des.h: Likewise.
71549         * sunrpc/rpc/rpc_msg.h: Likewise.
71550         * sunrpc/rpc/svc.h: Likewise.
71551         * sunrpc/rpc/svc_auth.h: Likewise.
71552         * sunrpc/rpc/types.h: Likewise.
71553         * sunrpc/rpc/xdr.h: Likewise.
71554         * sunrpc/rpc_clntout.c: Likewise.
71555         * sunrpc/rpc_cmsg.c: Likewise.
71556         * sunrpc/rpc_common.c: Likewise.
71557         * sunrpc/rpc_cout.c: Likewise.
71558         * sunrpc/rpc_dtable.c: Likewise.
71559         * sunrpc/rpc_hout.c: Likewise.
71560         * sunrpc/rpc_main.c: Likewise.
71561         * sunrpc/rpc_parse.c: Likewise.
71562         * sunrpc/rpc_parse.h: Likewise.
71563         * sunrpc/rpc_prot.c: Likewise.
71564         * sunrpc/rpc_sample.c: Likewise.
71565         * sunrpc/rpc_scan.c: Likewise.
71566         * sunrpc/rpc_scan.h: Likewise.
71567         * sunrpc/rpc_svcout.c: Likewise.
71568         * sunrpc/rpc_tblout.c: Likewise.
71569         * sunrpc/rpc_util.c: Likewise.
71570         * sunrpc/rpc_util.h: Likewise.
71571         * sunrpc/rpcinfo.c: Likewise.
71572         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
71573         * sunrpc/rpcsvc/key_prot.x: Likewise.
71574         * sunrpc/rpcsvc/klm_prot.x: Likewise.
71575         * sunrpc/rpcsvc/mount.x: Likewise.
71576         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
71577         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
71578         * sunrpc/rpcsvc/rex.x: Likewise.
71579         * sunrpc/rpcsvc/rstat.x: Likewise.
71580         * sunrpc/rpcsvc/rusers.x: Likewise.
71581         * sunrpc/rpcsvc/sm_inter.x: Likewise.
71582         * sunrpc/rpcsvc/spray.x: Likewise.
71583         * sunrpc/rpcsvc/yppasswd.x: Likewise.
71584         * sunrpc/rtime.c: Likewise.
71585         * sunrpc/svc.c: Likewise.
71586         * sunrpc/svc_auth.c: Likewise.
71587         * sunrpc/svc_authux.c: Likewise.
71588         * sunrpc/svc_raw.c: Likewise.
71589         * sunrpc/svc_run.c: Likewise.
71590         * sunrpc/svc_simple.c: Likewise.
71591         * sunrpc/svc_tcp.c: Likewise.
71592         * sunrpc/svc_udp.c: Likewise.
71593         * sunrpc/svc_unix.c: Likewise.
71594         * sunrpc/svcauth_des.c: Likewise.
71595         * sunrpc/xcrypt.c: Likewise.
71596         * sunrpc/xdr.c: Likewise.
71597         * sunrpc/xdr_array.c: Likewise.
71598         * sunrpc/xdr_float.c: Likewise.
71599         * sunrpc/xdr_mem.c: Likewise.
71600         * sunrpc/xdr_rec.c: Likewise.
71601         * sunrpc/xdr_ref.c: Likewise.
71602         * sunrpc/xdr_sizeof.c: Likewise.
71603         * sunrpc/xdr_stdio.c: Likewise.
71605         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
71606         handling.
71608 2010-08-19  Andreas Schwab  <schwab@redhat.com>
71610         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
71612 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
71614         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
71615         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
71616         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
71617         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
71618         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
71619         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
71620         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
71621         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
71622         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
71623         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
71624         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
71625         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
71626         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
71627         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
71629 2010-07-26  Anton Blanchard  <anton@samba.org>
71631         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
71632         * malloc/arena.c (heap_trim): Likewise.
71634 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
71636         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
71637         here.  Not...
71638         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
71639         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
71641 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
71643         * sysdeps/i386/elf/Makefile: New file.
71645 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
71647         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
71648         from fanotify_init.
71649         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
71650         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
71652 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
71654         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
71655         of strncasecmp_l.
71656         * sysdeps/multiarch/strcmp.S: Likewise.
71658 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
71660         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
71661         strncase_l-nonascii.
71662         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
71663         Add strncase_l-ssse3.
71664         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
71665         * sysdeps/x86_64/strcmp.S: Likewise.
71666         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
71667         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
71668         * sysdeps/x86_64/strncase.S: New file.
71669         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
71670         * sysdeps/x86_64/strncase_l.S: New file.
71671         * string/Makefile (strop-tests): Add strncasecmp.
71672         * string/test-strncasecmp.c: New file.
71674         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
71675         warning.
71677         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
71678         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
71680 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
71682         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
71684 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
71686         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
71687         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
71688         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
71690 2010-05-01  Alan Modra  <amodra@gmail.com>
71692         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
71693         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
71694         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
71695         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
71696         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
71697         tidying.  Don't tail-call __sigjmp_save for static lib.
71698         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
71699         save location.
71700         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
71701         (CALL_MCOUNT): Add eh info, and nop after bl.
71702         (TAIL_CALL_SYSCALL_ERROR): New macro.
71703         (PSEUDO_RET): Use it.
71704         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
71705         Correct save location of integer regs and cr.
71706         (_dl_profile_resolve): Correct cr save location.  Delete nops
71707         after bl when SHARED.  Reduce cfi size a little by better
71708         placement of cfi directives.
71709         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
71710         make a stack frame.  Instead use parm save area as a temp.
71711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
71712         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
71713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
71714         Don't make a stack frame for parent, use parm save area.
71715         Increase child stack frame to 112 bytes.  Don't save unused reg,
71716         and adjust reg usage.  Set up cfi on error recovery and
71717         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
71718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
71719         (__makecontext): Add dummy nop after jump to exit.
71720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
71721         Use correct parm save area and cr save, reduce stack frame.
71722         Correct cfi for possible PSEUDO_RET frame setup.
71723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
71724         Branch to local label emitted by PSEUDO_RET rather than
71725         __syscall_error.
71727 2010-08-12  Andreas Schwab  <schwab@redhat.com>
71729         [BZ #11904]
71730         * locale/programs/locale.c (print_assignment): New function.
71731         (show_locale_vars): Use it.
71733 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
71735         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
71736         field.
71737         (struct statfs64): Likewise.
71738         (_STATFS_F_FLAGS): Define.
71739         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
71740         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
71741         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
71742         (ST_VALID): Define locally.
71743         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
71744         __statvfs_getflags, use the provided value.
71745         * sysdeps/unix/sysv/linux/kernel-features.h: Define
71746         __ASSUME_STATFS_F_FLAGS.
71748         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
71750         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
71751         Add sys/fanotify.h.
71752         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
71753         fanotify_mask for GLIBC_2.13.
71754         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
71755         fanotify_init and fanotify_mark.
71756         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
71757         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
71759         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
71760         Add prlimit.
71761         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
71762         prlimit64 for GLIBC_2.13.
71763         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
71764         prlimit64.
71765         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
71766         syscall.
71767         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
71768         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
71769         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
71770         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
71771         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
71772         add prlimit alias.
71773         * sysdeps/unix/sysv/linux/prlimit.c: New file.
71775         [BZ #11903]
71776         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
71777         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
71779         * nss/Makefile: Add rules to build and run tst-nss-test1.
71780         * shlib-versions: Add entry for libnss_test1.
71781         * nss/nss_test1.c: New file.
71782         * nss/tst-nss-test1.c: New file.
71784         * nss/nsswitch.c (__nss_database_custom): Define new variable.
71785         (__nss_configure_lookup): Set appropriate entry in
71786         __nss_configure_lookup to true.
71787         * nss/nsswitch.h: Define enum with indeces of databases in
71788         databases and __nss_database_custom arrays.  Declare
71789         __nss_database_custom.
71790         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
71791         to avoid using nscd when custom rules are installed.
71792         * nss/getXXbyYY_r.c: Likewise.
71793         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
71795         * nss/nss_files/files-parse.c: Whitespace fixes.
71797 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
71799         [BZ #11883]
71800         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
71801         * posix/fnmatch_loop.c: Likewise.
71803 2010-07-17  Andi Kleen  <ak@linux.intel.com>
71805         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
71806         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
71807         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
71808         * Versions.def [GLIBC_2.13]: Add.
71810 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
71812         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
71813         Also fail if tpwd after pwuid call is NULL.
71815 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71817         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
71818         when converting to ms.
71820 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71822         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
71823         EOPNOTSUPP errors with ENOTTY.
71824         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
71825         EOPNOTSUPP errors with ENOTTY.
71827 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
71829         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
71830         Add strcasecmp_l-ssse3.
71831         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
71832         strcasecmp.
71833         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
71834         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
71835         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
71837 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
71839         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
71841         * string/Makefile (strop-tests): Add strcasecmp.
71842         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
71843         strcasecmp_l-nonascii.
71844         (gen-as-const-headers): Add locale-defines.sym.
71845         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
71846         * sysdeps/x86_64/strcasecmp.S: New file.
71847         * sysdeps/x86_64/strcasecmp_l.S: New file.
71848         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
71849         * sysdeps/x86_64/locale-defines.sym: New file.
71850         * string/test-strcasecmp.c: New file.
71852         * string/test-strcasestr.c: Test both ends of the range of characters.
71853         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
71855 2010-07-29  Roland McGrath  <roland@redhat.com>
71857         [BZ #11856]
71858         * manual/locale.texi (Yes-or-No Questions): Fix example code.
71860 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
71862         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
71863         for ld.so.
71865 2010-07-27  Andreas Schwab  <schwab@redhat.com>
71867         * manual/memory.texi (Malloc Tunable Parameters): Document
71868         M_PERTURB.
71870 2010-07-26  Roland McGrath  <roland@redhat.com>
71872         [BZ #11840]
71873         * configure.in (-fgnu89-inline check): Set and substitute
71874         gnu89_inline, not libc_cv_gnu89_inline.
71875         * configure: Regenerated.
71876         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
71878 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
71880         * string/test-strnlen.c: New file.
71881         * string/Makefile (strop-tests): Add strnlen.
71882         * string/tester.c (test_strnlen): Add a few more test cases.
71883         * string/tst-strlen.c: Better error reporting.
71885         * sysdeps/x86_64/strnlen.S: New file.
71887 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
71889         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
71890         lower-latency instructions.
71892 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
71894         * string/test-strcasestr.c: New file.
71895         * string/test-strstr.c: New file.
71896         * string/Makefile (strop-tests): Add strstr and strcasestr.
71897         * string/str-two-way.h: Don't undefine MAX.
71898         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
71900 2010-07-21  Andreas Schwab  <schwab@redhat.com>
71902         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
71903         strcasestr-nonascii.
71904         (CFLAGS-strcasestr-nonascii.c): Define.
71905         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
71906         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
71907         Remove unused attribute.
71909 2010-07-20  Roland McGrath  <roland@redhat.com>
71911         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
71912         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
71913         ld.so.cache was broken.  With it, there is no way to disable dsocaps
71914         like LD_HWCAP_MASK can disable hwcaps.
71916 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
71918         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
71920 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
71922         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
71923         call in strcasestr.
71924         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
71925         __strcasestr_sse42_nonascii.
71926         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
71927         strcasestr-nonascii.c.
71928         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
71930 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
71932         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
71933         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
71934         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
71935         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
71937 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
71939         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
71940         fcntl.
71942 2010-07-06  Andreas Schwab  <schwab@redhat.com>
71944         [BZ #11577]
71945         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
71946         dl_signal_cerror.
71948 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
71950         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
71951         _PC_PIPE_BUF using F_GETPIPE_SZ.
71953 2010-07-05  Roland McGrath  <roland@redhat.com>
71955         * manual/arith.texi (Rounding Functions): Fix rint description
71956         implicit in round description.
71958 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
71960         * elf/Makefile: Fix linking for a few tests to make recent linker
71961         happy.
71963 2010-06-30  Andreas Schwab  <schwab@redhat.com>
71965         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
71966         $(common-objpfx)libc_nonshared.a.
71968 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
71970         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
71971         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
71972         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
71973         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
71974         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
71975         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
71976         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
71977         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
71978         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
71979         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
71980         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
71981         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
71982         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
71983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
71984         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
71985         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
71986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
71987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
71988         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
71989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
71990         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
71991         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
71992         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
71993         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
71994         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
71995         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
71996         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
71997         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
71998         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
71999         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
72000         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
72001         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
72002         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
72003         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
72004         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
72005         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
72006         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
72007         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
72008         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
72009         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
72010         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
72011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
72012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
72013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
72014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
72015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
72016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
72017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
72019 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
72021         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
72022         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
72023         * string/memmove.c (memmove): Renamed to ...
72024         (MEMMOVE): ...this.  Default to memmove.
72025         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
72026         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
72027         (END_CHK): Define.
72028         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
72029         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
72030         mempcpy-ssse3-back memmove-ssse3-back.
72031         * sysdeps/x86_64/multiarch/bcopy.S: New file .
72032         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
72033         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
72034         * sysdeps/x86_64/multiarch/memcpy.S: New file.
72035         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
72036         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
72037         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
72038         * sysdeps/x86_64/multiarch/memmove.c: New file.
72039         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
72040         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
72041         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
72042         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
72043         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
72044         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
72045         Define.
72046         (index_Fast_Copy_Backward): Define.
72047         (HAS_ARCH_FEATURE): Define.
72048         (HAS_FAST_REP_STRING): Define.
72049         (HAS_FAST_COPY_BACKWARD): Define.
72051 2010-06-21  Andreas Schwab  <schwab@redhat.com>
72053         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
72054         Restore proper fallback handling.
72056 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
72058         [BZ #11701]
72059         * posix/group_member.c (__group_member): Correct checking loop.
72061         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
72062         OOM in getpwuid_r correctly.  Return error number when the caller
72063         should return, otherwise -1.
72064         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
72065         call returning > 0 value.
72066         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
72068 2010-06-07  Andreas Schwab  <schwab@redhat.com>
72070         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
72071         libc_nonshared.a from targets in modules-names.
72073 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
72075         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
72076         requires it.
72078 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
72080         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
72081         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
72082         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
72083         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
72085 2010-06-02  Andreas Schwab  <schwab@redhat.com>
72087         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
72089 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
72091         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
72092         and F_GETPIPE_SZ.
72093         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
72094         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
72095         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
72096         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
72097         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
72098         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
72100 2010-06-14  Roland McGrath  <roland@redhat.com>
72102         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
72104 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
72106         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
72107         __REDIRECT followed by __THROW.
72108         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
72109         * posix/getopt.h (getopt): Likewise.
72111 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
72113         * hurd/lookup-at.c (__file_name_lookup_at): Accept
72114         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
72115         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
72116         in AT_FLAGS.
72117         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
72118         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
72120 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
72122         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
72124 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
72126         [BZ #11640]
72127         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
72128         Properly check family and model.
72130 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
72132         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
72134 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
72136         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
72138 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
72140         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
72141         symbol reference.
72143 2010-05-19  Andreas Schwab  <schwab@redhat.com>
72145         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
72146         symbol reference.
72148 2010-05-21  Andreas Schwab  <schwab@redhat.com>
72150         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
72151         and internal_recvmmsg.
72152         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
72153         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
72154         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
72155         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
72157         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
72158         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
72159         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
72161 2010-05-20  Andreas Schwab  <schwab@redhat.com>
72163         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
72165 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
72167         POWER7 optimizations.
72168         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
72169         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
72171 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
72173         * version.h: Update for 2.13 development version.
72175 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
72177         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
72178         exceptions.  Return 0.
72180 2010-05-07  Roland McGrath  <roland@redhat.com>
72182         * elf/ldconfig.c (main): Add a const.
72184 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
72186         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
72187         (args_options): Add no-idn option.
72188         (ahosts_keys_int): Add idn_flags to ai_flags.
72189         (parse_option): Handle 'i' option to clear idn_flags.
72191         * malloc/malloc.c (_int_free): Possible race in the most recently
72192         added check.  Only act on the data if no current modification
72193         happened.
72195 See ChangeLog.17 for earlier changes.